ITK
5.0.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 88 of file itkJointDomainImageToListSampleAdaptor.h.
Classes | |
class | ConstIterator |
class | Iterator |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static void | SetGlobalReleaseDataFlag (bool val) |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | MeasurementVectorSize = ImageJointDomainTraitsType::Dimension |
static constexpr unsigned int | RangeDomainDimension = itk::PixelTraits< typename TImage::PixelType >::Dimension |
Protected Member Functions | |
JointDomainImageToListSampleAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~JointDomainImageToListSampleAdaptor () override=default | |
Protected Member Functions inherited from itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType > | |
ListSample ()=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ListSample () override=default | |
Protected Member Functions inherited from itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType > | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Sample () | |
~Sample () override=default | |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
~Object () override | |
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 () |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::AbsoluteFrequencyType = typename Superclass::AbsoluteFrequencyType |
type alias for Measurement vector, measurement, Instance Identifier, frequency, size, size element value
Definition at line 124 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ConstPointer = SmartPointer< const Self > |
Definition at line 101 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::CoordinateRepType = typename ImageJointDomainTraitsType::CoordinateRepType |
Definition at line 109 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageConstIteratorType = ImageRegionConstIterator< ImageType > |
Definition at line 131 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageConstPointer = typename ImageType::ConstPointer |
Definition at line 134 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageIndexType = typename ImageType::IndexType |
Definition at line 137 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageIteratorType = ImageRegionIterator< ImageType > |
Definition at line 130 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageJointDomainTraitsType = ImageJointDomainTraits< TImage > |
Definition at line 103 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImagePointer = typename ImageType::Pointer |
Definition at line 133 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageRegionType = typename ImageType::RegionType |
Definition at line 139 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageSizeType = typename ImageType::SizeType |
Definition at line 138 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageType = TImage |
Image type alias
Definition at line 129 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::InstanceIdentifier = typename Superclass::InstanceIdentifier |
Definition at line 126 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::InstanceIdentifierVectorType = std::vector< InstanceIdentifier > |
Definition at line 162 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::MeasurementType = typename ImageJointDomainTraitsType::MeasurementType |
Definition at line 106 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::MeasurementVectorSizeType = typename Superclass::MeasurementVectorSizeType |
Definition at line 120 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::MeasurementVectorType = typename ImageJointDomainTraitsType::MeasurementVectorType |
Definition at line 105 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::NormalizationFactorsType = FixedArray< float, Self::MeasurementVectorSize > |
Definition at line 163 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::PixelContainerConstPointer = typename ImageType::PixelContainerConstPointer |
Definition at line 136 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::PixelType = typename ImageType::PixelType |
Definition at line 135 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Pointer = SmartPointer< Self > |
Definition at line 100 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::PointType = typename ImageJointDomainTraitsType::PointType |
Definition at line 108 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::RangeDomainMeasurementType = typename ImageJointDomainTraitsType::RangeDomainMeasurementType |
Definition at line 107 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::RangeDomainMeasurementVectorType = FixedArray< RangeDomainMeasurementType, Self::RangeDomainDimension > |
Definition at line 160 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Self = JointDomainImageToListSampleAdaptor |
Standard class type aliases
Definition at line 95 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Superclass = ListSample< typename ImageJointDomainTraits< TImage >::MeasurementVectorType > |
Definition at line 98 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::TotalAbsoluteFrequencyType = typename Superclass::TotalAbsoluteFrequencyType |
Definition at line 125 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ValueType = MeasurementVectorType |
Definition at line 140 of file itkJointDomainImageToListSampleAdaptor.h.
|
protected |
|
overrideprotecteddefault |
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 295 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 311 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 303 of file itkJointDomainImageToListSampleAdaptor.h.
|
inline |
returns an iterator that points to the end of the container
Definition at line 319 of file itkJointDomainImageToListSampleAdaptor.h.
|
override |
Get frequency
const TImage* itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::GetImage | ( | ) | const |
Method to get the image
|
override |
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 >.
|
overridevirtual |
Get total frequency
Implements itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
|
virtual |
Method to set UsePixelContainer flag
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
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
|
overridevirtual |
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 337 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
Definition at line 332 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
Definition at line 340 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 335 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 334 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 336 of file itkJointDomainImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 333 of file itkJointDomainImageToListSampleAdaptor.h.
|
private |
Definition at line 338 of file itkJointDomainImageToListSampleAdaptor.h.
|
static |
the number of components in a measurement vector
Definition at line 118 of file itkJointDomainImageToListSampleAdaptor.h.
|
static |
Definition at line 157 of file itkJointDomainImageToListSampleAdaptor.h.