45 class BinaryCompareOp;
183 LocalThresholdOp(
unsigned int maskSize=10,
float globalThreshold=0,
float gammaSlope=0);
187 LocalThresholdOp(algorithm a,
int maskSize=10,
float globalThreshold=0,
float gammaSlope=0);
203 void setMaskSize(
unsigned int maskSize);
206 void setGlobalThreshold(
float globalThreshold);
209 void setGammaSlope(
float gammaSlope);
212 void setup(
unsigned int maskSize,
float globalThreshold, algorithm a=regionMean,
float gammaSlope=0);
215 unsigned int getMaskSize()
const;
218 float getGlobalThreshold()
const;
221 float getGammaSlope()
const;
224 algorithm getAlgorithm()
const ;
227 void setAlgorithm(algorithm a);
232 template<algorithm a>
algorithm
Internally used algorithm.
Definition: LocalThresholdOp.h:169
tiled threshold with nearest neighbour interpolation
Definition: LocalThresholdOp.h:171
core::ImgBase * m_roiBufDst
output ROI buffer image for ROI support
Definition: LocalThresholdOp.h:248
Class for comparing two images pixel-wise.
Definition: BinaryCompareOp.h:45
undocument this line if you encounter any issues!
Definition: Any.h:37
Class interface for un-copyable classes.
Definition: Uncopyable.h:64
regionMean threshold calculation
Definition: LocalThresholdOp.h:170
core::ImgBase * m_roiBufSrc
mask size
Definition: LocalThresholdOp.h:245
tiled threshold with linear interpolation
Definition: LocalThresholdOp.h:172
core::ImgBase * m_tiledBuf2
second buffer for tiledXXX algorithsm
Definition: LocalThresholdOp.h:263
Abstract Base class for Unary Operators.
Definition: UnaryOp.h:51
LocalThreshold Filter class.
Definition: LocalThresholdOp.h:165
ICLQt_API core::Img< T > filter(const core::Img< T > &image, const std::string &filter)
applies a filter operation on the source image (affinity for float)
BinaryCompareOp * m_cmp
BinaryCompareOp for tiledXXX algorithms.
Definition: LocalThresholdOp.h:257
#define ICLFilter_API
Definition: CompatMacros.h:175
core::ImgBase * m_tiledBuf1
first buffer for tiledXXX algorithsm
Definition: LocalThresholdOp.h:260
IntegralImgOp * m_iiOp
IntegralImgOp for RegionMean algorithm.
Definition: LocalThresholdOp.h:251
virtual void apply(const core::ImgBase *operand1, core::ImgBase **dst)=0
pure virtual apply function, that must be implemented in all derived classes
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
class for creating integral images
Definition: IntegralImgOp.h:98