luxonis / depthai-viewer

Log images, point clouds, etc, and visualize them effortlessly. Built in Rust using egui
https://rerun.io
Apache License 2.0
28 stars 2 forks source link

Support depth threashold filtering #47

Open Erol444 opened 8 months ago

Erol444 commented 8 months ago

Currently, depth visualization doesn't look that well due to several (our of 1mio) depth pixels being at 60meters (noise). Simple way to make depth visualization much nicer is to support depth threshold filtering;

config = stereoNode.initialConfig.get()
config.postProcessing.thresholdFilter.minRange = 200 # 20cm
config.postProcessing.thresholdFilter.maxRange = 15000 # 15m
stereoNode.initialConfig.set(config)

Ideally, we would have sliders for min/max range inside the viewer, but even just hardcoding 20cm to 15m would be good.

zrezke commented 8 months ago

Thank you. Will be available in the next release, once aarch runner is up.