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

Functions

Ptr< Retinacreate_Retina (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of Retina using options in arguments. More...
 
void createOPLandIplParvoParameters (RetinaParameters::OPLandIplParvoParameters &OPLandIplParvo, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of OPLandIplParvoParameters using options in arguments. More...
 
void createIplMagnoParameters (RetinaParameters::IplMagnoParameters &IplMagno, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of IplMagnoParameters using options in arguments. More...
 
void createRetinaParameters (RetinaParameters &params, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of RetinaParameters using options in arguments. More...
 
MxArray toStruct (const RetinaParameters::OPLandIplParvoParameters &params)
 Convert Parvocellular parameters to scalar struct. More...
 
MxArray toStruct (const RetinaParameters::IplMagnoParameters &params)
 Convert Magnocellular parameters to scalar struct. More...
 
MxArray toStruct (const RetinaParameters &params)
 Convert retina model parameters to scalar struct. More...
 

Variables

int last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< Retina > > obj_
 Object container. More...
 
const ConstMap< string, int > RetinaColorSampMap
 Retina color sampling methods. More...
 

Function Documentation

◆ create_Retina()

Ptr<Retina> anonymous_namespace{Retina_.cpp}::create_Retina ( vector< MxArray >::const_iterator  first,
vector< MxArray >::const_iterator  last 
)

Create an instance of Retina using options in arguments.

Parameters
[in]firstiterator at the beginning of the vector range
[in]lastiterator at the end of the vector range
Returns
smart pointer to created Retina

Definition at line 32 of file Retina_.cpp.

◆ createIplMagnoParameters()

void anonymous_namespace{Retina_.cpp}::createIplMagnoParameters ( RetinaParameters::IplMagnoParameters &  IplMagno,
vector< MxArray >::const_iterator  first,
vector< MxArray >::const_iterator  last 
)

Create an instance of IplMagnoParameters using options in arguments.

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

Definition at line 109 of file Retina_.cpp.

◆ createOPLandIplParvoParameters()

void anonymous_namespace{Retina_.cpp}::createOPLandIplParvoParameters ( RetinaParameters::OPLandIplParvoParameters &  OPLandIplParvo,
vector< MxArray >::const_iterator  first,
vector< MxArray >::const_iterator  last 
)

Create an instance of OPLandIplParvoParameters using options in arguments.

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

Definition at line 70 of file Retina_.cpp.

◆ createRetinaParameters()

void anonymous_namespace{Retina_.cpp}::createRetinaParameters ( RetinaParameters params,
vector< MxArray >::const_iterator  first,
vector< MxArray >::const_iterator  last 
)

Create an instance of RetinaParameters using options in arguments.

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

Definition at line 146 of file Retina_.cpp.

◆ toStruct() [1/3]

MxArray anonymous_namespace{Retina_.cpp}::toStruct ( const RetinaParameters::OPLandIplParvoParameters &  params)

Convert Parvocellular parameters to scalar struct.

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

Definition at line 174 of file Retina_.cpp.

◆ toStruct() [2/3]

MxArray anonymous_namespace{Retina_.cpp}::toStruct ( const RetinaParameters::IplMagnoParameters &  params)

Convert Magnocellular parameters to scalar struct.

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

Definition at line 198 of file Retina_.cpp.

◆ toStruct() [3/3]

MxArray anonymous_namespace{Retina_.cpp}::toStruct ( const RetinaParameters params)

Convert retina model parameters to scalar struct.

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

Definition at line 220 of file Retina_.cpp.

Variable Documentation

◆ last_id

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

Last object id to allocate.

Definition at line 17 of file Retina_.cpp.

◆ obj_

map<int,Ptr<Retina> > anonymous_namespace{Retina_.cpp}::obj_

Object container.

Definition at line 19 of file Retina_.cpp.

◆ RetinaColorSampMap

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

Retina color sampling methods.

Definition at line 22 of file Retina_.cpp.