18 #ifndef __itkOtsuMultipleThresholdsCalculator_h
19 #define __itkOtsuMultipleThresholdsCalculator_h
48 template<
typename TInputHistogram >
79 typedef std::vector< MeasurementType >
OutputType;
93 itkSetMacro(ValleyEmphasis,
bool);
94 itkGetConstReferenceMacro(ValleyEmphasis,
bool);
95 itkBooleanMacro(ValleyEmphasis);
117 #ifndef ITK_MANUAL_INSTANTIATION
118 #include "itkOtsuMultipleThresholdsCalculator.hxx"
TInputHistogram::InstanceIdentifier InstanceIdentifierType
Light weight base class for most itk classes.
std::vector< MeanType > MeanVectorType
std::vector< MeasurementType > OutputType
SmartPointer< const Self > ConstPointer
Computes Otsu's multiple thresholds for a histogram.
const OutputType & GetOutput()
unsigned long SizeValueType
OtsuMultipleThresholdsCalculator Self
bool IncrementThresholds(InstanceIdentifierVectorType &thresholdIds, MeanType totalMean, MeanVectorType &classMean, FrequencyVectorType &classFrequency)
NumericTraits< MeasurementType >::RealType MeanType
NumericTraits< MeasurementType >::RealType WeightType
base class for algorithms operating on histograms
OtsuMultipleThresholdsCalculator()
SizeValueType m_NumberOfThresholds
HistogramAlgorithmBase< TInputHistogram > Superclass
TInputHistogram::AbsoluteFrequencyType FrequencyType
void PrintSelf(std::ostream &os, Indent indent) const
SmartPointer< Self > Pointer
std::vector< WeightType > WeightVectorType
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
virtual ~OtsuMultipleThresholdsCalculator()
NumericTraits< MeasurementType >::RealType VarianceType
TInputHistogram::MeasurementType MeasurementType
std::vector< InstanceIdentifierType > InstanceIdentifierVectorType
std::vector< FrequencyType > FrequencyVectorType