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

mex interface for some utilities and system functions More...

#include "mexopencv.hpp"
#include "opencv2/cvconfig.h"
#include "opencv2/core/ocl.hpp"
#include "opencv2/core/cuda.hpp"

Go to the source code of this file.

Namespaces

 anonymous_namespace{Utils_.cpp}
 

Functions

MxArray anonymous_namespace{Utils_.cpp}::toMxArray (size_t i)
 Convert size type to MxArray. More...
 
MxArray anonymous_namespace{Utils_.cpp}::toMxArray (const std::vector< size_t > &v)
 Convert vector of size type to MxArray. More...
 
MxArray anonymous_namespace{Utils_.cpp}::toFPConfigStruct (int flags)
 Convert OpenCL FP config bit-field to MxArray. More...
 
MxArray anonymous_namespace{Utils_.cpp}::toExecCapStruct (int flags)
 Convert OpenCL execution capabilities bit-field to MxArray. More...
 
MxArray anonymous_namespace{Utils_.cpp}::toStruct (const vector< cv::ocl::PlatformInfo > &vpi)
 Convert OpenCL platform info vector to struct array. More...
 
MxArray anonymous_namespace{Utils_.cpp}::toStruct (const cv::cuda::DeviceInfo &di)
 Convert CUDA device info to struct array. More...
 
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 Main entry called from Matlab. More...
 

Variables

const ConstMap< int, stringanonymous_namespace{Utils_.cpp}::OCLTypeMap
 OpenCL device type. More...
 
const ConstMap< int, stringanonymous_namespace{Utils_.cpp}::OCLCacheMap
 OpenCL type of global memory cache. More...
 
const ConstMap< int, stringanonymous_namespace{Utils_.cpp}::OCLMemMap
 OpenCL type of local memory. More...
 
const ConstMap< int, stringanonymous_namespace{Utils_.cpp}::OCLVendorMap
 OpenCL vendor name. More...
 
const ConstMap< int, stringanonymous_namespace{Utils_.cpp}::CUDAComputeModeMap
 CUDA device compute modes. More...
 

Detailed Description

mex interface for some utilities and system functions

Author
Amro
Date
2015

Definition in file Utils_.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 349 of file Utils_.cpp.