Click or drag to resize

FisheyeUndistorImage Method

http://www.emgu.com
Transforms an image to compensate for fisheye lens distortion. The function is simply a combination of fisheye::initUndistortRectifyMap (with unity R ) and remap (with bilinear interpolation).

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void UndistorImage(
	IInputArray distorted,
	IOutputArray undistored,
	IInputArray K,
	IInputArray D,
	IInputArray Knew = null,
	Size newSize = null
)

Parameters

distorted
Type: Emgu.CVIInputArray
Image with fisheye lens distortion.
undistored
Type: Emgu.CVIOutputArray
Output image with compensated fisheye lens distortion.
K
Type: Emgu.CVIInputArray
Camera matrix
D
Type: Emgu.CVIInputArray
Input vector of distortion coefficients (k1,k2,k3,k4).
Knew (Optional)
Type: Emgu.CVIInputArray
Camera matrix of the distorted image. By default, it is the identity matrix but you may additionally scale and shift the result by using a different matrix.
newSize (Optional)
Type: System.DrawingSize
The function transforms an image to compensate radial and tangential lens distortion.
See Also