94 this->
parameters.link(
"dstView", dstView =
"");
102 double operator()(
double s)
const {
124 this->functor.setScale(scale, bias);
146 Logger mout(getImgLog(), __FILE__, __FUNCTION__);
147 mout.
debug(
"start" );
154 Logger mout(getImgLog(), __FILE__, __FUNCTION__);
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
double scale
Relative scale, typically 1. Optional.
Definition Functor.h:99
double bias
"Relative" bias, typically 0. Optional.
Definition Functor.h:102
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition Log.h:326
Logger & debug(const TT &... args)
Debug information.
Definition Log.h:676
Image with static geometry.
Definition ImageChannel.h:58
void process(const ImageFrame &srcFrame, Image &dstImage) const
Main interface. Typically splits processing to each channel.
Definition CopyOp.cpp:83
virtual void traverseChannel(const Channel &src, Channel &dst) const
Apply to single channel.
Definition CopyOp.h:145
virtual void traverseChannel(const Channel &src, const Channel &srcAlpha, Channel &dst, Channel &dstAlpha) const
Apply to single channel with alpha.
Definition CopyOp.h:153
virtual void getDstConf(const ImageConf &src, ImageConf &dst) const
Given source image, determine respective dest image configuration.
Definition CopyOp.cpp:40
Struct for image (excluding data)
Definition ImageConf.h:333
Image with static geometry.
Definition ImageFrame.h:62
virtual int srcAlpha() const
Tell if alpha channel(s) is required in input.
Definition ImageMod.h:66
Class for multi-channel digital images. Supports dynamic typing with base types (char,...
Definition Image.h:183
Class for using simple function objects (like std::functor) for sequential pixel iteration.
Definition FunctorOp.h:135
void traverseChannel(const Channel &src, Channel &dst) const
Process the image.
Definition FunctorOp.h:227