#include <colorlookup.h>
Inheritance diagram for Plot::SpecifiedHueLookup< PixelType, Scale >:
For paper_based_colors=False, same as ValueColorLookup. Otherwise, returns the specified hue masked by the specified confidence, such that low values produce white, and high values produce black for low confidences and the specified hue for high confidences. I have no idea whether the formula for the paper_based_colors case is mathematically valid, but it seems to work reasonably well on real printouts.
Definition at line 172 of file colorlookup.h.
Public Methods | |
SpecifiedHueLookup (Bounded::Magnitude hue=0.0, Bounded::Magnitude confidence=1.0, bool paper_based_colors=false, const Scale &scale=default_scale) | |
SpecifiedHueLookup (StringArgs &args, bool paper_based_colors=false, Bounded::Magnitude default_hue=0.0, const Scale &scale=default_scale) |