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

Calculates the voxel-wise angular error of the input tractogram to a set of voxel-wise directions. More...

#include <itkEvaluateTractogramDirectionsFilter.h>

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

Public Types

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

Public Member Functions

Pointer Clone () const
 
virtual const char * GetClassName () const
 
virtual void SetTractogram (FiberBundleType::Pointer _arg)
 Input tractogram. More...
 
virtual void SetReferenceImageSet (DirectionImageContainerType::Pointer _arg)
 Input images containing one reference direction per voxel. 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 input tractogram and the reference, the excess directions are ignored. Otherwise, the error to the next closest direction is calculated. More...
 
virtual void SetUseInterpolation (bool _arg)
 Use trilinear interpolation. More...
 
virtual float GetMeanAngularError ()
 
virtual float GetMinAngularError ()
 
virtual float GetMaxAngularError ()
 
virtual float GetVarAngularError ()
 
virtual float GetMedianAngularError ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 EvaluateTractogramDirectionsFilter ()
 
 ~EvaluateTractogramDirectionsFilter ()
 
void GenerateData ()
 
itk::Point< PixelType, 3 > GetItkPoint (double point[3])
 
itk::Vector< PixelType, 3 > GetItkVector (double point[3])
 
vnl_vector_fixed< PixelType, 3 > GetVnlVector (double point[3])
 
vnl_vector_fixed< PixelType, 3 > GetVnlVector (Vector< PixelType, 3 > &vector)
 

Protected Attributes

UCharImageType::Pointer m_MaskImage
 
DirectionImageContainerType::Pointer m_ReferenceImageSet
 
bool m_IgnoreMissingDirections
 
double m_MeanAngularError
 
double m_MedianAngularError
 
double m_MaxAngularError
 
double m_MinAngularError
 
double m_VarAngularError
 
std::vector< double > m_AngularErrorVector
 
double m_Eps
 
FiberBundleType::Pointer m_Tractogram
 
bool m_UseInterpolation
 

Detailed Description

template<class PixelType>
class itk::EvaluateTractogramDirectionsFilter< PixelType >

Calculates the voxel-wise angular error of the input tractogram to a set of voxel-wise directions.

Definition at line 35 of file itkEvaluateTractogramDirectionsFilter.h.

Member Typedef Documentation

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

Definition at line 59 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 42 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 57 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 55 of file itkEvaluateTractogramDirectionsFilter.h.

template<class PixelType >
typedef Image< double, 3 > itk::EvaluateTractogramDirectionsFilter< PixelType >::DoubleImageType

Definition at line 61 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 58 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 44 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 45 of file itkEvaluateTractogramDirectionsFilter.h.

Definition at line 41 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 43 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 60 of file itkEvaluateTractogramDirectionsFilter.h.

Constructor & Destructor Documentation

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

Definition at line 78 of file itkEvaluateTractogramDirectionsFilter.h.

Member Function Documentation

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

Definition at line 83 of file itkEvaluateTractogramDirectionsFilter.cpp.

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

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

Runtime information support.

template<class PixelType >
itk::Point< PixelType, 3 > itk::EvaluateTractogramDirectionsFilter< PixelType >::GetItkPoint ( double  point[3])
protected

Definition at line 73 of file itkEvaluateTractogramDirectionsFilter.cpp.

template<class PixelType >
itk::Vector< PixelType, 3 > itk::EvaluateTractogramDirectionsFilter< PixelType >::GetItkVector ( double  point[3])
protected

Definition at line 43 of file itkEvaluateTractogramDirectionsFilter.cpp.

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

Output statistics.

template<class PixelType >
virtual float itk::EvaluateTractogramDirectionsFilter< PixelType >::GetMedianAngularError ( )
virtual
template<class PixelType >
virtual float itk::EvaluateTractogramDirectionsFilter< PixelType >::GetMinAngularError ( )
virtual
template<class PixelType >
virtual float itk::EvaluateTractogramDirectionsFilter< PixelType >::GetVarAngularError ( )
virtual
template<class PixelType >
vnl_vector_fixed< PixelType, 3 > itk::EvaluateTractogramDirectionsFilter< PixelType >::GetVnlVector ( double  point[3])
protected

Definition at line 53 of file itkEvaluateTractogramDirectionsFilter.cpp.

template<class PixelType >
vnl_vector_fixed< PixelType, 3 > itk::EvaluateTractogramDirectionsFilter< PixelType >::GetVnlVector ( Vector< PixelType, 3 > &  vector)
protected

Definition at line 63 of file itkEvaluateTractogramDirectionsFilter.cpp.

template<class PixelType >
static Pointer itk::EvaluateTractogramDirectionsFilter< PixelType >::New ( )
static

Method for creation through the object factory.

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

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

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

Calculation is only performed inside of the mask image.

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

Input images containing one reference direction per voxel.

template<class PixelType >
virtual void itk::EvaluateTractogramDirectionsFilter< PixelType >::SetTractogram ( FiberBundleType::Pointer  _arg)
virtual

Input tractogram.

template<class PixelType >
virtual void itk::EvaluateTractogramDirectionsFilter< PixelType >::SetUseInterpolation ( bool  _arg)
virtual

Use trilinear interpolation.

Member Data Documentation

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

Definition at line 95 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 96 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 89 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 87 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 92 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 90 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 91 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 93 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 88 of file itkEvaluateTractogramDirectionsFilter.h.

template<class PixelType >
FiberBundleType::Pointer itk::EvaluateTractogramDirectionsFilter< PixelType >::m_Tractogram
protected

Definition at line 97 of file itkEvaluateTractogramDirectionsFilter.h.

template<class PixelType >
bool itk::EvaluateTractogramDirectionsFilter< PixelType >::m_UseInterpolation
protected

Definition at line 98 of file itkEvaluateTractogramDirectionsFilter.h.

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

Definition at line 94 of file itkEvaluateTractogramDirectionsFilter.h.


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