mexopencv  0.1
mex interface for opencv library
Classes | Functions
MxArray.hpp File Reference

MxArray and ConstMap declaration. More...

#include <functional>
#include <map>
#include <stdint.h>
#include <string>
#include "mex.h"
#include "opencv2/opencv.hpp"

Go to the source code of this file.

Classes

struct  MxTypes< T >
 Type traits for mxArray. More...
 
struct  MxTypes< int8_t >
 int8_t traits. More...
 
struct  MxTypes< uint8_t >
 uint8_t traits. More...
 
struct  MxTypes< int16_t >
 int16_t traits. More...
 
struct  MxTypes< uint16_t >
 uint16_t traits. More...
 
struct  MxTypes< int32_t >
 int32_t traits. More...
 
struct  MxTypes< uint32_t >
 uint32_t traits. More...
 
struct  MxTypes< int64_t >
 int64_t traits. More...
 
struct  MxTypes< uint64_t >
 uint64_t traits. More...
 
struct  MxTypes< float >
 float traits. More...
 
struct  MxTypes< double >
 double traits. More...
 
struct  MxTypes< char >
 char traits. More...
 
struct  MxTypes< bool >
 bool traits. More...
 
class  MxArray
 mxArray object wrapper for data conversion and manipulation. More...
 
class  ConstMap< T, U >
 std::map wrapper with one-line initialization and lookup method. More...
 

Functions

int MexErrorHandler (int status, const char *func_name, const char *err_msg, const char *file_name, int line, void *userdata)
 Cutom error callback to be invoked by cv::error(), CV_Assert, etc... More...
 

Detailed Description

MxArray and ConstMap declaration.

Author
Kota Yamaguchi
Date
2012

Definition in file MxArray.hpp.

Function Documentation

int MexErrorHandler ( int  status,
const char *  func_name,
const char *  err_msg,
const char *  file_name,
int  line,
void *  userdata 
)

Cutom error callback to be invoked by cv::error(), CV_Assert, etc...

Parameters
statusstatus code.
func_namefunction name.
err_msgerror message.
file_namefilename path.
lineline number.
userdataoptional user data pointer (unused).
Returns
zero code.
See also
cv::redirectError

Definition at line 86 of file MxArray.cpp.