ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkJointDomainImageToListSampleAdaptor.h>
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 ListSample class. 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.
Definition at line 91 of file itkJointDomainImageToListSampleAdaptor.h.
typedef Superclass::AbsoluteFrequencyType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::AbsoluteFrequencyType |
typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 127 of file itkJointDomainImageToListSampleAdaptor.h.
typedef SmartPointer< const Self > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ConstPointer |
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 103 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageJointDomainTraitsType::CoordinateRepType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::CoordinateRepType |
Definition at line 111 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageRegionConstIterator< ImageType > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageConstIteratorType |
Definition at line 134 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageType::ConstPointer itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageConstPointer |
Definition at line 137 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageType::IndexType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageIndexType |
Definition at line 140 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageRegionIterator< ImageType > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageIteratorType |
Definition at line 133 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageJointDomainTraits< TImage > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageJointDomainTraitsType |
Definition at line 105 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageType::Pointer itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImagePointer |
Definition at line 136 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageType::RegionType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageRegionType |
Definition at line 142 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageType::SizeType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageSizeType |
Definition at line 141 of file itkJointDomainImageToListSampleAdaptor.h.
typedef TImage itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageType |
Image typedefs
Definition at line 132 of file itkJointDomainImageToListSampleAdaptor.h.
typedef Superclass::InstanceIdentifier itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::InstanceIdentifier |
InstanceIdentifier typedef. This identifier is a unique sequential id for each measurement vector in a Sample subclass.
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 129 of file itkJointDomainImageToListSampleAdaptor.h.
typedef std::vector< InstanceIdentifier > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::InstanceIdentifierVectorType |
Definition at line 166 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageJointDomainTraitsType::MeasurementType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::MeasurementType |
ValueType of a measurement (ValueType of a component of the MeasurementVector
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 108 of file itkJointDomainImageToListSampleAdaptor.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::MeasurementVectorSizeType |
Typedef for the length of each measurement vector
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 123 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageJointDomainTraitsType::MeasurementVectorType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::MeasurementVectorType |
Typedefs inherited from the superclass
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 107 of file itkJointDomainImageToListSampleAdaptor.h.
typedef FixedArray< float, itkGetStaticConstMacro(MeasurementVectorSize) > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::NormalizationFactorsType |
Definition at line 167 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageType::PixelContainerConstPointer itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::PixelContainerConstPointer |
Definition at line 139 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageType::PixelType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::PixelType |
Definition at line 138 of file itkJointDomainImageToListSampleAdaptor.h.
typedef SmartPointer< Self > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Pointer |
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 102 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageJointDomainTraitsType::PointType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::PointType |
Definition at line 110 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageJointDomainTraitsType::RangeDomainMeasurementType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::RangeDomainMeasurementType |
Definition at line 109 of file itkJointDomainImageToListSampleAdaptor.h.
typedef FixedArray< RangeDomainMeasurementType, itkGetStaticConstMacro(RangeDomainDimension) > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::RangeDomainMeasurementVectorType |
Definition at line 164 of file itkJointDomainImageToListSampleAdaptor.h.
typedef JointDomainImageToListSampleAdaptor itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Self |
Standard class typedefs
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 97 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ListSample< typename ImageJointDomainTraits< TImage >::MeasurementVectorType > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Superclass |
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 100 of file itkJointDomainImageToListSampleAdaptor.h.
typedef Superclass::TotalAbsoluteFrequencyType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::TotalAbsoluteFrequencyType |
Total frequency type
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 128 of file itkJointDomainImageToListSampleAdaptor.h.
typedef MeasurementVectorType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ValueType |
Value type of a measurement (component of the measurement vector)
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 143 of file itkJointDomainImageToListSampleAdaptor.h.
itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::JointDomainImageToListSampleAdaptor | ( | ) | [protected] |
virtual itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::~JointDomainImageToListSampleAdaptor | ( | ) | [inline, protected, virtual] |
Definition at line 331 of file itkJointDomainImageToListSampleAdaptor.h.
itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::JointDomainImageToListSampleAdaptor | ( | const Self & | ) | [private] |
Iterator itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Begin | ( | void | ) | [inline] |
returns an iterator that points to the beginning of the container
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 298 of file itkJointDomainImageToListSampleAdaptor.h.
Referenced by itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ConstIterator::ConstIterator().
ConstIterator itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Begin | ( | void | ) | const [inline] |
returns an iterator that points to the beginning of the container
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 314 of file itkJointDomainImageToListSampleAdaptor.h.
virtual::itk::LightObject::Pointer itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Iterator itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::End | ( | void | ) | [inline] |
returns an iterator that points to the end of the container
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 306 of file itkJointDomainImageToListSampleAdaptor.h.
ConstIterator itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::End | ( | void | ) | const [inline] |
returns an iterator that points to the end of the container
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
Definition at line 322 of file itkJointDomainImageToListSampleAdaptor.h.
AbsoluteFrequencyType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::GetFrequency | ( | InstanceIdentifier | id | ) | const |
Get frequency
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
const TImage* itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::GetImage | ( | ) | const |
Method to get the image
const MeasurementVectorType& itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::GetMeasurementVector | ( | InstanceIdentifier | id | ) | const |
Gets the measurement vector specified by the instance identifier. This method overrides superclass method.
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
virtual const char* itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
TotalAbsoluteFrequencyType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::GetTotalFrequency | ( | ) | const [virtual] |
Get total frequency
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
virtual bool itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::GetUsePixelContainer | ( | ) | const [virtual] |
Method to set UsePixelContainer flag
static Pointer itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
void itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::operator= | ( | const Self & | ) | [private] |
void itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Method for grafting the content of one data object into another one. This method is intended to be overloaded by derived classes. Each one of them should use dynamic_casting in order to verify that the grafted object is actually of the same type as the class on which the Graft() method was invoked.
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
void itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::SetImage | ( | const TImage * | image | ) |
Method to set the image
void itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::SetNormalizationFactors | ( | NormalizationFactorsType & | factors | ) |
Sets the normalization factors
virtual void itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::SetUsePixelContainer | ( | bool | _arg | ) | [virtual] |
Method to set UsePixelContainer flag
InstanceIdentifier itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Size | ( | ) | const [virtual] |
returns the number of measurement vectors in this container
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
virtual void itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::UsePixelContainerOff | ( | ) | [virtual] |
Method to set UsePixelContainer flag
virtual void itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::UsePixelContainerOn | ( | ) | [virtual] |
Method to set UsePixelContainer flag
ImageConstPointer itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::m_Image [private] |
Definition at line 343 of file itkJointDomainImageToListSampleAdaptor.h.
NormalizationFactorsType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::m_NormalizationFactors [private] |
Definition at line 338 of file itkJointDomainImageToListSampleAdaptor.h.
PixelContainerConstPointer itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::m_PixelContainer [private] |
Definition at line 346 of file itkJointDomainImageToListSampleAdaptor.h.
ImageIndexType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::m_TempIndex [mutable, private] |
Definition at line 341 of file itkJointDomainImageToListSampleAdaptor.h.
PointType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::m_TempPoint [mutable, private] |
Definition at line 340 of file itkJointDomainImageToListSampleAdaptor.h.
RangeDomainMeasurementVectorType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::m_TempRangeVector [mutable, private] |
Definition at line 342 of file itkJointDomainImageToListSampleAdaptor.h.
MeasurementVectorType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::m_TempVector [mutable, private] |
Definition at line 339 of file itkJointDomainImageToListSampleAdaptor.h.
bool itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::m_UsePixelContainer [private] |
Definition at line 344 of file itkJointDomainImageToListSampleAdaptor.h.
const unsigned int itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::MeasurementVectorSize = ImageJointDomainTraitsType::Dimension [static] |
the number of components in a measurement vector
Definition at line 121 of file itkJointDomainImageToListSampleAdaptor.h.
const unsigned int itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::RangeDomainDimension = itk::PixelTraits< typename TImage::PixelType >::Dimension [static] |
Definition at line 161 of file itkJointDomainImageToListSampleAdaptor.h.