MIRA
Classes | Namespaces | Functions | Variables
Color.h File Reference

This file contains color classes for the Img class. More...

#include <math.h>
#include <opencv2/core/core.hpp>
#include <platform/Platform.h>
#include <factory/Factory.h>
#include <serialization/PropertyHint.h>
#include <serialization/ReflectorInterface.h>
Include dependency graph for Color.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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...
 

Namespaces

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

Functions

const RGB Red (1.0f, 0.0f, 0.0f)
 Color in YUV color space. More...
 
const RGB Green (0.0f, 1.0f, 0.0f)
 
const RGB Blue (0.0f, 0.0f, 1.0f)
 
const RGB Cyan (0.0f, 1.0f, 1.0f)
 
const RGB Magenta (1.0f, 0.0f, 1.0f)
 
const RGB Yellow (1.0f, 1.0f, 0.0f)
 
const RGB White (1.0f, 1.0f, 1.0f)
 
const RGB Black (0.0f, 0.0f, 0.0f)
 

Variables

class MIRA_BASE_EXPORT RGB
 

Detailed Description

This file contains color classes for the Img class.

Every class derived from the ColorBase class has a method toRGB() for conversion.

Author
Erik Einhorn
Date
2010/10/21