|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
28 #ifndef itkVectorConnectedComponentImageFilter_h
29 #define itkVectorConnectedComponentImageFilter_h
50 template <
typename TInput>
63 typename TInput::ValueType
81 RealValueType dotProduct{};
82 for (
unsigned int i = 0; i < NumericTraits<TInput>::GetLength(a); ++i)
84 dotProduct += a[i] * b[i];
104 template <
typename TInputImage,
typename TOutputImage,
typename TMaskImage = TInputImage>
108 Functor::SimilarVectorsFunctor<typename TInputImage::ValueType>,
144 #ifdef ITK_USE_CONCEPT_CHECKING
bool operator==(const SimilarVectorsFunctor &) const
virtual void SetDistanceThreshold(const InputValueType &thresh)
virtual InputValueType GetDistanceThreshold()
SimilarVectorsFunctor()=default
A generic connected components filter that labels the objects in an arbitrary image.
~VectorConnectedComponentImageFilter() override=default
~SimilarVectorsFunctor()=default
VectorConnectedComponentImageFilter()=default
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(SimilarVectorsFunctor)
Base class for all process objects that output image data.
A connected components filter that labels the objects in a vector image. Two vectors are pointing sim...
A connected components filter that labels the objects in a vector image. Two vectors are pointing sim...
FunctorType & GetFunctor()
TInput::ValueType GetDistanceThreshold()
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
TInput::ValueType m_Threshold
void SetDistanceThreshold(const typename TInput::ValueType &thresh)
typename TInputImage::PixelType::ValueType InputValueType
bool operator()(const TInput &a, const TInput &b) const