22 #ifndef __itkEvaluateTractogramDirectionsFilter_h_
23 #define __itkEvaluateTractogramDirectionsFilter_h_
25 #include <itkProcessObject.h>
26 #include <itkVectorContainer.h>
28 #include <itkImageSource.h>
34 template<
class PixelType >
48 itkFactorylessNewMacro(Self)
63 itkSetMacro( Tractogram, FiberBundleType::Pointer)
64 itkSetMacro( ReferenceImageSet , DirectionImageContainerType::Pointer)
65 itkSetMacro( MaskImage , UCharImageType::Pointer)
66 itkSetMacro( IgnoreMissingDirections ,
bool)
67 itkSetMacro( UseInterpolation ,
bool)
70 itkGetMacro( MeanAngularError,
float)
71 itkGetMacro( MinAngularError,
float)
72 itkGetMacro( MaxAngularError,
float)
73 itkGetMacro( VarAngularError,
float)
74 itkGetMacro( MedianAngularError,
float)
77 EvaluateTractogramDirectionsFilter();
78 ~EvaluateTractogramDirectionsFilter() {}
82 itk::Point<PixelType, 3>
GetItkPoint(
double point[3]);
84 vnl_vector_fixed<PixelType, 3>
GetVnlVector(
double point[3]);
85 vnl_vector_fixed<PixelType, 3>
GetVnlVector(Vector< PixelType, 3 >& vector);
103 #ifndef ITK_MANUAL_INSTANTIATION
107 #endif //__itkEvaluateTractogramDirectionsFilter_h_
bool m_IgnoreMissingDirections
FiberBundleType::Pointer m_Tractogram
Image< float, 3 > FloatImageType
itk::SmartPointer< Self > Pointer
itk::Vector< PixelType, 3 > GetItkVector(double point[3])
double m_MeanAngularError
Superclass::OutputImageRegionType OutputImageRegionType
DataCollection - Class to facilitate loading/accessing structured data.
Image< unsigned char, 3 > UCharImageType
VectorContainer< int, DirectionImageType::Pointer > DirectionImageContainerType
vnl_vector_fixed< PixelType, 3 > GetVnlVector(double point[3])
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
Image< DirectionType, 3 > DirectionImageType
Vector< float, 3 > DirectionType
ImageSource< Image< PixelType, 3 > > Superclass
Image< bool, 3 > BoolImageType
double m_MedianAngularError
UCharImageType::Pointer m_MaskImage
Base Class for Fiber Bundles;.
itk::Point< PixelType, 3 > GetItkPoint(double point[3])
DirectionImageContainerType::Pointer m_ReferenceImageSet
Superclass::OutputImageType OutputImageType
Calculates the voxel-wise angular error of the input tractogram to a set of voxel-wise directions...
Image< double, 3 > DoubleImageType
EvaluateTractogramDirectionsFilter Self
std::vector< double > m_AngularErrorVector