78 QualityOp(__FUNCTION__,
"Threshold data with quality") {
79 parameters.link(
"threshold", this->threshold = threshold,
"0.0...1.0");
80 parameters.link(
"replace", this->replace = replace);
const std::string description
Brief, human-readable description of this bean.
Definition BeanLike.h:309
map_t parameters
Parameters (name -> linked variable), typically linked to member variables of the derived class.
Definition BeanLike.h:313
const std::string name
Name of this bean, typically also the name of the (derived) class.
Definition BeanLike.h:306
Image with static geometry.
Definition ImageChannel.h:58
Struct for image (excluding data)
Definition ImageConf.h:333
virtual int srcAlpha() const
Tell if alpha channel(s) is required in input.
Definition ImageMod.h:66
Base class for image processing functions.
Definition ImageOp.h:49
void traverseChannelsSeparately(const ImageTray< const Channel > &src, ImageTray< Channel > &dst) const
Process each (src,dst) channel pair independently. Raise error if their counts differ.
Definition ImageOp.cpp:340
Container applicable for Channels and Images, with alpha support.
Definition ImageTray.h:266
Definition QualityOp.h:44
virtual void getDstConf(const ImageConf &srcConf, ImageConf &dstConf) const
Essentially same as in ImageOp?
Definition QualityOp.cpp:40
Definition QualityOp.h:72
virtual void traverseChannel(const Channel &src, const Channel &srcAlpha, Channel &dst, Channel &dstAlpha) const
Apply to single channel with alpha.
Definition QualityOp.cpp:84