ITK
6.0.0
Insight Toolkit
|
#include <itkImageToListSampleAdaptor.h>
This class provides ListSample interface to ITK Image.
After calling SetImage( const Image * ) method to plug in the image object, users can use Sample interfaces to access Image data. The resulting data are a list of measurement vectors.
The measurement vector type is determined from the image pixel type. This class handles images with scalar, fixed array or variable length vector pixel types.
Definition at line 53 of file itkImageToListSampleAdaptor.h.
Classes | |
class | ConstIterator |
class | Iterator |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::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 () |
Protected Member Functions | |
ImageToListSampleAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ImageToListSampleAdaptor () override=default | |
Protected Member Functions inherited from itk::Statistics::ListSample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType > | |
ListSample ()=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ListSample () override=default | |
Protected Member Functions inherited from itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType > | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Sample () | |
~Sample () override=default | |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | PropagateResetPipeline () |
~DataObject () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
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 | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
ImageConstPointer | m_Image {} |
MeasurementVectorType | m_MeasurementVectorInternal {} |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::Statistics::ImageToListSampleAdaptor< TImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 66 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::ImageConstIteratorType = ImageRegionConstIterator<ImageType> |
Definition at line 84 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::ImageConstPointer = typename ImageType::ConstPointer |
Definition at line 77 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::ImageIteratorType = ImageRegionIterator<ImageType> |
Image Iterator type alias support
Definition at line 83 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::ImagePointer = typename ImageType::Pointer |
Definition at line 76 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::ImageType = TImage |
Image type alias
Definition at line 75 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::IndexType = typename ImageType::IndexType |
Definition at line 78 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::MeasurementPixelTraitsType = MeasurementVectorPixelTraits<PixelType> |
Superclass type alias for Measurement vector, measurement, Instance Identifier, frequency, size, size element value
Definition at line 90 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::MeasurementType = typename MeasurementVectorTraitsType::ValueType |
Definition at line 94 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::MeasurementVectorTraitsType = MeasurementVectorTraitsTypes<MeasurementVectorType> |
Definition at line 93 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::MeasurementVectorType = typename MeasurementPixelTraitsType::MeasurementVectorType |
Definition at line 91 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::PixelContainerConstPointer = typename ImageType::PixelContainerConstPointer |
Definition at line 80 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::PixelTraitsType = PixelTraits<typename TImage::PixelType> |
Definition at line 85 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::PixelType = typename ImageType::PixelType |
Definition at line 79 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::Pointer = SmartPointer<Self> |
Definition at line 65 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::Self = ImageToListSampleAdaptor |
Standard class type aliases
Definition at line 60 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::Superclass = ListSample<typename MeasurementVectorPixelTraits<typename TImage::PixelType>::MeasurementVectorType> |
Definition at line 62 of file itkImageToListSampleAdaptor.h.
using itk::Statistics::ImageToListSampleAdaptor< TImage >::ValueType = MeasurementVectorType |
Definition at line 101 of file itkImageToListSampleAdaptor.h.
|
protected |
|
overrideprotecteddefault |
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 256 of file itkImageToListSampleAdaptor.h.
References itk::ImageRegionConstIterator< TImage >::GoToBegin().
Referenced by itk::Statistics::ImageToListSampleAdaptor< TImage >::ConstIterator::ConstIterator().
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 282 of file itkImageToListSampleAdaptor.h.
References itk::ImageRegionConstIterator< TImage >::GoToBegin().
|
inline |
returns an iterator that points to the end of the container
Definition at line 268 of file itkImageToListSampleAdaptor.h.
References itk::ImageRegionConstIterator< TImage >::GoToEnd().
|
inline |
returns an iterator that points to the end of the container
Definition at line 294 of file itkImageToListSampleAdaptor.h.
References itk::ImageRegionConstIterator< TImage >::GoToEnd().
|
overridevirtual |
method to return frequency for a specified id
Implements itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
const TImage * itk::Statistics::ImageToListSampleAdaptor< TImage >::GetImage | ( | ) | const |
Method to get the image
|
overridevirtual |
method to return measurement vector for a specified id
Implements itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
|
inlineoverridevirtual |
Get method for the length of the measurement vector
Reimplemented from itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
Definition at line 120 of file itkImageToListSampleAdaptor.h.
|
overridevirtual |
Reimplemented from itk::DataObject.
|
overridevirtual |
method to return the total frequency
Implements itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
|
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::ImageToListSampleAdaptor< TImage >::SetImage | ( | const TImage * | image | ) |
Method to set the image
|
overridevirtual |
returns the number of measurement vectors in this container
Implements itk::Statistics::Sample< MeasurementVectorPixelTraits< TImage::PixelType >::MeasurementVectorType >.
|
private |
Definition at line 312 of file itkImageToListSampleAdaptor.h.
|
mutableprivate |
Definition at line 313 of file itkImageToListSampleAdaptor.h.