19#ifndef itkOtsuThresholdCalculator_h
20#define itkOtsuThresholdCalculator_h
44template <
typename THistogram,
typename TOutput =
double>
68 itkSetMacro(ReturnBinMidpoint,
bool);
69 itkGetConstReferenceMacro(ReturnBinMidpoint,
bool);
70 itkBooleanMacro(ReturnBinMidpoint);
94 bool m_ReturnBinMidpoint{
false };
100#ifndef ITK_MANUAL_INSTANTIATION
101# include "itkOtsuThresholdCalculator.hxx"
Base class to compute a threshold value based on the histogram of an image.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Computes Otsu's multiple thresholds for a histogram.
Computes the Otsu's threshold for an image.
void PrintSelf(std::ostream &os, Indent indent) const override
~OtsuThresholdCalculator() override=default
void GenerateData() override
OtsuThresholdCalculator()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....