18#ifndef itkOtsuMultipleThresholdsCalculator_h
19#define itkOtsuMultipleThresholdsCalculator_h
49template <
typename TInputHistogram>
95 itkSetMacro(ValleyEmphasis,
bool);
96 itkGetConstReferenceMacro(ValleyEmphasis,
bool);
97 itkBooleanMacro(ValleyEmphasis);
102 itkSetMacro(ReturnBinMidpoint,
bool);
103 itkGetConstReferenceMacro(ReturnBinMidpoint,
bool);
104 itkBooleanMacro(ReturnBinMidpoint);
129#ifndef ITK_MANUAL_INSTANTIATION
130# include "itkOtsuMultipleThresholdsCalculator.hxx"
Control indentation during Print() invocation.
static constexpr T max(const T &)
typename NumericTraits< MeasurementType >::RealType MeanType
SmartPointer< Self > Pointer
std::vector< MeasurementType > OutputType
~OtsuMultipleThresholdsCalculator() override=default
SmartPointer< const Self > ConstPointer
typename NumericTraits< MeasurementType >::RealType WeightType
std::vector< WeightType > WeightVectorType
const OutputType & GetOutput()
std::vector< FrequencyType > FrequencyVectorType
typename TInputHistogram::AbsoluteFrequencyType FrequencyType
std::vector< MeanType > MeanVectorType
OtsuMultipleThresholdsCalculator()
std::vector< InstanceIdentifierType > InstanceIdentifierVectorType
typename TInputHistogram::MeasurementType MeasurementType
typename NumericTraits< MeasurementType >::RealType VarianceType
void PrintSelf(std::ostream &os, Indent indent) const override
HistogramAlgorithmBase< TInputHistogram > Superclass
SizeValueType m_NumberOfThresholds
OtsuMultipleThresholdsCalculator Self
typename TInputHistogram::InstanceIdentifier InstanceIdentifierType
bool IncrementThresholds(InstanceIdentifierVectorType &thresholdIndexes, MeanType globalMean, MeanVectorType &classMean, FrequencyVectorType &classFrequency)
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType