#include <itkVariableDimensionHistogram.h>
Inheritance diagram for itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >:
This class stores measurement vectors in the context of n-dimensional histogram.
VariableDimensionHistogram represents an ND histogram. Histogram bins can be regularly or irregularly spaced. The storage for the histogram is managed via the FrequencyContainer specified by the template argument. The default frequency container is a DenseFrequencyContainer. A SparseFrequencyContainer can be used as an alternative.
Frequencies of a bin (SetFrequency(), IncreaseFrequency()) can be specified by measurement, index, or instance identifier.
Measurements can be queried by bin index or instance identifier. In this case, the measurement returned in the centroid of the histogram bin.
The Initialize() method is used to specified the number of bins for each dimension of the histogram. An overloaded version also allows for regularly spaced bins to defined. To define irregularly sized bins, use the SetBinMin()/SetBinMax() methods.
Definition at line 71 of file itkVariableDimensionHistogram.h.
|
Definition at line 117 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::GetMaxs(). |
|
Definition at line 115 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::GetDimensionMaxs(). |
|
Definition at line 116 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::GetMins(). |
|
bin min max value storage types Definition at line 114 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::GetDimensionMins(). |
|
Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 80 of file itkVariableDimensionHistogram.h. |
|
Definition at line 99 of file itkVariableDimensionHistogram.h. |
|
frequency container typedef Definition at line 98 of file itkVariableDimensionHistogram.h. |
|
Frequency value and TotalFrequency type from superclass Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 102 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::GetFrequency(), itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::IncreaseFrequency(), and itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::SetFrequency(). |
|
Index typedef support. An index is used to access pixel values. Definition at line 106 of file itkVariableDimensionHistogram.h. |
|
Definition at line 107 of file itkVariableDimensionHistogram.h. |
|
InstanceIdentifier typedef. This identifier is a unique sequential id for each measurement vector in a Sample subclass. Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 93 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::GetFrequency(), itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::IncreaseFrequency(), and itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::SetFrequency(). |
|
type of an element of a measurement vector Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 89 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::GetBinMax(), itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::GetBinMin(), itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::SetBinMax(), and itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::SetBinMin(). |
|
Typedef for the length of each measurement vector Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 94 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::~VariableDimensionHistogram(). |
|
Common sample class typedefs Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 92 of file itkVariableDimensionHistogram.h. |
|
Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 79 of file itkVariableDimensionHistogram.h. |
|
Standard typedefs Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 77 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::ConstIterator::ConstIterator(), and itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::Iterator::Iterator(). |
|
size array type Definition at line 110 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::GetSize(), and itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::~VariableDimensionHistogram(). |
|
Definition at line 111 of file itkVariableDimensionHistogram.h. Referenced by itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::GetSize(). |
|
Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 78 of file itkVariableDimensionHistogram.h. |
|
Total frequency type Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 103 of file itkVariableDimensionHistogram.h. |
|
Definition at line 95 of file itkVariableDimensionHistogram.h. |
|
|
|
|
Definition at line 468 of file itkVariableDimensionHistogram.h. |
|
Definition at line 457 of file itkVariableDimensionHistogram.h. |
|
Definition at line 474 of file itkVariableDimensionHistogram.h. |
|
Definition at line 463 of file itkVariableDimensionHistogram.h. |
|
Get the maximum value of nth bin of dimension d Definition at line 181 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::MeasurementType. |
|
Get the maximum of the bin along dimension d corresponding to a particular measurement. |
|
Get the minimum value of nth bin of dimension d Definition at line 176 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::MeasurementType. |
|
Get the minimum of the bin along dimension d corresponding to a particular measurement. |
|
Is set to false if the bins at edges of the histogram extend to +/- infinity. |
|
Get the vector of maximums along a dimension Definition at line 210 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::BinMaxVectorType. |
|
Get the vector of bin minimums along a dimension Definition at line 206 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::BinMinVectorType. |
|
Get the frequency of a dimension's nth element. |
|
Get the frequency of an index |
|
Get the frequency of an instance indentifier Implements itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 236 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::FrequencyType, and itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::InstanceIdentifier. |
|
Get the maximums of the bin corresponding to a particular index |
|
Get the maximums of the bin corresponding to a particular measurement |
|
Get the minimums of the bin corresponding to a particular index |
|
Get the minimums of the bin corresponding to a particular measurement |
|
Get the index that is uniquely labelled by an instance identifier The corresponding id is the offset of the index This method uses ImageBase::ComputeIndex() method |
|
Get the index of histogram corresponding to the specified measurement value. Returns true if index is valid and false if the measurement is outside the histogram |
|
Get the instance identifier of the bin that is indexed by the index. The corresponding instance identifier is the offset of the index This method uses ImageBase::ComputeIndex() method |
|
Method the maximums of the bins Definition at line 218 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::BinMaxContainerType. |
|
Get the measurement a bin along a specified dimension. This is the midpoint of the bin along that dimension. |
|
Get the measurement of an index. This is the centroid of the bin. |
|
Get the measurement of an instance identifier. This is the centroid of the bin. Implements itk::Statistics::Sample< Array< TMeasurement > >. |
|
Get the minimums of the bins Definition at line 214 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::BinMinContainerType. |
|
Run-time type information (and related methods). Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. |
|
Get the size of histogram along a specified dimension Definition at line 170 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::SizeValueType. |
|
Get the size (N-dimensional) of the histogram Definition at line 166 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::SizeType. |
|
Get the total frequency in the histogram Implements itk::Statistics::Sample< Array< TMeasurement > >. |
|
Increase the frequency of a measurement. Frequency is increased by the specified value. Returns false if the measurement is outside the bounds of the histogram. |
|
Increase the frequency of an index. Frequency is increased by the specified value. Returns false if the bin is out of bounds. |
|
Increase the frequency of an instance identifier. Frequency is increased by the specified value. Returns false if the bin is out of bounds. Definition at line 264 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::FrequencyType, and itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::InstanceIdentifier. |
|
Initialize the histogram using equal size bins. To assign bin's min and max values along each dimension use SetBinMin() and SetBinMax() functions. |
|
Initialize the histogram, generating the offset table and preparing the frequency container. Subclasses should call this method in their Initialize() method. |
|
Returns true if the given index is out of bound meaning one of index is not between [0, last index] |
|
standard New() method support Reimplemented from itk::Object. |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. |
|
Get the pth percentile value for a dimension. Let assume n = the index of the bin where the p-th percentile value is, min = min value of the dimension of the bin, max = max value of the dimension of the bin, interval = max - min , pp = cumlated proportion until n-1 bin ; and pb = frequency of the bin / total frequency of the dimension. If p is less than 0.5, the percentile value = min + ((p - pp ) / pb) * interval If p is greater than or equal to 0.5 the percentile value = max - ((pp - p) / pb) * interval |
|
Set the maximum value of nth bin of dimension d Definition at line 191 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::MeasurementType. |
|
Set the minimum value of nth bin of dimension d Definition at line 186 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::MeasurementType. |
|
Set to false to have the bins at edges of the histogram extend to +/- infinity. |
|
Set the frequency of a measurement. Returns false if the bin is out of bounds. |
|
Set the frequency of an index. Returns false if the bin is out of bounds. |
|
Set the frequency of an instance identifier. Returns false if the bin is out of bounds. Definition at line 247 of file itkVariableDimensionHistogram.h. References itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::FrequencyType, and itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >::InstanceIdentifier. |
|
Set all the bins in the histogram to a specified frequency |
|
Set the length of each measurement vector = dimension of the histogram. The method will destructively set the size of all other parameters of the histogram. This method should be called only from the Initialize() method. Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. |
|
Initialize the values of the histogram bins to zero |
|
Returns the number of instances (bins or cells) in this container Implements itk::Statistics::Sample< Array< TMeasurement > >. |
|
Definition at line 490 of file itkVariableDimensionHistogram.h. |