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

Functions

MxArray toStruct (const vector< groundTruth > &groundTruths)
 helper function used in GR_chalearnObj conversion More...
 
MxArray toStruct (const skeleton &skel)
 helper function used in GR_chalearnObj conversion More...
 
MxArray toStruct (const vector< cameraPos > &pos)
 helper function used in IR_robotObj conversion More...
 
MxArray toStruct (const cameraParam &camera)
 helper function used in MSM_epflObj conversion More...
 
MxArray toStruct (const vector< PascalPart > &parts)
 helper function used in OR_pascalObj conversion More...
 
MxArray toStruct (const vector< PascalObj > &objects)
 helper function used in OR_pascalObj conversion More...
 
MxArray toStruct (const vector< pose > &poses)
 helper function used in SLAM_kittiObj conversion More...
 
MxArray toStruct (const vector< word > &words)
 helper function used in TR_icdarObj conversion More...
 
MxArray toStruct (const vector< tag > &tags)
 helper function used in TR_svtObj conversion More...
 
MxArray toStruct_AR_hmdb (const vector< Ptr< Object > > &objs)
 Convert AR_hmdb objects to struct array. More...
 
MxArray toStruct_AR_sports (const vector< Ptr< Object > > &objs)
 Convert AR_sports objects to struct array. More...
 
MxArray toStruct_FR_adience (const vector< Ptr< Object > > &objs)
 Convert FR_adience objects to struct array. More...
 
MxArray toStruct_FR_lfw (const vector< Ptr< Object > > &objs)
 Convert FR_lfw objects to struct array. More...
 
MxArray toStruct_GR_chalearn (const vector< Ptr< Object > > &objs)
 Convert GR_chalearn objects to struct array. More...
 
MxArray toStruct_GR_skig (const vector< Ptr< Object > > &objs)
 Convert GR_skig objects to struct array. More...
 
MxArray toStruct_HPE_humaneva (const vector< Ptr< Object > > &objs)
 Convert HPE_humaneva objects to struct array. More...
 
MxArray toStruct_HPE_parse (const vector< Ptr< Object > > &objs)
 Convert HPE_parse objects to struct array. More...
 
MxArray toStruct_IR_affine (const vector< Ptr< Object > > &objs)
 Convert IR_affine objects to struct array. More...
 
MxArray toStruct_IR_robot (const vector< Ptr< Object > > &objs)
 Convert IR_robot objects to struct array. More...
 
MxArray toStruct_IS_bsds (const vector< Ptr< Object > > &objs)
 Convert IS_bsds objects to struct array. More...
 
MxArray toStruct_IS_weizmann (const vector< Ptr< Object > > &objs)
 Convert IS_weizmann objects to struct array. More...
 
MxArray toStruct_MSM_epfl (const vector< Ptr< Object > > &objs)
 Convert MSM_epfl objects to struct array. More...
 
MxArray toStruct_MSM_middlebury (const vector< Ptr< Object > > &objs)
 Convert MSM_middlebury objects to struct array. More...
 
MxArray toStruct_OR_imagenet (const vector< Ptr< Object > > &objs)
 Convert OR_imagenet objects to struct array. More...
 
MxArray toStruct_OR_mnist (const vector< Ptr< Object > > &objs)
 Convert OR_mnist objects to struct array. More...
 
MxArray toStruct_OR_pascal (const vector< Ptr< Object > > &objs)
 Convert OR_pascal objects to struct array. More...
 
MxArray toStruct_OR_sun (const vector< Ptr< Object > > &objs)
 Convert OR_sun objects to struct array. More...
 
MxArray toStruct_PD_caltech (const vector< Ptr< Object > > &objs)
 Convert PD_caltech objects to struct array. More...
 
MxArray toStruct_PD_inria (const vector< Ptr< Object > > &objs)
 Convert PD_inria objects to struct array. More...
 
MxArray toStruct_SLAM_kitti (const vector< Ptr< Object > > &objs)
 Convert SLAM_kitti objects to struct array. More...
 
MxArray toStruct_SLAM_tumindoor (const vector< Ptr< Object > > &objs)
 Convert SLAM_tumindoor objects to struct array. More...
 
MxArray toStruct_TR_chars (const vector< Ptr< Object > > &objs)
 Convert TR_chars objects to struct array. More...
 
MxArray toStruct_TR_icdar (const vector< Ptr< Object > > &objs)
 Convert TR_icdar objects to struct array. More...
 
MxArray toStruct_TR_svt (const vector< Ptr< Object > > &objs)
 Convert TR_svt objects to struct array. More...
 
MxArray toStruct_TRACK_vot (const vector< Ptr< Object > > &objs)
 Convert TRACK_vot objects to struct array. More...
 
MxArray toStruct_TRACK_alov (const vector< Ptr< Object > > &objs)
 Convert TRACK_alov objects to struct array. More...
 
MxArray toStruct (const vector< Ptr< Object > > &objs, const string &klass)
 Convert objects to struct array. More...
 
Ptr< Datasetcreate_Dataset (const string &type)
 Create an instance of Dataset of specified type. More...
 

Variables

int last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< Dataset > > obj_
 Object container. More...
 
const ConstMap< int, stringGenderTypeInvMap
 map for cv::datasets::genderType enum values More...
 
const ConstMap< int, stringActionTypeInvMap
 map for cv::datasets::actionType enum values More...
 
const ConstMap< int, stringPoseTypeInvMap
 map for cv::datasets::poseType enum values More...
 
const ConstMap< int, stringIlluminationTypeInvMap
 map for cv::datasets::illuminationType enum values More...
 
const ConstMap< int, stringBackgroundTypeInvMap
 map for cv::datasets::backgroundType enum values More...
 
const ConstMap< int, stringDatasetTypeInvMap
 map for cv::datasets::datasetType enum values More...
 
const ConstMap< int, stringSampleTypeInvMap
 map for cv::datasets::sampleType enum values More...
 
const ConstMap< int, stringImageTypeInvMap
 map for cv::datasets::imageType enum values More...
 

Function Documentation

◆ create_Dataset()

Ptr<Dataset> anonymous_namespace{Dataset_.cpp}::create_Dataset ( const string type)

Create an instance of Dataset of specified type.

Parameters
typedatabase type.
Returns
smart pointer to created Dataset

Definition at line 812 of file Dataset_.cpp.

◆ toStruct() [1/10]

MxArray anonymous_namespace{Dataset_.cpp}::toStruct ( const vector< groundTruth > &  groundTruths)

helper function used in GR_chalearnObj conversion

Definition at line 103 of file Dataset_.cpp.

◆ toStruct() [2/10]

MxArray anonymous_namespace{Dataset_.cpp}::toStruct ( const skeleton skel)

helper function used in GR_chalearnObj conversion

Definition at line 116 of file Dataset_.cpp.

◆ toStruct() [3/10]

MxArray anonymous_namespace{Dataset_.cpp}::toStruct ( const vector< cameraPos > &  pos)

helper function used in IR_robotObj conversion

Definition at line 136 of file Dataset_.cpp.

◆ toStruct() [4/10]

MxArray anonymous_namespace{Dataset_.cpp}::toStruct ( const cameraParam camera)

helper function used in MSM_epflObj conversion

Definition at line 147 of file Dataset_.cpp.

◆ toStruct() [5/10]

MxArray anonymous_namespace{Dataset_.cpp}::toStruct ( const vector< PascalPart > &  parts)

helper function used in OR_pascalObj conversion

Definition at line 162 of file Dataset_.cpp.

◆ toStruct() [6/10]

MxArray anonymous_namespace{Dataset_.cpp}::toStruct ( const vector< PascalObj > &  objects)

helper function used in OR_pascalObj conversion

Definition at line 177 of file Dataset_.cpp.

◆ toStruct() [7/10]

MxArray anonymous_namespace{Dataset_.cpp}::toStruct ( const vector< pose > &  poses)

helper function used in SLAM_kittiObj conversion

Definition at line 198 of file Dataset_.cpp.

◆ toStruct() [8/10]

MxArray anonymous_namespace{Dataset_.cpp}::toStruct ( const vector< word > &  words)

helper function used in TR_icdarObj conversion

Definition at line 209 of file Dataset_.cpp.

◆ toStruct() [9/10]

MxArray anonymous_namespace{Dataset_.cpp}::toStruct ( const vector< tag > &  tags)

helper function used in TR_svtObj conversion

Definition at line 224 of file Dataset_.cpp.

◆ toStruct() [10/10]

MxArray anonymous_namespace{Dataset_.cpp}::toStruct ( const vector< Ptr< Object > > &  objs,
const string klass 
)

Convert objects to struct array.

Parameters
objsvector of object pointers
klassdataset class
Returns
struct-array MxArray object

Definition at line 747 of file Dataset_.cpp.

◆ toStruct_AR_hmdb()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_AR_hmdb ( const vector< Ptr< Object > > &  objs)

Convert AR_hmdb objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 242 of file Dataset_.cpp.

◆ toStruct_AR_sports()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_AR_sports ( const vector< Ptr< Object > > &  objs)

Convert AR_sports objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 259 of file Dataset_.cpp.

◆ toStruct_FR_adience()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_FR_adience ( const vector< Ptr< Object > > &  objs)

Convert FR_adience objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 275 of file Dataset_.cpp.

◆ toStruct_FR_lfw()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_FR_lfw ( const vector< Ptr< Object > > &  objs)

Convert FR_lfw objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 303 of file Dataset_.cpp.

◆ toStruct_GR_chalearn()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_GR_chalearn ( const vector< Ptr< Object > > &  objs)

Convert GR_chalearn objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 320 of file Dataset_.cpp.

◆ toStruct_GR_skig()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_GR_skig ( const vector< Ptr< Object > > &  objs)

Convert GR_skig objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 349 of file Dataset_.cpp.

◆ toStruct_HPE_humaneva()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_HPE_humaneva ( const vector< Ptr< Object > > &  objs)

Convert HPE_humaneva objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 371 of file Dataset_.cpp.

◆ toStruct_HPE_parse()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_HPE_parse ( const vector< Ptr< Object > > &  objs)

Convert HPE_parse objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 393 of file Dataset_.cpp.

◆ toStruct_IR_affine()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_IR_affine ( const vector< Ptr< Object > > &  objs)

Convert IR_affine objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 408 of file Dataset_.cpp.

◆ toStruct_IR_robot()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_IR_robot ( const vector< Ptr< Object > > &  objs)

Convert IR_robot objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 424 of file Dataset_.cpp.

◆ toStruct_IS_bsds()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_IS_bsds ( const vector< Ptr< Object > > &  objs)

Convert IS_bsds objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 440 of file Dataset_.cpp.

◆ toStruct_IS_weizmann()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_IS_weizmann ( const vector< Ptr< Object > > &  objs)

Convert IS_weizmann objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 455 of file Dataset_.cpp.

◆ toStruct_MSM_epfl()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_MSM_epfl ( const vector< Ptr< Object > > &  objs)

Convert MSM_epfl objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 473 of file Dataset_.cpp.

◆ toStruct_MSM_middlebury()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_MSM_middlebury ( const vector< Ptr< Object > > &  objs)

Convert MSM_middlebury objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 491 of file Dataset_.cpp.

◆ toStruct_OR_imagenet()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_OR_imagenet ( const vector< Ptr< Object > > &  objs)

Convert OR_imagenet objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 509 of file Dataset_.cpp.

◆ toStruct_OR_mnist()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_OR_mnist ( const vector< Ptr< Object > > &  objs)

Convert OR_mnist objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 525 of file Dataset_.cpp.

◆ toStruct_OR_pascal()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_OR_pascal ( const vector< Ptr< Object > > &  objs)

Convert OR_pascal objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 541 of file Dataset_.cpp.

◆ toStruct_OR_sun()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_OR_sun ( const vector< Ptr< Object > > &  objs)

Convert OR_sun objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 560 of file Dataset_.cpp.

◆ toStruct_PD_caltech()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_PD_caltech ( const vector< Ptr< Object > > &  objs)

Convert PD_caltech objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 576 of file Dataset_.cpp.

◆ toStruct_PD_inria()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_PD_inria ( const vector< Ptr< Object > > &  objs)

Convert PD_inria objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 592 of file Dataset_.cpp.

◆ toStruct_SLAM_kitti()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_SLAM_kitti ( const vector< Ptr< Object > > &  objs)

Convert SLAM_kitti objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 613 of file Dataset_.cpp.

◆ toStruct_SLAM_tumindoor()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_SLAM_tumindoor ( const vector< Ptr< Object > > &  objs)

Convert SLAM_tumindoor objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 644 of file Dataset_.cpp.

◆ toStruct_TR_chars()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_TR_chars ( const vector< Ptr< Object > > &  objs)

Convert TR_chars objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 661 of file Dataset_.cpp.

◆ toStruct_TR_icdar()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_TR_icdar ( const vector< Ptr< Object > > &  objs)

Convert TR_icdar objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 677 of file Dataset_.cpp.

◆ toStruct_TR_svt()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_TR_svt ( const vector< Ptr< Object > > &  objs)

Convert TR_svt objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 695 of file Dataset_.cpp.

◆ toStruct_TRACK_alov()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_TRACK_alov ( const vector< Ptr< Object > > &  objs)

Convert TRACK_alov objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 729 of file Dataset_.cpp.

◆ toStruct_TRACK_vot()

MxArray anonymous_namespace{Dataset_.cpp}::toStruct_TRACK_vot ( const vector< Ptr< Object > > &  objs)

Convert TRACK_vot objects to struct array.

Parameters
objsvector of object pointers
Returns
struct-array MxArray object

Definition at line 712 of file Dataset_.cpp.

Variable Documentation

◆ ActionTypeInvMap

const ConstMap<int,string> anonymous_namespace{Dataset_.cpp}::ActionTypeInvMap
Initial value:

map for cv::datasets::actionType enum values

Definition at line 57 of file Dataset_.cpp.

◆ BackgroundTypeInvMap

const ConstMap<int,string> anonymous_namespace{Dataset_.cpp}::BackgroundTypeInvMap
Initial value:
(cv::datasets::woodenBoard, "WoodenBoard")
(cv::datasets::whitePaper, "WhitePaper")
(cv::datasets::paperWithCharacters, "PaperWithCharacters")
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

map for cv::datasets::backgroundType enum values

Definition at line 81 of file Dataset_.cpp.

◆ DatasetTypeInvMap

const ConstMap<int,string> anonymous_namespace{Dataset_.cpp}::DatasetTypeInvMap
Initial value:
(cv::datasets::humaneva_1, "Humaneva1")
(cv::datasets::humaneva_2, "Humaneva2")
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

map for cv::datasets::datasetType enum values

Definition at line 87 of file Dataset_.cpp.

◆ GenderTypeInvMap

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

map for cv::datasets::genderType enum values

Definition at line 51 of file Dataset_.cpp.

◆ IlluminationTypeInvMap

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

map for cv::datasets::illuminationType enum values

Definition at line 76 of file Dataset_.cpp.

◆ ImageTypeInvMap

const ConstMap<int,string> anonymous_namespace{Dataset_.cpp}::ImageTypeInvMap
Initial value:
(cv::datasets::LADYBUG, "Ladybug")
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

map for cv::datasets::imageType enum values

Definition at line 97 of file Dataset_.cpp.

◆ last_id

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

Last object id to allocate.

Definition at line 46 of file Dataset_.cpp.

◆ obj_

map<int,Ptr<Dataset> > anonymous_namespace{Dataset_.cpp}::obj_

Object container.

Definition at line 48 of file Dataset_.cpp.

◆ PoseTypeInvMap

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

map for cv::datasets::poseType enum values

Definition at line 70 of file Dataset_.cpp.

◆ SampleTypeInvMap

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

map for cv::datasets::sampleType enum values

Definition at line 92 of file Dataset_.cpp.