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

Functions

void createSegmentationParameters (SegmentationParameters &params, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of SegmentationParameters using options in arguments. More...
 
MxArray toStruct (const SegmentationParameters &params)
 Convert segmentation parameters to scalar struct. More...
 

Variables

int last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< TransientAreasSegmentationModule > > obj_
 Object container. More...
 

Function Documentation

◆ createSegmentationParameters()

void anonymous_namespace{TransientAreasSegmentationModule_.cpp}::createSegmentationParameters ( SegmentationParameters params,
vector< MxArray >::const_iterator  first,
vector< MxArray >::const_iterator  last 
)

Create an instance of SegmentationParameters using options in arguments.

Parameters
[in,out]paramsSegmentationParameters struct to fill
[in]firstiterator at the beginning of the vector range
[in]lastiterator at the end of the vector range

Definition at line 26 of file TransientAreasSegmentationModule_.cpp.

◆ toStruct()

MxArray anonymous_namespace{TransientAreasSegmentationModule_.cpp}::toStruct ( const SegmentationParameters params)

Convert segmentation parameters to scalar struct.

Parameters
[in]paramsinstance of SegmentationParameters
Returns
scalar struct MxArray object

Definition at line 62 of file TransientAreasSegmentationModule_.cpp.

Variable Documentation

◆ last_id

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

Last object id to allocate.

Definition at line 17 of file TransientAreasSegmentationModule_.cpp.

◆ obj_

map<int,Ptr<TransientAreasSegmentationModule> > anonymous_namespace{TransientAreasSegmentationModule_.cpp}::obj_

Object container.

Definition at line 19 of file TransientAreasSegmentationModule_.cpp.