7 #ifndef COLOR_FILTER_STRATEGY_VALUE_H 8 #define COLOR_FILTER_STRATEGY_VALUE_H 10 #include "ColorFilterStrategyAbstractBase.h" 22 QRgb rgbBackground)
const;
27 #endif // COLOR_FILTER_STRATEGY_VALUE_H virtual double pixelToZeroToOne(const QColor &pixel, QRgb rgbBackground) const
Return a normalized value of 0 to 1 given input pixel.
ColorFilterStrategyValue()
Single constructor.
Base class for strategy pattern whose subclasses process the different color filter settings modes (o...
virtual int zeroToOneToValue(double s) const
Return the low value normalized to 0 to 1.
Leaf class for value strategy for ColorFilter.