In order to calibrate your sensor, you will need to specify the coordinates of the translation from the color to the depth camera, shown below. These values are critical to computing an accurate depth-color registration and need to be precisely measured.
The X horizontal component is measured from the camera centers:
Similarly, the Y vertical component is measured from the camera centers:
For the depth displacement you need to take into account the distance between the camera surfaces and their entrance pupils. The Structure Sensor's depth camera is located millimeters below its glass surface. The iOS color camera entrance pupil can be located at different depths from the surface, depending on the actual device being used. One millimeter from the device surface can usually be considered a reasonable estimate.
- The location of the depth viewpoint in the Structure Sensor is shown below. Dimension are in millimeters.
- The Structure Sensor mounting profile is as follows:
- Orient the Structure Sensor horizontally with the camera, and pointing in the same direction:
- Minimize the Structure Sensor vertical displacement:
- Don’t block the iOS device’s camera with the Structure Sensor.
- Last, try and minimize the sensor Z-displacement by keeping its back cover flush with the back of the iOS device.