#include <itkScalarImageToListAdaptor.h>
Inheritance diagram for itk::Statistics::ScalarImageToListAdaptor< TImage >:
Public Types | |
typedef FixedArray< typename TImage::PixelType, 1 > | MeasurementVectorType |
typedef ScalarImageToListAdaptor | Self |
typedef ImageToListAdaptor< TImage, MeasurementVectorType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::FrequencyType | FrequencyType |
typedef Superclass::MeasurementType | MeasurementType |
typedef Superclass::InstanceIdentifier | InstanceIdentifier |
typedef MeasurementVectorType | ValueType |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (MeasurementVectorSize, unsigned int, 1) | |
const MeasurementVectorType & | GetMeasurementVector (const InstanceIdentifier &id) const |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
ScalarImageToListAdaptor () | |
virtual | ~ScalarImageToListAdaptor () |
void | PrintSelf (std::ostream &os, Indent indent) const |
After calling SetImage(Image::Pointer) 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 63 of file itkScalarImageToListAdaptor.h.
|
Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. Definition at line 75 of file itkScalarImageToListAdaptor.h. |
|
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. Definition at line 88 of file itkScalarImageToListAdaptor.h. |
|
Instance Identifier typedef support this identifier will be unique sequential id for each measurement vector in a Sample subclass. Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. Definition at line 90 of file itkScalarImageToListAdaptor.h. |
|
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. Definition at line 89 of file itkScalarImageToListAdaptor.h. |
|
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. Definition at line 69 of file itkScalarImageToListAdaptor.h. |
|
Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. Definition at line 74 of file itkScalarImageToListAdaptor.h. |
|
Standard class typedefs Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. Definition at line 72 of file itkScalarImageToListAdaptor.h. |
|
Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. Definition at line 73 of file itkScalarImageToListAdaptor.h. |
|
Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. Definition at line 91 of file itkScalarImageToListAdaptor.h. |
|
Definition at line 96 of file itkScalarImageToListAdaptor.h. |
|
Definition at line 97 of file itkScalarImageToListAdaptor.h. |
|
Run-time type information (and related methods). Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. |
|
returns the measurement of the instance which is identified by the 'id' Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. |
|
the number of components in a measurement vector |
|
Method for creation through the object factory. Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. |
|
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::ImageToListAdaptor< TImage, FixedArray< TImage::PixelType, 1 > >. |