Multi-Camera Calibration for Motion Tracking

5 次查看(过去 30 天)
I am trying to calibrate two cameras using Matlab 2014a and the example found here: http://www.mathworks.com/help/vision/ref/extrinsics.html This is for use in a low-cost motion tracking system. From the calibration, I want to ultimately obtain each camera's absolute position in the world coordinate system.
In order to get position, I did the following: Convert transposeMatrix from a 1x3 to 3x1 position = -transpose(rotationMatrix)*transposeMatrix Is this correct?
Should the calculated positions of the cameras be relative to the coordinate system created in the image I use for "imOrig"?
Thank you for your help.

采纳的回答

Dima Lisin
Dima Lisin 2014-7-15
I think you meant "translationVector" instead of "transposeMatrix". Is that right?
The rotationMatrix and translationVector give you the transfromation from the checkerboard's coordinate system into the camera's coordinate system. So to find the location of the camera in the checkerboard's coordinate system you have to do the inverse transformation:
position = -translationVector * rotationMatrix';
This will give you the position as a 1-by-3 vector. Also, please keep in mind that all the matrices use the post-multiply convention, i. e. row vector times a matrix.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for USB Webcams 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by