28 #ifndef itkScalarConnectedComponentImageFilter_h
29 #define itkScalarConnectedComponentImageFilter_h
52 template<
typename TInput >
75 return !( *
this != other );
88 bool operator()(
const TInput & a,
const TInput & b)
const
92 static_cast< InputRealType >( a )
93 - static_cast< InputRealType >( b ) ) );
109 template<
typename TInputImage,
typename TOutputImage,
typename TMaskImage = TInputImage >
112 Functor::SimilarPixelsFunctor< typename TInputImage::ValueType >,
119 TInputImage, TOutputImage,
140 #ifdef ITK_USE_CONCEPT_CHECKING
void SetDistanceThreshold(const TInput &thresh)
ScalarConnectedComponentImageFilter Self
A connected components filter that labels the objects in an arbitrary image. Two pixels are similar i...
ScalarConnectedComponentImageFilter()
bool operator!=(const SimilarPixelsFunctor &other) const
virtual ~ScalarConnectedComponentImageFilter() override
virtual InputPixelType GetDistanceThreshold()
SmartPointer< const Self > ConstPointer
TInputImage::PixelType InputPixelType
A generic connected components filter that labels the objects in an artibitrary image.
Base class for all process objects that output image data.
SmartPointer< Self > Pointer
FunctorType & GetFunctor()
bool operator()(const TInput &a, const TInput &b) const
ConnectedComponentFunctorImageFilter< TInputImage, TOutputImage, Functor::SimilarPixelsFunctor< typename TInputImage::ValueType >, TMaskImage > Superclass
bool operator==(const SimilarPixelsFunctor &other) const
virtual void SetDistanceThreshold(const InputPixelType &thresh)
TInputImage::PixelType InputPixelType
TInput GetDistanceThreshold()
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)