#include <iostream>#include <boost/python.hpp>#include <cv_bridge/cv_bridge.h>#include <Python.h>#include <numpy/ndarrayobject.h>#include <opencv/cv.h>
Go to the source code of this file.
Classes | |
| struct | cvmat_t |
| class | NumpyAllocator |
Functions | |
| BOOST_PYTHON_MODULE (cv_bridge_boost) | |
| static int | convert_to_CvMat1 (PyObject *o, CvMat **dst, const char *name) |
| int | convert_to_CvMat2 (const PyObject *o, cv::Mat &m) |
| bp::object | cvtColor2Wrap (bp::object obj_in, const std::string &encoding_in, const std::string &encoding_out) |
| bp::object | cvtColorWrap (bp::object obj_in, const std::string &encoding_in, const std::string &encoding_out) |
| void | doImport () |
| static int | failmsg (const char *fmt,...) |
| static PyObject * | FROM_CvMat (CvMat *m) |
| static int | is_cvmat (PyObject *o) |
| static PyObject * | pyObjectFromRefcount (const int *refcount) |
| static int * | refcountFromPyObject (const PyObject *obj) |
Variables | |
| NumpyAllocator | g_numpyAllocator |
| PyObject * | mod_opencv |
| static size_t | REFCOUNT_OFFSET |
| BOOST_PYTHON_MODULE | ( | cv_bridge_boost | ) |
Definition at line 348 of file module.cpp.
| static int convert_to_CvMat1 | ( | PyObject * | o, |
| CvMat ** | dst, | ||
| const char * | name | ||
| ) | [static] |
Definition at line 77 of file module.cpp.
| int convert_to_CvMat2 | ( | const PyObject * | o, |
| cv::Mat & | m | ||
| ) |
Definition at line 218 of file module.cpp.
| bp::object cvtColor2Wrap | ( | bp::object | obj_in, |
| const std::string & | encoding_in, | ||
| const std::string & | encoding_out | ||
| ) |
Definition at line 315 of file module.cpp.
| bp::object cvtColorWrap | ( | bp::object | obj_in, |
| const std::string & | encoding_in, | ||
| const std::string & | encoding_out | ||
| ) |
Definition at line 123 of file module.cpp.
| void doImport | ( | ) |
Definition at line 170 of file module.cpp.
| static int failmsg | ( | const char * | fmt, |
| ... | |||
| ) | [static] |
Definition at line 59 of file module.cpp.
| static PyObject* FROM_CvMat | ( | CvMat * | m | ) | [static] |
Definition at line 102 of file module.cpp.
| static int is_cvmat | ( | PyObject * | o | ) | [static] |
Definition at line 72 of file module.cpp.
| static PyObject* pyObjectFromRefcount | ( | const int * | refcount | ) | [inline, static] |
Definition at line 148 of file module.cpp.
| static int* refcountFromPyObject | ( | const PyObject * | obj | ) | [inline, static] |
Definition at line 153 of file module.cpp.
Definition at line 216 of file module.cpp.
| PyObject* mod_opencv |
Definition at line 44 of file module.cpp.
size_t REFCOUNT_OFFSET [static] |
( size_t )&((( PyObject* )0)->ob_refcnt ) + ( 0x12345678 != *( const size_t* )"\x78\x56\x34\x12\0\0\0\0\0" )*sizeof( int )
Definition at line 144 of file module.cpp.