mexopencv  3.4.1
MEX interface for OpenCV library
Namespaces | Functions | Variables

mex interface for cv::line_descriptor::BinaryDescriptor More...

#include "mexopencv.hpp"
#include "opencv2/line_descriptor.hpp"

Go to the source code of this file.

Namespaces

 anonymous_namespace{BinaryDescriptor_.cpp}
 

Functions

MxArray anonymous_namespace{BinaryDescriptor_.cpp}::toStruct (const vector< KeyLine > &keylines)
 Convert keylines to struct array. More...
 
MxArray anonymous_namespace{BinaryDescriptor_.cpp}::toCellOfStruct (const vector< vector< KeyLine > > &keylines)
 Convert set of keylines to cell-array of struct-arrays. More...
 
KeyLine anonymous_namespace{BinaryDescriptor_.cpp}::MxArrayToKeyLine (const MxArray &arr, mwIndex idx=0)
 Convert an MxArray to cv::line_descriptor::KeyLine. More...
 
vector< KeyLineanonymous_namespace{BinaryDescriptor_.cpp}::MxArrayToVectorKeyLine (const MxArray &arr)
 Convert an MxArray to std::vector<cv::line_descriptor::KeyLine> More...
 
vector< vector< KeyLine > > anonymous_namespace{BinaryDescriptor_.cpp}::MxArrayToVectorVectorKeyLine (const MxArray &arr)
 Convert an MxArray to std::vector<std::vector<cv::line_descriptor::KeyLine>> More...
 
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 Main entry called from Matlab. More...
 

Variables

int anonymous_namespace{BinaryDescriptor_.cpp}::last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< BinaryDescriptor > > anonymous_namespace{BinaryDescriptor_.cpp}::obj_
 Object container. More...
 

Detailed Description

mex interface for cv::line_descriptor::BinaryDescriptor

Author
Amro
Date
2016

Definition in file BinaryDescriptor_.cpp.

Function Documentation

◆ mexFunction()

void mexFunction ( int  nlhs,
mxArray plhs[],
int  nrhs,
const mxArray prhs[] 
)

Main entry called from Matlab.

mexFunction is the user-defined C routine that is called upon invocation of a MEX-function.

Parameters
nlhsnumber of left-hand-side arguments
plhspointers to mxArrays in the left-hand-side
nrhsnumber of right-hand-side arguments
prhspointers to mxArrays in the right-hand-side

Definition at line 130 of file BinaryDescriptor_.cpp.