mexopencv  3.4.1
MEX interface for OpenCV library
Functions
anonymous_namespace{calibrationMatrixValues.cpp} Namespace Reference

Functions

MxArray toStruct (double fovx, double fovy, double focalLength, const Point2d &principalPoint, double aspectRatio)
 Create a new MxArray from characteristics of camera matrix. More...
 

Function Documentation

◆ toStruct()

MxArray anonymous_namespace{calibrationMatrixValues.cpp}::toStruct ( double  fovx,
double  fovy,
double  focalLength,
const Point2d principalPoint,
double  aspectRatio 
)

Create a new MxArray from characteristics of camera matrix.

Parameters
fovxField of view along the horizontal sensor axis.
fovyField of view along the vertical sensor axis.
focalLengthFocal length of the lens.
principalPointPrincipal point.
aspectRatioAspect ratio fy/fx.
Returns
output MxArray struct object.

Definition at line 22 of file calibrationMatrixValues.cpp.