Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::JointDomainImageToListAdaptor< TImage > Class Template Reference

This adaptor returns measurement vectors composed of an image pixel's range domain value (pixel value) and spatial domain value (pixel's physical coordiantes). More...

#include <itkJointDomainImageToListAdaptor.h>

Inheritance diagram for itk::Statistics::JointDomainImageToListAdaptor< TImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::JointDomainImageToListAdaptor< TImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ImageJointDomainTraits<
TImage
ImageJointDomainTraitsType
typedef ImageJointDomainTraitsType::MeasurementVectorType MeasurementVectorType
typedef ImageJointDomainTraitsType::MeasurementType MeasurementType
typedef ImageJointDomainTraitsType::RangeDomainMeasurementType RangeDomainMeasurementType
typedef ImageJointDomainTraitsType::PointType PointType
typedef ImageJointDomainTraitsType::CoordinateRepType CoordinateRepType
typedef JointDomainImageToListAdaptor Self
typedef ImageToListAdaptor<
TImage, MeasurementVectorType
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
typedef Superclass::FrequencyType FrequencyType
typedef Superclass::InstanceIdentifier InstanceIdentifier
typedef TImage::IndexType ImageIndexType
typedef TImage::IndexType::IndexValueType ImageIndexValueType
typedef TImage::SizeType ImageSizeType
typedef TImage::RegionType ImageRegionType
typedef ImageRegionConstIteratorWithIndex<
TImage
ImageIteratorType
typedef MeasurementVectorType ValueType
typedef FixedArray< RangeDomainMeasurementType,
itkGetStaticConstMacro(RangeDomainDimension) > 
RangeDomainMeasurementVectorType
typedef std::vector< InstanceIdentifierInstanceIdentifierVectorType
typedef FixedArray< float,
itkGetStaticConstMacro(MeasurementVectorSize) > 
NormalizationFactorsType

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (MeasurementVectorSize, unsigned int, ImageJointDomainTraitsType::Dimension)
virtual void SetMeasurementVectorSize (const MeasurementVectorSizeType s)
MeasurementVectorSizeType GetMeasurementVectorSize () const
 itkStaticConstMacro (RangeDomainDimension, unsigned int, itk::PixelTraits< typename TImage::PixelType >::Dimension)
void SetNormalizationFactors (NormalizationFactorsType &factors)
const MeasurementVectorTypeGetMeasurementVector (const InstanceIdentifier &id) const
void ComputeRegion (const MeasurementVectorType &mv, const double radius, ImageRegionType &region) const
void Search (const MeasurementVectorType &mv, const double radius, InstanceIdentifierVectorType &result) const

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 JointDomainImageToListAdaptor ()
virtual ~JointDomainImageToListAdaptor ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TImage>
class itk::Statistics::JointDomainImageToListAdaptor< TImage >

This adaptor returns measurement vectors composed of an image pixel's range domain value (pixel value) and spatial domain value (pixel's physical coordiantes).

This class is a derived class of the ImageToListAdaptor. This class overrides the GetMeasurementVector method. The GetMeasurementVector returns a measurement vector that consist of a pixel's physical coordinates and intensity value. For example, if the image dimension is 3, and the pixel value is two component vector, the measurement vector is a 5 component vector. The first three component will be x, y, z physical coordinates (not index) and the rest two component is the pixel values. The type of component is float or which is determined by the ImageJointDomainTraits class. When the pixel value type is double, the component value type of a measurement vector is double. In other case, the component value type is float becase the physical coordinate value type is float. Since the measurment vector is a composition of spatial domain and range domain, for many statistical analysis, we want to normalize the values from both domains. For this purpose, there is the SetNormalizationFactors method. With the above example (5 component measurement vector), you can specify a 5 component normalization factor array. With such factors, the GetMeasurementVector method returns a measurement vector whose each component is divided by the corresponding component of the factor array.

See also:
Sample, ListSampleBase, ImageToListAdaptor

Definition at line 90 of file itkJointDomainImageToListAdaptor.h.


Member Typedef Documentation

template<class TImage>
typedef SmartPointer<const Self> itk::Statistics::JointDomainImageToListAdaptor< TImage >::ConstPointer
 

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 111 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef ImageJointDomainTraitsType::CoordinateRepType itk::Statistics::JointDomainImageToListAdaptor< TImage >::CoordinateRepType
 

Definition at line 105 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef Superclass::FrequencyType itk::Statistics::JointDomainImageToListAdaptor< TImage >::FrequencyType
 

typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 144 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef TImage::IndexType itk::Statistics::JointDomainImageToListAdaptor< TImage >::ImageIndexType
 

Definition at line 147 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef TImage::IndexType::IndexValueType itk::Statistics::JointDomainImageToListAdaptor< TImage >::ImageIndexValueType
 

Definition at line 148 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef ImageRegionConstIteratorWithIndex< TImage > itk::Statistics::JointDomainImageToListAdaptor< TImage >::ImageIteratorType
 

Definition at line 151 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef ImageJointDomainTraits< TImage > itk::Statistics::JointDomainImageToListAdaptor< TImage >::ImageJointDomainTraitsType
 

Definition at line 96 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef TImage::RegionType itk::Statistics::JointDomainImageToListAdaptor< TImage >::ImageRegionType
 

Definition at line 150 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef TImage::SizeType itk::Statistics::JointDomainImageToListAdaptor< TImage >::ImageSizeType
 

Definition at line 149 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef Superclass::InstanceIdentifier itk::Statistics::JointDomainImageToListAdaptor< TImage >::InstanceIdentifier
 

InstanceIdentifier typedef. This identifier is a unique sequential id for each measurement vector in a Sample subclass.

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 145 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef std::vector< InstanceIdentifier > itk::Statistics::JointDomainImageToListAdaptor< TImage >::InstanceIdentifierVectorType
 

Definition at line 164 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef ImageJointDomainTraitsType::MeasurementType itk::Statistics::JointDomainImageToListAdaptor< TImage >::MeasurementType
 

Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 100 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef Superclass::MeasurementVectorSizeType itk::Statistics::JointDomainImageToListAdaptor< TImage >::MeasurementVectorSizeType
 

Typedef for the length of each measurement vector

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 124 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef ImageJointDomainTraitsType::MeasurementVectorType itk::Statistics::JointDomainImageToListAdaptor< TImage >::MeasurementVectorType
 

Typedefs inherited from the superclass

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 98 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef FixedArray< float, itkGetStaticConstMacro(MeasurementVectorSize) > itk::Statistics::JointDomainImageToListAdaptor< TImage >::NormalizationFactorsType
 

Definition at line 167 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef SmartPointer< Self > itk::Statistics::JointDomainImageToListAdaptor< TImage >::Pointer
 

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 110 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef ImageJointDomainTraitsType::PointType itk::Statistics::JointDomainImageToListAdaptor< TImage >::PointType
 

Definition at line 103 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef ImageJointDomainTraitsType::RangeDomainMeasurementType itk::Statistics::JointDomainImageToListAdaptor< TImage >::RangeDomainMeasurementType
 

Definition at line 102 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef FixedArray< RangeDomainMeasurementType, itkGetStaticConstMacro( RangeDomainDimension ) > itk::Statistics::JointDomainImageToListAdaptor< TImage >::RangeDomainMeasurementVectorType
 

Definition at line 162 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef JointDomainImageToListAdaptor itk::Statistics::JointDomainImageToListAdaptor< TImage >::Self
 

Standard class typedefs

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 107 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef ImageToListAdaptor< TImage, MeasurementVectorType > itk::Statistics::JointDomainImageToListAdaptor< TImage >::Superclass
 

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 109 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef MeasurementVectorType itk::Statistics::JointDomainImageToListAdaptor< TImage >::ValueType
 

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 153 of file itkJointDomainImageToListAdaptor.h.


Constructor & Destructor Documentation

template<class TImage>
itk::Statistics::JointDomainImageToListAdaptor< TImage >::JointDomainImageToListAdaptor  )  [protected]
 

template<class TImage>
virtual itk::Statistics::JointDomainImageToListAdaptor< TImage >::~JointDomainImageToListAdaptor  )  [inline, protected, virtual]
 

Definition at line 191 of file itkJointDomainImageToListAdaptor.h.


Member Function Documentation

template<class TImage>
void itk::Statistics::JointDomainImageToListAdaptor< TImage >::ComputeRegion const MeasurementVectorType mv,
const double  radius,
ImageRegionType region
const [inline]
 

Computes the image region (rectangular) that enclose the ball defined by the mv (center) and the radius.

template<class TImage>
const MeasurementVectorType& itk::Statistics::JointDomainImageToListAdaptor< TImage >::GetMeasurementVector const InstanceIdentifier id  )  const [inline, virtual]
 

Gets the measurement vector specified by the instance identifier. This method overrides superclass method.

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

template<class TImage>
MeasurementVectorSizeType itk::Statistics::JointDomainImageToListAdaptor< TImage >::GetMeasurementVectorSize  )  const [inline, virtual]
 

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 137 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
virtual const char* itk::Statistics::JointDomainImageToListAdaptor< TImage >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

template<class TImage>
itk::Statistics::JointDomainImageToListAdaptor< TImage >::itkStaticConstMacro RangeDomainDimension  ,
unsigned  int,
itk::PixelTraits< typename TImage::PixelType >::Dimension 
 

template<class TImage>
itk::Statistics::JointDomainImageToListAdaptor< TImage >::itkStaticConstMacro MeasurementVectorSize  ,
unsigned  int,
ImageJointDomainTraitsType::Dimension 
 

the number of components in a measurement vector

template<class TImage>
static Pointer itk::Statistics::JointDomainImageToListAdaptor< TImage >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

template<class TImage>
void itk::Statistics::JointDomainImageToListAdaptor< TImage >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

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, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

template<class TImage>
void itk::Statistics::JointDomainImageToListAdaptor< TImage >::Search const MeasurementVectorType mv,
const double  radius,
InstanceIdentifierVectorType result
const [inline]
 

Fills he result id vectors with instances that fall within a ball specified by the mv (center) and radius. This method utilizes the ComputRegion

template<class TImage>
virtual void itk::Statistics::JointDomainImageToListAdaptor< TImage >::SetMeasurementVectorSize const MeasurementVectorSizeType  s  )  [inline, virtual]
 

Set/Get macros for the length of the measurement vector

Reimplemented from itk::Statistics::ImageToListAdaptor< TImage, ImageJointDomainTraits< TImage >::MeasurementVectorType >.

Definition at line 126 of file itkJointDomainImageToListAdaptor.h.

References itkExceptionMacro.

template<class TImage>
void itk::Statistics::JointDomainImageToListAdaptor< TImage >::SetNormalizationFactors NormalizationFactorsType factors  ) 
 

Sets the normalization factors


The documentation for this class was generated from the following file:
Generated at Tue Aug 30 17:14:25 2005 for ITK by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2000