ITK
4.6.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.
Classes | |
class | ConstIterator |
class | Iterator |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Member Functions inherited from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType > | |
ListSample () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ListSample () |
Protected Member Functions inherited from itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType > | |
Sample () | |
virtual | ~Sample () |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef Superclass::AbsoluteFrequencyType itk::Statistics::ImageToListSampleAdaptor< TImage >::AbsoluteFrequencyType |
Definition at line 95 of file itkImageToListSampleAdaptor.h.
typedef SmartPointer< const Self > itk::Statistics::ImageToListSampleAdaptor< TImage >::ConstPointer |
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 |
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 |
Definition at line 93 of file itkImageToListSampleAdaptor.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::ImageToListSampleAdaptor< TImage >::MeasurementVectorSizeType |
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 |
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 |
Definition at line 64 of file itkImageToListSampleAdaptor.h.
typedef ImageToListSampleAdaptor itk::Statistics::ImageToListSampleAdaptor< TImage >::Self |
Standard class typedefs
Definition at line 58 of file itkImageToListSampleAdaptor.h.
typedef ListSample< typename MeasurementVectorPixelTraits< typename TImage::PixelType >::MeasurementVectorType > itk::Statistics::ImageToListSampleAdaptor< TImage >::Superclass |
Definition at line 62 of file itkImageToListSampleAdaptor.h.
typedef Superclass::TotalAbsoluteFrequencyType itk::Statistics::ImageToListSampleAdaptor< TImage >::TotalAbsoluteFrequencyType |
Definition at line 96 of file itkImageToListSampleAdaptor.h.
typedef MeasurementVectorType itk::Statistics::ImageToListSampleAdaptor< TImage >::ValueType |
Definition at line 100 of file itkImageToListSampleAdaptor.h.
|
protected |
returns an iterator that points to the end of the container
|
inlineprotectedvirtual |
returns an iterator that points to the end of the container
Definition at line 299 of file itkImageToListSampleAdaptor.h.
|
private |
returns an iterator that points to the end of the container
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 253 of file itkImageToListSampleAdaptor.h.
References itk::ImageRegionConstIterator< TImage >::GoToBegin(), and itk::Statistics::ImageToListSampleAdaptor< TImage >::m_Image.
Referenced by itk::Statistics::ImageToListSampleAdaptor< TImage >::ConstIterator::ConstIterator().
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 276 of file itkImageToListSampleAdaptor.h.
References itk::ImageRegionConstIterator< TImage >::GoToBegin(), and itk::Statistics::ImageToListSampleAdaptor< TImage >::m_Image.
|
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::Object.
|
inline |
returns an iterator that points to the end of the container
Definition at line 264 of file itkImageToListSampleAdaptor.h.
References itk::ImageRegionConstIterator< TImage >::GoToEnd(), and itk::Statistics::ImageToListSampleAdaptor< TImage >::m_Image.
|
inline |
returns an iterator that points to the end of the container
Definition at line 287 of file itkImageToListSampleAdaptor.h.
References itk::ImageRegionConstIterator< TImage >::GoToEnd(), and itk::Statistics::ImageToListSampleAdaptor< TImage >::m_Image.
AbsoluteFrequencyType itk::Statistics::ImageToListSampleAdaptor< TImage >::GetFrequency | ( | InstanceIdentifier | id | ) | const |
method to return frequency for a specified id
const TImage* itk::Statistics::ImageToListSampleAdaptor< TImage >::GetImage | ( | ) | const |
Method to get the image
|
virtual |
method to return measurement vector for a specified id
|
inlinevirtual |
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.
References itk::Statistics::Sample< TMeasurementVector >::GetMeasurementVectorSize(), and itk::Statistics::ImageToListSampleAdaptor< TImage >::m_Image.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
|
virtual |
method to return the total frequency
Implements itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
|
static |
Method for creation through the object factory.
|
private |
returns an iterator that points to the end of the container
|
protectedvirtual |
returns an iterator that points to the end of the container
Reimplemented from itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
void itk::Statistics::ImageToListSampleAdaptor< TImage >::SetImage | ( | const TImage * | image | ) |
Method to set the image
|
virtual |
returns the number of measurement vectors in this container
Implements itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
|
private |
returns an iterator that points to the end of the container
Definition at line 306 of file itkImageToListSampleAdaptor.h.
Referenced by itk::Statistics::ImageToListSampleAdaptor< TImage >::Begin(), itk::Statistics::ImageToListSampleAdaptor< TImage >::End(), and itk::Statistics::ImageToListSampleAdaptor< TImage >::GetMeasurementVectorSize().
|
mutableprivate |
returns an iterator that points to the end of the container
Definition at line 307 of file itkImageToListSampleAdaptor.h.