Click or drag to resize
IntrinsicCameraParametersUndistortTColor, TDepth Method (ImageTColor, TDepth)
http://www.emgu.com
Transforms the image to compensate radial and tangential lens distortion. The camera matrix and distortion parameters can be determined using cvCalibrateCamera2. For every pixel in the output image the function computes coordinates of the corresponding location in the input image using the formulae in the section beginning. Then, the pixel value is computed using bilinear interpolation. If the resolution of images is different from what was used at the calibration stage, fx, fy, cx and cy need to be adjusted appropriately, while the distortion coefficients remain the same

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.3.0.2824 (3.3.0.2824)
Syntax
public Image<TColor, TDepth> Undistort<TColor, TDepth>(
	Image<TColor, TDepth> src
)
where TColor : struct, new(), IColor
where TDepth : new()

Parameters

src
Type: Emgu.CVImageTColor, TDepth
The distorted image

Type Parameters

TColor
The color type of the image
TDepth
The depth of the image

Return Value

Type: ImageTColor, TDepth
The corrected image
See Also