18#ifndef itkBlackTopHatImageFilter_h
19#define itkBlackTopHatImageFilter_h
42template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
70 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
71 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
75#if !defined(ITK_LEGACY_REMOVE)
80 static constexpr AlgorithmType BASIC = AlgorithmEnum::BASIC;
81 static constexpr AlgorithmType HISTO = AlgorithmEnum::HISTO;
82 static constexpr AlgorithmType ANCHOR = AlgorithmEnum::ANCHOR;
83 static constexpr AlgorithmType VHGW = AlgorithmEnum::VHGW;
94 itkSetMacro(SafeBorder,
bool);
95 itkGetConstReferenceMacro(SafeBorder,
bool);
96 itkBooleanMacro(SafeBorder);
104 itkSetMacro(ForceAlgorithm,
bool);
105 itkGetConstReferenceMacro(ForceAlgorithm,
bool);
106 itkBooleanMacro(ForceAlgorithm);
122 bool m_ForceAlgorithm{};
126#ifndef ITK_MANUAL_INSTANTIATION
127# include "itkBlackTopHatImageFilter.hxx"
Algorithm or implementation used in the dilation/erosion operations.
Black top hat extracts local minima that are smaller than the structuring element.
void PrintSelf(std::ostream &os, Indent indent) const override
typename OutputImageType::ConstPointer OutputImageConstPointer
~BlackTopHatImageFilter() override=default
void GenerateData() override
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
TInputImage InputImageType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
A base class for all the filters working on an arbitrary shaped neighborhood.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....