52 CatenatorOp(
double scale=1.0,
double offset=0.0) :
ImageOp(__FUNCTION__,
"Catenates images"){
54 parameters.link(
"offset", this->offset = offset);
93 dst.setGeometry(src.getWidth(), src.getHeight()*src.
getChannelCount(), 1);
map_t parameters
Parameters (name -> linked variable), typically linked to member variables of the derived class.
Definition BeanLike.h:313
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
Operator for concatenating images vertically or as channels.
Definition CatenatorOp.h:47
Definition CatenatorOp.h:82
void process(const ImageFrame &src, Image &dst) const
Main interface. Typically splits processing to each channel.
Definition CatenatorOp.cpp:46
void getDstConf(const ImageConf &src, ImageConf &dst) const
Modifies the geometry and type of dst.
Definition CatenatorOp.h:91
const std::type_info & getType() const
Linear scaling.
Definition ImageConf.h:110
void setType(const std::type_info &t)
Set storage type.
Definition ImageConf.h:121
size_t getChannelCount() const
Set...
Definition Geometry.h:260
Struct for image (excluding data)
Definition ImageConf.h:333
Image with static geometry.
Definition ImageFrame.h:62
Base class for image processing functions.
Definition ImageOp.h:49
Class for multi-channel digital images. Supports dynamic typing with base types (char,...
Definition Image.h:183
Definition CatenatorOp.h:111
void process(const ImageFrame &src, Image &dst) const
Main interface. Typically splits processing to each channel.
Definition CatenatorOp.cpp:82