18#ifndef itkAreaOpeningImageFilter_h
19#define itkAreaOpeningImageFilter_h
47template <
typename TInputImage,
48 typename TOutputImage,
49 typename TAttribute =
typename TInputImage::SpacingType::ValueType>
54 std::greater<typename TInputImage::PixelType>>
64 std::greater<typename TInputImage::PixelType>>;
93 itkSetMacro(UseImageSpacing,
bool);
94 itkGetConstReferenceMacro(UseImageSpacing,
bool);
95 itkBooleanMacro(UseImageSpacing);
109 const auto & spacing = this->
GetInput()->GetSpacing();
129 itkPrintSelfBooleanMacro(UseImageSpacing);
Morphological opening by attributes.
typename TInputImage::InternalPixelType InputInternalPixelType
void GenerateData() override
typename TInputImage::IndexType IndexType
typename TInputImage::OffsetType OffsetType
typename TInputImage::PixelType InputPixelType
static constexpr unsigned int ImageDimension
~AreaOpeningImageFilter() override=default
typename TInputImage::SizeType SizeType
typename TOutputImage::InternalPixelType OutputInternalPixelType
typename TOutputImage::PixelType OutputPixelType
void PrintSelf(std::ostream &os, Indent indent) const override
Morphological opening by attributes.
void GenerateData() override
AttributeType m_AttributeValuePerPixel
void PrintSelf(std::ostream &os, Indent indent) const override
Base class for all process objects that output image data.
const InputImageType * GetInput() const
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....