ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageToListSampleAdaptor.h>
This class provides ListSample interface to ITK Image.
After calling SetImage( const Image * ) method to plug in the image object, users can use Sample interfaces to access Image data. The resulting data are a list of measurement vectors.
The measurment vector type is determined from the image pixel type. This class handles images with scalar, fixed array or variable length vector pixel types.
Definition at line 53 of file itkImageToListSampleAdaptor.h.
typedef Superclass::AbsoluteFrequencyType itk::Statistics::ImageToListSampleAdaptor< TImage >::AbsoluteFrequencyType |
Frequency value type
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 95 of file itkImageToListSampleAdaptor.h.
typedef SmartPointer< const Self > itk::Statistics::ImageToListSampleAdaptor< TImage >::ConstPointer |
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 65 of file itkImageToListSampleAdaptor.h.
typedef ImageRegionConstIterator< ImageType > itk::Statistics::ImageToListSampleAdaptor< TImage >::ImageConstIteratorType |
Definition at line 83 of file itkImageToListSampleAdaptor.h.
typedef ImageType::ConstPointer itk::Statistics::ImageToListSampleAdaptor< TImage >::ImageConstPointer |
Definition at line 76 of file itkImageToListSampleAdaptor.h.
typedef ImageRegionIterator< ImageType > itk::Statistics::ImageToListSampleAdaptor< TImage >::ImageIteratorType |
Image Iterator typedef support
Definition at line 82 of file itkImageToListSampleAdaptor.h.
typedef ImageType::Pointer itk::Statistics::ImageToListSampleAdaptor< TImage >::ImagePointer |
Definition at line 75 of file itkImageToListSampleAdaptor.h.
typedef TImage itk::Statistics::ImageToListSampleAdaptor< TImage >::ImageType |
Image typedefs
Definition at line 71 of file itkImageToListSampleAdaptor.h.
typedef ImageType::IndexType itk::Statistics::ImageToListSampleAdaptor< TImage >::IndexType |
Definition at line 77 of file itkImageToListSampleAdaptor.h.
typedef Superclass::InstanceIdentifier itk::Statistics::ImageToListSampleAdaptor< TImage >::InstanceIdentifier |
InstanceIdentifier typedef. This identifier is a unique sequential id for each measurement vector in a Sample subclass.
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 98 of file itkImageToListSampleAdaptor.h.
typedef MeasurementVectorPixelTraits< PixelType > itk::Statistics::ImageToListSampleAdaptor< TImage >::MeasurementPixelTraitsType |
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value
Definition at line 89 of file itkImageToListSampleAdaptor.h.
typedef MeasurementVectorTraitsType::ValueType itk::Statistics::ImageToListSampleAdaptor< TImage >::MeasurementType |
ValueType of a measurement (ValueType of a component of the MeasurementVector
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 93 of file itkImageToListSampleAdaptor.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::ImageToListSampleAdaptor< TImage >::MeasurementVectorSizeType |
Typedef for the length of each measurement vector
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 97 of file itkImageToListSampleAdaptor.h.
typedef MeasurementVectorTraitsTypes< MeasurementVectorType > itk::Statistics::ImageToListSampleAdaptor< TImage >::MeasurementVectorTraitsType |
Definition at line 92 of file itkImageToListSampleAdaptor.h.
typedef MeasurementPixelTraitsType::MeasurementVectorType itk::Statistics::ImageToListSampleAdaptor< TImage >::MeasurementVectorType |
Typedefs inherited from the superclass
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 90 of file itkImageToListSampleAdaptor.h.
typedef ImageType::PixelContainerConstPointer itk::Statistics::ImageToListSampleAdaptor< TImage >::PixelContainerConstPointer |
Definition at line 79 of file itkImageToListSampleAdaptor.h.
typedef PixelTraits< typename TImage::PixelType > itk::Statistics::ImageToListSampleAdaptor< TImage >::PixelTraitsType |
Definition at line 84 of file itkImageToListSampleAdaptor.h.
typedef ImageType::PixelType itk::Statistics::ImageToListSampleAdaptor< TImage >::PixelType |
Definition at line 78 of file itkImageToListSampleAdaptor.h.
typedef SmartPointer< Self > itk::Statistics::ImageToListSampleAdaptor< TImage >::Pointer |
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 64 of file itkImageToListSampleAdaptor.h.
typedef ImageToListSampleAdaptor itk::Statistics::ImageToListSampleAdaptor< TImage >::Self |
Standard class typedefs
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 58 of file itkImageToListSampleAdaptor.h.
typedef ListSample< typename MeasurementVectorPixelTraits< typename TImage::PixelType >::MeasurementVectorType > itk::Statistics::ImageToListSampleAdaptor< TImage >::Superclass |
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 62 of file itkImageToListSampleAdaptor.h.
typedef Superclass::TotalAbsoluteFrequencyType itk::Statistics::ImageToListSampleAdaptor< TImage >::TotalAbsoluteFrequencyType |
Total frequency type
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 96 of file itkImageToListSampleAdaptor.h.
typedef MeasurementVectorType itk::Statistics::ImageToListSampleAdaptor< TImage >::ValueType |
Value type of a measurement (component of the measurement vector)
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 100 of file itkImageToListSampleAdaptor.h.
itk::Statistics::ImageToListSampleAdaptor< TImage >::ImageToListSampleAdaptor | ( | ) | [protected] |
returns an iterator that points to the beginning of the container
virtual itk::Statistics::ImageToListSampleAdaptor< TImage >::~ImageToListSampleAdaptor | ( | ) | [inline, protected, virtual] |
returns an iterator that points to the beginning of the container
Definition at line 295 of file itkImageToListSampleAdaptor.h.
itk::Statistics::ImageToListSampleAdaptor< TImage >::ImageToListSampleAdaptor | ( | const Self & | ) | [private] |
returns an iterator that points to the beginning of the container
Iterator itk::Statistics::ImageToListSampleAdaptor< TImage >::Begin | ( | void | ) | [inline] |
returns an iterator that points to the beginning of the container
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 252 of file itkImageToListSampleAdaptor.h.
Referenced by itk::Statistics::ImageToListSampleAdaptor< TImage >::ConstIterator::ConstIterator().
ConstIterator itk::Statistics::ImageToListSampleAdaptor< TImage >::Begin | ( | void | ) | const [inline] |
returns an iterator that points to the beginning of the container
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 274 of file itkImageToListSampleAdaptor.h.
virtual::itk::LightObject::Pointer itk::Statistics::ImageToListSampleAdaptor< TImage >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Iterator itk::Statistics::ImageToListSampleAdaptor< TImage >::End | ( | void | ) | [inline] |
returns an iterator that points to the end of the container
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 263 of file itkImageToListSampleAdaptor.h.
ConstIterator itk::Statistics::ImageToListSampleAdaptor< TImage >::End | ( | void | ) | const [inline] |
returns an iterator that points to the end of the container
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 284 of file itkImageToListSampleAdaptor.h.
AbsoluteFrequencyType itk::Statistics::ImageToListSampleAdaptor< TImage >::GetFrequency | ( | InstanceIdentifier | id | ) | const |
method to return frequency for a specified id
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
const TImage* itk::Statistics::ImageToListSampleAdaptor< TImage >::GetImage | ( | ) | const |
Method to get the image
virtual const MeasurementVectorType& itk::Statistics::ImageToListSampleAdaptor< TImage >::GetMeasurementVector | ( | InstanceIdentifier | id | ) | const [virtual] |
method to return measurement vector for a specified id
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
virtual MeasurementVectorSizeType itk::Statistics::ImageToListSampleAdaptor< TImage >::GetMeasurementVectorSize | ( | ) | const [inline, virtual] |
Get method for the length of the measurement vector
Reimplemented from itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 114 of file itkImageToListSampleAdaptor.h.
virtual const char* itk::Statistics::ImageToListSampleAdaptor< TImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
TotalAbsoluteFrequencyType itk::Statistics::ImageToListSampleAdaptor< TImage >::GetTotalFrequency | ( | ) | const [virtual] |
method to return the total frequency
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
static Pointer itk::Statistics::ImageToListSampleAdaptor< TImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
void itk::Statistics::ImageToListSampleAdaptor< TImage >::operator= | ( | const Self & | ) | [private] |
returns an iterator that points to the beginning of the container
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
void itk::Statistics::ImageToListSampleAdaptor< TImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
returns an iterator that points to the beginning of the container
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
void itk::Statistics::ImageToListSampleAdaptor< TImage >::SetImage | ( | const TImage * | image | ) |
Method to set the image
InstanceIdentifier itk::Statistics::ImageToListSampleAdaptor< TImage >::Size | ( | ) | const [virtual] |
returns the number of measurement vectors in this container
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
ImageConstPointer itk::Statistics::ImageToListSampleAdaptor< TImage >::m_Image [private] |
returns an iterator that points to the beginning of the container
Definition at line 302 of file itkImageToListSampleAdaptor.h.
MeasurementVectorType itk::Statistics::ImageToListSampleAdaptor< TImage >::m_MeasurementVectorInternal [mutable, private] |
returns an iterator that points to the beginning of the container
Definition at line 303 of file itkImageToListSampleAdaptor.h.