Wand Calibration User Guide

This guide walks you through the camera calibration process using a calibration wand in OpenLPT. The process consists of two main stages: Point Detection and Calibration.

1. Point Detection

First, select the Wand Calibration tab and ensure you are on the Point Detection sub-tab.

Point Detection Interface

Step 1: Configure Settings

Set the detection parameters in the Detection Settings panel on the right:

Step 2: Load Camera Images

In the Camera Images table:

  1. For each Cam ID, load the corresponding folder of calibration images (click the cell or a load button if available).
  2. Enter the initial Focal Length (px) (e.g., 9000).
  3. Enter the detection Width and Height (e.g., 1280 x 800).

Step 3: Verify and Process

  1. Select a frame from the Frame List.
  2. Click Test Detect (Current Frame).
    • Verification: Look at the image view on the left. You should see green circles identifying the two balls on the wand. If not, adjust the Radius Range or Sensitivity.
  3. Once satisfied with the detection test, click Process All Frames / Resume to detect points in all loaded images.

2. Calibration

After extracting points, switch to the Calibration sub-tab.

Calibration Interface

Step 4: Calibration Settings

Configure the physical model in Calibration Settings:

Step 5: Precalibration & Data Cleaning

Before running the full optimization, it is crucial to clean your data to remove outliers (errors in detection).

  1. Click the orange Precalibrate to Check button.
  2. The system will perform a fast, global optimization to estimate the error of each frame.
  3. Check the Error Analysis table usage below:
    • High Reprojection Errors (red) indicate bad detections.
    • High Length Errors indicate points that don't match the physical wand length.
  4. Visual Verification:
    • Click on any cell in the table (e.g., a high error value).
    • Look at the Left View: It will show the original camera image overlaid with the detected points (green circles).
    • Check if the detection is correct. If the system detected a reflection or noise instead of a wand, click the checkbox in the Del column to mark it for removal.
  5. Iterative Cleaning:
    • Use the filter buttons (e.g., "Delete when proj error > X") or manual Del checkboxes to exclude bad frames.
    • Click Precalibrate to Check AGAIN.
    • Repeat until errors are low (e.g., < 1.0 px).

Step 6: Run Full Calibration

  1. Click the blue Run Calibration button.
  2. The system will perform the final Bundle Adjustment (BA) with 4-stage optimization (Geometry Init -> Intrinsics -> Triangulation -> Final Tune).
  3. The 3D View on the left will visualize the optimized camera positions and wand points.

Step 7: Final Analysis

Review the final results in the Error Analysis table:

Stopping & Refining:
  • If the process takes too long or results look wrong, click the Stop button to get partial results.
  • If errors are still high, perform another round of cleaning (Step 5) or adjust the Wand Length setting.

Step 8: Save Results

When the "Calibration Successful" message appears, your parameters are ready. You can save the intrinsic and extrinsic parameters to file for use in tracking.