Items with no label
3335 Discussions

Increased Dynamic Range From RGB and IR sensors (d415)

JSmit77
Beginner
1,091 Views

Is it possible to get more dynamic range out of a single color channel from the RGB sensor? For instance, instead of 24 bit RGB for all three color channels would it be possible to get 16-bit gray scale from just the red channel? I see that the sensor supports 16bit grayscale for a combination of all three channels averaged, but is it possible to get this level of detail from just one color channel? (If it requires disabling output from the other two remaining channels we would still be open to it)

We would also like to get more than 8 bit gray scale from the IR sensors. Currently in the build of librealsense2 that we are using, it seems that the IR sensors only support (Y8), however (Y10) and (Y16) seem to throw exceptions.

If anyone has any suggestions for how we could increase dynamic range for these cases, it would be greatly appreciated.

0 Kudos
1 Reply
MartyG
Honored Contributor III
203 Views

I should make clear first that this subject is a little outside of my comfort zone, so my thoughts on this subject should not be regarded as infallible.

Having said that, you may have more control over the channels if you use the RealSense SDK 2.0 in combination with OpenCV, which has instructions for specifying the format (8, 16, etc) and the number of channels used to output the stream in .MAT format.

The tutorial in the link below introduces this subject:

https://progtpoint.blogspot.co.uk/2017/01/tytorial-4-depth-number-of-channels.html Tutorial 4 -Depth, No. of Channels & Type of Image OpenCV C++ | ProgTpoint

0 Kudos
Reply