#include <itkSparseFrequencyContainer.h>
Inheritance diagram for itk::Statistics::SparseFrequencyContainer< TFrequencyValue >:
[NOHEADER] | |
virtual const char * | GetClassName () const |
Pointer | New () |
Public Types | |
typedef SparseFrequencyContainer | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef unsigned long | InstanceIdentifier |
typedef TFrequencyValue | FrequencyType |
typedef std::map< InstanceIdentifier, FrequencyType > | FrequencyContainerType |
typedef FrequencyContainerType::const_iterator | FrequencyContainerConstIterator |
Public Member Functions | |
void | Initialize (unsigned long length) |
void | SetFrequency (const InstanceIdentifier id, const FrequencyType value) |
void | 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 36 of file itkSparseFrequencyContainer.h.
|
Reimplemented from itk::Object. Definition at line 43 of file itkSparseFrequencyContainer.h. |
|
Definition at line 61 of file itkSparseFrequencyContainer.h. |
|
Histogram typedef support Definition at line 58 of file itkSparseFrequencyContainer.h. Referenced by itk::Statistics::SparseFrequencyContainer< TFrequencyValue >::~SparseFrequencyContainer(). |
|
frequency type alias Definition at line 54 of file itkSparseFrequencyContainer.h. Referenced by itk::Statistics::SparseFrequencyContainer< TFrequencyValue >::~SparseFrequencyContainer(). |
|
instance idenfitifer alias Definition at line 51 of file itkSparseFrequencyContainer.h. |
|
Reimplemented from itk::Object. Definition at line 42 of file itkSparseFrequencyContainer.h. |
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 40 of file itkSparseFrequencyContainer.h. Referenced by itk::Statistics::SparseFrequencyContainer< TFrequencyValue >::~SparseFrequencyContainer(). |
|
Reimplemented from itk::Object. Definition at line 41 of file itkSparseFrequencyContainer.h. |
|
|
|
|
Standard macros Reimplemented from itk::Object.
|
|
Method to get the frequency of a bin from the histogram |
|
Definition at line 77 of file itkSparseFrequencyContainer.h. |
|
Method to increase the frequency by one. This function is convinent to create histogram. |
|
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 |