37#include "FastAverageOp.h"
38#include "drain/util/FunctorPack.h"
77 HighBoostOp(
int width=3,
int height=3,
double coeff=0.5) :
ImageOp(__FUNCTION__,
"Mixture of original and high-pass filtered image") {
78 parameters.link(
"width", this->width = width);
79 parameters.link(
"height", this->height = height);
80 parameters.link(
"coeff", this->coeff = coeff);
92 sub.functor.setScale(coeff);
Class for using two-parameter function objects (like std::functor) for sequential and spatial pixel i...
Definition FunctorOp.h:306
Sliding window averaging operator with optional weighting support.
Definition FastAverageOp.h:301
Enhances details by mixing original image and result of HighPassOp op.
Definition HighBoostOp.h:74
virtual void process(const ImageFrame &src, Image &dst) const
Main interface. Typically splits processing to each channel.
Definition HighBoostOp.h:84
Image with static geometry.
Definition ImageFrame.h:67
Base class for image processing functions.
Definition ImageOp.h:49
virtual void makeCompatible(const ImageConf &src, Image &dst) const
Depending on the operator, modifies the geometry and type of dst.
Definition ImageOp.cpp:54
virtual void process(const ImageFrame &src, Image &dst) const
Main interface. Typically splits processing to each channel.
Definition ImageOp.cpp:126
Class for multi-channel digital images. Supports dynamic typing with base types (char,...
Definition Image.h:184
Definition DataSelector.cpp:1277