22 #ifndef __itkDiffusionQballPrepareVisualizationImageFilter_h_
23 #define __itkDiffusionQballPrepareVisualizationImageFilter_h_
26 #include "itkImageToImageFilter.h"
28 #include "vnl/vnl_vector_fixed.h"
29 #include "vnl/vnl_matrix.h"
30 #include "vnl/algo/vnl_svd.h"
31 #include "itkVectorContainer.h"
32 #include "itkVectorImage.h"
39 template<
class TOdfPixelType,
42 public ImageToImageFilter< Image< Vector< TOdfPixelType, NrOdfDirections >, 3 >,
43 Image< Vector< TOdfPixelType, NrOdfDirections >, 3 > >
60 typedef ImageToImageFilter< Image< Vector< TOdfPixelType, NrOdfDirections >, 3 >,
61 Image< Vector< TOdfPixelType, NrOdfDirections >, 3 > >
70 itkFactorylessNewMacro(Self)
86 itkStaticConstMacro(NOdfDirections,
int,NrOdfDirections);
88 itkSetMacro( Threshold, OdfComponentType );
89 itkGetMacro( Threshold, OdfComponentType );
92 itkGetMacro( NormalizationMethod, NormalizationMethods );
94 itkSetMacro( ScaleByGfaType, GfaComputationMethod );
95 itkGetMacro( ScaleByGfaType, GfaComputationMethod );
97 itkSetMacro( DoScaleGfa,
bool );
98 itkGetMacro( DoScaleGfa,
bool );
100 itkSetMacro( GfaParam1,
double );
101 itkGetMacro( GfaParam1,
double );
103 itkSetMacro( GfaParam2,
double );
104 itkGetMacro( GfaParam2,
double );
107 DiffusionQballPrepareVisualizationImageFilter();
108 ~DiffusionQballPrepareVisualizationImageFilter() {};
109 void PrintSelf(std::ostream& os, Indent indent)
const;
111 void BeforeThreadedGenerateData();
112 void ThreadedGenerateData(
const
113 OutputImageRegionType &outputRegionForThread, ThreadIdType);
118 OdfComponentType m_Threshold;
120 NormalizationMethods m_NormalizationMethod;
122 OdfComponentType m_GlobalInputMaximum;
124 GfaComputationMethod m_ScaleByGfaType;
137 #ifndef ITK_MANUAL_INSTANTIATION
141 #endif //__itkDiffusionQballPrepareVisualizationImageFilter_h_
DiffusionQballGeneralizedFaImageFilter< TOdfPixelType, TOdfPixelType, NrOdfDirections > GfaFilterType
itk::SmartPointer< Self > Pointer
Superclass::OutputImageType OutputImageType
#define MITKDIFFUSIONCORE_EXPORT
SmartPointer< Self > Pointer
GfaFilterType::OutputImageType GfaImageType
Superclass::OutputImageRegionType OutputImageRegionType
ImageToImageFilter< Image< Vector< TOdfPixelType, NrOdfDirections >, 3 >, Image< Vector< TOdfPixelType, NrOdfDirections >, 3 > > Superclass
GfaFilterType::GfaComputationMethod GfaComputationMethod
Superclass::OutputImageType OutputImageType
Superclass::InputImageType InputImageType
DiffusionQballPrepareVisualizationImageFilter Self
TOdfPixelType OdfComponentType
SmartPointer< const Self > ConstPointer