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

Functions

KeyLine MxArrayToKeyLine (const MxArray &arr, mwIndex idx=0)
 Convert an MxArray to cv::line_descriptor::KeyLine. More...
 
vector< KeyLineMxArrayToVectorKeyLine (const MxArray &arr)
 Convert an MxArray to std::vector<cv::line_descriptor::KeyLine> More...
 

Function Documentation

◆ MxArrayToKeyLine()

KeyLine anonymous_namespace{drawLineMatches.cpp}::MxArrayToKeyLine ( const MxArray arr,
mwIndex  idx = 0 
)

Convert an MxArray to cv::line_descriptor::KeyLine.

Parameters
arrstruct-array MxArray object
idxlinear index of the struct array element
Returns
keyline object

Definition at line 20 of file drawLineMatches.cpp.

◆ MxArrayToVectorKeyLine()

vector<KeyLine> anonymous_namespace{drawLineMatches.cpp}::MxArrayToVectorKeyLine ( const MxArray arr)

Convert an MxArray to std::vector<cv::line_descriptor::KeyLine>

Parameters
arrstruct-array MxArray object
Returns
vector of keyline objects

Definition at line 46 of file drawLineMatches.cpp.