48 QualityOp(
const std::string & name,
const std::string & description) :
ImageOp(name, description){
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);
Image with static geometry.
Definition: ImageChannel.h:60
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
ImageOp(const std::string &name=__FUNCTION__, const std::string &description="")
Definition: ImageOp.h:156
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:267
Definition: QualityOp.h:44
virtual void getDstConf(const ImageConf &srcConf, ImageConf &dstConf) const
Essentially same as in ImageOp?
Definition: QualityOp.cpp:41
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:85
Definition: DataSelector.cpp:1277