|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkBinaryMorphologyImageFilter_h
19 #define itkBinaryMorphologyImageFilter_h
102 template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
110 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
111 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
114 static constexpr
unsigned int KernelDimension = TKernel::NeighborhoodDimension;
177 itkSetMacro(BoundaryToForeground,
bool);
178 itkGetConstReferenceMacro(BoundaryToForeground,
bool);
179 itkBooleanMacro(BoundaryToForeground);
184 SetKernel(
const KernelType & kernel)
override;
190 PrintSelf(std::ostream & os,
Indent indent)
const override;
214 return m_KernelDifferenceSets[code];
219 ComponentVectorConstIterator
222 return m_KernelCCVector.begin();
227 ComponentVectorConstIterator
230 return m_KernelCCVector.end();
252 #ifndef ITK_MANUAL_INSTANTIATION
253 # include "itkBinaryMorphologyImageFilter.hxx"
std::vector< OffsetType > m_KernelCCVector
typename KernelType::ConstIterator KernelIteratorType
typename TOutputImage::PixelType OutputPixelType
ComponentVectorConstIterator KernelCCVectorBegin()
std::vector< OffsetType > ComponentVectorType
ImageBaseType::SizeType SizeType
Control indentation during Print() invocation.
OutputPixelType m_BackgroundValue
typename TInputImage::OffsetType OffsetType
NeighborIndexContainerContainer m_KernelDifferenceSets
ImageBaseType::IndexType IndexType
Base class for filters that take an image as input and produce an image as output.
Base class for all process objects that output image data.
typename TInputImage::PixelType InputPixelType
typename TInputImage::IndexType IndexType
typename InputImageType::SizeType InputSizeType
typename InputImageType::IndexValueType IndexValueType
ImageBaseType::RegionType RegionType
typename ComponentVectorType::const_iterator ComponentVectorConstIterator
TInputImage InputImageType
typename InputImageType::SizeValueType InputSizeValueType
Define additional traits for native types such as int or float.
NeighborIndexContainer & GetDifferenceSet(unsigned int code)
typename OutputImageType::RegionType OutputImageRegionType
std::vector< OffsetType > NeighborIndexContainer
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
bool m_BoundaryToForeground
signed long IndexValueType
ComponentVectorConstIterator KernelCCVectorEnd()
A base class for all the filters working on an arbitrary shaped neighborhood.
InputPixelType m_ForegroundValue
typename InputImageType::RegionType InputImageRegionType
Base class for fast binary dilation and erosion.
typename NumericTraits< InputPixelType >::RealType InputRealType
unsigned long SizeValueType
TOutputImage OutputImageType
std::vector< NeighborIndexContainer > NeighborIndexContainerContainer