Stereo vision: Distance between cameras and object

1 次查看(过去 30 天)
Example in documentation about stereo vision contains 7th step - Backprojection. Here is calculated distance between cameras and the object but I still don't get it. If I have the camera matrix K (same for both cameras exported from Camera Calibrator), the baseline in millimeters (distance between cameras) and the disparity map (I used function disparity()). How can I calculate distance for each pixel? My results are still wrong.

回答(1 个)

Dima Lisin
Dima Lisin 2014-5-1
If you have the 2014a release, then please take a look at this example .

类别

Help CenterFile Exchange 中查找有关 Camera Calibration 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by