#include <itkImageToListAdaptor.h>
Inheritance diagram for itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >:
After calling SetImage(Image*) method to plug in the image object, users can use Sample interfaces to access Image data. However, the resulting data are a list of measurement vectors. The type of data is measurement vector. For example, if the pixel type of Image object is STL vector< float > and each pixel has two different types of measurements, intensity and gradient magnitude, this adaptor has measurement vector of type ITK Point< float, 2>, and one element of the Point is intensity and the other is gradient magnitude.
There are two concepts of dimensions for this container. One is for Image object, and the other is for measurement vector dimension. Only when using ITK Index to access data, the former concept is applicable Otherwise, dimensions means dimensions of measurement vectors.
From the above example, there were two elements in a pixel and each pixel provides [] operator for accessing its elements. However, in many cases, The pixel might be a scalar value such as int or float. In this case, The pixel doesn't support [] operator. To deal with this problem, This class has two companion classes, ScalarAccessor and VectorAccessor. If the pixel type is a scalar type, then you don't have change the third template argument. If you have pixel type is vector one and supports [] operator, then replace third argument with VectorAccessor
Definition at line 65 of file itkImageToListAdaptor.h.
|
frequency value typedef Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 100 of file itkImageToListAdaptor.h. Referenced by itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >::Iterator::GetFrequency(). |
|
Definition at line 82 of file itkImageToListAdaptor.h. |
|
Image typedefs Definition at line 81 of file itkImageToListAdaptor.h. |
|
Definition at line 83 of file itkImageToListAdaptor.h. |
|
Instance Identifier typedef support this identifier will be unique sequential id for each measurement vector in a Sample subclass. Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 87 of file itkImageToListAdaptor.h. Referenced by itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >::Iterator::GetInstanceIdentifier(), and itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >::Iterator::Iterator(). |
|
Image Iterator typedef support Definition at line 90 of file itkImageToListAdaptor.h. |
|
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 99 of file itkImageToListAdaptor.h. |
|
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 102 of file itkImageToListAdaptor.h. Referenced by itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >::Iterator::GetMeasurementVector(). |
|
Definition at line 85 of file itkImageToListAdaptor.h. |
|
Definition at line 91 of file itkImageToListAdaptor.h. |
|
Definition at line 84 of file itkImageToListAdaptor.h. |
|
Reimplemented from itk::Statistics::Sample< TMeasurementVector >. Definition at line 72 of file itkImageToListAdaptor.h. Referenced by itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >::Iterator::Iterator(). |
|
Standard class typedefs Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 70 of file itkImageToListAdaptor.h. |
|
Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 71 of file itkImageToListAdaptor.h. |
|
Definition at line 103 of file itkImageToListAdaptor.h. |
|
|
|
Definition at line 200 of file itkImageToListAdaptor.h. |
|
Definition at line 123 of file itkImageToListAdaptor.h. |
|
Definition at line 129 of file itkImageToListAdaptor.h. |
|
Run-time type information (and related methods). Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >.
|
|
returns the frequency of the instance which is identified by the 'id' Implements itk::Statistics::Sample< TMeasurementVector >.
|
|
Method to get the image |
|
returns the measurement of the instance which is identified by the 'id' Implements itk::Statistics::Sample< TMeasurementVector >.
|
|
returns the total frequency for the 'd' dimension Implements itk::Statistics::Sample< TMeasurementVector >.
|
|
the number of components in a measurement vector |
|
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::Statistics::Sample< TMeasurementVector >.
|
|
Method to set the image |
|
returns the number of measurement vectors in this container Implements itk::Statistics::Sample< TMeasurementVector >.
|
|
Definition at line 205 of file itkImageToListAdaptor.h. |
|
Definition at line 206 of file itkImageToListAdaptor.h. |
|
Definition at line 203 of file itkImageToListAdaptor.h. |
|
Definition at line 204 of file itkImageToListAdaptor.h. |