Compounds | |
class | AARImage |
2D axis-aligned rectangular pixel-based image. More... | |
class | ColorLookup |
Abstract base class for something returning a color based on a magnitude. More... | |
class | ColorLookupFactory |
Wrapper for a single-dimensional ColorLookup specified in a string. More... | |
class | ColorLookupTable |
Base class for a finite array of possible colors that can be returned when given a magnitude. More... | |
class | HSVPixel |
Hue,Saturation,Value image Pixel. More... | |
class | HueColorLookup |
Fixed saturation and value; hue encodes magnitude. More... | |
class | ImageGrid |
Image composed of a rectangular grid of smaller images with an optional border between them. More... | |
class | ImagePointerGrid |
Image composed of a rectangular grid of smaller images (passed as pointers) with an optional border between them. More... | |
class | KRYWColorLookup |
Hot colors on a black backround. More... | |
class | MatrixImage |
Image based on a rectangular matrix with an optional border. More... | |
class | MatrixImageFactory |
Generalization of the MatrixImage<> constructors that allows up to three matrices to be combined into an overlaid plot. More... | |
struct | normalized_difference_fnobj |
Function object returning the difference between two given objects of identical type, scaled such that if each is in the range 0,1.0, the result will also be in the range 0,1.0. More... | |
class | OneDHistogramImage |
Image of a histogram, with an optional border. More... | |
class | Pixel |
Abstract base class for a square image pixel, possibly transparent. More... | |
class | PixelAverage |
Averages a series of pixels in HSV space. More... | |
class | PlotSpecification |
Complete specification for a particular type of plot, using named matrices chosen from a table of matrices passed in. More... | |
class | RGBPixel |
Red,Green,Blue image Pixel. More... | |
class | SaturationColorLookup |
Fixed saturation and value; hue encodes magnitude. More... | |
class | SingleColorLookup |
Returns a single fixed color. More... | |
class | SpecifiedHueLookup |
Accepts a specified hue and confidence, and paper_based_colors. More... | |
class | ValueColorLookup |
Fixed hue and saturation (often greyscale); value encodes magnitude. More... | |
Functions | |
template<class PixelType, class PixelMatrix> std::ostream & | operator<< (std::ostream &s, const AARImage< PixelType, PixelMatrix > &o) |
Stream output. | |
template<class Component> std::ostream & | operator<< (std::ostream &s, const RGBPixel< Component > &o) |
Stream output. | |
template<class Component> std::ostream & | operator<< (std::ostream &s, const HSVPixel< Component > &o) |
Stream output. | |
template<class HSVPixelType> RGBPixel | contrasting_color (HSVPixelType prevailing_color) |
Returns a color which contrasts with the given pixel. | |
template<class ParamMapType> ParamMapType * | PlotSpec_params (const string &child_name, ParamMapType &parent, const string &strength_name="", const string &color_name="", const string &confidence_name="") |
Allocates and returns a new ParamMap child of the given ParamMap-derived-type parent for use with PlotSpecification. | |
template<class ParamMapType> ParamMapType * | PlotSpec_child_map (ParamMapType &parent, const string &childname, const string &matrixname="", bool setmatrixname=true) |
Helper for PlotSpec_params: allocates an owned child map with appropriate parameters set. |
|
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 359 of file pixel.h. Referenced by Plot::AARImage< PixelType, PixelMatrix >::draw_bar(), and Plot::MatrixImage< PixelType, PixelMatrix >::outline_boundary(). |
|
Allocates and returns a new ParamMap child of the given ParamMap-derived-type parent for use with PlotSpecification. Sub-maps are created and filled with values to be used by PlotSpecification, as determined by the other arguments here. Definition at line 77 of file plotspecification.h. References PlotSpec_child_map(). Referenced by Plot::PlotSpecification< Matrix, String, ScaleType, MatrixTableType, ParameterMapType >::PlotSpecification(). |