MIRA
Classes | Namespaces | Macros | Functions
ImageWrapper.h File Reference

Wrapper for Img
More...

#include <python/BoostPythonWrapper.h>
#include <boost/python/numeric.hpp>
#include <image/Img.h>
#include <numpy/ndarrayobject.h>
Include dependency graph for ImageWrapper.h:

Go to the source code of this file.

Classes

struct  ImageAccessorBase< T >
 Dummy image accessor base struct. More...
 
struct  ImageAccessorBase< mira::Img< TPixel, TChannels > >
 
struct  ImageAccessor< T >
 Dummy image accessor struct. More...
 
struct  ImageAccessor< mira::Img< TPixel, TChannels > >
 
struct  ImageAccessor< mira::Img< void, 1 > >
 

Namespaces

 mira
 
 mira::python
 

Macros

#define BOOST_HAS_NUMPY_API   (BOOST_VERSION >= 106300)
 
#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION
 

Functions

static int getNumpyDtype (int cvDtype)
 Return numerical numpy dtype identifier corresponding to a numerical dtype from OpenCV. More...
 
static int getCvDtype (int numpyDtype)
 

Detailed Description

Wrapper for Img
Author
Robert Arenknecht
Date
2020/16/01

Macro Definition Documentation

◆ BOOST_HAS_NUMPY_API

#define BOOST_HAS_NUMPY_API   (BOOST_VERSION >= 106300)

◆ NPY_NO_DEPRECATED_API

#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION