|
Engauge Digitizer 2
|
Leaf class for value strategy for ColorFilter. More...
#include <ColorFilterStrategyValue.h>


Public Member Functions | |
| ColorFilterStrategyValue () | |
| Single constructor. | |
| virtual | ~ColorFilterStrategyValue () |
| 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. | |
| Public Member Functions inherited from ColorFilterStrategyAbstractBase | |
| ColorFilterStrategyAbstractBase () | |
| Single constructor. | |
| virtual | ~ColorFilterStrategyAbstractBase () |
Leaf class for value strategy for ColorFilter.
Definition at line 13 of file ColorFilterStrategyValue.h.
| ColorFilterStrategyValue::ColorFilterStrategyValue | ( | ) |
|
virtual |
Definition at line 16 of file ColorFilterStrategyValue.cpp.
|
virtual |
Return a normalized value of 0 to 1 given input pixel.
Implements ColorFilterStrategyAbstractBase.
Definition at line 20 of file ColorFilterStrategyValue.cpp.
|
virtual |
Return the low value normalized to 0 to 1.
Implements ColorFilterStrategyAbstractBase.
Definition at line 26 of file ColorFilterStrategyValue.cpp.