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

mex interface for cv::kmeans More...

#include "mexopencv.hpp"

Go to the source code of this file.

Namespaces

 anonymous_namespace{kmeans.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{kmeans.cpp}::Initialization
 KMeans initalization types for option processing. More...
 

Detailed Description

mex interface for cv::kmeans

Author
Kota Yamaguchi
Date
2011

Definition in file kmeans.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 26 of file kmeans.cpp.