Login  Register

Re: Changing the scale of Depth image with D455

Posted by matlabbe on May 24, 2021; 12:23am
URL: http://official-rtab-map-forum.206.s1.nabble.com/Changing-the-scale-of-Depth-image-with-D455-tp8051p8073.html

The camera viewer use an auto color scaling based on the maximum depth of the image. When you export images, you have the raw depth, then for visualization, you can scale it differently.

The code scaling the color is there: https://github.com/introlab/rtabmap/blob/c4d127cae40e8f92db07c05c0dadcaef4cb97d14/guilib/include/rtabmap/utilite/UCv2Qt.h#L86-L211