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>

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 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 ImageRegionIteratorWithIndex<
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 * GetClassName () const
 itkStaticConstMacro (MeasurementVectorSize, unsigned int, ImageJointDomainTraitsType::Dimension)
 itkStaticConstMacro (RangeDomainDimension, unsigned int, itk::PixelTraits< typename TImage::PixelType >::Dimension)
void SetNormalizationFactors (NormalizationFactorsType &factors)
MeasurementVectorType GetMeasurementVector (const InstanceIdentifier &id)
void ComputeRegion (const MeasurementVectorType &mv, const double radius, ImageRegionType &region)
void Search (const MeasurementVectorType &mv, const double radius, InstanceIdentifierVectorType &result)

Static Public Member Functions

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 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 Definition at line 125 of file itkJointDomainImageToListAdaptor.h.

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

Definition at line 128 of file itkJointDomainImageToListAdaptor.h.

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

Definition at line 129 of file itkJointDomainImageToListAdaptor.h.

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

Definition at line 132 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 131 of file itkJointDomainImageToListAdaptor.h.

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

Definition at line 130 of file itkJointDomainImageToListAdaptor.h.

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

Definition at line 126 of file itkJointDomainImageToListAdaptor.h.

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

Definition at line 145 of file itkJointDomainImageToListAdaptor.h.

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

Definition at line 100 of file itkJointDomainImageToListAdaptor.h.

template<class TImage>
typedef ImageJointDomainTraitsType::MeasurementVectorType itk::Statistics::JointDomainImageToListAdaptor< 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 148 of file itkJointDomainImageToListAdaptor.h.

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

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 143 of file itkJointDomainImageToListAdaptor.h.

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

Standard class typedefs Definition at line 107 of file itkJointDomainImageToListAdaptor.h.

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

Definition at line 109 of file itkJointDomainImageToListAdaptor.h.

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

Definition at line 134 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 172 of file itkJointDomainImageToListAdaptor.h.


Member Function Documentation

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

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

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

Run-time type information (and related methods).

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

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

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>
Pointer itk::Statistics::JointDomainImageToListAdaptor< TImage >::New  )  [static]
 

Method for creation through the object factory.

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

template<class TImage>
void itk::Statistics::JointDomainImageToListAdaptor< TImage >::Search const MeasurementVectorType mv,
const double  radius,
InstanceIdentifierVectorType result
[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>
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 Sat Mar 31 03:13:30 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000