71 CropOp(
int width=0,
int height=0,
int i0=0,
int j0=0) :
ImageOp (__FUNCTION__,
"Crop image.") {
73 parameters.link(
"height",this->height = height);
map_t parameters
Parameters (name -> linked variable), typically linked to member variables of the derived class.
Definition BeanLike.h:313
const map_t & getParameters() const
Returns the parameter map (const access).
Definition BeanLike.h:116
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition Log.h:326
void copyStruct(const ReferenceMap &m, const T &src, T &dst, extLinkPolicy policy=RESERVE)
Experimental. Copies references and values of a structure to another.
Definition ReferenceMap.h:412
Image with static geometry.
Definition ImageChannel.h:58
virtual void traverseChannel(const Channel &src, Channel &dst) const
Apply to single channel.
Definition CropOp.cpp:51
virtual void getDstConf(const ImageConf &src, ImageConf &dst) const
Given source image, determine respective dest image configuration.
Definition CropOp.cpp:38
Struct for image (excluding data)
Definition ImageConf.h:333
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