IntrinsicCameraParametersInitUndistortMap Method |
http://www.emgu.com
Pre-computes the undistortion map - coordinates of the corresponding pixel in the distorted image for every pixel in the corrected image. Then, the map (together with input and output images) can be passed to cvRemap function.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic void InitUndistortMap(
int width,
int height,
out Matrix<float> mapx,
out Matrix<float> mapy
)
Public Sub InitUndistortMap (
width As Integer,
height As Integer,
<OutAttribute> ByRef mapx As Matrix(Of Single),
<OutAttribute> ByRef mapy As Matrix(Of Single)
)
public:
void InitUndistortMap(
int width,
int height,
[OutAttribute] Matrix<float>^% mapx,
[OutAttribute] Matrix<float>^% mapy
)
member InitUndistortMap :
width : int *
height : int *
mapx : Matrix<float32> byref *
mapy : Matrix<float32> byref -> unit
Parameters
- width
- Type: SystemInt32
The width of the image - height
- Type: SystemInt32
The height of the image - mapx
- Type: Emgu.CVMatrixSingle
The output array of x-coordinates of the map - mapy
- Type: Emgu.CVMatrixSingle
The output array of y-coordinates of the map
See Also