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

Functions

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

Function Documentation

◆ toStruct()

MxArray anonymous_namespace{stereoRectify.cpp}::toStruct ( const Mat R1,
const Mat R2,
const Mat P1,
const Mat P2,
const Mat Q,
const Rect roi1,
const Rect roi2 
)

Create a new MxArray from stereo rectified transforms.

Parameters
R1Rectification transform for the first camera.
R2Rectification transform for the second camera.
P1Projection matrix in new coord systems of first camera.
P2Projection matrix in new coord systems of second 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.
Returns
output MxArray struct object.

Definition at line 24 of file stereoRectify.cpp.