VojtechVolprecht That is probably due to the fact, that it is outputed in millimeters, right?
UINT16 offers higher percision, which UINT8 can't give. If disparity is 10 and depth is 10450mm, this won't be covered by UINT8.
VojtechVolprecht Moreover, I have noticed that the depth to objects often jumps, e.g. by 5 cm or more. I also tried to turn on the Subpixeling and it immediately was more precise, like 1 cm.
So, my question is, what is the cause?
There are 95 disparity values by default, so one step could result in a large jump in actual depth - see chart here
When enabling subpixel, this disparity range increases - docs so this effect is minimized.
VojtechVolprecht However, without subpixel the depth is not so accurate, it jumps by many centimeters.
You can do a disparity shift if your depth is constantly at some range to increase the disparity there.
Thansk
Jaka