Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
itk::Statistics::ScalarImageToListAdaptor< TImage > Class Template Reference
This class provides ListSampleBase interfaces to ITK Image.
More...
#include <itkScalarImageToListAdaptor.h>
List of all members.
Detailed Description
template<class TImage>
class itk::Statistics::ScalarImageToListAdaptor< TImage >
This class provides ListSampleBase interfaces to ITK Image.
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
- See also:
- Sample, ListSampleBase
Definition at line 63 of file itkScalarImageToListAdaptor.h.
Member Typedef Documentation
|
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value Definition at line 88 of file itkScalarImageToListAdaptor.h. |
Constructor & Destructor Documentation
Member Function Documentation
|
Run-time type information (and related methods). |
|
the number of components in a measurement vector |
|
Method for creation through the object factory. |
The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:24:45 2007 for ITK by
1.3.8 written by Dimitri van Heesch,
© 1997-2000