The MV Camera Undistortion filter creates a calibrated video stream from a live viceo source. Therefore it needs a MontiVision Camera Parameter file (*.mvp). Use the MV CamCalib application or the MV Camera Calibration filter to create the file. Look at the camera calibration howto to see how to get a calibrated video stream.
This MontiVision DirectShow Filter is used in combination with the MontiVision Smart Control in the CamUndist and Gauge Sample Application.
| File: | CameraUndistortion.ax |
| CLSID: | CLSID_MVCameraUndistortion |
Supported Interfaces
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 Camera Undistortion Property Pages
The main property page from the MV Camera Undistortion filter uses the IMVCameraUndistortion interface to configure the filter.
| Undistortion | Enable the image unditortion function . |
| Camera data | Shows the camera data if available. |
| Camera parameter | Shows the current camera undistortion parameter. |
| Load | Shows a file dialog to open a camera parameter file (*.mvc). |
The grid property page uses the IMVGrid interface to configure the grid.
| Show grid | Enable the grid function. |
| Grid Size | Horizontal and vertical grid size in pixel. |
| Grid Offset | Starting point for the grid in pixel |
| Grid Colour | Opens a colour dialog to select a colour for the grid. |