18 #ifndef itkImageToListSampleFilter_h 19 #define itkImageToListSampleFilter_h 54 template<
typename TImage,
typename TMaskImage = TImage >
93 void SetInput(
const ImageType *image);
105 const ListSampleType *
GetOutput()
const;
111 itkSetMacro(MaskValue, MaskPixelType);
112 itkGetConstMacro(MaskValue, MaskPixelType);
118 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
124 virtual DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
137 void operator=(const Self &) ITK_DELETE_FUNCTION;
144 #ifndef ITK_MANUAL_INSTANTIATION 145 #include "itkImageToListSampleFilter.hxx" MaskImageType::ConstPointer MaskImageConstPointer
const ImageType * GetInput() const
ImageType::Pointer ImagePointer
virtual void GenerateInputRequestedRegion() override
DataObject::Pointer DataObjectPointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual void GenerateOutputInformation() override
The class takes an image as input and generates a list sample as output.
virtual void PrintSelf(std::ostream &os, Indent indent) const override
MeasurementVectorPixelTraits< PixelType >::MeasurementVectorType MeasurementVectorType
ImageToListSampleFilter Self
ImageToListSampleFilter()
void SetInput(const ImageType *image)
virtual void GenerateData() override
void SetMaskImage(const MaskImageType *image)
MaskPixelType m_MaskValue
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
const MaskImageType * GetMaskImage() const
const ListSampleType * GetOutput() const
unsigned int GetMeasurementVectorSize() const
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
MaskImageType::Pointer MaskImagePointer
SmartPointer< Self > Pointer
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
ImageType::PixelType PixelType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
This class is the native implementation of the a Sample with an STL container.
virtual ~ImageToListSampleFilter()
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
MaskImageType::PixelType MaskPixelType
ImageType::ConstPointer ImageConstPointer
ListSample< MeasurementVectorType > ListSampleType