#include <itkSparseFrequencyContainer.h>
Inheritance diagram for itk::Statistics::SparseFrequencyContainer:


[NOHEADER] | |
| virtual const char * | GetNameOfClass () const |
| static Pointer | New () |
Public Types | |
| typedef SparseFrequencyContainer | Self |
| typedef Object | Superclass |
| typedef SmartPointer< Self > | Pointer |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef unsigned long | InstanceIdentifier |
| typedef float | FrequencyType |
| typedef std::map< InstanceIdentifier, FrequencyType > | FrequencyContainerType |
| typedef FrequencyContainerType::const_iterator | FrequencyContainerConstIterator |
Public Member Functions | |
| void | Initialize (unsigned long length) |
| void | SetToZero () |
| bool | SetFrequency (const InstanceIdentifier id, const FrequencyType value) |
| bool | IncreaseFrequency (const InstanceIdentifier id, const FrequencyType value) |
| FrequencyType | GetFrequency (const InstanceIdentifier id) const |
| FrequencyType | GetTotalFrequency () |
Protected Member Functions | |
| SparseFrequencyContainer () | |
| virtual | ~SparseFrequencyContainer () |
| void | PrintSelf (std::ostream &os, Indent indent) const |
This class uses an map to store histogram. If your histogram is dense use DenseHistogram. You should access each bin by (InstanceIdentifier)index or measurement vector.
Definition at line 35 of file itkSparseFrequencyContainer.h.
|
|
Reimplemented from itk::Object. Definition at line 42 of file itkSparseFrequencyContainer.h. |
|
|
Definition at line 58 of file itkSparseFrequencyContainer.h. |
|
|
Histogram typedef support Definition at line 56 of file itkSparseFrequencyContainer.h. |
|
|
frequency type alias Definition at line 53 of file itkSparseFrequencyContainer.h. |
|
|
instance idenfitifer alias Definition at line 46 of file itkSparseFrequencyContainer.h. |
|
|
Reimplemented from itk::Object. Definition at line 41 of file itkSparseFrequencyContainer.h. |
|
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 39 of file itkSparseFrequencyContainer.h. |
|
|
Reimplemented from itk::Object. Definition at line 40 of file itkSparseFrequencyContainer.h. |
|
|
|
|
|
Definition at line 85 of file itkSparseFrequencyContainer.h. |
|
|
Method to get the frequency of a bin from the histogram. It will return zero when the Id is out of bounds. |
|
|
Standard macros Reimplemented from itk::Object. |
|
|
Definition at line 80 of file itkSparseFrequencyContainer.h. |
|
||||||||||||
|
Method to increase the frequency by one. This function is convinent to create a histogram. It returns false when the id is out of bounds. |
|
|
prepares the frequency container |
|
|
Standard macros 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::Object. |
|
||||||||||||
|
Method to set the frequency of histogram using instance identifier. It returns false when the Id is out of bounds |
|
|
Calls the SetToZero method of superclass to initialize all the bins to Zero. This should be done before starting to call the IncreaseFrequency method. |
1.4.1 written by Dimitri van Heesch,
© 1997-2000