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,
135 { this->GetFunctor().SetDistanceThreshold(thresh); }
140 #ifdef ITK_USE_CONCEPT_CHECKING 159 void operator=(
const Self &) ITK_DELETE_FUNCTION;
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 InputPixelType GetDistanceThreshold()
SmartPointer< const Self > ConstPointer
A generic connected components filter that labels the objects in an artibitrary image.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SmartPointer< Self > Pointer
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)
virtual ~ScalarConnectedComponentImageFilter()