19 #ifndef itkIntermodesThresholdCalculator_h
20 #define itkIntermodesThresholdCalculator_h
55 template <
typename THistogram,
typename TOutput=
double>
78 itkGetConstMacro( MaximumSmoothingIterations,
SizeValueType );
82 itkSetMacro( UseInterMode,
bool);
83 itkGetConstMacro( UseInterMode,
bool );
103 void operator=(const
Self&) ITK_DELETE_FUNCTION;
113 #ifndef ITK_MANUAL_INSTANTIATION
114 #include "itkIntermodesThresholdCalculator.hxx"
HistogramType::InstanceIdentifier InstanceIdentifier
IntermodesThresholdCalculator()
Light weight base class for most itk classes.
SmartPointer< Self > Pointer
bool BimodalTest(const std::vector< double > &h)
Computes the Intermodes's threshold for an image.
unsigned long SizeValueType
SizeValueType m_MaximumSmoothingIterations
HistogramType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
HistogramType::AbsoluteFrequencyType AbsoluteFrequencyType
void GenerateData(void) override
void PrintSelf(std::ostream &os, Indent indent) const override
virtual ~IntermodesThresholdCalculator()
SmartPointer< const Self > ConstPointer
IntermodesThresholdCalculator Self
Control indentation during Print() invocation.
Base class to compute a threshold value based on the histogram of an image.
Base class for most ITK classes.