CvInvokeInitCameraMatrix2D Method |
http://www.emgu.com
Finds an initial camera matrix from 3D-2D point correspondences.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static Mat InitCameraMatrix2D(
IInputArrayOfArrays objectPoints,
IInputArrayOfArrays imagePoints,
Size imageSize,
double aspectRatio = 1
)
Public Shared Function InitCameraMatrix2D (
objectPoints As IInputArrayOfArrays,
imagePoints As IInputArrayOfArrays,
imageSize As Size,
Optional aspectRatio As Double = 1
) As Mat
public:
static Mat^ InitCameraMatrix2D(
IInputArrayOfArrays^ objectPoints,
IInputArrayOfArrays^ imagePoints,
Size imageSize,
double aspectRatio = 1
)
static member InitCameraMatrix2D :
objectPoints : IInputArrayOfArrays *
imagePoints : IInputArrayOfArrays *
imageSize : Size *
?aspectRatio : float
(* Defaults:
let _aspectRatio = defaultArg aspectRatio 1
*)
-> Mat
Parameters
- objectPoints
- Type: Emgu.CVIInputArrayOfArrays
Vector of vectors of the calibration pattern points in the calibration pattern coordinate space. - imagePoints
- Type: Emgu.CVIInputArrayOfArrays
Vector of vectors of the projections of the calibration pattern points. - imageSize
- Type: System.DrawingSize
Image size in pixels used to initialize the principal point. - aspectRatio (Optional)
- Type: SystemDouble
If it is zero or negative, both fx and fy are estimated independently. Otherwise, fx=fy*aspectRatio.
Return Value
Type:
MatAn initial camera matrix for the camera calibration process.
Remarks Currently, the function only supports planar calibration patterns, which are patterns where each object point has z-coordinate =0.
See Also