ITK  4.4.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<class 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<class TInput>
itk::Functor::SimilarVectorsFunctor< TInput >::SimilarVectorsFunctor ( )
inline

Definition at line 53 of file itkVectorConnectedComponentImageFilter.h.

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

Definition at line 56 of file itkVectorConnectedComponentImageFilter.h.

Member Function Documentation

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

Definition at line 60 of file itkVectorConnectedComponentImageFilter.h.

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

Definition at line 62 of file itkVectorConnectedComponentImageFilter.h.

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

Definition at line 72 of file itkVectorConnectedComponentImageFilter.h.

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

Definition at line 67 of file itkVectorConnectedComponentImageFilter.h.

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

Definition at line 58 of file itkVectorConnectedComponentImageFilter.h.

Member Data Documentation

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

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