7 #ifndef COLOR_FILTER_STRATEGY_ABSTRACT_BASE_H 8 #define COLOR_FILTER_STRATEGY_ABSTRACT_BASE_H 29 QRgb rgbBackground)
const = 0;
36 #endif // COLOR_FILTER_STRATEGY_ABSTRACT_BASE_H virtual int zeroToOneToValue(double s) const =0
Return the low value normalized to 0 to 1.
Class for filtering image to remove unimportant information.
Base class for strategy pattern whose subclasses process the different color filter settings modes (o...
ColorFilterStrategyAbstractBase()
Single constructor.
virtual double pixelToZeroToOne(const QColor &pixel, QRgb rgbBackground) const =0
Return a normalized value of 0 to 1 given input pixel.