
Public Member Functions | |
| Undistortion (IntrinsicParameters intrinsicParameters) | |
| Constructs an undistortion using intrinsic parameters. | |
| Undistortion (IntrinsicParameters intrinsicParameters, Metadata metadata) | |
| Constructs an undistortion using intrinsic parameters and metadata. | |
| Undistortion (CalibrationParameters calibrationParameters) | |
| Constructs an undistortion using calibration parameters. | |
| Undistortion (CalibrationParameters calibrationParameters, Metadata metadata) | |
| Constructs an undistortion using calibration parameters and metadata. | |
| void | Dispose () |
| Releases all resources used by the Undistortion. | |
| UndistortedImage | Process (Image image) |
| Applies undistortion to the specified image. | |
Properties | |
| Interpolation | Interpolation [get, set] |
| Gets or sets the Interpolation method used for undistortion. | |
Represents an undistortion transformation for images.
Provides geometric correction to remove lens distortion using intrinsic calibration parameters. The intrinsic parameters can be obtained using CameraCalibration.Process().
This class also supports undistorting images with binning factors that differ from those used during calibration, as long as the image metadata includes valid binning information. The binning factor of the image to be undistorted must be greater than or equal to the binning factor of the calibration images.
Process() may take longer. To avoid this, use a constructor that accepts both calibration parameters and metadata. When using those constructors, the provided metadata must match the images to be undistorted. Limitations
Definition at line 52 of file Undistortion.cs.
|
inline |
Constructs an undistortion using intrinsic parameters.
| intrinsicParameters | Intrinsic calibration parameters. |
Definition at line 64 of file Undistortion.cs.
|
inline |
Constructs an undistortion using intrinsic parameters and metadata.
| intrinsicParameters | Intrinsic calibration parameters. |
| metadata | Metadata describing capture characteristics. |
Definition at line 80 of file Undistortion.cs.
|
inline |
Constructs an undistortion using calibration parameters.
| calibrationParameters | Calibration parameters. |
Definition at line 94 of file Undistortion.cs.
|
inline |
Constructs an undistortion using calibration parameters and metadata.
| calibrationParameters | Calibration parameters. |
| metadata | Metadata describing capture characteristics. |
Definition at line 110 of file Undistortion.cs.
|
inline |
Releases all resources used by the Undistortion.
Definition at line 142 of file Undistortion.cs.
|
inline |
Applies undistortion to the specified image.
This function undistorts the image and returns an UndistortedImage that includes updated intrinsic parameters.
The returned image has the same size and pixel format as the input image.
| image | The image to be undistorted. |
| IcvNotPossibleException | The image binning factor is too small for the undistortion configuration. |
| IcvMismatchException | The input image size or capture information does not match the undistortion configuration. |
Definition at line 181 of file Undistortion.cs.
|
getset |
Gets or sets the Interpolation method used for undistortion.
Definition at line 121 of file Undistortion.cs.