17 #ifndef __itkOdfMaximaExtractionFilter_h_
18 #define __itkOdfMaximaExtractionFilter_h_
22 #include <itkImageToImageFilter.h>
23 #include <itkVectorContainer.h>
32 template<
class TOdfPixelType >
50 itkFactorylessNewMacro(Self)
60 typedef vnl_vector_fixed<
double, 3 >
Vector3D;
62 typedef VectorContainer<
unsigned int, DirectionContainerType::Pointer >
ContainerType;
68 itkGetMacro( OutputFiberBundle,
mitk::FiberBundle::Pointer)
69 itkGetMacro( NumDirectionsImage, ItkUcharImgType::Pointer)
70 itkGetMacro( DirectionImageContainer, ItkDirectionImageContainer::Pointer)
73 itkSetMacro( MaskImage, ItkUcharImgType::Pointer)
75 itkSetMacro( DiffusionGradients, DirectionContainerType::Pointer)
76 itkSetMacro( DiffusionImage, DiffusionImageType::Pointer)
77 itkSetMacro( Bvalue,
float)
78 itkSetMacro( ShCoeffImage, CoefficientImageType::Pointer)
79 itkSetMacro( MaxNumPeaks,
unsigned int)
80 itkSetMacro( PeakThreshold,
double)
85 OdfMaximaExtractionFilter();
86 ~OdfMaximaExtractionFilter(){}
92 std::vector<double>
SolveCubic(
const double& a,
const double& b,
const double& c,
const double& d);
95 double ODF_dtheta2(
const double& sn,
const double& cs,
const double& A,
const double& B,
const double& C,
const double& D,
const double& E,
const double& F,
const double& G,
const double& H);
98 double ODF_dphi2(
const double& sn,
const double& cs,
const double& A,
const double& B,
const double& C,
const double& D,
const double& E,
const double& F,
const double& G,
const double& H);
101 double ODF_dtheta(
const double& sn,
const double& cs,
const double& A,
const double& B,
const double& C,
const double& D,
const double& E,
const double& F,
const double& G,
const double& H);
109 void Cart2Sph(
const std::vector< Vector3D >& dir, vnl_matrix<double>& sphCoords);
110 vnl_matrix<double>
CalcShBasis(vnl_matrix<double>& sphCoords,
const int& shOrder);
140 #ifndef ITK_MANUAL_INSTANTIATION
144 #endif //__itkOdfMaximaExtractionFilter_h_
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
This class takes as input one or more reference image (acquired in the absence of diffusion sensitizi...