mexopencv  3.4.1
MEX interface for OpenCV library
Classes | Variables
anonymous_namespace{MxArray.cpp} Namespace Reference

Classes

struct  CompareSparseMatNode
 Comparison operator for sparse matrix elements. More...
 

Variables

const char * cv_moments_fields [24]
 Field names for cv::Moments. More...
 
const char * cv_rotated_rect_fields [3] = {"center", "size", "angle"}
 Field names for cv::RotatedRect. More...
 
const char * cv_term_criteria_fields [3] = {"type", "maxCount", "epsilon"}
 Field names for cv::TermCriteria. More...
 
const char * cv_keypoint_fields [6]
 Field names for cv::KeyPoint. More...
 
const char * cv_dmatch_fields [4]
 Field names for cv::DMatch. More...
 
const ConstMap< mxClassID, int > DepthOf
 Translates data type definition used in MATLAB to that of OpenCV. More...
 
const ConstMap< int, mxClassIDClassIDOf
 Translates data type definition used in OpenCV to that of MATLAB. More...
 
const ConstMap< int, std::stringInvTermCritType
 Inverse TermCriteria type map for option processing. More...
 
const ConstMap< std::string, int > TermCritType
 TermCriteria type map for option processing. More...
 

Variable Documentation

◆ ClassIDOf

const ConstMap<int,mxClassID> anonymous_namespace{MxArray.cpp}::ClassIDOf
Initial value:
(CV_32F, mxSINGLE_CLASS)
(CV_8U, mxUINT8_CLASS)
(CV_16U, mxUINT16_CLASS)
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:298
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:303
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:302
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:301
#define CV_8S
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:297
#define CV_64F
#define CV_32S
#define CV_16S
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:299
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:300
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

Translates data type definition used in OpenCV to that of MATLAB.

Parameters
depthdata depth of OpenCV's Mat class. e.g., CV_32F.
Returns
data type of MATLAB's mxArray. e.g., mxDOUBLE_CLASS.

Definition at line 45 of file MxArray.cpp.

◆ cv_dmatch_fields

const char* anonymous_namespace{MxArray.cpp}::cv_dmatch_fields[4]
Initial value:
= {"queryIdx", "trainIdx", "imgIdx",
"distance"}

Field names for cv::DMatch.

Definition at line 23 of file MxArray.cpp.

◆ cv_keypoint_fields

const char* anonymous_namespace{MxArray.cpp}::cv_keypoint_fields[6]
Initial value:
= {"pt", "size", "angle", "response",
"octave", "class_id"}

Field names for cv::KeyPoint.

Definition at line 20 of file MxArray.cpp.

◆ cv_moments_fields

const char* anonymous_namespace{MxArray.cpp}::cv_moments_fields[24]
Initial value:
= {
"m00", "m10", "m01", "m20", "m11", "m02","m30", "m21", "m12", "m03",
"mu20", "mu11", "mu02", "mu30", "mu21", "mu12", "mu03",
"nu20", "nu11", "nu02", "nu30", "nu21", "nu12", "nu03"}

Field names for cv::Moments.

Definition at line 11 of file MxArray.cpp.

◆ cv_rotated_rect_fields

const char* anonymous_namespace{MxArray.cpp}::cv_rotated_rect_fields[3] = {"center", "size", "angle"}

Field names for cv::RotatedRect.

Definition at line 16 of file MxArray.cpp.

◆ cv_term_criteria_fields

const char* anonymous_namespace{MxArray.cpp}::cv_term_criteria_fields[3] = {"type", "maxCount", "epsilon"}

Field names for cv::TermCriteria.

Definition at line 18 of file MxArray.cpp.

◆ DepthOf

const ConstMap<mxClassID, int> anonymous_namespace{MxArray.cpp}::DepthOf
Initial value:
(mxSINGLE_CLASS, CV_32F)
(mxUINT8_CLASS, CV_8U)
(mxUINT16_CLASS, CV_16U)
(mxUINT32_CLASS, CV_32S)
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:298
#define CV_8U
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:303
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:302
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:301
#define CV_8S
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:297
#define CV_64F
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:304
#define CV_32S
Identifies a logical mxArray, an mxArray of mxLogical data.
Definition: matrix.h:294
#define CV_16S
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:299
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:300
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

Translates data type definition used in MATLAB to that of OpenCV.

Parameters
classiddata type of MATLAB's mxArray. e.g., mxDOUBLE_CLASS.
Returns
OpenCV's data type. e.g., CV_8U.

Definition at line 30 of file MxArray.cpp.

◆ InvTermCritType

const ConstMap<int, std::string> anonymous_namespace{MxArray.cpp}::InvTermCritType
Initial value:
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

Inverse TermCriteria type map for option processing.

Definition at line 73 of file MxArray.cpp.

◆ TermCritType

const ConstMap<std::string, int> anonymous_namespace{MxArray.cpp}::TermCritType
Initial value:
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

TermCriteria type map for option processing.

Definition at line 79 of file MxArray.cpp.