#include <itkSubsample.h>
Collaboration diagram for itk::Statistics::Subsample< TSample >:
Public Types | |
typedef Subsample | Self |
typedef Sample< typename TSample::MeasurementVectorType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef TSample::Pointer | SamplePointer |
typedef TSample::MeasurementVectorType | MeasurementVectorType |
typedef TSample::MeasurementType | MeasurementType |
typedef TSample::InstanceIdentifier | InstanceIdentifier |
typedef TSample::FrequencyType | FrequencyType |
typedef MeasurementVectorType | ValueType |
typedef std::vector< InstanceIdentifier > | InstanceIdentifierHolder |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (MeasurementVectorSize, unsigned int, TSample::MeasurementVectorSize) | |
void | SetSample (TSample *sample) |
TSample * | GetSample () |
void | InitializeWithAllInstances () |
void | AddInstance (InstanceIdentifier id) |
unsigned int | Size () const |
void | Clear () |
MeasurementVectorType | GetMeasurementVector (const InstanceIdentifier &id) |
FrequencyType | GetFrequency (const InstanceIdentifier &id) const |
FrequencyType | GetTotalFrequency () const |
void | Swap (int index1, int index2) |
MeasurementVectorType | GetMeasurementVectorByIndex (int index) |
FrequencyType | GetFrequencyByIndex (int index) |
InstanceIdentifier | GetInstanceIdentifier (int index) |
Iterator | Begin () |
Iterator | End () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
Subsample () | |
virtual | ~Subsample () |
void | PrintSelf (std::ostream &os, Indent indent) const |
|
Definition at line 51 of file itkSubsample.h. Referenced by itk::Statistics::Subsample< TSample >::Iterator::GetFrequency(), itk::Statistics::Subsample< TSample >::GetFrequency(), and itk::Statistics::Subsample< TSample >::GetTotalFrequency(). |
|
|
Type of the storage for instances that belong to the class represented by a Subsample object. A Subsample object stores only the InstanceIdentifiers. The actual data is still in the Sample object Definition at line 62 of file itkSubsample.h. |
|
Definition at line 49 of file itkSubsample.h. |
|
Typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value from the template argument TSample Definition at line 48 of file itkSubsample.h. Referenced by itk::Statistics::Subsample< TSample >::Iterator::GetMeasurementVector(), and itk::Statistics::Subsample< TSample >::GetMeasurementVector(). |
|
Definition at line 35 of file itkSubsample.h. |
|
Smart pointer to the actual sample data holder Definition at line 44 of file itkSubsample.h. |
|
Standard class typedefs Definition at line 33 of file itkSubsample.h. Referenced by itk::Statistics::Subsample< TSample >::Iterator::Iterator(). |
|
Definition at line 34 of file itkSubsample.h. |
|
Definition at line 52 of file itkSubsample.h. |
|
|
|
Definition at line 205 of file itkSubsample.h. |
|
Definition at line 86 of file itkSubsample.h. References itk::Statistics::Subsample< TSample >::InstanceIdentifier. |
|
Definition at line 129 of file itkSubsample.h. |
|
Definition at line 99 of file itkSubsample.h. |
|
Definition at line 135 of file itkSubsample.h. |
|
Run-time type information (and related methods). |
|
returns the frequency of the instance which is identified by the 'id' Definition at line 111 of file itkSubsample.h. References itk::Statistics::Subsample< TSample >::FrequencyType, and itk::Statistics::Subsample< TSample >::InstanceIdentifier. |
|
|
|
|
|
retunrs the measurement of the instance which is identified by the 'id' Definition at line 107 of file itkSubsample.h. References itk::Statistics::Subsample< TSample >::InstanceIdentifier, and itk::Statistics::Subsample< TSample >::MeasurementVectorType. |
|
|
|
Definition at line 68 of file itkSubsample.h. |
|
returns the total frequency for the 'd' dimension Definition at line 115 of file itkSubsample.h. References itk::Statistics::Subsample< TSample >::FrequencyType. |
|
Definition at line 71 of file itkSubsample.h. |
|
MeasurementVectorSize constant from super class |
|
standard New() method support |
|
|
|
Plug in the actual sample data Definition at line 65 of file itkSubsample.h. |
|
returns SizeType object whose each element is the number of elements in each dimension Definition at line 94 of file itkSubsample.h. |
|
|