18#ifndef itkConnectedComponentFunctorImageFilter_h
19#define itkConnectedComponentFunctorImageFilter_h
53template <
typename TInputImage,
typename TOutputImage,
typename TFunctor,
typename TMaskImage = TInputImage>
67 using typename Superclass::InputImagePointer;
78 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
79 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
142#ifdef ITK_USE_CONCEPT_CHECKING
170#ifndef ITK_MANUAL_INSTANTIATION
171# include "itkConnectedComponentFunctorImageFilter.hxx"
A generic connected components filter that labels the objects in an arbitrary image.
ConnectedComponentFunctorImageFilter(const Self &)
~ConnectedComponentFunctorImageFilter() override=default
typename TOutputImage::InternalPixelType OutputInternalPixelType
typename TMaskImage::PixelType MaskPixelType
FunctorType & GetFunctor()
typename MaskImageType::Pointer MaskImagePointer
typename TInputImage::InternalPixelType InputInternalPixelType
void GenerateData() override
ConnectedComponentFunctorImageFilter()=default
std::list< IndexType > ListType
const FunctorType & GetFunctor() const
void SetFunctor(const FunctorType &functor)
Label the objects in a binary image.
Base class for all process objects that output image data.
TOutputImage OutputImageType
TInputImage InputImageType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename TInputImage::IndexType IndexType
typename TInputImage::SizeType SizeType
OutputRegionType RegionType
typename TInputImage::PixelType InputPixelType
typename TOutputImage::PixelType OutputPixelType
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
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....