MV Camera Calibration DirectShow Filter

The MV Camera Calibration filter is used to create a MontiVision Camera parameter file (*.mvc). The MV Camera Undistortion filter uses this file to create a calibrated video stream.

 

File: CameraCalibration.ax
CLSID: CLSID_MVCameraCalibration

 

See also:

MV CamCalib Application

MV Camera Undistortion Filter

HowTo: Camera Calibration

Undist Sample Application

 

Supported Interfaces

IMVCameraCalibration

IMVGrid

IMVTrigger

IMVHistogram

IMVHistogram2

IMVHistogram3

IMVFilterData

IMVFilterInfo

IMVAbout

 

Supported COM Events

The filter supports following events through the IMVFilterEvents interface. Look at the filter events page for more information.

Event

Value

Description
MV_ALGORITHM_START_EVENT

0

A filter starts processing a video frame or sample.
MV_ALGORITHM_END_EVENT

1

A filter finishes processing a video frame or sample.
MV_CALIBRATION_VALID_IMAGE_EVENT

6

The filter captured a valid calibration image.
MV_CALIBRATION_FINISHED_EVENT

7

The filter finished the camera calibration.

 

MV Camera Calibration Property Pages

MontiVision Camera Calibration DirectShow Filter Property Page

Camera - Label A friendly name for the camera.
Camera - Type The camera type.
Camera - Chip Width The width of the camera chip in mm.
Camera - Chip Height The height of the camera chip in mm.
Objective - Label A name for the objective.
Objective - Focal Length The focal length from the objective.
Intrinsics The camera parameter (intrinsics)
Copy Input Image Copy the input imges to the output video stream.
Undistortion Enable the undistortion function from the filter.
Reset Set the camera parameter (intrinsics) to default values.
Load Load a camera parameter file (*.mvc).
Save SSave the camera parameter into a file (*.mvc)

 

MontiVision Camera Calibration DirectShow Filter Chess Board Pattern Property Page

Enable Auto Calibration Enable the auto calibration function from the filter.
Calibration Pattern Select the used calibration pattern.
Pattern Dimension Size of the calibration pattern.
Image Count Count of used calibration images form calculation camera parameter.
Image Delay Minimum delay between two calibration images.
Start Start the automatic calibration function.
Stop Stop the automatic calibration function.
Get Image Save a calibration image in the single shot mode.
Single Shot Enables the single shot function. To get an calibration image press the Get Image button. 
Adv. Segmentation Enables an advanced segmentation algorithm to get better resulst in some cases.
Valid Refernece Images Count of current valid calibration images saved for calculating camera parameter.
Camera Parameter Current used camera parameter.
Save Calibration Images Save the calibration images into the selected folder.

 

MontiVision Camera Calibration DirectShow Filter Adjustment Property Page

Distortion Values for th four distortion parameter.
Focal Length The x/y value for the focal length in pixel size.
x=y Set both focal length to the same value.
Principal Point x/y coordinate for the principal point.
Undistortion Enable the undistortion function from the filter
Reset Reset the camera parameter to default values.

 

Show grid Enable the grid overlay.
Grid Size Size of the grid in pixel.
Grid Offset Offset of the first grid lines. The grid starts on the button left corner of the image.
Grid Colour Select the grid colour with a colou dialog.