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

#include <itkVectorConnectedComponentImageFilter.h>

+ Inheritance diagram for itk::Functor::SimilarVectorsFunctor< TInput >:

Public Member Functions

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

Protected Attributes

TInput::ValueType m_Threshold
 

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.

Constructor & Destructor Documentation

◆ SimilarVectorsFunctor()

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

Definition at line 54 of file itkVectorConnectedComponentImageFilter.h.

◆ ~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

Definition at line 64 of file itkVectorConnectedComponentImageFilter.h.

◆ operator!=()

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

Definition at line 70 of file itkVectorConnectedComponentImageFilter.h.

◆ operator()()

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

Definition at line 82 of file itkVectorConnectedComponentImageFilter.h.

◆ operator==()

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

Definition at line 76 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: