Infield Correction
Zivid Studio can verify and correct the dimension trueness of a camera through the Infield Correction side panel, without writing any code.
This page describes the Studio interface. For what infield correction is, which calibration boards to use, and how to place the board, see the infield correction tutorial and Guidelines for Performing Infield Correction.
Prerequisites
Install Zivid Software.
Optional: Enable experimental features in Studio to exclude individual captures from the correction.
A connected Zivid camera.
Opening the Infield Correction panel
Go to Tools → Infield Correction with a camera connected. The panel replaces the capture controls on the right. Select Tools → Exit Infield Correction to close it.
Close the Hand-Eye Calibration window first, because the two cannot be open at the same time. If the current session already holds hand-eye pose pairs, Studio offers to start a new session, because Infield Correction changes the camera’s correction (see Using several tools in one session).
Panel overview
Last correction shows the date and time an infield correction was last written to the camera.
Capture & Measure (F5) captures the Zivid calibration board and measures the local dimension trueness error of the point cloud where the board is placed.
Captures lists each capture with the board position (z is the distance from the camera) and its local dimension trueness error. Uncheck a capture to exclude it from the correction. This list is shown only with experimental features enabled.
Camera Metrics shows the Current trueness error, the local dimension trueness error for the last capture, and once there are several captures, the Average trueness error and Maximum trueness error over all of them.
Expected Post-Correction Metrics shows the estimated dimension trueness error after correction, within 1σ statistical uncertainty, and the Optimized workspace (depth), the range of working distances the captures were taken at.
Save Correction to Camera writes to the camera the correction parameters computed from the captures.
Reset Camera Correction, in the menu of the Cameras section, removes any infield correction written to the camera earlier. It is not necessary to reset a correction before verifying or applying a new one.
Verifying the camera
Place the Zivid calibration board in the desired location. We recommend using Live Scene View to help align the board correctly. Place the board at the closest distance you want to capture for the first capture in your infield correction dataset. Try to have the board as parallel as possible to the camera’s coordinate system, and make sure the entire board is visible in the camera frame. For more guidance, see Guidelines for Performing Infield Correction.
Click Capture & Measure to verify the local dimension trueness error of the connected camera. The result shows under Camera Metrics as the Current trueness error.
Potential Issues
If the board is too far out of the orientation or the capture is of poor quality to provide sufficient data, you will be informed of the potential setup issue:
Board is too tilted in X, Y, or Z planes.
Not all of the feature points are detectable.
The fiducial marker is not visible.
The image of the board is of too poor quality to provide sufficient data.
Correcting the camera
To perform infield correction on a camera, gather data by clicking Capture & Measure with the board at different distances and at different locations in the FOV, as described in Guidelines for Performing Infield Correction.
As you take captures, Expected Post-Correction Metrics shows what you would get if you applied the correction now:
The estimated new maximum dimension trueness error for the majority of the FOV.
The Optimized workspace (depth), the range at which this error is expected, which depends on the distances the captures were taken at.
Note
It is not unexpected to get larger values for the Expected Post-Correction Metrics than the values under Camera Metrics. This is because the Expected Post-Correction Metrics are given for the majority of the FOV and the distance range that was used in the infield correction dataset. On the other hand, the Camera Metrics are local dimension trueness errors calculated for a capture for the FOV covered by the calibration board and at the distance to the board.
To start over, click the three dots in the Capture section, then Remove last capture or Remove all captures.
With experimental features enabled, you can also uncheck individual captures in the Captures list to exclude them from the correction.
If you are satisfied with the expected result, apply the correction to the camera by clicking Save Correction to Camera. The correction is persisted on the camera and applied to all future captures.
After saving, click Restart Tool to measure again and confirm the written correction, or Close to finish.
With experimental features enabled, Studio stores the infield captures in the current session.
The same setup issues as when verifying can be reported while you capture (see Potential Issues under Verifying the camera).
Reading the last correction
The Cameras section always shows when the last correction was applied to the camera.
Resetting a correction
In the Cameras section, click the three dots, then click Reset Camera Correction. It is not necessary to reset a correction before applying a new one.
Continue reading about Zivid Studio in Hand-Eye Calibration.