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... | |
|
||||
|
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. |
|
||||||
|
Binary addition of RGBPixel values.
|
|
||||||
|
Stream output.
|
|
||||||
|
Stream output.
|
|
||||||
|
Stream output.
|
1.2.1 written by Dimitri van Heesch,
© 1997-2000