Click or drag to resize

Cv2InitUndistortRectifyMap Method

initializes maps for cv::remap() to correct lens distortion and optionally rectify the image

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void InitUndistortRectifyMap(
	InputArray cameraMatrix,
	InputArray distCoeffs,
	InputArray r,
	InputArray newCameraMatrix,
	Size size,
	MatType m1Type,
	OutputArray map1,
	OutputArray map2
)

Parameters

cameraMatrix
Type: OpenCvSharpInputArray

[Missing <param name="cameraMatrix"/> documentation for "M:OpenCvSharp.Cv2.InitUndistortRectifyMap(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.MatType,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray)"]

distCoeffs
Type: OpenCvSharpInputArray

[Missing <param name="distCoeffs"/> documentation for "M:OpenCvSharp.Cv2.InitUndistortRectifyMap(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.MatType,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray)"]

r
Type: OpenCvSharpInputArray

[Missing <param name="r"/> documentation for "M:OpenCvSharp.Cv2.InitUndistortRectifyMap(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.MatType,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray)"]

newCameraMatrix
Type: OpenCvSharpInputArray

[Missing <param name="newCameraMatrix"/> documentation for "M:OpenCvSharp.Cv2.InitUndistortRectifyMap(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.MatType,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray)"]

size
Type: OpenCvSharpSize

[Missing <param name="size"/> documentation for "M:OpenCvSharp.Cv2.InitUndistortRectifyMap(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.MatType,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray)"]

m1Type
Type: OpenCvSharpMatType

[Missing <param name="m1Type"/> documentation for "M:OpenCvSharp.Cv2.InitUndistortRectifyMap(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.MatType,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray)"]

map1
Type: OpenCvSharpOutputArray

[Missing <param name="map1"/> documentation for "M:OpenCvSharp.Cv2.InitUndistortRectifyMap(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.MatType,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray)"]

map2
Type: OpenCvSharpOutputArray

[Missing <param name="map2"/> documentation for "M:OpenCvSharp.Cv2.InitUndistortRectifyMap(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.MatType,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray)"]

See Also