18#ifndef itkSparseFrequencyContainer2_h
19#define itkSparseFrequencyContainer2_h
26#include "ITKStatisticsExport.h"
104 return m_TotalFrequency;
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Base class for most ITK classes.
NumericTraits< RelativeFrequencyType >::AccumulateType TotalRelativeFrequencyType
NumericTraits< AbsoluteFrequencyType >::AccumulateType TotalAbsoluteFrequencyType
IdentifierType InstanceIdentifier
InstanceIdentifier AbsoluteFrequencyType
NumericTraits< AbsoluteFrequencyType >::RealType RelativeFrequencyType
his class is a container for an histogram.
bool SetFrequency(const InstanceIdentifier id, const AbsoluteFrequencyType value)
std::map< InstanceIdentifier, AbsoluteFrequencyType > FrequencyContainerType
bool IncreaseFrequency(const InstanceIdentifier id, const AbsoluteFrequencyType value)
void PrintSelf(std::ostream &os, Indent indent) const override
MeasurementVectorTraits::TotalRelativeFrequencyType TotalRelativeFrequencyType
~SparseFrequencyContainer2() override=default
FrequencyContainerType::const_iterator FrequencyContainerConstIterator
MeasurementVectorTraits::AbsoluteFrequencyType AbsoluteFrequencyType
MeasurementVectorTraits::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
SparseFrequencyContainer2()
void Initialize(SizeValueType length)
TotalAbsoluteFrequencyType GetTotalFrequency() const
MeasurementVectorTraits::RelativeFrequencyType RelativeFrequencyType
AbsoluteFrequencyType GetFrequency(const InstanceIdentifier id) const
MeasurementVectorTraits::InstanceIdentifier InstanceIdentifier
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType