MIRA
Classes | Typedefs | Functions
Image Module


For detailed information see Image. More...

Collaboration diagram for Image Module:

Classes

class  ColorBase
 base interface for all colors in different color spaces The class provides a base interface for all color (space) classes. More...
 
class  RGB
 The different color spaces. More...
 
class  RGBA
 Color in RGBA color space. More...
 
class  HSV
 Color in HSV color space. More...
 
class  XYZ
 Color in CIE 1931 XYZ color space The CIE XYZ color space is the master for the derived CIE Lab color space, which is perceptually uniform and hence will be used more often for visualization purposes. More...
 
class  Lab
 Color in CIE Lab color space The CIE Lab color space is derived from the XYZ color space and is designed to approximate human vision. More...
 
class  Colormap
 Base class for color colormaps. More...
 
class  ContinuousColormap
 Base class for continuous color colormaps. More...
 
class  GradientColormapBase
 Internal base class for linear gradient color maps. More...
 
class  GradientColormap
 A class for creating continuous color maps based on linear gradients between predefined points. More...
 
class  FormulaeColormapBase
 Internal base class for formulae based color maps. More...
 
class  FormulaeColormap
 A class for creating formula based color maps. More...
 
class  TabularColormap
 Base class for tabular color colormaps. More...
 
class  GrayscaleColormap
 A continuous grayscale colormap. More...
 
class  HSVColormap
 A continuous HSV colormap. More...
 
class  JetColormap
 A continuous Jet colormap. More...
 
class  RedBlueColormap
 A continuous Red-Blue colormap. More...
 
class  Pm3dColormap
 The default pm3d gnuplot palette (black-blue-red-yellow) More...
 
class  Complementary10Colormap
 A discrete colormap with 10 complementary colors. More...
 
class  Complementary6Colormap
 A discrete colormap with 6 complementary colors. More...
 
class  Img< T, TChannels >
 class for typed images. More...
 
class  ImgConstIterator< T >
 Const image iterator that allows to iterate over images or image regions pixel by pixel similar to iterators of containers. More...
 
class  ImgIterator< T >
 Image iterator that allows to iterate over images or image regions pixel by pixel similar to iterators of containers. More...
 
class  UntypedImgConstIterator
 Untyped const image iterator, that allows to iterate over images or image regions pixel by pixel similar to iterators of containers. More...
 
class  UntypedImgIterator
 Untyped image iterator, that allows to iterate over images or image regions pixel by pixel similar to iterators of containers. More...
 
class  ImgPixel< T, Channels >
 dynamic ImgPixel class template ImgPixel class providing flexible types and channels. 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

const RGB Red (1.0f, 0.0f, 0.0f)
 Color in YUV color space. More...
 
MIRA_BASE_EXPORT Img loadTGA (const std::string &filename)
 Loads an image from a TARGA tga file. More...
 

Detailed Description


For detailed information see Image.

Typedef Documentation

◆ Img8U1

typedef Img<uint8, 1> Img8U1

Image: unsigned 8-bit integers, 1 channel.

◆ Img8U2

typedef Img<uint8, 2> Img8U2

Image: unsigned 8-bit integers, 2 channels.

◆ Img8U3

typedef Img<uint8, 3> Img8U3

Image: unsigned 8-bit integers, 3 channel.

◆ Img8U4

typedef Img<uint8, 4> Img8U4

Image: unsigned 8-bit integers, 4 channel.

◆ Img16U1

typedef Img<uint16, 1> Img16U1

Image: unsigned 16-bit integers, 1 channel.

◆ Img16U2

typedef Img<uint16, 2> Img16U2

Image: unsigned 16-bit integers, 2 channel.

◆ Img16U3

typedef Img<uint16, 3> Img16U3

Image: unsigned 16-bit integers, 3 channel.

◆ Img16U4

typedef Img<uint16, 4> Img16U4

Image: unsigned 16-bit integers, 4 channel.

◆ Img16S1

typedef Img<int16, 1> Img16S1

Image: 16-bit integers, 1 channel.

◆ Img16S2

typedef Img<int16, 2> Img16S2

Image: 16-bit integers, 2 channel.

◆ Img16S3

typedef Img<int16, 3> Img16S3

Image: 16-bit integers, 3 channel.

◆ Img16S4

typedef Img<int16, 4> Img16S4

Image: 16-bit integers, 4 channel.

◆ Img32F1

typedef Img<float, 1> Img32F1

Image: floating-point numbers, 1 channel.

◆ Img32F2

typedef Img<float, 2> Img32F2

Image: floating-point numbers, 2 channel.

◆ Img32F3

typedef Img<float, 3> Img32F3

Image: floating-point numbers, 3 channel.

◆ Img32F4

typedef Img<float, 4> Img32F4

Image: floating-point numbers, 4 channel.

◆ Img64F1

typedef Img<double, 1> Img64F1

Image: double precision floating-point numbers, 1 channel.

◆ Img64F2

typedef Img<double, 2> Img64F2

Image: double precision floating-point numbers, 2 channel.

◆ Img64F3

typedef Img<double, 3> Img64F3

Image: double precision floating-point numbers, 3 channel.

◆ Img64F4

typedef Img<double, 4> Img64F4

Image: double precision floating-point numbers, 4 channel.

Function Documentation

◆ Red()

const RGB mira::Color::Red ( 1.  0f,
0.  0f,
0.  0f 
)

Color in YUV color space.

conversion formulas to/from RGB taken from http://en.wikipedia.org/wiki/YUV Constructs color in YUV color space. Y: 0.0 to 1.0 U: -0.436 to 0.436 V: -0.615 to 0.615 Default constructor initializes Y,U, and V to 0.0 equivalent to RGB = (0,0,0) Converts the YUV color to RGB.

◆ loadTGA()

MIRA_BASE_EXPORT Img mira::loadTGA ( const std::string &  filename)

Loads an image from a TARGA tga file.