librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

change DS Neighbor Threshold in C++

Open EmmanuelCos opened this issue 7 years ago • 1 comments

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

EmmanuelCos avatar Jul 23 '19 08:07 EmmanuelCos

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".

AntoineWefit avatar Jul 23 '19 09:07 AntoineWefit