7#ifndef COLOR_FILTER_STRATEGY_INTENSITY_H
8#define COLOR_FILTER_STRATEGY_INTENSITY_H
22 QRgb rgbBackground)
const;
Base class for strategy pattern whose subclasses process the different color filter settings modes (o...
Leaf class for intensity strategy for ColorFilter.
virtual ~ColorFilterStrategyIntensity()
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.
ColorFilterStrategyIntensity()
Single constructor.