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

How to model small objects - PIX4Dmapper

In this approach, the camera is not moving but it is fixed and the object is rotating on a turntable with visual markers.

Preparation

1. Download the PIX4D visual markers from here.
2. Print the PIX4D visual markers on non-glossy paper. The diameter of the circle enclosing the markers should be around 30 cm.
3. Wrap a turntable with the printed paper.
4. Place a roll of white soft cardboard behind the turntable to hide the background.
5. Mount the camera on a tripod to ensure that it will be steady during the acquisition.

Tip:
  • It is recommended to use a lens with fixed focal length to minimize the parameters that need to be optimized during processing.
  • The deeper depth of field can be achieved by selecting aperture around f25.
  • It is recommended to illuminate the scene with a source of diffused light to maximize the texture of the object and to reduce the reflections.

Image acquisition

1. Orient the turntable so that the small arrow in the center of the turntable points away from the camera, as in the image below.

Information: This arrow gives the direction of the y-axis of the local coordinate system and will allow the model to be reconstructed facing towards the viewer.

2. Place the object on the turntable.
3. Capture the first image.

4. Rotate the turntable by approximately 15 degrees and take a picture. The next marker of the exterior ring should be in front of the camera.
5. Repeat step 4 until one full rotation of the object is completed.
6. Turn the object and place it on the turntable again.

7. Repeat steps 1 to 6 to capture a second dataset from another point of view to fully reconstruct the object. Capture as many datasets as needed to capture the object completely.

Image processing

Using the PIX4Dtagger to generate the .p4d project file

1. Open the PIX4Dtagger. PIX4Dtagger has been installed with PIX4Dmapper from version 2.2 up to 4.5.6. The PIX4Dmapper 4.5.6 installation file is available to download here. The executable is located in the same folder as your PIX4Dmapper executable (PIX4Dmapper.exe). Therefore, its location will depend on where you installed PIX4Dmapper. For example, this could be: C:\Program Files\Pix4Dmapper

Pix4Dtagger.JPG

2. In Image directory, click Browse... and select the directory where the images are stored. Use PIX4Dtagger for one subproject at a time.
3. In Tags coordinates file, click Browse... and select the *.csv file in which the tags that were used in the project and their corners are stored. The file can be downloaded from here.

Important: The coordinates of the visual markers are computed for a turntable where the big markers measure 1.6X1.6 cm and the small markers measure 1.2X1.2 cm. If the printed markers are of different dimensions, the object will be modeled without a real scale. In that case, a scale constraint can be added after Step1 has been processed: How to scale a project

4. In the Camera models file, click Browse... and select the camera database in: C:\Users\Your Username\ AppData\Local\pix4d\common.

Important: In case the camera is not included in the PIX4D camera data base, it should be saved into it when creating the project: Menu Project > Image Properties Editor... > Selected Camera Model > Edit Camera Model


5. In Output file, click Browse... and select the name of the output file and where it should be stored.
6. In Format, select PIX4D project file (*.p4d) and make sure that Export image geolocation and orientation is selected. PIX4Dtagger is able to compute exterior orientations based on the tag ́s coordinates. These exterior orientations will be used as initial values during the standard PIX4D process and they will help in the reconstruction.
7. Click Start to start exporting the project file.
8. Repeat steps 1-7 for each dataset captured.
9. Click Close to close PIX4Dtagger.

Using PIX4Dmapper to process the subprojects

1. Open each of the subprojects generated in PIX4Dmapper by double-clicking it.
2. In the Processing Options of step 1. Initial Processing, in the Matching Image Pair section of the Matching tab, select Free Flight or Terrestrial: Menu Process > Processing Options... > 1. Initial Processing > Matching.
3. In the Processing Options of step 1. Initial Processing, in the Calibration tab, select Accurate Geolocation and Orientation calibration method:Menu Process > Processing Options... > 1. Initial Processing > Calibration.
4. In the Image Properties Editor window, edit the Accuracy Horz and Accuracy Vert values to 0.10 m. For more information: Menu Project > Image Properties Editor... > Images Table.
5. Process step 1. Initial Processing.

Information: The default Accuracy Horz and Accuracy Vert values are 5 and 10 meters respectively, but they do not make sense for this application where the object size is just a few cm big.

6. Repeat steps 1-5 for each subproject generated.

Using PIX4Dmapper to merge the subprojects

Note: This applies if more than one subprojects are captured. If only one subproject is captured, continue with step 2. Point Cloud and Mesh to generate the Point Cloud and the 3D Textured Mesh.

1. Clear the image geolocation of the images by clicking Clear in the Image Geolocation section of the Image Properties Editor: Menu Project > Image Properties Editor... > Image Geolocation.
2. Remove all GCPs of the visual markers from the subproject: GCP / Manual Tie Point Table.
3. Mark at least 3 Manual Tie Points in the common area between the subprojects. The common MTPs should share the same name in all the subprojects that they appear.

Important: In case there are more than 2 subprojects, it is not mandatory for all of them to share the same common area, but each subproject should share a common area and at least 3 MTPs with the adjacent one.

4. Repeat steps 1-3 for all subprojects.
5. Merge the subprojects following: Merging projects.
6. Process step 2. Point Cloud and Mesh for the merged project.
7. (optional) Edit the point cloud to remove the points of the visual marks reconstructed, following: How to edit the point cloud in the rayCloud.
8. (optional) Regenerate the 3D Textured Mesh without the visual marks, following: How to generate the 3D Textured Mesh (section: After processing step 2. Point Cloud and Mesh).