35#include "drain/image/SegmentProber.h"
65 FloodFillOp(
int i=0,
int j=0,
double min=1.0,
double max=65536.0,
double value=1.0);
80 Logger mout(getImgLog(), __FILE__, __FUNCTION__);
81 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:313
Logger & warn(const TT &... args)
Possible error, but execution can continue.
Definition Log.h:431
Image with static geometry.
Definition ImageChannel.h:58
A fill operation for one color.
Definition FloodFillOp.h:61
virtual void traverseChannel(const Channel &src, Channel &dst) const
Apply to single channel.
Definition FloodFillOp.cpp:109
Point2D< int > startPoint
Mutable, for coord handler ?
Definition FloodFillOp.h:92
void traverseChannel(const Channel &src, const Channel &srcAlpha, Channel &dst, Channel &dstAlpha) const
Apply to single channel with alpha.
Definition FloodFillOp.h:79
SegmentProberConf< double, double > conf
Mutable, for coord handler.
Definition FloodFillOp.h:97
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:266
Container for parameters of SegmentProber.
Definition SegmentProber.h:56
Definition DataSelector.cpp:1277