Click or drag to resize

FisheyeUndistorImage Method
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: (
public static void UndistorImage(
	IInputArray distorted,
	IOutputArray undistored,
	IInputArray K,
	IInputArray D,
	IInputArray Knew = null,
	Size newSize = null


Type: Emgu.CVIInputArray
Image with fisheye lens distortion.
Type: Emgu.CVIOutputArray
Output image with compensated fisheye lens distortion.
Type: Emgu.CVIInputArray
Camera matrix
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