undocument this line if you encounter any issues!
Definition: Any.h:37
Class interface for un-copyable classes.
Definition: Uncopyable.h:64
ICLQt_API ImgQ levels(const ImgQ &image, icl8u levels)
reduces an images quantisation levels
void setLevels(int l)
sets the number of quantisation levels
Definition: DitheringOp.h:102
Algorithm
Definition: DitheringOp.h:80
Abstract Base class for Unary Operators.
Definition: UnaryOp.h:51
int getLevels() const
returns the number of quantisation levels
Definition: DitheringOp.h:99
ICLQt_API core::Img< T > filter(const core::Img< T > &image, const std::string &filter)
applies a filter operation on the source image (affinity for float)
virtual ~DitheringOp()
Destructor.
Definition: DitheringOp.h:87
int m_levels
Definition: DitheringOp.h:113
Algorithm getAlgorithm() const
returns the internal dithering algorithm used
Definition: DitheringOp.h:93
void setAlgorithm(Algorithm a)
sets the internal dithering algorithm used
Definition: DitheringOp.h:96
Class that implements dithering mechanisms.
Definition: DitheringOp.h:77
#define ICLFilter_API
Definition: CompatMacros.h:175
virtual void apply(const core::ImgBase *operand1, core::ImgBase **dst)=0
pure virtual apply function, that must be implemented in all derived classes
Algorithm m_algorithm
Definition: DitheringOp.h:112
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131