#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 116 of file itkVariableDimensionHistogram.h. |
|
|||||
|
Definition at line 114 of file itkVariableDimensionHistogram.h. |
|
|||||
|
Definition at line 115 of file itkVariableDimensionHistogram.h. |
|
|||||
|
bin min max value storage types Definition at line 113 of file itkVariableDimensionHistogram.h. |
|
|||||
|
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 type from superclass Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 102 of file itkVariableDimensionHistogram.h. |
|
|||||
|
Index typedef support. An index is used to access pixel values. Definition at line 105 of file itkVariableDimensionHistogram.h. |
|
|||||
|
Definition at line 106 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. |
|
|||||
|
type of an element of a measurement vector Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 86 of file itkVariableDimensionHistogram.h. |
|
|||||
|
Typedef for the length of each measurement vector Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 94 of file itkVariableDimensionHistogram.h. |
|
|||||
|
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. |
|
|||||
|
size array type Definition at line 109 of file itkVariableDimensionHistogram.h. |
|
|||||
|
Definition at line 110 of file itkVariableDimensionHistogram.h. |
|
|||||
|
Reimplemented from itk::Statistics::Sample< Array< TMeasurement > >. Definition at line 78 of file itkVariableDimensionHistogram.h. |
|
|||||
|
Definition at line 95 of file itkVariableDimensionHistogram.h. |
|
|||||||||
|
|
|
|||||||||
|
Definition at line 481 of file itkVariableDimensionHistogram.h. |
|
||||||||||
|
Definition at line 467 of file itkVariableDimensionHistogram.h. |
|
||||||||||
|
Definition at line 456 of file itkVariableDimensionHistogram.h. |
|
||||||||||
|
Definition at line 473 of file itkVariableDimensionHistogram.h. |
|
||||||||||
|
Definition at line 462 of file itkVariableDimensionHistogram.h. |
|
||||||||||||||||
|
Get the maximum value of nth bin of dimension d Definition at line 180 of file itkVariableDimensionHistogram.h. |
|
||||||||||||||||
|
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 175 of file itkVariableDimensionHistogram.h. |
|
||||||||||||||||
|
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 209 of file itkVariableDimensionHistogram.h. |
|
||||||||||
|
Get the vector of bin minimums along a dimension Definition at line 205 of file itkVariableDimensionHistogram.h. |
|
||||||||||||||||
|
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 235 of file itkVariableDimensionHistogram.h. |
|
||||||||||
|
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 217 of file itkVariableDimensionHistogram.h. |
|
||||||||||||||||
|
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 213 of file itkVariableDimensionHistogram.h. |
|
|||||||||
|
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 169 of file itkVariableDimensionHistogram.h. |
|
||||||||||
|
Get the size (N-dimensional) of the histogram Definition at line 165 of file itkVariableDimensionHistogram.h. |
|
|||||||||
|
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 263 of file itkVariableDimensionHistogram.h. |
|
||||||||||||||||||||
|
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 190 of file itkVariableDimensionHistogram.h. |
|
||||||||||||||||||||
|
Set the minimum value of nth bin of dimension d Definition at line 185 of file itkVariableDimensionHistogram.h. |
|
||||||||||
|
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 246 of file itkVariableDimensionHistogram.h. |
|
||||||||||
|
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. |
|
|||||||||
|
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 489 of file itkVariableDimensionHistogram.h. |
1.4.1 written by Dimitri van Heesch,
© 1997-2000