28 #ifndef __itkScalarConnectedComponentImageFilter_h
29 #define __itkScalarConnectedComponentImageFilter_h
31 #include "vnl/vnl_math.h"
52 template<
class TInput >
75 return !( *
this != other );
88 bool operator()(
const TInput & a,
const TInput & b)
const
91 TInput absDifference =
static_cast< TInput
>( vnl_math_abs(
92 static_cast< InputRealType >( a )
93 - static_cast< InputRealType >( b ) ) );
109 template<
class TInputImage,
class TOutputImage,
class TMaskImage = TInputImage >
112 Functor::SimilarPixelsFunctor< typename TInputImage::ValueType >,
119 TInputImage, TOutputImage,
135 { this->GetFunctor().SetDistanceThreshold(thresh); }
140 #ifdef ITK_USE_CONCEPT_CHECKING
160 void operator=(
const Self &);