18#ifndef itkAreaClosingImageFilter_h
19#define itkAreaClosingImageFilter_h
45template <
typename TInputImage,
46 typename TOutputImage,
47 typename TAttribute =
typename TInputImage::SpacingType::ValueType>
52 std::less<typename TInputImage::PixelType>>
62 std::less<typename TInputImage::PixelType>>;
91 itkSetMacro(UseImageSpacing,
bool);
92 itkGetConstReferenceMacro(UseImageSpacing,
bool);
93 itkBooleanMacro(UseImageSpacing);
107 const auto & spacing = this->
GetInput()->GetSpacing();
127 itkPrintSelfBooleanMacro(UseImageSpacing);
Morphological closing by attributes.
~AreaClosingImageFilter() override=default
typename TInputImage::IndexType IndexType
typename TInputImage::InternalPixelType InputInternalPixelType
typename TInputImage::SizeType SizeType
static constexpr unsigned int ImageDimension
typename TOutputImage::PixelType OutputPixelType
void GenerateData() override
typename TInputImage::OffsetType OffsetType
typename TOutputImage::InternalPixelType OutputInternalPixelType
typename TInputImage::PixelType InputPixelType
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....