#include <itkDenseFrequencyContainer.h>
Inheritance diagram for itk::Statistics::DenseFrequencyContainer< TFrequencyValue >:
Public Types | |
typedef DenseFrequencyContainer | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef unsigned long | InstanceIdentifier |
typedef TFrequencyValue | FrequencyType |
typedef ValarrayImageContainer< InstanceIdentifier, FrequencyType > | FrequencyContainerType |
typedef FrequencyContainerType::Pointer | FrequencyContainerPointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
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 () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
DenseFrequencyContainer () | |
virtual | ~DenseFrequencyContainer () |
void | PrintSelf (std::ostream &os, Indent indent) const |
This class uses the ValarrayImageContainer class to store frequencies. If the histogram has many zero frequency bins. use SparseFrequencyContainer. You should access each bin by (InstanceIdentifier)index or measurement vector.
Definition at line 40 of file itkDenseFrequencyContainer.h.
|
Reimplemented from itk::Object. Definition at line 48 of file itkDenseFrequencyContainer.h. |
|
Definition at line 65 of file itkDenseFrequencyContainer.h. |
|
Internal storage class typedefs Definition at line 64 of file itkDenseFrequencyContainer.h. |
|
Frequency type alias Definition at line 60 of file itkDenseFrequencyContainer.h. Referenced by itk::Statistics::DenseFrequencyContainer< TFrequencyValue >::GetTotalFrequency(). |
|
InstanceIdenfitifer type alias Definition at line 57 of file itkDenseFrequencyContainer.h. |
|
Reimplemented from itk::Object. Definition at line 47 of file itkDenseFrequencyContainer.h. |
|
Standard class typedefs Reimplemented from itk::Object. Definition at line 45 of file itkDenseFrequencyContainer.h. |
|
Reimplemented from itk::Object. Definition at line 46 of file itkDenseFrequencyContainer.h. |
|
|
|
Definition at line 95 of file itkDenseFrequencyContainer.h. |
|
Run-time type information (and related methods). Reimplemented from itk::Object. |
|
Method to get the frequency of a bin from the histogram. It returns zero when the Id is out of bounds. |
|
Gets the sum of the frequencies Definition at line 90 of file itkDenseFrequencyContainer.h. References itk::Statistics::DenseFrequencyContainer< TFrequencyValue >::FrequencyType. |
|
Increases the frequency of a bin specified by the InstanceIdentifier by one. This function is convinient to create a histogram. It returns false when the bin id is out of bounds. |
|
Calls the Initialize method of superclass to generate the offset table and prepare the frequency container |
|
Method for creation through the object factory. 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. |
|
Sets 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. |