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

Syntax

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
)
Visual Basic
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
)
Visual C++
public:
static void cvCalibrationMatrixValues(
	IntPtr calibMatr, 
	int imgWidth, 
	int imgHeight, 
	double apertureWidth, 
	double apertureHeight, 
	double% fovx, 
	double% fovy, 
	double% focalLength, 
	MCvPoint2D64f% principalPoint, 
	double% pixelAspectRatio
)
F#
static member cvCalibrationMatrixValues : 
        calibMatr : IntPtr * 
        imgWidth : int * 
        imgHeight : int * 
        apertureWidth : float * 
        apertureHeight : float * 
        fovx : float byref * 
        fovy : float byref * 
        focalLength : float byref * 
        principalPoint : MCvPoint2D64f byref * 
        pixelAspectRatio : float byref -> unit 

Parameters

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

See Also