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. More...
#include <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 |
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 43 of file itkVectorConnectedComponentImageFilter.h.
itk::Functor::SimilarVectorsFunctor< TInput >::SimilarVectorsFunctor | ( | ) | [inline] |
Definition at line 46 of file itkVectorConnectedComponentImageFilter.h.
itk::Functor::SimilarVectorsFunctor< TInput >::~SimilarVectorsFunctor | ( | ) | [inline] |
Definition at line 49 of file itkVectorConnectedComponentImageFilter.h.
TInput::ValueType itk::Functor::SimilarVectorsFunctor< TInput >::GetDistanceThreshold | ( | ) | [inline] |
Definition at line 53 of file itkVectorConnectedComponentImageFilter.h.
bool itk::Functor::SimilarVectorsFunctor< TInput >::operator!= | ( | const SimilarVectorsFunctor< TInput > & | ) | const [inline] |
Definition at line 55 of file itkVectorConnectedComponentImageFilter.h.
bool itk::Functor::SimilarVectorsFunctor< TInput >::operator() | ( | const TInput & | a, | |
const TInput & | b | |||
) | const [inline] |
Definition at line 63 of file itkVectorConnectedComponentImageFilter.h.
bool itk::Functor::SimilarVectorsFunctor< TInput >::operator== | ( | const SimilarVectorsFunctor< TInput > & | other | ) | const [inline] |
Definition at line 59 of file itkVectorConnectedComponentImageFilter.h.
void itk::Functor::SimilarVectorsFunctor< TInput >::SetDistanceThreshold | ( | const typename TInput::ValueType & | thresh | ) | [inline] |
Definition at line 51 of file itkVectorConnectedComponentImageFilter.h.
TInput::ValueType itk::Functor::SimilarVectorsFunctor< TInput >::m_Threshold [protected] |
Definition at line 70 of file itkVectorConnectedComponentImageFilter.h.
Referenced by itk::Functor::SimilarVectorsFunctor< TInputImage::ValueType >::GetDistanceThreshold(), itk::Functor::SimilarVectorsFunctor< TInputImage::ValueType >::operator()(), itk::Functor::SimilarVectorsFunctor< TInputImage::ValueType >::SetDistanceThreshold(), and itk::Functor::SimilarVectorsFunctor< TInputImage::ValueType >::SimilarVectorsFunctor().