Click or drag to resize

Cv2CalibrationMatrixValues Method (InputArray, Size, Double, Double, Double, Double, Double, Point2d, Double)

computes several useful camera characteristics from the camera matrix, camera frame resolution and the physical sensor size.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void CalibrationMatrixValues(
	InputArray cameraMatrix,
	Size imageSize,
	double apertureWidth,
	double apertureHeight,
	out double fovx,
	out double fovy,
	out double focalLength,
	out Point2d principalPoint,
	out double aspectRatio
)

Parameters

cameraMatrix
Type: OpenCvSharpInputArray
Input camera matrix that can be estimated by calibrateCamera() or stereoCalibrate() .
imageSize
Type: OpenCvSharpSize
Input image size in pixels.
apertureWidth
Type: SystemDouble
Physical width of the sensor.
apertureHeight
Type: SystemDouble
Physical height of the sensor.
fovx
Type: SystemDouble
Output field of view in degrees along the horizontal sensor axis.
fovy
Type: SystemDouble
Output field of view in degrees along the vertical sensor axis.
focalLength
Type: SystemDouble
Focal length of the lens in mm.
principalPoint
Type: OpenCvSharpPoint2d
Principal point in pixels.
aspectRatio
Type: SystemDouble
fy / fx
See Also