What parameter should be changed in SGBM algorithm to invert depth value in depth image

120 views Asked by At

The depth image that we get from the SGBM algorithm plots the nearest depth with white (255) and farthest value with black (0). I want that to be in reverse, the far value need to be in white (255) and near value in black (0). To alter this output in SGBM, please suggest where and what parameter I should change in the code.

0

There are 0 answers