mexopencv  3.4.1
MEX interface for OpenCV library
Namespaces | Functions | Variables

mex interface for cv::img_hash::ImgHashBase More...

#include "mexopencv.hpp"
#include "opencv2/img_hash.hpp"
#include <typeinfo>

Go to the source code of this file.

Namespaces

 anonymous_namespace{ImgHash_.cpp}
 

Functions

Ptr< ImgHashBaseanonymous_namespace{ImgHash_.cpp}::createImgHashBase (const string &alg, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of ImgHashBase using options in arguments. More...
 
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 Main entry called from Matlab. More...
 

Variables

int anonymous_namespace{ImgHash_.cpp}::last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< ImgHashBase > > anonymous_namespace{ImgHash_.cpp}::obj_
 Object container. More...
 
const ConstMap< string, int > anonymous_namespace{ImgHash_.cpp}::BlockMeanHashModeMap
 BlockMeanHash mode map for option processing. More...
 

Detailed Description

mex interface for cv::img_hash::ImgHashBase

Author
Amro
Date
2017

Definition in file ImgHash_.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 122 of file ImgHash_.cpp.