1 | initial version |
Not that much information are provided, so I try to be exhaustive as much as I can.
Starting from the beginning, you get the disparity map from the left and right images. This disparity map is static, that means that if you run the disparity map computation over and over with the same L and R images and the same algorithm you'll have always the same disparity map (if you don't change the left and right images, of course!).
What you mean for output, you display the disparity map or in terms of values?
In the first case must look always the same if you use the same images and the same algorithm each execution
If you mean printing value maybe you're just getting the value in the bad way. Check the matrix type and verify that you access it with the correct data type or you'll get wrong values.
2 | Suggested edit |
Not that much information are provided, so I try to be exhaustive as much as I can.
Starting from the beginning, you get the disparity map from the left and right images. This disparity map is static, that means that if you run the disparity map computation over and over with the same L and R images and the same algorithm you'll have always the same disparity map (if you don't change the left and right images, of course!).
What you mean for output, you display the disparity map or in terms of values?
In the first case the disparity map must look always the same if you use the same images and the same algorithm each executionexecution. In that case, if you encounter changes, I'll probably check if there is some randomized things inside your algorithm.
If you mean printing value maybe you're just getting the value in the bad way. Check the matrix type and verify that you access it with the correct data type or you'll get wrong values.