69 QuadTreeOp(
size_t width=0,
size_t height=0,
const std::string & interpolation =
"n") :
ImageOp(__FUNCTION__,
"Resize geometry and scale intensities") {
70 this->parameters.link(
"width", this->width=width,
"pix");
71 this->parameters.link(
"height", this->height=height,
"pix");
72 this->parameters.link(
"interpolation", this->interpolation=interpolation,
"n=nearest,b=bilinear");
77 std::string interpolation;
Struct for image (excluding data)
Definition: ImageConf.h:333
Image with static geometry.
Definition: ImageFrame.h:67
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
QuadTrees the image, stretching the image correspondingly.
Definition: QuadTreeOp.h:65
virtual void process(const ImageFrame &src, ImageFrame &dst) const
The main functionality called by traverseFrame() after image compatibility check and tmp allocations.
Definition: QuadTreeOp.cpp:45
virtual void process(const ImageFrame &src, const ImageFrame &srcAlpha, ImageFrame &dst, ImageFrame &dstAlpha) const
The main functionality called by traverseFrame() after image compatibility check and tmp allocations.
Definition: QuadTreeOp.h:96
virtual void getDstConf(const ImageConf &src, ImageConf &dst) const
Given source image, determine respective dest image configuration.
Definition: QuadTreeOp.cpp:38
Definition: DataSelector.cpp:1277