returns the default new camera matrix (by default it is the same as cameraMatrix unless centerPricipalPoint=true)
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Mat GetDefaultNewCameraMatrix( InputArray cameraMatrix, Nullable<Size> imgSize = null, bool centerPrincipalPoint = false )
Parameters
- cameraMatrix
- Type: OpenCvSharp.CPlusPlusInputArray
Input camera matrix. - imgSize (Optional)
- Type: SystemNullableSize
Camera view image size in pixels. - centerPrincipalPoint (Optional)
- Type: SystemBoolean
Location of the principal point in the new camera matrix. The parameter indicates whether this location should be at the image center or not.
Return Value
Type: Matthe camera matrix that is either an exact copy of the input cameraMatrix (when centerPrinicipalPoint=false), or the modified one (when centerPrincipalPoint=true).
See Also