31 #ifndef Recompose_OP_H_
32 #define Recompose_OP_H_
69 RecomposeOp(
const std::string & views =
"fia") :
ImageOp (__FUNCTION__,
"Recompose image.") {
70 parameters.link(
"views", this->views = views,
"i=image,f=imageWithAlpha,r=red,g=green,b=blue,a=alpha");
75 parameters.
copyStruct(op.getParameters(), op, *
this);
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:399
Struct for image (excluding data)
Definition: ImageConf.h:333
Image with static geometry.
Definition: ImageFrame.h:67
Base class for image processing functions.
Definition: ImageOp.h:49
ImageOp(const std::string &name=__FUNCTION__, const std::string &description="")
Definition: ImageOp.h:156
Class for multi-channel digital images. Supports dynamic typing with base types (char,...
Definition: Image.h:184
Create vertical image composed of separate views.
Definition: RecomposeOp.h:64
virtual void process(const ImageFrame &src, Image &dst) const
Main interface. Typically splits processing to each channel.
Definition: RecomposeOp.cpp:86
virtual void getDstConf(const ImageConf &src, ImageConf &dst) const
Given source image, determine respective dest image configuration.
Definition: RecomposeOp.cpp:38
Definition: DataSelector.cpp:1277