Cv2CalibrationMatrixValues Method (InputArray, Size, Double, Double, Double, Double, Double, Point2d, Double) OpenCvSharp Class Library
computes several useful camera characteristics from the camera matrix, camera frame resolution and the physical sensor size.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.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: OpenCvSharp.CPlusPlusInputArray
Input camera matrix that can be estimated by calibrateCamera() or stereoCalibrate() .
imageSize
Type: OpenCvSharp.CPlusPlusSize
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: OpenCvSharp.CPlusPlusPoint2d
Principal point in pixels.
aspectRatio
Type: SystemDouble
fy / fx
See Also

Reference