ITK  4.8.0
Insight Segmentation and Registration 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 >:

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 50 of file itkVectorConnectedComponentImageFilter.h.

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 ()
 

Protected Attributes

TInput::ValueType m_Threshold
 

Constructor & Destructor Documentation

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

Definition at line 53 of file itkVectorConnectedComponentImageFilter.h.

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

Definition at line 56 of file itkVectorConnectedComponentImageFilter.h.

Member Function Documentation

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

Definition at line 60 of file itkVectorConnectedComponentImageFilter.h.

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

Definition at line 62 of file itkVectorConnectedComponentImageFilter.h.

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

Definition at line 72 of file itkVectorConnectedComponentImageFilter.h.

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

Definition at line 67 of file itkVectorConnectedComponentImageFilter.h.

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

Member Data Documentation

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

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