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

Functions

MxArray toStruct (const Mat &R1, const Mat &R2, const Mat &R3, const Mat &P1, const Mat &P2, const Mat &P3, const Mat &Q, const Rect &roi1, const Rect &roi2, float ratio)
 Create a new MxArray from stereo rectified transforms. More...
 

Function Documentation

◆ toStruct()

MxArray anonymous_namespace{rectify3Collinear.cpp}::toStruct ( const Mat &  R1,
const Mat &  R2,
const Mat &  R3,
const Mat &  P1,
const Mat &  P2,
const Mat &  P3,
const Mat &  Q,
const Rect &  roi1,
const Rect &  roi2,
float  ratio 
)

Create a new MxArray from stereo rectified transforms.

Parameters
R1Rectification transform for the first camera.
R2Rectification transform for the second camera.
R3Rectification transform for the third camera.
P1Projection matrix in new coord systems of first camera.
P2Projection matrix in new coord systems of second camera.
P3Projection matrix in new coord systems of third camera.
QDisparity-to-depth mapping matrix.
roi1ROI in rectified images in 1st cam where all pixels are valid.
roi2ROI in rectified images in 2nd cam where all pixels are valid.
ratiodisparity ratio.
Returns
output MxArray struct object.

Definition at line 27 of file rectify3Collinear.cpp.