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

mex interface for cv::grabCut More...

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

Go to the source code of this file.

Namespaces

 anonymous_namespace{grabCut.cpp}
 

Functions

void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 Main entry called from Matlab. More...
 

Variables

const ConstMap< string, int > anonymous_namespace{grabCut.cpp}::GrabCutType
 GrabCut algorithm types for option processing. More...
 

Detailed Description

mex interface for cv::grabCut

Author
Kota Yamaguchi
Date
2012

Definition in file grabCut.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 28 of file grabCut.cpp.