This function allows you to estimate the position and orientation of a picture coming from a camera.
Requirements
Select the image (perspective, spherical or unknown) whom attitude has to be computed.
-
The view is automatically split into two parts in order to have the selected image on the left and the mesh to texture on the right.
-
If the image projection type is unknown, define it: perspective or spherical pano.
-
Otherwise, you may want to keep previous internal or external parameters. For example, when your camera has been calibrated by Calibrate Camera.
-
Give a point in the image view and its corresponding position in the 3D view to define point pairs.
-
A computation is launched when 6 pairs have been defined (it is advised to define more pairs, especially when working out lens distortions).
-
Adjust the computation by removing (DEL key or red cross) or deactivating pairs.
-
Optionally, export or import pairs in a text file.
-
Finally, check the result using go to camera view point.
-
By checking Report, you have the possibility to generate a report that outputs the list of pairs and the camera definition
-
Notes
-
The tangential distortions are not estimated during the computation.
-
The ASCII format used to store pairs of points is one pair per line: "X Y Z U V I J K Name" Where X, Y and Z are the coordinates of the point in the 3D scene, U V are the coordinates of the point on the image (between 0 and 1 - 0/0 being the top left of the image and 1/1 being the bottom right), I J K define the vector from which the points are clicked and the name being the name of the point.