19 #ifndef itkRenyiEntropyThresholdCalculator_h
20 #define itkRenyiEntropyThresholdCalculator_h
50 template <
typename THistogram,
typename TOutput=
double>
74 void GenerateData(
void) ITK_OVERRIDE;
81 InstanceIdentifier MaxEntropyThresholding( const
HistogramType* histogram,
82 const std::vector<
double >& normHisto,
83 const std::vector<
double >& P1,
84 const std::vector<
double >& P2 );
86 InstanceIdentifier MaxEntropyThresholding2( const
HistogramType* histogram,
87 const std::vector<
double >& normHisto,
88 const std::vector<
double >& P1,
89 const std::vector<
double >& P2 );
91 InstanceIdentifier MaxEntropyThresholding3( const
HistogramType* histogram,
92 const std::vector<
double >& normHisto,
93 const std::vector<
double >& P1,
94 const std::vector<
double >& P2 );
99 InstanceIdentifier m_FirstBin;
100 InstanceIdentifier m_LastBin;
101 SizeValueType m_Size;
107 #ifndef ITK_MANUAL_INSTANTIATION
108 #include "itkRenyiEntropyThresholdCalculator.hxx"
Light weight base class for most itk classes.
virtual ~RenyiEntropyThresholdCalculator()
RenyiEntropyThresholdCalculator()
HistogramType::AbsoluteFrequencyType AbsoluteFrequencyType
HistogramType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
SmartPointer< Self > Pointer
HistogramType::InstanceIdentifier InstanceIdentifier
Base class to compute a threshold value based on the histogram of an image.
Base class for most ITK classes.
HistogramType::SizeValueType SizeValueType
Computes the RenyiEntropy's threshold for an image.
SmartPointer< const Self > ConstPointer
RenyiEntropyThresholdCalculator Self