ITK
6.0.0
Insight 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 coordinates).
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 because the physical coordinate value type is float. Since the measurement 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 Pointer | New () |
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 val) |
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 &timeStamp) |
~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 >::ConstPointer = SmartPointer<const Self> |
Definition at line 100 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::CoordinateRepType = typename ImageJointDomainTraitsType::CoordinateRepType |
Definition at line 108 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageConstIteratorType = ImageRegionConstIterator<ImageType> |
Definition at line 130 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageConstPointer = typename ImageType::ConstPointer |
Definition at line 133 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageIndexType = typename ImageType::IndexType |
Definition at line 136 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageIteratorType = ImageRegionIterator<ImageType> |
Definition at line 129 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageJointDomainTraitsType = ImageJointDomainTraits<TImage> |
Definition at line 102 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImagePointer = typename ImageType::Pointer |
Definition at line 132 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageRegionType = typename ImageType::RegionType |
Definition at line 138 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageSizeType = typename ImageType::SizeType |
Definition at line 137 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ImageType = TImage |
Image type alias
Definition at line 128 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::InstanceIdentifierVectorType = std::vector<InstanceIdentifier> |
Definition at line 165 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::MeasurementType = typename ImageJointDomainTraitsType::MeasurementType |
Definition at line 105 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::MeasurementVectorType = typename ImageJointDomainTraitsType::MeasurementVectorType |
Definition at line 104 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::NormalizationFactorsType = FixedArray<float, Self::MeasurementVectorSize> |
Definition at line 166 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::PixelContainerConstPointer = typename ImageType::PixelContainerConstPointer |
Definition at line 135 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::PixelType = typename ImageType::PixelType |
Definition at line 134 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::Pointer = SmartPointer<Self> |
Definition at line 99 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::PointType = typename ImageJointDomainTraitsType::PointType |
Definition at line 107 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::RangeDomainMeasurementType = typename ImageJointDomainTraitsType::RangeDomainMeasurementType |
Definition at line 106 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::RangeDomainMeasurementVectorType = FixedArray<RangeDomainMeasurementType, Self::RangeDomainDimension> |
Definition at line 163 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 97 of file itkJointDomainImageToListSampleAdaptor.h.
using itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::ValueType = MeasurementVectorType |
Definition at line 139 of file itkJointDomainImageToListSampleAdaptor.h.
|
protected |
|
overrideprotecteddefault |
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 297 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 315 of file itkJointDomainImageToListSampleAdaptor.h.
|
inline |
returns an iterator that points to the end of the container
Definition at line 306 of file itkJointDomainImageToListSampleAdaptor.h.
|
inline |
returns an iterator that points to the end of the container
Definition at line 324 of file itkJointDomainImageToListSampleAdaptor.h.
|
overridevirtual |
Get frequency
Implements itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
const TImage* itk::Statistics::JointDomainImageToListSampleAdaptor< TImage >::GetImage | ( | ) | const |
Method to get the image
|
overridevirtual |
Gets the measurement vector specified by the instance identifier. This method overrides superclass method.
Implements itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >.
|
overridevirtual |
Reimplemented from itk::DataObject.
|
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
|
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.
|
staticconstexpr |
the number of components in a measurement vector
Definition at line 117 of file itkJointDomainImageToListSampleAdaptor.h.
|
staticconstexpr |
Definition at line 161 of file itkJointDomainImageToListSampleAdaptor.h.