28#ifndef itkScalarConnectedComponentImageFilter_h
29#define itkScalarConnectedComponentImageFilter_h
53template <
typename TInput>
86 static_cast<TInput
>(
itk::Math::abs(
static_cast<InputRealType
>(a) -
static_cast<InputRealType
>(b)));
100template <
typename TInputImage,
typename TOutputImage,
typename TMaskImage = TInputImage>
104 Functor::SimilarPixelsFunctor<typename TInputImage::ValueType>,
FunctorType & GetFunctor()
ConnectedComponentFunctorImageFilter()=default
bool operator==(const SimilarPixelsFunctor &other) const
bool operator()(const TInput &a, const TInput &b) const
void SetDistanceThreshold(const TInput &thresh)
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(SimilarPixelsFunctor)
~SimilarPixelsFunctor()=default
TInput GetDistanceThreshold()
ScalarConnectedComponentImageFilter()=default
ScalarConnectedComponentImageFilter Self
virtual void SetDistanceThreshold(const InputPixelType &thresh)
~ScalarConnectedComponentImageFilter() override=default
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
virtual InputPixelType GetDistanceThreshold()
typename TInputImage::PixelType InputPixelType
ConnectedComponentFunctorImageFilter< TInputImage, TOutputImage, Functor::SimilarPixelsFunctor< typename TInputImage::ValueType >, TMaskImage > Superclass
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....