Multi-Camera Calibration for Motion Tracking
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Alex
el 8 de Jul. de 2014
Respondida: Dima Lisin
el 15 de Jul. de 2014
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.
0 comentarios
Respuesta aceptada
Dima Lisin
el 15 de Jul. de 2014
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Support Package for USB Webcams en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!