54 RunLengthOp(
const std::string &name,
double threshold=0) :
55 ImageOp(name,
"Computes lengths of segments of intensity above threshold.") {
56 parameters.link(
"threshold", this->threshold = threshold);
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition Log.h:313
Image with static geometry.
Definition ImageChannel.h:58
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
Computes lengths of horizontal segments.
Definition RunLengthOp.h:82
void traverseChannel(const Channel &src, Channel &dst) const
Apply to single channel.
Definition RunLengthOp.cpp:45
RunLengthHorzOp(double threshold=0.0)
Default constructor.
Definition RunLengthOp.h:90
Base class for RunLengthHorzOp and RunLengthVertOp.
Definition RunLengthOp.h:51
Computes lengths of vertical segments.
Definition RunLengthOp.h:106
void traverseChannel(const Channel &src, Channel &dst) const
Computes lengths of horizontal or vertical segments.
Definition RunLengthOp.cpp:126
RunLengthVertOp(double threshold=0.0)
Default constructor.
Definition RunLengthOp.h:114
Definition DataSelector.cpp:1277