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);
100 virtual ~OtsuMultipleThresholdsCalculator() {}
106 MeanVectorType & classMean,
107 FrequencyVectorType & classFrequency);
117 #ifndef ITK_MANUAL_INSTANTIATION 118 #include "itkOtsuMultipleThresholdsCalculator.hxx"
TInputHistogram::InstanceIdentifier InstanceIdentifierType
std::vector< MeanType > MeanVectorType
std::vector< MeasurementType > OutputType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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
SizeValueType m_NumberOfThresholds
HistogramAlgorithmBase< TInputHistogram > Superclass
TInputHistogram::AbsoluteFrequencyType FrequencyType
SmartPointer< Self > Pointer
std::vector< WeightType > WeightVectorType
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
NumericTraits< MeasurementType >::RealType VarianceType
TInputHistogram::MeasurementType MeasurementType
std::vector< InstanceIdentifierType > InstanceIdentifierVectorType
std::vector< FrequencyType > FrequencyVectorType
void PrintSelf(std::ostream &os, Indent indent) const override