Engauge Digitizer 2
|
Leaf class for foreground strategy for ColorFilter. More...
#include <ColorFilterStrategyForeground.h>
Public Member Functions | |
ColorFilterStrategyForeground () | |
Single constructor. | |
virtual | ~ColorFilterStrategyForeground () |
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 foreground strategy for ColorFilter.
Definition at line 13 of file ColorFilterStrategyForeground.h.
ColorFilterStrategyForeground::ColorFilterStrategyForeground | ( | ) |
|
virtual |
Definition at line 16 of file ColorFilterStrategyForeground.cpp.
|
virtual |
Return a normalized value of 0 to 1 given input pixel.
Implements ColorFilterStrategyAbstractBase.
Definition at line 20 of file ColorFilterStrategyForeground.cpp.
Return the low value normalized to 0 to 1.
Implements ColorFilterStrategyAbstractBase.
Definition at line 29 of file ColorFilterStrategyForeground.cpp.