mexopencv  3.4.1
MEX interface for OpenCV library
Namespaces | Functions | Variables
HOGDescriptor_.cpp File Reference

mex interface for cv::HOGDescriptor More...

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

Go to the source code of this file.

Namespaces

 anonymous_namespace{HOGDescriptor_.cpp}
 

Functions

DetectionROI anonymous_namespace{HOGDescriptor_.cpp}::MxArrayToDetectionROI (const MxArray &arr, mwIndex idx=0)
 Convert MxArray to cv::DetectionROI. More...
 
vector< DetectionROIanonymous_namespace{HOGDescriptor_.cpp}::MxArrayToVectorDetectionROI (const MxArray &arr)
 Convert MxArray to std::vector<cv::DetectionROI> More...
 
MxArray anonymous_namespace{HOGDescriptor_.cpp}::toStruct (const vector< DetectionROI > &rois)
 Convert vector of detection region of interest to struct array. More...
 
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 Main entry called from Matlab. More...
 

Variables

int anonymous_namespace{HOGDescriptor_.cpp}::last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< HOGDescriptor > > anonymous_namespace{HOGDescriptor_.cpp}::obj_
 Object container. More...
 
const ConstMap< string, int > anonymous_namespace{HOGDescriptor_.cpp}::HistogramNormType
 HistogramNormType map. More...
 
const ConstMap< int, stringanonymous_namespace{HOGDescriptor_.cpp}::InvHistogramNormType
 HistogramNormType inverse map. More...
 

Detailed Description

mex interface for cv::HOGDescriptor

Author
Kota Yamaguchi
Date
2012

Definition in file HOGDescriptor_.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 88 of file HOGDescriptor_.cpp.