librealsense
librealsense copied to clipboard
change DS Neighbor Threshold in C++
| Required Info | |
|---|---|
| Camera Model | D400 |
| Operating System & Version | Win (8.1/10) |
| Language | C++ |
Hello, I would like to know if we can change the parameter "DS Neighbor Threshold" within the code in C++.
Thank you,
Emmanuel
I think that there is 2 ways to do that, either :
- Enable the advanced mode and use this https://github.com/IntelRealSense/librealsense/blob/d6f6be84b46190c8c84c95f6ac279d239320fcda/include/librealsense2/rs_advanced_mode.hpp#L44-L49 (not sure if this is correct though). OR
- Pass a custom configuration file (".json") before starting your pipeline. The parameter you are looking for would then be named "param-neighborthresh".