NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
The Video Camera Calibration View
icon.png
The Icon for the Video Camera Calibration View

Introduction

The Video Camera Calibration plugin provides a multitude of different calibration methods.

Preferences

Before attempting to calibrate, you must set all the necessary preferences for your method of choice.

MainPrefs.png
Figure 1: The Preference Page

Feature Selection

Features.png
Figure 2: Chosing the type of features to detect.

You may select different feature detectors, each of which may have different parameters to set. For example, the OpenCV chessboard requires you to set the grid size, and AprilTags requires you to set the Tag Family identifier.

Template Matching

TemplateMatching.png
Figure 3: Chosing the template image to match.

If doing template matching, you must provide a template of the correct scale to match.

Iterative Refinement

Iterative.png
Figure 4: Iterative Refinement requires a canonical image, and the 2D locations of each feature. See [1].

If selected, you can do Iterative Refinement of Control Points [1], which requires a canonical (face on) image, and the exact location of each feature point in 2D.

Hand-Eye Calibration

HandEye.png
Figure 5: Chosing the hand-eye method, see [2], [3], [4].

Note: NifTK actually uses Eye-Hand matrices, so you can just multiply a camera point by the eye-hand matrix, and then the tracker matrix to get a point in world coordinates.

Usage

Once you have set up the correct preferences, calibration is easy. Figure 6 shows the main controls.

MainScreen.png
Figure 6: The Main Controls

Once you have enough images (specified using the above preferences), calibration proceeds automatically. If the footswitch plugin is opened, you can use a USB footswitch.

Note: A known issue with the footswitch plugin is that it doesn't initialise if it is automatically open when the Workbench starts. You may need to stop and restart it.

References