According to the tutorial, a median filter can be applied by stereo.initialConfig.setMedianFilter(median), but the maximum disparity value exceeds the max value to apply a median filter. However the disparity has noise, and I want to try other filters. How to apply them?
How to apply a temporal filter to a stereoDepth node?
jarvis maximum disparity value exceeds the max value to apply a median filter
Not really sure what this means. Any error you are getting?
jarvis However the disparity has noise, and I want to try other filters. How to apply them?
https://docs.luxonis.com/projects/api/en/latest/components/nodes/stereo_depth/#currently-configurable-blocks
The application should be the same as for the median filter. Just swap the filter for the desired one.
Another example:
https://docs.luxonis.com/projects/api/en/latest/samples/StereoDepth/depth_post_processing/
Thanks,
Jaka
Hi jarvis
Using this example: https://docs.luxonis.com/projects/api/en/latest/samples/StereoDepth/depth_preview/
I modified the depth.setExtendedDisparity()
to True. I am not facing any issues.
Make sure you are running the latest depthai version.
Can you confirm?
Thanks,
Jaka