18#ifndef itkWhiteTopHatImageFilter_h
19#define itkWhiteTopHatImageFilter_h
40template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
68 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
69 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
73#if !defined(ITK_LEGACY_REMOVE)
78 static constexpr AlgorithmType BASIC = AlgorithmEnum::BASIC;
79 static constexpr AlgorithmType HISTO = AlgorithmEnum::HISTO;
80 static constexpr AlgorithmType ANCHOR = AlgorithmEnum::ANCHOR;
81 static constexpr AlgorithmType VHGW = AlgorithmEnum::VHGW;
92 itkSetMacro(SafeBorder,
bool);
93 itkGetConstReferenceMacro(SafeBorder,
bool);
94 itkBooleanMacro(SafeBorder);
102 itkSetMacro(ForceAlgorithm,
bool);
103 itkGetConstReferenceMacro(ForceAlgorithm,
bool);
104 itkBooleanMacro(ForceAlgorithm);
120 bool m_ForceAlgorithm{};
124#ifndef ITK_MANUAL_INSTANTIATION
125# include "itkWhiteTopHatImageFilter.hxx"
Algorithm or implementation used in the dilation/erosion operations.
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...
White top hat extracts local maxima that are larger than the structuring element.
void GenerateData() override
~WhiteTopHatImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
typename OutputImageType::ConstPointer OutputImageConstPointer
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....