ITK  6.0.0
Insight Toolkit
Public Member Functions | Protected Attributes | List of all members
itk::Functor::SimilarVectorsFunctor< TInput > Class Template Reference

#include <itkVectorConnectedComponentImageFilter.h>

Detailed Description

template<typename TInput>
class itk::Functor::SimilarVectorsFunctor< TInput >

A connected components filter that labels the objects in a vector image. Two vectors are pointing similar directions if one minus their dot product is less than a threshold. Vectors that are 180 degrees out of phase are similar. Assumes that vectors are normalized.

Definition at line 51 of file itkVectorConnectedComponentImageFilter.h.

Public Member Functions

TInput::ValueType GetDistanceThreshold ()
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (SimilarVectorsFunctor)
 
bool operator() (const TInput &a, const TInput &b) const
 
bool operator== (const SimilarVectorsFunctor &) const
 
void SetDistanceThreshold (const typename TInput::ValueType &thresh)
 
 SimilarVectorsFunctor ()=default
 
 ~SimilarVectorsFunctor ()=default
 

Protected Attributes

TInput::ValueType m_Threshold {}
 

Constructor & Destructor Documentation

◆ SimilarVectorsFunctor()

template<typename TInput >
itk::Functor::SimilarVectorsFunctor< TInput >::SimilarVectorsFunctor ( )
default

◆ ~SimilarVectorsFunctor()

template<typename TInput >
itk::Functor::SimilarVectorsFunctor< TInput >::~SimilarVectorsFunctor ( )
default

Member Function Documentation

◆ GetDistanceThreshold()

template<typename TInput >
TInput::ValueType itk::Functor::SimilarVectorsFunctor< TInput >::GetDistanceThreshold ( )
inline

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION()

template<typename TInput >
itk::Functor::SimilarVectorsFunctor< TInput >::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION ( SimilarVectorsFunctor< TInput >  )

◆ operator()()

template<typename TInput >
bool itk::Functor::SimilarVectorsFunctor< TInput >::operator() ( const TInput &  a,
const TInput &  b 
) const
inline

◆ operator==()

template<typename TInput >
bool itk::Functor::SimilarVectorsFunctor< TInput >::operator== ( const SimilarVectorsFunctor< TInput > &  ) const
inline

Definition at line 70 of file itkVectorConnectedComponentImageFilter.h.

◆ SetDistanceThreshold()

template<typename TInput >
void itk::Functor::SimilarVectorsFunctor< TInput >::SetDistanceThreshold ( const typename TInput::ValueType &  thresh)
inline

Member Data Documentation

◆ m_Threshold

template<typename TInput >
TInput::ValueType itk::Functor::SimilarVectorsFunctor< TInput >::m_Threshold {}
protected

The documentation for this class was generated from the following file: