ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkJointDomainImageToListSampleAdaptor.h>
Classes | |
class | ConstIterator |
Const Iterator
. More... | |
class | Iterator |
Iterator
. More... |
Static Public Member Functions | |
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 () | |
virtual | ~ListSample () |
Protected Member Functions inherited from itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType > | |
Sample () | |
virtual | ~Sample () |
Protected Member Functions inherited from itk::DataObject | |
virtual void | PropagateResetPipeline () |
DataObject () | |
~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 &) |
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.
|
protected |
|
inlineprotectedvirtual |
Definition at line 331 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
|
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().
|
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 |
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 >.
|
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.
|
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 |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
|
virtual |
Get total frequency
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
|
virtual |
Method to set UsePixelContainer flag
|
static |
Method for creation through the object factory.
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
|
private |
|
protectedvirtual |
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 |
Method to set UsePixelContainer flag
|
virtual |
returns the number of measurement vectors in this container
Reimplemented from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
|
virtual |
Method to set UsePixelContainer flag
|
virtual |
Method to set UsePixelContainer flag
|
private |
Definition at line 343 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
Definition at line 338 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
Definition at line 346 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 341 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 340 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 342 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 339 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
Definition at line 344 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.