Engauge Digitizer 2
|
Leaf class for hue strategy for ColorFilter. More...
#include <ColorFilterStrategyHue.h>
Public Member Functions | |
ColorFilterStrategyHue () | |
Single constructor. | |
virtual | ~ColorFilterStrategyHue () |
virtual double | pixelToZeroToOne (const QColor &pixel, QRgb rgbBackground) const |
Return a normalized value of 0 to 1 given input pixel. | |
virtual int | zeroToOneToValue (double s) const |
Return the low value normalized to 0 to 1. | |
![]() | |
ColorFilterStrategyAbstractBase () | |
Single constructor. | |
virtual | ~ColorFilterStrategyAbstractBase () |
Leaf class for hue strategy for ColorFilter.
Definition at line 13 of file ColorFilterStrategyHue.h.
ColorFilterStrategyHue::ColorFilterStrategyHue | ( | ) |
|
virtual |
Definition at line 16 of file ColorFilterStrategyHue.cpp.
|
virtual |
Return a normalized value of 0 to 1 given input pixel.
Implements ColorFilterStrategyAbstractBase.
Definition at line 20 of file ColorFilterStrategyHue.cpp.
Return the low value normalized to 0 to 1.
Implements ColorFilterStrategyAbstractBase.
Definition at line 31 of file ColorFilterStrategyHue.cpp.