FisheyeEstimateNewCameraMatrixForUndistorRectify Method |
http://www.emgu.com
Estimates new camera matrix for undistortion or rectification.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void EstimateNewCameraMatrixForUndistorRectify(
IInputArray K,
IInputArray D,
Size imageSize,
IInputArray R,
IOutputArray P,
double balance = 0,
Size newSize = null,
double fovScale = 1
)
Public Shared Sub EstimateNewCameraMatrixForUndistorRectify (
K As IInputArray,
D As IInputArray,
imageSize As Size,
R As IInputArray,
P As IOutputArray,
Optional balance As Double = 0,
Optional newSize As Size = Nothing,
Optional fovScale As Double = 1
)
public:
static void EstimateNewCameraMatrixForUndistorRectify(
IInputArray^ K,
IInputArray^ D,
Size imageSize,
IInputArray^ R,
IOutputArray^ P,
double balance = 0,
Size newSize = nullptr,
double fovScale = 1
)
static member EstimateNewCameraMatrixForUndistorRectify :
K : IInputArray *
D : IInputArray *
imageSize : Size *
R : IInputArray *
P : IOutputArray *
?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: Emgu.CVIInputArray
Camera matrix - D
- Type: Emgu.CVIInputArray
Input vector of distortion coefficients (k1,k2,k3,k4). - imageSize
- Type: System.DrawingSize
[Missing <param name="imageSize"/> documentation for "M:Emgu.CV.Fisheye.EstimateNewCameraMatrixForUndistorRectify(Emgu.CV.IInputArray,Emgu.CV.IInputArray,System.Drawing.Size,Emgu.CV.IInputArray,Emgu.CV.IOutputArray,System.Double,System.Drawing.Size,System.Double)"]
- R
- Type: Emgu.CVIInputArray
Rectification transformation in the object space: 3x3 1-channel, or vector: 3x1/1x3 1-channel or 1x1 3-channel - P
- Type: Emgu.CVIOutputArray
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: System.DrawingSize
[Missing <param name="newSize"/> documentation for "M:Emgu.CV.Fisheye.EstimateNewCameraMatrixForUndistorRectify(Emgu.CV.IInputArray,Emgu.CV.IInputArray,System.Drawing.Size,Emgu.CV.IInputArray,Emgu.CV.IOutputArray,System.Double,System.Drawing.Size,System.Double)"]
- fovScale (Optional)
- Type: SystemDouble
Divisor for new focal length.
See Also