luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
239 stars 173 forks source link

[Feature-Request] {Add min/max option for depth data} #318

Closed ciniminis1 closed 9 months ago

ciniminis1 commented 1 year ago

Start with the why:

Limiting the data within min. and max. range values decreases the depth data quantity and crops out noisy far-distant points.

Move to the what:

I would love to set the min/max values through parameters in camera.yamlconfig file.

Move to the how:

Serafadam commented 1 year ago

Hi, for that you can use i_threshold_filter_min_range and i_threshold_filter_max_range values

ciniminis1 commented 1 year ago

@Serafadam I`ve noticed that min/max range affects depth output, but have no impact on the point cloud or RGB-D output. Is it intended behaviour?

Serafadam commented 11 months ago

Hi, sorry for the delay. The pointcloud generated from rgb/depth data can introduce some additional artifacts, which can be reduced with a ROS pcl_filter.

Serafadam commented 9 months ago

Closing due to inactivity, please feel free to reopen it if you have further questions/comments.