Extract rotations about all three axes from 2d projective transformation

4 vues (au cours des 30 derniers jours)
Brian
Brian le 9 Mar 2020
Commenté : Brian le 10 Mar 2020
Hi
tform = fitgeotrans(imagePoints1,worldPoints,'projective');
Where imagePoints1 (u,v) and worldPoints (x,y) are two sets of points that are related by:
The matrix tform
[x y 1] = [u v 1] * tform
where tform has the form:
[a b c;...
d e f;...
g h i];
the points (u, v) comes from detecting corners of a (plane) checkerboard in an image I have aquireded. The points (x,y) are the points location in coordinates lying in the checkerboard plane. I would like to estimate the orientation of the camera relative to the checkerboard (rotations about the x, y, and z axes). Can this be done using tform and can someone suggest how to do this?
Best regards,
Brian
  1 commentaire
Brian
Brian le 10 Mar 2020
I found the methods in opencv that can do this. I have not used it but it is described with examples here: https://docs.opencv.org/master/d9/dab/tutorial_homography.html and can used with matlab like described here: https://kyamagu.github.io/mexopencv/matlab/decomposeHomographyMat.html

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by