#include <opencv2/core/core.hpp>
#include <boost/python.hpp>
Go to the source code of this file.
Namespaces | |
namespace | pano_py |
Functions | |
cv::Mat | pano_py::convertNumpy2Mat (boost::python::object np) |
cv::Mat | pano_py::convertObj2Mat (boost::python::object image) |
takes a cv.cvmat or cv.iplimage from the opencv wrappings and turns it into a cv::Mat for convenient use. | |
int | pano_py::failmsg (const char *fmt,...) |
bool | pano_py::numpy_to_mat (const PyObject *o, cv::Mat &m, const char *name="<unknown>", bool allowND=true) |