Hi
Jaka
Thank you for your assistance. I have resolved the issue.
I have another question to consult. When I use the code depthBC->disparity.link(depthBCOut->input)
to obtain depth information, I want to convert this type of data into actual depth values. I use the code BCMat.at<uchar>(stay, stax)
to read the disparity value of depthBC
, and then I use the formula from this link: Configuring Stereo Depth to calculate the depth. We are using a focal length $��$fx of 441.25 corresponding to 400p. However, the calculated depth is approximately twice the actual depth.
Thank you!