Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itk::EvaluateDirectionImagesFilter< PixelType > Class Template Reference

Evaluates the voxel-wise angular error between two sets of directions. More...

#include <itkEvaluateDirectionImagesFilter.h>

Inheritance diagram for itk::EvaluateDirectionImagesFilter< PixelType >:
Collaboration diagram for itk::EvaluateDirectionImagesFilter< PixelType >:

Public Types

typedef EvaluateDirectionImagesFilter Self
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef ImageSource< Image< PixelType, 3 > > Superclass
 
typedef Superclass::OutputImageRegionType OutputImageRegionType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef Vector< float, 3 > DirectionType
 
typedef Image< DirectionType, 3 > DirectionImageType
 
typedef VectorContainer< unsigned int, DirectionImageType::Pointer > DirectionImageContainerType
 
typedef Image< float, 3 > FloatImageType
 
typedef Image< bool, 3 > BoolImageType
 
typedef Image< unsigned char, 3 > UCharImageType
 

Public Member Functions

Pointer Clone () const
 
virtual const char * GetClassName () const
 
virtual void SetImageSet (DirectionImageContainerType::Pointer _arg)
 test image containers More...
 
virtual void SetReferenceImageSet (DirectionImageContainerType::Pointer _arg)
 reference image containers More...
 
virtual void SetMaskImage (UCharImageType::Pointer _arg)
 Calculation is only performed inside of the mask image. More...
 
virtual void SetIgnoreMissingDirections (bool _arg)
 If in one voxel, the number of directions differs between the test container and the reference, the excess directions are ignored. Otherwise, the error to the next closest direction is calculated. More...
 
virtual void SetIgnoreEmptyVoxels (bool _arg)
 Don't increase error if either reference or test voxel is empty. More...
 
virtual float GetMeanAngularError ()
 
virtual float GetMinAngularError ()
 
virtual float GetMaxAngularError ()
 
virtual float GetVarAngularError ()
 
virtual float GetMedianAngularError ()
 
virtual float GetMeanLengthError ()
 
virtual float GetMinLengthError ()
 
virtual float GetMaxLengthError ()
 
virtual float GetVarLengthError ()
 
virtual float GetMedianLengthError ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 EvaluateDirectionImagesFilter ()
 
 ~EvaluateDirectionImagesFilter ()
 
void GenerateData ()
 

Protected Attributes

UCharImageType::Pointer m_MaskImage
 
DirectionImageContainerType::Pointer m_ImageSet
 
DirectionImageContainerType::Pointer m_ReferenceImageSet
 
bool m_IgnoreMissingDirections
 
bool m_IgnoreEmptyVoxels
 
double m_MeanAngularError
 
double m_MedianAngularError
 
double m_MaxAngularError
 
double m_MinAngularError
 
double m_VarAngularError
 
std::vector< double > m_AngularErrorVector
 
double m_MeanLengthError
 
double m_MedianLengthError
 
double m_MaxLengthError
 
double m_MinLengthError
 
double m_VarLengthError
 
std::vector< double > m_LengthErrorVector
 
double m_Eps
 

Detailed Description

template<class PixelType>
class itk::EvaluateDirectionImagesFilter< PixelType >

Evaluates the voxel-wise angular error between two sets of directions.

Definition at line 34 of file itkEvaluateDirectionImagesFilter.h.

Member Typedef Documentation

template<class PixelType >
typedef Image< bool, 3 > itk::EvaluateDirectionImagesFilter< PixelType >::BoolImageType

Definition at line 57 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
typedef SmartPointer<const Self> itk::EvaluateDirectionImagesFilter< PixelType >::ConstPointer

Definition at line 41 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
typedef VectorContainer< unsigned int, DirectionImageType::Pointer > itk::EvaluateDirectionImagesFilter< PixelType >::DirectionImageContainerType

Definition at line 55 of file itkEvaluateDirectionImagesFilter.h.

Definition at line 54 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
typedef Vector< float, 3 > itk::EvaluateDirectionImagesFilter< PixelType >::DirectionType

Definition at line 53 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
typedef Image< float, 3 > itk::EvaluateDirectionImagesFilter< PixelType >::FloatImageType

Definition at line 56 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
typedef Superclass::OutputImageRegionType itk::EvaluateDirectionImagesFilter< PixelType >::OutputImageRegionType

Definition at line 43 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
typedef Superclass::OutputImageType itk::EvaluateDirectionImagesFilter< PixelType >::OutputImageType

Definition at line 44 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
typedef SmartPointer<Self> itk::EvaluateDirectionImagesFilter< PixelType >::Pointer

Definition at line 40 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
typedef ImageSource< Image< PixelType, 3 > > itk::EvaluateDirectionImagesFilter< PixelType >::Superclass

Definition at line 42 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
typedef Image< unsigned char, 3 > itk::EvaluateDirectionImagesFilter< PixelType >::UCharImageType

Definition at line 58 of file itkEvaluateDirectionImagesFilter.h.

Constructor & Destructor Documentation

template<class PixelType >
itk::EvaluateDirectionImagesFilter< PixelType >::EvaluateDirectionImagesFilter ( )
protected

Definition at line 33 of file itkEvaluateDirectionImagesFilter.cpp.

template<class PixelType >
itk::EvaluateDirectionImagesFilter< PixelType >::~EvaluateDirectionImagesFilter ( )
inlineprotected

Definition at line 82 of file itkEvaluateDirectionImagesFilter.h.

Member Function Documentation

template<class PixelType >
Pointer itk::EvaluateDirectionImagesFilter< PixelType >::Clone ( ) const
template<class PixelType >
void itk::EvaluateDirectionImagesFilter< PixelType >::GenerateData ( )
protected

Definition at line 44 of file itkEvaluateDirectionImagesFilter.cpp.

References M_PI, max(), MITK_INFO, and mitk::New().

template<class PixelType >
virtual const char* itk::EvaluateDirectionImagesFilter< PixelType >::GetClassName ( ) const
virtual

Runtime information support.

template<class PixelType >
virtual float itk::EvaluateDirectionImagesFilter< PixelType >::GetMaxAngularError ( )
virtual
template<class PixelType >
virtual float itk::EvaluateDirectionImagesFilter< PixelType >::GetMaxLengthError ( )
virtual
template<class PixelType >
virtual float itk::EvaluateDirectionImagesFilter< PixelType >::GetMeanAngularError ( )
virtual

Output statistics of the measured angular errors.

template<class PixelType >
virtual float itk::EvaluateDirectionImagesFilter< PixelType >::GetMeanLengthError ( )
virtual

Output statistics of the measured peak length errors.

template<class PixelType >
virtual float itk::EvaluateDirectionImagesFilter< PixelType >::GetMedianAngularError ( )
virtual
template<class PixelType >
virtual float itk::EvaluateDirectionImagesFilter< PixelType >::GetMedianLengthError ( )
virtual
template<class PixelType >
virtual float itk::EvaluateDirectionImagesFilter< PixelType >::GetMinAngularError ( )
virtual
template<class PixelType >
virtual float itk::EvaluateDirectionImagesFilter< PixelType >::GetMinLengthError ( )
virtual
template<class PixelType >
virtual float itk::EvaluateDirectionImagesFilter< PixelType >::GetVarAngularError ( )
virtual
template<class PixelType >
virtual float itk::EvaluateDirectionImagesFilter< PixelType >::GetVarLengthError ( )
virtual
template<class PixelType >
static Pointer itk::EvaluateDirectionImagesFilter< PixelType >::New ( )
static

Method for creation through the object factory.

template<class PixelType >
virtual void itk::EvaluateDirectionImagesFilter< PixelType >::SetIgnoreEmptyVoxels ( bool  _arg)
virtual

Don't increase error if either reference or test voxel is empty.

template<class PixelType >
virtual void itk::EvaluateDirectionImagesFilter< PixelType >::SetIgnoreMissingDirections ( bool  _arg)
virtual

If in one voxel, the number of directions differs between the test container and the reference, the excess directions are ignored. Otherwise, the error to the next closest direction is calculated.

template<class PixelType >
virtual void itk::EvaluateDirectionImagesFilter< PixelType >::SetImageSet ( DirectionImageContainerType::Pointer  _arg)
virtual

test image containers

template<class PixelType >
virtual void itk::EvaluateDirectionImagesFilter< PixelType >::SetMaskImage ( UCharImageType::Pointer  _arg)
virtual

Calculation is only performed inside of the mask image.

template<class PixelType >
virtual void itk::EvaluateDirectionImagesFilter< PixelType >::SetReferenceImageSet ( DirectionImageContainerType::Pointer  _arg)
virtual

reference image containers

Member Data Documentation

template<class PixelType >
std::vector< double > itk::EvaluateDirectionImagesFilter< PixelType >::m_AngularErrorVector
protected

Definition at line 96 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_Eps
protected

Definition at line 104 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
bool itk::EvaluateDirectionImagesFilter< PixelType >::m_IgnoreEmptyVoxels
protected

Definition at line 90 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
bool itk::EvaluateDirectionImagesFilter< PixelType >::m_IgnoreMissingDirections
protected

Definition at line 89 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
DirectionImageContainerType::Pointer itk::EvaluateDirectionImagesFilter< PixelType >::m_ImageSet
protected

Definition at line 87 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
std::vector< double > itk::EvaluateDirectionImagesFilter< PixelType >::m_LengthErrorVector
protected

Definition at line 102 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
UCharImageType::Pointer itk::EvaluateDirectionImagesFilter< PixelType >::m_MaskImage
protected

Definition at line 86 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_MaxAngularError
protected

Definition at line 93 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_MaxLengthError
protected

Definition at line 99 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_MeanAngularError
protected

Definition at line 91 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_MeanLengthError
protected

Definition at line 97 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_MedianAngularError
protected

Definition at line 92 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_MedianLengthError
protected

Definition at line 98 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_MinAngularError
protected

Definition at line 94 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_MinLengthError
protected

Definition at line 100 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
DirectionImageContainerType::Pointer itk::EvaluateDirectionImagesFilter< PixelType >::m_ReferenceImageSet
protected

Definition at line 88 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_VarAngularError
protected

Definition at line 95 of file itkEvaluateDirectionImagesFilter.h.

template<class PixelType >
double itk::EvaluateDirectionImagesFilter< PixelType >::m_VarLengthError
protected

Definition at line 101 of file itkEvaluateDirectionImagesFilter.h.


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