Emgu CV Library Documentation
Undistort2<(Of <(TColor, TDepth>)>) Method (src, intrin)
NamespacesEmgu.CVCameraCalibrationUndistort2<(Of <(TColor, TDepth>)>)(Image<(Of <(TColor, TDepth>)>), IntrinsicCameraParameters)

www.emgu.com/wiki
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
Declaration Syntax
C#Visual BasicVisual C++
public static Image<TColor, TDepth> Undistort2<TColor, TDepth>(
	Image<TColor, TDepth> src,
	IntrinsicCameraParameters intrin
)
where TColor : struct, new(), IColor
where TDepth : struct, new(), IComparable
Public Shared Function Undistort2(Of TColor As {Structure, New, IColor}, TDepth As {Structure, New, IComparable}) ( _
	src As Image(Of TColor, TDepth), _
	intrin As IntrinsicCameraParameters _
) As Image(Of TColor, TDepth)
public:
generic<typename TColor, typename TDepth>
where TColor : value class, gcnew(), IColor
where TDepth : value class, gcnew(), IComparable
static Image<TColor, TDepth>^ Undistort2(
	Image<TColor, TDepth>^ src, 
	IntrinsicCameraParameters^ intrin
)
Generic Template Parameters
TColor
The color type of the image
TDepth
The depth of the image
Parameters
src (Image<(Of <(TColor, TDepth>)>))
The distorted image
intrin (IntrinsicCameraParameters)
The intrinsic camera parameters
Return Value
The corrected image

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)