CvInvokeCalibrationMatrixValues Method |
http://www.emgu.com
Computes various useful camera (sensor/lens) characteristics using the computed camera calibration matrix, image frame resolution in pixels and the physical aperture size
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void CalibrationMatrixValues(
IInputArray cameraMatrix,
Size imageSize,
double apertureWidth,
double apertureHeight,
ref double fovx,
ref double fovy,
ref double focalLength,
ref MCvPoint2D64f principalPoint,
ref double aspectRatio
)
Public Shared Sub CalibrationMatrixValues (
cameraMatrix As IInputArray,
imageSize As Size,
apertureWidth As Double,
apertureHeight As Double,
ByRef fovx As Double,
ByRef fovy As Double,
ByRef focalLength As Double,
ByRef principalPoint As MCvPoint2D64f,
ByRef aspectRatio As Double
)
public:
static void CalibrationMatrixValues(
IInputArray^ cameraMatrix,
Size imageSize,
double apertureWidth,
double apertureHeight,
double% fovx,
double% fovy,
double% focalLength,
MCvPoint2D64f% principalPoint,
double% aspectRatio
)
static member CalibrationMatrixValues :
cameraMatrix : IInputArray *
imageSize : Size *
apertureWidth : float *
apertureHeight : float *
fovx : float byref *
fovy : float byref *
focalLength : float byref *
principalPoint : MCvPoint2D64f byref *
aspectRatio : float byref -> unit
Parameters
- cameraMatrix
- Type: Emgu.CVIInputArray
The matrix of intrinsic parameters - imageSize
- Type: System.DrawingSize
Image size in pixels - apertureWidth
- Type: SystemDouble
Aperture width in real-world units (optional input parameter). Set it to 0 if not used - apertureHeight
- Type: SystemDouble
Aperture width in real-world units (optional input parameter). Set it to 0 if not used - fovx
- Type: SystemDouble
Field of view angle in x direction in degrees - fovy
- Type: SystemDouble
Field of view angle in y direction in degrees - focalLength
- Type: SystemDouble
Focal length in real-world units - principalPoint
- Type: Emgu.CV.StructureMCvPoint2D64f
The principal point in real-world units - aspectRatio
- Type: SystemDouble
The pixel aspect ratio ~ fy/f
See Also