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

mex interface for cv::superres::SuperResolution More...

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

Go to the source code of this file.

Namespaces

 anonymous_namespace{SuperResolution_.cpp}
 

Functions

Ptr< FrameSourceanonymous_namespace{SuperResolution_.cpp}::createFrameSource (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of FrameSource using options in arguments. More...
 
Ptr< superres::FarnebackOpticalFlowanonymous_namespace{SuperResolution_.cpp}::createFarnebackOpticalFlow (bool use_gpu, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of FarnebackOpticalFlow using options in arguments. More...
 
Ptr< superres::DualTVL1OpticalFlowanonymous_namespace{SuperResolution_.cpp}::createDualTVL1OpticalFlow (bool use_gpu, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of DualTVL1OpticalFlow using options in arguments. More...
 
Ptr< BroxOpticalFlowanonymous_namespace{SuperResolution_.cpp}::createBroxOpticalFlow (bool, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of BroxOpticalFlow using options in arguments. More...
 
Ptr< PyrLKOpticalFlowanonymous_namespace{SuperResolution_.cpp}::createPyrLKOpticalFlow (bool, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of PyrLKOpticalFlow using options in arguments. More...
 
Ptr< DenseOpticalFlowExtanonymous_namespace{SuperResolution_.cpp}::createDenseOpticalFlowExt (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of DenseOpticalFlowExt using options in arguments. More...
 
Ptr< SuperResolutionanonymous_namespace{SuperResolution_.cpp}::createSuperResolution (const string &type)
 Create an instance of SuperResolution using options in arguments. More...
 
MxArray anonymous_namespace{SuperResolution_.cpp}::toStruct (Ptr< DenseOpticalFlowExt > p)
 Convert a DenseOpticalFlowExt to MxArray. More...
 
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 Main entry called from Matlab. More...
 

Variables

int anonymous_namespace{SuperResolution_.cpp}::last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< SuperResolution > > anonymous_namespace{SuperResolution_.cpp}::obj_
 Object container. More...
 

Detailed Description

mex interface for cv::superres::SuperResolution

Author
Amro
Date
2015

Definition in file SuperResolution_.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 357 of file SuperResolution_.cpp.