ITK
5.2.0
Insight Toolkit
|
#include <itkImageToListSampleFilter.h>
Static Public Member Functions | |
static Pointer | New () |
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 () |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
MaskPixelType | m_MaskValue |
virtual void | SetMaskValue (MaskPixelType _arg) |
virtual MaskPixelType | GetMaskValue () const |
ImageToListSampleFilter () | |
~ImageToListSampleFilter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
void | GenerateData () override |
void | GenerateInputRequestedRegion () override |
void | GenerateOutputInformation () override |
The class takes an image as input and generates a list sample as output.
There are differences between this class and ImageToListSampleAdaptor. This class is not an adaptor. It creates a new list sample and does not provide a pseudo interface to the actual image to make it look like a list sample.
The class optionally allows you to specify a mask image as an input. The list sample (if a mask is specified) is constructed from pixels that are within the mask
Definition at line 56 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 65 of file itkImageToListSampleFilter.h.
|
protected |
Standard itk::ProcessObject subclass method.
Definition at line 129 of file itkImageToListSampleFilter.h.
|
protected |
Standard itk::ProcessObject subclass method.
Definition at line 130 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::ImageConstPointer = typename ImageType::ConstPointer |
Definition at line 76 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::ImagePointer = typename ImageType::Pointer |
Definition at line 75 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::ImageType = TImage |
Image type alias
Definition at line 74 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::ListSampleType = ListSample<MeasurementVectorType> |
Type of the output list sample
Definition at line 87 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::MaskImageConstPointer = typename MaskImageType::ConstPointer |
Definition at line 83 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::MaskImagePointer = typename MaskImageType::Pointer |
Definition at line 82 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::MaskImageType = TMaskImage |
Mask Image type alias
Definition at line 81 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::MaskPixelType = typename MaskImageType::PixelType |
Definition at line 84 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::MeasurementVectorType = typename MeasurementVectorPixelTraits<PixelType>::MeasurementVectorType |
Definition at line 78 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::PixelType = typename ImageType::PixelType |
Definition at line 77 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::Pointer = SmartPointer<Self> |
Definition at line 64 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::Self = ImageToListSampleFilter |
Standard class type aliases
Definition at line 62 of file itkImageToListSampleFilter.h.
using itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::Superclass = ProcessObject |
Definition at line 63 of file itkImageToListSampleFilter.h.
|
protected |
Standard itk::ProcessObject subclass method.
|
overrideprotecteddefault |
Standard itk::ProcessObject subclass method.
|
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.
|
overrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
This method ensures that a mask image if specified has requested regions that at least contain the input image's buffered region.
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
Standard itk::ProcessObject subclass method.
Reimplemented from itk::ProcessObject.
const ImageType* itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::GetInput | ( | ) | const |
const MaskImageType* itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::GetMaskImage | ( | ) | const |
|
virtual |
Standard itk::ProcessObject subclass method.
unsigned int itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::GetMeasurementVectorSize | ( | ) | const |
return the number of components of the input image
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ProcessObject.
const ListSampleType* itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::GetOutput | ( | ) | const |
Method to get the list sample, the generated output. Note that this does not invoke Update(). You should have called update on this class to get any meaningful output.
|
overrideprotectedvirtual |
Standard itk::ProcessObject subclass method.
Reimplemented from itk::ProcessObject.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Standard itk::ProcessObject subclass method.
Reimplemented from itk::ProcessObject.
void itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::SetInput | ( | const ImageType * | image | ) |
void itk::Statistics::ImageToListSampleFilter< TImage, TMaskImage >::SetMaskImage | ( | const MaskImageType * | image | ) |
Method to set/get the mask
|
virtual |
Set the pixel value treated as on in the mask. If a mask has been specified, only pixels with this value will be added to the list sample, if no mask has been specified all pixels will be added as measurement vectors to the list sample.
|
private |
Standard itk::ProcessObject subclass method.
Definition at line 148 of file itkImageToListSampleFilter.h.