19#ifndef itkIntermodesThresholdCalculator_h
20#define itkIntermodesThresholdCalculator_h
55template <
typename THistogram,
typename TOutput =
double>
84 itkSetMacro(UseInterMode,
bool);
85 itkGetConstMacro(UseInterMode,
bool);
86 itkBooleanMacro(UseInterMode);
92 m_MaximumSmoothingIterations = 10000;
93 m_UseInterMode =
true;
111 bool m_UseInterMode{};
117#ifndef ITK_MANUAL_INSTANTIATION
118# include "itkIntermodesThresholdCalculator.hxx"
Base class to compute a threshold value based on the histogram of an image.
Control indentation during Print() invocation.
Computes the Intermodes's threshold for an image.
void GenerateData() override
typename HistogramType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
IntermodesThresholdCalculator()
~IntermodesThresholdCalculator() override=default
typename HistogramType::AbsoluteFrequencyType AbsoluteFrequencyType
void PrintSelf(std::ostream &os, Indent indent) const override
bool BimodalTest(const std::vector< double > &h)
typename HistogramType::InstanceIdentifier InstanceIdentifier
Light weight base class for most itk classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType