31 #ifndef HIGHPASS_OP_H_
32 #define HIGHPASS_OP_H_
40 #include "drain/imageops/ImageOp.h"
71 HighPassOp(
int width=1,
int height=0,
double scale = 1.0,
double offset = 0.0);
Image with static geometry.
Definition: ImageChannel.h:60
Finds details at one-pixel scale, defined as difference of image and its low-pass filtered copy.
Definition: HighPassOp.h:68
virtual void traverseChannel(const Channel &src, const Channel &srcAlpha, Channel &dst, Channel &dstAlpha) const
Apply to single channel with alpha.
Definition: HighPassOp.cpp:58
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
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:267
Definition: DataSelector.cpp:1277