Click or drag to resize

Cv2FishEyeEstimateNewCameraMatrixForUndistortRectify Method

Estimates new camera matrix for undistortion or rectification.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void EstimateNewCameraMatrixForUndistortRectify(
	InputArray k,
	InputArray d,
	Size imageSize,
	InputArray r,
	OutputArray p,
	double balance = 0,
	Size newSize = null,
	double fovScale = 1
)

Parameters

k
Type: OpenCvSharpInputArray
Camera matrix
d
Type: OpenCvSharpInputArray
Input vector of distortion coefficients (k_1, k_2, k_3, k_4).
imageSize
Type: OpenCvSharpSize

[Missing <param name="imageSize"/> documentation for "M:OpenCvSharp.Cv2.FishEye.EstimateNewCameraMatrixForUndistortRectify(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Double,OpenCvSharp.Size,System.Double)"]

r
Type: OpenCvSharpInputArray
Rectification transformation in the object space: 3x3 1-channel, or vector: 3x1/1x3 1-channel or 1x1 3-channel
p
Type: OpenCvSharpOutputArray
New camera matrix (3x3) or new projection matrix (3x4)
balance (Optional)
Type: SystemDouble
Sets the new focal length in range between the min focal length and the max focal length.Balance is in range of[0, 1].
newSize (Optional)
Type: OpenCvSharpSize

[Missing <param name="newSize"/> documentation for "M:OpenCvSharp.Cv2.FishEye.EstimateNewCameraMatrixForUndistortRectify(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Double,OpenCvSharp.Size,System.Double)"]

fovScale (Optional)
Type: SystemDouble
Divisor for new focal length.
See Also