| MatGetDefaultNewCameraMatrix Method |
returns the default new camera matrix (by default it is the same as cameraMatrix unless centerPricipalPoint=true)
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public Mat GetDefaultNewCameraMatrix(
Nullable<Size> imgSize = null,
bool centerPrincipalPoint = false
)
Public Function GetDefaultNewCameraMatrix (
Optional imgSize As Nullable(Of Size) = Nothing,
Optional centerPrincipalPoint As Boolean = false
) As Mat
public:
Mat^ GetDefaultNewCameraMatrix(
Nullable<Size> imgSize = nullptr,
bool centerPrincipalPoint = false
)
member GetDefaultNewCameraMatrix :
?imgSize : Nullable<Size> *
?centerPrincipalPoint : bool
(* Defaults:
let _imgSize = defaultArg imgSize null
let _centerPrincipalPoint = defaultArg centerPrincipalPoint false
*)
-> Mat
Parameters
- 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