Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Plot Namespace Reference

Namespace for image plotting functions. More...


Compounds

class  Plot::AARImage
class  Plot::ColorLookup
class  Plot::ColorLookupTable
class  Plot::HSVPixel
class  Plot::HueColorLookup
class  Plot::ImageGrid
class  Plot::MatrixImage
class  Plot::OneDHistogramImage
class  Plot::Pixel
class  Plot::PixelAverage
class  Plot::RGBPixel
class  Plot::RYWColorLookup
class  Plot::SaturationColorLookup
class  Plot::SingleColorLookup
class  Plot::ValueColorLookup

Functions

template<classPixelType, classPixelMatrix> ostream& operator<< (ostream& s, const AARImage<PixelType,PixelMatrix>& o)
 Stream output. More...

template<classComponent> ostream& operator<< (ostream& s, const RGBPixel<Component>& o)
 Stream output. More...

template<classComponent> RGBPixel<Component> operator+ (const RGBPixel<Component> &A, const RGBPixel<Component> &B)
 Binary addition of RGBPixel values. More...

template<classComponent> ostream& operator<< (ostream& s, const HSVPixel<Component>& o)
 Stream output. More...

template<classHSVPixelType> RGBPixel contrasting_color ( HSVPixelType prevailing_color)
 Returns a color which contrasts with the given pixel. More...


Detailed Description

Namespace for image plotting functions.


Function Documentation

template<classHSVPixelType>
RGBPixel Plot::contrasting_color ( HSVPixelType prevailing_color )
 

Returns a color which contrasts with the given pixel.

Presumably one should pass in the average color predominating in the area where the new color will be used. Currently uses only the value informtation of the given pixel; picking white for a dark color, black for a light color, and blue for ones in between. HSVPixelType must be an HSVPixel, or at least one supporting that interface.

Definition at line 358 of file pixel.h.

template<classComponent>
RGBPixel< Component > Plot::operator+ ( const RGBPixel< Component >& A,
const RGBPixel< Component >& B )
 

Binary addition of RGBPixel values.

Definition at line 152 of file pixel.h.

template<classComponent>
ostream & Plot::operator<< ( ostream & s,
const HSVPixel< Component >& o )
 

Stream output.

Definition at line 206 of file pixel.h.

template<classComponent>
ostream & Plot::operator<< ( ostream & s,
const RGBPixel< Component >& o )
 

Stream output.

Definition at line 144 of file pixel.h.

template<classPixelType, classPixelMatrix>
ostream & Plot::operator<< ( ostream & s,
const AARImage< PixelType,PixelMatrix >& o )
 

Stream output.

Definition at line 158 of file image.h.


Generated at Mon Aug 21 00:31:29 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000