| 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
)
Public Shared Sub EstimateNewCameraMatrixForUndistortRectify (
k As InputArray,
d As InputArray,
imageSize As Size,
r As InputArray,
p As OutputArray,
Optional balance As Double = 0,
Optional newSize As Size = Nothing,
Optional fovScale As Double = 1
)
public:
static void EstimateNewCameraMatrixForUndistortRectify(
InputArray^ k,
InputArray^ d,
Size imageSize,
InputArray^ r,
OutputArray^ p,
double balance = 0,
Size newSize = nullptr,
double fovScale = 1
)
static member EstimateNewCameraMatrixForUndistortRectify :
k : InputArray *
d : InputArray *
imageSize : Size *
r : InputArray *
p : OutputArray *
?balance : float *
?newSize : Size *
?fovScale : float
(* Defaults:
let _balance = defaultArg balance 0
let _newSize = defaultArg newSize null
let _fovScale = defaultArg fovScale 1
*)
-> unit
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