19 #ifndef itkRenyiEntropyThresholdCalculator_h
20 #define itkRenyiEntropyThresholdCalculator_h
50 template <
typename THistogram,
typename TOutput=
double>
74 void GenerateData(
void) ITK_OVERRIDE;
76 void PrintSelf(std::ostream& os,
Indent indent) const ITK_OVERRIDE;
83 InstanceIdentifier MaxEntropyThresholding( const
HistogramType* histogram,
84 const std::vector<
double >& normHisto,
85 const std::vector<
double >& P1,
86 const std::vector<
double >& P2 );
88 InstanceIdentifier MaxEntropyThresholding2( const
HistogramType* histogram,
89 const std::vector<
double >& normHisto,
90 const std::vector<
double >& P1,
91 const std::vector<
double >& P2 );
93 InstanceIdentifier MaxEntropyThresholding3( const
HistogramType* histogram,
94 const std::vector<
double >& normHisto,
95 const std::vector<
double >& P1,
96 const std::vector<
double >& P2 );
101 InstanceIdentifier m_FirstBin;
102 InstanceIdentifier m_LastBin;
103 SizeValueType m_Size;
109 #ifndef ITK_MANUAL_INSTANTIATION
110 #include "itkRenyiEntropyThresholdCalculator.hxx"
virtual ~RenyiEntropyThresholdCalculator() override
Light weight base class for most itk classes.
HistogramThresholdCalculator< THistogram, TOutput > Superclass
RenyiEntropyThresholdCalculator()
HistogramType::AbsoluteFrequencyType AbsoluteFrequencyType
HistogramType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
SmartPointer< Self > Pointer
HistogramType::InstanceIdentifier InstanceIdentifier
Control indentation during Print() invocation.
Base class to compute a threshold value based on the histogram of an image.
HistogramType::SizeValueType SizeValueType
Computes the RenyiEntropy's threshold for an image.
SmartPointer< const Self > ConstPointer
RenyiEntropyThresholdCalculator Self