18#ifndef itkValuedRegionalExtremaImageFilter_h
19#define itkValuedRegionalExtremaImageFilter_h
76template <
typename TInputImage,
typename TOutputImage,
typename TFunction1,
typename TFunction2>
102 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
103 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
117 itkSetMacro(FullyConnected,
bool);
118 itkGetConstReferenceMacro(FullyConnected,
bool);
119 itkBooleanMacro(FullyConnected);
125 itkSetMacro(MarkerValue,
typename TInputImage::PixelType);
126 itkGetConstReferenceMacro(MarkerValue,
typename TInputImage::PixelType);
132 itkGetConstMacro(Flat,
bool);
134#ifdef ITK_USE_CONCEPT_CHECKING
161 typename TInputImage::PixelType m_MarkerValue{};
163 bool m_FullyConnected{
false };
164 bool m_Flat{
false };
174#ifndef ITK_MANUAL_INSTANTIATION
175# include "itkValuedRegionalExtremaImageFilter.hxx"
Const version of ShapedNeighborhoodIterator, defining iteration of a local N-dimensional neighborhood...
Base class for all data objects in ITK.
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
A neighborhood iterator which can take on an arbitrary shape.
Uses a flooding algorithm to set all voxels that are not a regional extrema to the max or min of the ...
typename OutputImageType::ConstPointer OutputImageConstPointer
void GenerateData() override
typename InputImageType::SizeType ISizeType
void EnlargeOutputRequestedRegion(DataObject *) override
typename OutputImageType::IndexType OutIndexType
ValuedRegionalExtremaImageFilter()
~ValuedRegionalExtremaImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateInputRequestedRegion() override
std::stack< OutIndexType > IndexStack
typename InputImageType::IndexType InIndexType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....