19#ifndef itkRenyiEntropyThresholdCalculator_h
20#define itkRenyiEntropyThresholdCalculator_h
50template <
typename THistogram,
typename TOutput =
double>
94 const std::vector<double> & normHisto,
95 const std::vector<double> & P1,
96 const std::vector<double> & P2);
100 const std::vector<double> & normHisto,
101 const std::vector<double> & P1,
102 const std::vector<double> & P2);
106 const std::vector<double> & normHisto,
107 const std::vector<double> & P1,
108 const std::vector<double> & P2);
119#ifndef ITK_MANUAL_INSTANTIATION
120# include "itkRenyiEntropyThresholdCalculator.hxx"
Base class to compute a threshold value based on the histogram of an image.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Computes the RenyiEntropy's threshold for an image.
typename HistogramType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
typename HistogramType::AbsoluteFrequencyType AbsoluteFrequencyType
typename HistogramType::SizeValueType SizeValueType
InstanceIdentifier MaxEntropyThresholding(const HistogramType *histogram, const std::vector< double > &normHisto, const std::vector< double > &P1, const std::vector< double > &P2)
void PrintSelf(std::ostream &os, Indent indent) const override
InstanceIdentifier MaxEntropyThresholding3(const HistogramType *histogram, const std::vector< double > &normHisto, const std::vector< double > &P1, const std::vector< double > &P2)
~RenyiEntropyThresholdCalculator() override=default
InstanceIdentifier MaxEntropyThresholding2(const HistogramType *histogram, const std::vector< double > &normHisto, const std::vector< double > &P1, const std::vector< double > &P2)
RenyiEntropyThresholdCalculator()
void GenerateData() override
typename HistogramType::InstanceIdentifier InstanceIdentifier
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType