28 #ifndef itkScalarConnectedComponentImageFilter_h
29 #define itkScalarConnectedComponentImageFilter_h
52 template<
typename TInput >
74 return !( *
this != other );
87 bool operator()(
const TInput & a,
const TInput & b)
const
90 auto absDifference =
static_cast< TInput
>( itk::Math::abs(
91 static_cast< InputRealType >( a )
92 - static_cast< InputRealType >( b ) ) );
108 template<
typename TInputImage,
typename TOutputImage,
typename TMaskImage = TInputImage >
111 Functor::SimilarPixelsFunctor< typename TInputImage::ValueType >,
120 TInputImage, TOutputImage,
141 #ifdef ITK_USE_CONCEPT_CHECKING
void SetDistanceThreshold(const TInput &thresh)
~SimilarPixelsFunctor()=default
A connected components filter that labels the objects in an arbitrary image. Two pixels are similar i...
Define numeric traits for std::vector.
bool operator!=(const SimilarPixelsFunctor &other) const
virtual InputPixelType GetDistanceThreshold()
A generic connected components filter that labels the objects in an artibitrary image.
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.
~ScalarConnectedComponentImageFilter() override=default
FunctorType & GetFunctor()
bool operator()(const TInput &a, const TInput &b) const
bool operator==(const SimilarPixelsFunctor &other) const
virtual void SetDistanceThreshold(const InputPixelType &thresh)
TInput GetDistanceThreshold()
ScalarConnectedComponentImageFilter()=default
#define itkConceptMacro(name, concept)
typename TInputImage::PixelType InputPixelType