How to... (step-by-step instructions)
  1. Pix4D Documentation
  2. PIX4Dmapper
  3. How to... (step-by-step instructions)

How to manually calibrate uncalibrated Cameras in the rayCloud - PIX4Dmapper

When an image is not calibrated during step 1. Initial Processing, it can be manually calibrated using the rayCloud. This article provides step-by-step instructions on how to calibrate uncalibrated cameras (images) in PIX4Dmapper.

Note: The manual calibration should be done for a few number of images. The procedure of manually calibrating many images can be time-consuming and is not recommended. If many images were not calibrated automatically, it is better to find the cause of the problem: Quality Report Help.

In order to calibrate an image, enough keypoints of that image need to be matched accurately with other images of the project. Each keypoint that is matched in at least two images allows the generation of a 3D point. One uncalibrated image is not calibrated because no matches with other images were found or because no matches have been labeled as accurate. Therefore, in order to calibrate this image, new matches between it and calibrated images need to be defined manually.

In order to manually calibrate a camera:

1. On the Menu bar, click View > rayCloud.
2. Click on an uncalibrated camera in the rayCloud.
3. On the right sidebar, in the section Selection, the points corresponding to the selected camera are displayed on the image with:

    • Red cross: Automatic keypoints that are not matched with any keypoint of other images.
    • Orange cross: Automatic keypoints which are very likely to be matched accurately with keypoints of other images.
    • Yellow cross: GCPs, Check Points or Manual Tie Points marked on the selected image are considered to be Inliers.
    • Pink cross: GCPs, Check Points or Manual Tie Points marked on the selected image but considered to be outliers.

The section Tie Points displays all the tie points that are marked on the selected camera.

4. Double-click a red or an orange cross. The selected cross becomes purple.

Note: It is recommended to use points well distributed in the image rather than located on the same area.

5. Each red and orange cross represents a keypoint and is associated to a 3D point that has a high probability to match it. The section Images displays a list of images where this keypoint could be visible using the associated 3D point. The keypoint is marked using an orange cross with an orange circle. The projection of the 3D point in those images is displayed with a green cross.

If the proposed points in the images correspond to the keypoint in the uncalibrated camera, this keypoint can be matched with those of the images by pressing the button Connect to Τie Point tie_point_create.png. This creates a new Manual Tie Point using the marked images.

connect_to_tie_point.png

Tip: The higher the number of images in which the point might be visible, the easier it will be to validate the match and calibrate the camera. Use the slider on the right of the uncalibrated image to change the minimum number of images in which a keypoint is visible. Only the keypoints that appear in the number of images selected appear on the uncalibrated image.

6. Each time a match is added, the camera position is re-estimated. This new position is used to project existing 3D points into the selected image. If the reprojection error between these projected 3D points and the existing keypoints is low, a keypoint is labeled as being accurate and is called an Inlier. Those inliers are displayed as orange crosses.
7. Connect other existing points tie_point_create.png (at least 3) and / or define new Manual Tie Points tie_point_add.png(at least 3).

Important: The Manual Tie Points should be marked on the uncalibrated image and at least 2 calibrated images. It should not be marked only on uncalibrated images.

8. Press Calibrate to calibrate the camera.

Important: The Calibrate button gets enabled when:
  • The image has at least 20 inliers.
  • All manually marked points (MTPs) are inliers.

10. If the new camera position and orientation are good, click Process > Rematch and Optimize.