18 #ifndef itkValuedRegionalExtremaImageFilter_h
19 #define itkValuedRegionalExtremaImageFilter_h
77 template<
typename TInputImage,
typename TOutputImage,
78 typename TFunction1,
typename TFunction2 >
105 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
106 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
120 itkSetMacro(FullyConnected,
bool);
121 itkGetConstReferenceMacro(FullyConnected,
bool);
122 itkBooleanMacro(FullyConnected);
128 itkSetMacro(MarkerValue,
typename TInputImage::PixelType);
129 itkGetConstReferenceMacro(MarkerValue,
typename TInputImage::PixelType);
135 itkGetConstMacro(Flat,
bool);
137 #ifdef ITK_USE_CONCEPT_CHECKING
149 void PrintSelf(std::ostream & os,
Indent indent)
const override;
154 void GenerateInputRequestedRegion()
override;
157 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) )
override;
159 void GenerateData()
override;
164 bool m_FullyConnected{
false };
165 bool m_Flat{
false };
175 #ifndef ITK_MANUAL_INSTANTIATION
176 #include "itkValuedRegionalExtremaImageFilter.hxx"
Uses a flooding algorithm to set all voxels that are not a regional extrema to the max or min of the ...
Const version of ShapedNeighborhoodIterator, defining iteration of a local N-dimensional neighborhood...
typename OutputImageType::Pointer OutputImagePointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
A neighborhood iterator which can take on an arbitrary shape.
TInputImage InputImageType
typename OutputImageType::IndexType OutIndexType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
ImageBaseType::SizeType SizeType
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
TInputImage::PixelType m_MarkerValue
std::stack< OutIndexType > IndexStack
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::IndexType InIndexType
typename OutputImageType::ConstPointer OutputImageConstPointer
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
typename InputImageType::SizeType ISizeType
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
typename InputImageType::ConstPointer InputImageConstPointer
Base class for all data objects in ITK.