ITK
4.3.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.
Classes | |
class | ConstIterator |
Const Iterator. More... | |
class | Iterator |
Iterator. More... | |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType > | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | MeasurementVectorSize = ImageJointDomainTraitsType::Dimension |
static const unsigned int | RangeDomainDimension = itk::PixelTraits< typename TImage::PixelType >::Dimension |
Protected Member Functions | |
JointDomainImageToListSampleAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~JointDomainImageToListSampleAdaptor () |
Protected Member Functions inherited from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType > | |
ListSample () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ListSample () |
Protected Member Functions inherited from itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType > | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Sample () | |
virtual | ~Sample () |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
JointDomainImageToListSampleAdaptor (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef Superclass::AbsoluteFrequencyType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::AbsoluteFrequencyType |
typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value
Definition at line 127 of file itkJointDomainImageToListSampleAdaptor.h.
typedef SmartPointer< const Self > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ConstPointer |
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 |
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 |
Definition at line 108 of file itkJointDomainImageToListSampleAdaptor.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::MeasurementVectorSizeType |
Definition at line 123 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ImageJointDomainTraitsType::MeasurementVectorType itk::Statistics::JointDomainImageToListSampleAdaptor< 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 |
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
Definition at line 97 of file itkJointDomainImageToListSampleAdaptor.h.
typedef ListSample< typename ImageJointDomainTraits< TImage >::MeasurementVectorType > itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Superclass |
Definition at line 100 of file itkJointDomainImageToListSampleAdaptor.h.
typedef Superclass::TotalAbsoluteFrequencyType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::TotalAbsoluteFrequencyType |
Definition at line 128 of file itkJointDomainImageToListSampleAdaptor.h.
typedef MeasurementVectorType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ValueType |
Definition at line 143 of file itkJointDomainImageToListSampleAdaptor.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 334 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 301 of file itkJointDomainImageToListSampleAdaptor.h.
Referenced by itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ConstIterator::ConstIterator().
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 317 of file itkJointDomainImageToListSampleAdaptor.h.
|
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::Object.
|
inline |
returns an iterator that points to the end of the container
Definition at line 309 of file itkJointDomainImageToListSampleAdaptor.h.
|
inline |
returns an iterator that points to the end of the container
Definition at line 325 of file itkJointDomainImageToListSampleAdaptor.h.
AbsoluteFrequencyType itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::GetFrequency | ( | InstanceIdentifier | id | ) | const |
Get frequency
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.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
|
virtual |
Get total frequency
Implements itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
|
virtual |
Method to set UsePixelContainer flag
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
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::DataObject.
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 |
Method to set UsePixelContainer flag
|
virtual |
returns the number of measurement vectors in this container
Implements itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
|
virtual |
Method to set UsePixelContainer flag
|
virtual |
Method to set UsePixelContainer flag
|
private |
Definition at line 346 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
Definition at line 341 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
Definition at line 349 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 344 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 343 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 345 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 342 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
Definition at line 347 of file itkJointDomainImageToListSampleAdaptor.h.
|
static |
the number of components in a measurement vector
Definition at line 121 of file itkJointDomainImageToListSampleAdaptor.h.
|
static |
Definition at line 161 of file itkJointDomainImageToListSampleAdaptor.h.