Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::Sample< TMeasurementVector > Class Template Reference

A collection of measurements for statistical analysis. More...

#include <itkSample.h>

Inheritance diagram for itk::Statistics::Sample< TMeasurementVector >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::Sample< TMeasurementVector >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Sample Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TMeasurementVector MeasurementVectorType
typedef MeasurementVectorType::ValueType MeasurementType
typedef float FrequencyType
typedef NumericTraits< FrequencyType
>::AccumulateType 
TotalFrequencyType
typedef unsigned long InstanceIdentifier
typedef unsigned int MeasurementVectorSizeType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual unsigned int Size () const=0
virtual const MeasurementVectorTypeGetMeasurementVector (const InstanceIdentifier &id) const=0
virtual FrequencyType GetFrequency (const InstanceIdentifier &id) const=0
virtual TotalFrequencyType GetTotalFrequency () const=0
virtual void SetMeasurementVectorSize (const MeasurementVectorSizeType s)
virtual MeasurementVectorSizeType GetMeasurementVectorSize () const

Protected Member Functions

 Sample ()
virtual ~Sample ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TMeasurementVector>
class itk::Statistics::Sample< TMeasurementVector >

A collection of measurements for statistical analysis.

Sample represents a set of measurements for statistical analysis. Sample is templated over a measurement vector. The measurement vector encapsulates the set of values associated with a single measurement. For instance, a measurement vector may contain an image intensity of a pixel and the gradient magnitude at that pixel.

Data within a sample can be accessed via an InstanceIdentfier. InstanceIdentifiers have different forms and meanings depending on the type of sample. For ListSamples, the InstanceIdentifier is an index into the corresponding list. In this case, the InstanceIndentifier corresponds to a particular measurement stored in the Sample. For Histograms, an InstanceIdentifier corresponds to a particular bin in the N-dimensional histogram. In other words, the InstanceIdentifier in a histogram does not correspond to a specific measurement used to build the histogram but to the "bin" in which a number of original measurements were "accumulated".

Recent API changes: The static const macro to get the length of a measurement vector, 'MeasurementVectorSize' has been removed to allow the length of a measurement vector to be specified at run time. Please use the function GetMeasurementVectorSize() instead.

Definition at line 63 of file itkSample.h.


Member Typedef Documentation

template<class TMeasurementVector>
typedef SmartPointer<const Self> itk::Statistics::Sample< TMeasurementVector >::ConstPointer
 

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, and itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >.

Definition at line 70 of file itkSample.h.

template<class TMeasurementVector>
typedef float itk::Statistics::Sample< TMeasurementVector >::FrequencyType
 

Frequency value type

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::ListSampleBase< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< TPointSet::PointType >, and itk::Statistics::ListSampleBase< ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 83 of file itkSample.h.

template<class TMeasurementVector>
typedef unsigned long itk::Statistics::Sample< TMeasurementVector >::InstanceIdentifier
 

InstanceIdentifier typedef. This identifier is a unique sequential id for each measurement vector in a Sample subclass.

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::ListSampleBase< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< TPointSet::PointType >, and itk::Statistics::ListSampleBase< ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 90 of file itkSample.h.

template<class TMeasurementVector>
typedef MeasurementVectorType::ValueType itk::Statistics::Sample< TMeasurementVector >::MeasurementType
 

ValueType of a measurement (ValueType of a component of the MeasurementVector

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::ListSampleBase< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< TPointSet::PointType >, and itk::Statistics::ListSampleBase< ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 80 of file itkSample.h.

template<class TMeasurementVector>
typedef unsigned int itk::Statistics::Sample< TMeasurementVector >::MeasurementVectorSizeType
 

Typedef for the length of each measurement vector

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSampleBase< TMeasurementVector >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< TPointSet::PointType >, and itk::Statistics::ListSampleBase< ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 93 of file itkSample.h.

template<class TMeasurementVector>
typedef TMeasurementVector itk::Statistics::Sample< TMeasurementVector >::MeasurementVectorType
 

MeasurementVector typedef support

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::ListSampleBase< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< TPointSet::PointType >, and itk::Statistics::ListSampleBase< ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 76 of file itkSample.h.

template<class TMeasurementVector>
typedef SmartPointer< Self > itk::Statistics::Sample< TMeasurementVector >::Pointer
 

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, and itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >.

Definition at line 69 of file itkSample.h.

template<class TMeasurementVector>
typedef Sample itk::Statistics::Sample< TMeasurementVector >::Self
 

Standard class typedefs

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::ListSampleBase< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< TPointSet::PointType >, and itk::Statistics::ListSampleBase< ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 67 of file itkSample.h.

template<class TMeasurementVector>
typedef Object itk::Statistics::Sample< TMeasurementVector >::Superclass
 

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::ListSampleBase< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< TPointSet::PointType >, and itk::Statistics::ListSampleBase< ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 68 of file itkSample.h.

template<class TMeasurementVector>
typedef NumericTraits<FrequencyType>::AccumulateType itk::Statistics::Sample< TMeasurementVector >::TotalFrequencyType
 

Total frequency type

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, and itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >.

Definition at line 86 of file itkSample.h.


Constructor & Destructor Documentation

template<class TMeasurementVector>
itk::Statistics::Sample< TMeasurementVector >::Sample  )  [inline, protected]
 

Definition at line 130 of file itkSample.h.

template<class TMeasurementVector>
virtual itk::Statistics::Sample< TMeasurementVector >::~Sample  )  [inline, protected, virtual]
 

Definition at line 135 of file itkSample.h.


Member Function Documentation

template<class TMeasurementVector>
virtual FrequencyType itk::Statistics::Sample< TMeasurementVector >::GetFrequency const InstanceIdentifier id  )  const [pure virtual]
 

Get the frequency of a measurement specified by instance identifier.

Implemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, and itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >.

template<class TMeasurementVector>
virtual const MeasurementVectorType& itk::Statistics::Sample< TMeasurementVector >::GetMeasurementVector const InstanceIdentifier id  )  const [pure virtual]
 

Get the measurement associated with a particular InstanceIdentifier.

Implemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, and itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >.

template<class TMeasurementVector>
virtual MeasurementVectorSizeType itk::Statistics::Sample< TMeasurementVector >::GetMeasurementVectorSize  )  const [virtual]
 

Set/Get macros for the length of the measurement vector

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, and itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >.

template<class TMeasurementVector>
virtual const char* itk::Statistics::Sample< TMeasurementVector >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods)

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::ListSampleBase< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< TPointSet::PointType >, and itk::Statistics::ListSampleBase< ImageJointDomainTraits< TImage >::MeasurementVectorType >.

template<class TMeasurementVector>
virtual TotalFrequencyType itk::Statistics::Sample< TMeasurementVector >::GetTotalFrequency  )  const [pure virtual]
 

Get the total frequency of the sample.

Implemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, and itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >.

template<class TMeasurementVector>
void itk::Statistics::Sample< TMeasurementVector >::PrintSelf std::ostream &  os,
Indent  indent
const [inline, protected, virtual]
 

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.

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::ListSampleBase< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ListSampleBase< FixedArray< TImage::PixelType, 1 > >, itk::Statistics::ListSampleBase< TPointSet::PointType >, and itk::Statistics::ListSampleBase< ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 136 of file itkSample.h.

template<class TMeasurementVector>
virtual void itk::Statistics::Sample< TMeasurementVector >::SetMeasurementVectorSize const MeasurementVectorSizeType  s  )  [inline, virtual]
 

Set/Get macros for the length of the measurement vector

Reimplemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToCooccurrenceListAdaptor< TImage >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::JointDomainImageToListAdaptor< TImage >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::ScalarImageToListAdaptor< TImage >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, and itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >.

Definition at line 113 of file itkSample.h.

template<class TMeasurementVector>
virtual unsigned int itk::Statistics::Sample< TMeasurementVector >::Size  )  const [pure virtual]
 

Get the size of the sample (number of measurements)

Implemented in itk::Statistics::Histogram< TMeasurement, VMeasurementVectorSize, TFrequencyContainer >, itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, itk::Statistics::ListSample< TMeasurementVector >, itk::Statistics::MembershipSample< TSample >, itk::Statistics::PointSetToListAdaptor< TPointSet >, itk::Statistics::Subsample< TSample >, itk::Statistics::VariableDimensionHistogram< TMeasurement, TFrequencyContainer >, itk::Statistics::Histogram< THistogramMeasurement, 1 >, itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 2 > >, itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >, and itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >.


The documentation for this class was generated from the following file:
Generated at Thu May 25 03:14:41 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000