C# D435 Histogram Equalization
Hi,
I'm the owner of an IntelrealSense D435.
I'm writing a code in C# to connect the camera without problem.
Right now, i would like to 'Enable or Disable' the 'histogram equalization'.
I have found a way with this code : myCamera.Pp.Device.Sensors[0].Options[Option.HistogramEqualizationEnabled].value = 0f;
But, I have this error : "object doesn't support option #32"
I have not found more explainations in C#.
Regards
-
Hi Ahabeillon Whilst I do not have a specific C# example for setting Histogram Equalization, I note from your script code that you seem to be trying to access the option through the depth sensor (0). Histogram Equalization is not a sensor option and is instead accessed through a colorizer definition.
https://github.com/IntelRealSense/librealsense/issues/1674#issuecomment-387361411
The link below provides a C# scripting reference for setting up a colorizer.
https://github.com/IntelRealSense/librealsense/issues/5582

Please sign in to leave a comment.
Comments
3 comments