MIRA
Classes | Namespaces | Macros | Typedefs | Functions
Img.h File Reference

Header file containing Img classes that wrap cv::Mat. More...

#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <platform/Types.h>
#include <geometry/Polygon.h>
#include <geometry/Size.h>
#include <serialization/BinarySerializer.h>
#include <serialization/NoGenericReflect.h>
#include <serialization/IsNotMetaSerializable.h>
#include <image/ImgPixel.h>
#include <image/ImgIterator.h>
Include dependency graph for Img.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ImgBase< TImg >
 ImgBase class. More...
 
struct  ImgBase< TImg >::ImgFormat
 Image storage format description (used e.g. More...
 
class  ImgTypedBase< TImg, TPixel >
 Base class for typed images. More...
 
class  Img< T, TChannels >
 class for typed images. More...
 
class  Img< T, 1 >
 specialized typed image with 1 channel This template class provides convenient way to create an image with known type and only 1 channel by using Img<Type> More...
 
class  Img< void, 1 >
 untyped image class This class provides a fully dynamic image, where type and channels are not known at compile time. More...
 
class  IsNotMetaSerializable< Img< TPixel, TChannels > >
 Mark image classes as not meta-serializable. More...
 

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 

Macros

#define MIRA_USE_IPL_IMAGE   0
 IplImage was removed in OpenCV-4.x. More...
 

Typedefs

typedef Img< uint8, 1 > Img8U1
 Image: unsigned 8-bit integers, 1 channel. More...
 
typedef Img< uint8, 2 > Img8U2
 Image: unsigned 8-bit integers, 2 channels. More...
 
typedef Img< uint8, 3 > Img8U3
 Image: unsigned 8-bit integers, 3 channel. More...
 
typedef Img< uint8, 4 > Img8U4
 Image: unsigned 8-bit integers, 4 channel. More...
 
typedef Img< uint16, 1 > Img16U1
 Image: unsigned 16-bit integers, 1 channel. More...
 
typedef Img< uint16, 2 > Img16U2
 Image: unsigned 16-bit integers, 2 channel. More...
 
typedef Img< uint16, 3 > Img16U3
 Image: unsigned 16-bit integers, 3 channel. More...
 
typedef Img< uint16, 4 > Img16U4
 Image: unsigned 16-bit integers, 4 channel. More...
 
typedef Img< int16, 1 > Img16S1
 Image: 16-bit integers, 1 channel. More...
 
typedef Img< int16, 2 > Img16S2
 Image: 16-bit integers, 2 channel. More...
 
typedef Img< int16, 3 > Img16S3
 Image: 16-bit integers, 3 channel. More...
 
typedef Img< int16, 4 > Img16S4
 Image: 16-bit integers, 4 channel. More...
 
typedef Img< float, 1 > Img32F1
 Image: floating-point numbers, 1 channel. More...
 
typedef Img< float, 2 > Img32F2
 Image: floating-point numbers, 2 channel. More...
 
typedef Img< float, 3 > Img32F3
 Image: floating-point numbers, 3 channel. More...
 
typedef Img< float, 4 > Img32F4
 Image: floating-point numbers, 4 channel. More...
 
typedef Img< double, 1 > Img64F1
 Image: double precision floating-point numbers, 1 channel. More...
 
typedef Img< double, 2 > Img64F2
 Image: double precision floating-point numbers, 2 channel. More...
 
typedef Img< double, 3 > Img64F3
 Image: double precision floating-point numbers, 3 channel. More...
 
typedef Img< double, 4 > Img64F4
 Image: double precision floating-point numbers, 4 channel. More...
 

Functions

template<typename TPixel , int TChannels>
Img< TPixel, TChannels > img_cast (Img<> &other)
 Casts an untyped Img<> into a typed image with the specified pixel type and channel count. More...
 

Detailed Description

Header file containing Img classes that wrap cv::Mat.

Author
Michael Volkhardt
Date
2010/10/18

Macro Definition Documentation

◆ MIRA_USE_IPL_IMAGE

#define MIRA_USE_IPL_IMAGE   0

IplImage was removed in OpenCV-4.x.

By default, we don't use the old OpenCV IplImage. If somebody really needs this (only OpenCV < 4.x) MIRA must be compiled with -DMIRA_USE_IPL_IMAGE=1