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.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvCalibrationMatrixValues(
	IntPtr calibMatr,
	int imgWidth,
	int imgHeight,
	double apertureWidth,
	double apertureHeight,
	ref double fovx,
	ref double fovy,
	ref double focalLength,
	ref MCvPoint2D64f principalPoint,
	ref double pixelAspectRatio
)
Public Shared Sub cvCalibrationMatrixValues ( _
	calibMatr As IntPtr, _
	imgWidth As Integer, _
	imgHeight As Integer, _
	apertureWidth As Double, _
	apertureHeight As Double, _
	ByRef fovx As Double, _
	ByRef fovy As Double, _
	ByRef focalLength As Double, _
	ByRef principalPoint As MCvPoint2D64f, _
	ByRef pixelAspectRatio As Double _
)
public:
static void cvCalibrationMatrixValues(
	IntPtr calibMatr, 
	int imgWidth, 
	int imgHeight, 
	double apertureWidth, 
	double apertureHeight, 
	double% fovx, 
	double% fovy, 
	double% focalLength, 
	MCvPoint2D64f% principalPoint, 
	double% pixelAspectRatio
)

Parameters

calibMatr
IntPtr
The matrix of intrinsic parameters
imgWidth
Int32
Image width in pixels
imgHeight
Int32
Image height in pixels
apertureWidth
Double
Aperture width in realworld units (optional input parameter). Set it to 0 if not used
apertureHeight
Double
Aperture width in realworld units (optional input parameter). Set it to 0 if not used
fovx
Double%
Field of view angle in x direction in degrees
fovy
Double%
Field of view angle in y direction in degrees
focalLength
Double%
Focal length in realworld units
principalPoint
MCvPoint2D64f%
The principal point in realworld units
pixelAspectRatio
Double%
The pixel aspect ratio ~ fy/f

See Also