Camera Calibration Based on 3D Plane

The following step-by-step guide describes the calibration process of a camera 2D using a plane as a Reference Object. In a scenario where ALBION is set as the reference, a manual 3D calibration could be achieved using seven points of the point cloud.

Server Settings

  1. Open the Settings module with [Alt+S] or by selecting {System > Settings} in PHOTON’s Main Menu.

  2. Click on the PHOTON tab.

  3. Select the server that you will be using to calibrate the camera from the PHOTON Selection list located at the left of the Settings window.

  4. In the System Mode drop-down menu, choose between the Controller or the Display Master operation mode.

  5. Click on the Control tab.

  6. Both ALBION Control and Auto Calib Control drop-drown menu should be set to the ALBION & Auto Calib Master.

If you are not using Optitrack cameras, skip directly to the following I/O Manager section. In the case where you have Optitrack cameras, do the next steps in the Control tab and jump right away to the plane creation.

I/O Manager & Input Devices

  1. Open the I/O Manager module [Alt+I] or select {System > I/O Manager}.

  2. Click on the Input Devices tab.

  3. Select the camera you want it calibration from the available input devices.

  4. Click on the [button] and select the newly created slot in the Active Device list.

  5. In the Available Devices dropdown menu, select the camera that you want to assign to the slot.

3D Scene

  1. Open the 3D Scene module with [Alt+C] or select {System > 3D Scene}.

  2. Select the Calibration operation mode by pressing [4].

  3. Add a camera in the 3D Scene by selecting {Primitive > Input > Camera} in the 3D Scene menu bar.

  4. Select the new camera in the Scene Primitives list located on the left.

  5. Open the Properties panel by pressing [P] or select {Window > Properties} from the 3D Scene Main menu.

  6. Look for the Input Device in the top section of the Properties panel and use the dropdown menu to select the camera previously declared as an

  7. Input Device in the I/O Manager module.

  8. Create a new plane in your scene by selecting {Primitive > Default Objects > Plane}.

  9. Select the plane by clicking on its entry in the Scene Primitives list. Open the Transformation panel by selecting {3D Scene > Window > Transformation}.

  10. Measure the LED screen or the projection surface in real life.

  11. Insert the correct X and Y scales values in the Scale sliders in the Transformation PAnel (measures are in meters).

  12. Insert the value of -90 in the Rotate X slider so the plane is parallel to the grid of the 3D Preview.

  13. Click on the [Set freeze] button located at the top of the Transformation panel.

Calibration and Camera Settings

  1. In the Calibration Tools Window located at the bottom right corner of the 3D Scene window, select the camera that now appears as a device that can be calibrated.

  2. In the SLAC Settings, change the Don’t Apply Settings for the Apply Reconstruction Settings.

  3. The camera should be set in MJPEG in Retro Reconstruction Settings.

  4. The IR Filter must be enabled if there are infrared lights in use.

  5. Adjust the Gain and Exposure settings in order to see correctly through the camera.

  6. At the bottom of the Calibration Tools Window, you will find the Objects Reference menu. Click on the [x] button to delete the current object. The reference will go back to manual.

  7. Look at the plane in the 3D Scene Preview and press [Ctrl-shift] to see which Calibration Points are available. The 3D points should turn yellow when [ctrl+shift] are pressed.

  8. Hold [ctrl+shift] and double-click on a green dot to declare a Calibration Point. Once declared, Calibration Points increase in size and turn white.

  9. Go back in the Calibration Tools Window and select the camera view mode.

  10. A white cross should appear in the camera view. Use [left-click+drag] to move the cross around. Also, keyboard arrows can be used if the mouse and focus is on the red area in the Calibration Tools Window.

  11. Place that cross onto the first corner of the screen. If you start with the top left cross, you should move it on the top left corner of your real life object or projection surface.

  12. Do the same for the other three corners of the plane.

Final Result

Once the camera has been calibrated the result should look like the picture below.

Last updated