34 #include <drain/image/CoordinatePolicy.h>
38 #include "drain/image/FilePng.h"
39 #include "drain/image/SegmentProber.h"
69 FloodFillOp(
int i=0,
int j=0,
double min=1.0,
double max=65536.0,
double value=1.0);
84 Logger mout(getImgLog(), __FILE__, __FUNCTION__);
85 mout.
warn(
"Alpha channels not supported, calling traverseChannel(src, dst).");
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition: Log.h:308
Logger & warn(const TT &... args)
Possible error, but execution can continue.
Definition: Log.h:426
Image with static geometry.
Definition: ImageChannel.h:60
A fill operation for one color.
Definition: FloodFillOp.h:65
virtual void traverseChannel(const Channel &src, Channel &dst) const
Apply to single channel.
Definition: FloodFillOp.cpp:112
Point2D< int > startPoint
Mutable, for coord handler ?
Definition: FloodFillOp.h:96
void traverseChannel(const Channel &src, const Channel &srcAlpha, Channel &dst, Channel &dstAlpha) const
Apply to single channel with alpha.
Definition: FloodFillOp.h:83
SegmentProberConf< double, double > conf
Mutable, for coord handler.
Definition: FloodFillOp.h:101
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