mexopencv  3.4.1
MEX interface for OpenCV library
Functions | Variables
anonymous_namespace{GPCForest_.cpp} Namespace Reference

Functions

MxArray toStruct (const vector< pair< Point2i, Point2i > > &correspondences)
 Convert correspondences to struct array. More...
 

Variables

int last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< GPCForest5 > > obj_
 Object container. More...
 
const ConstMap< string, GPCDescTypeGPCDescTypeMap
 GPC descriptor types for option processing. More...
 

Function Documentation

◆ toStruct()

MxArray anonymous_namespace{GPCForest_.cpp}::toStruct ( const vector< pair< Point2i, Point2i > > &  correspondences)

Convert correspondences to struct array.

Parameters
correspondencesvector of pairs of points
Returns
struct-array MxArray object

Definition at line 34 of file GPCForest_.cpp.

Variable Documentation

◆ GPCDescTypeMap

const ConstMap<string,GPCDescType> anonymous_namespace{GPCForest_.cpp}::GPCDescTypeMap
Initial value:
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

GPC descriptor types for option processing.

Definition at line 26 of file GPCForest_.cpp.

◆ last_id

int anonymous_namespace{GPCForest_.cpp}::last_id = 0

Last object id to allocate.

Definition at line 21 of file GPCForest_.cpp.

◆ obj_

map<int,Ptr<GPCForest5> > anonymous_namespace{GPCForest_.cpp}::obj_

Object container.

Definition at line 23 of file GPCForest_.cpp.