17 #ifndef MITKDIFFUSIONPROPERTYHELPER_H
18 #define MITKDIFFUSIONPROPERTYHELPER_H
47 typedef itk::VectorImage< DiffusionPixelType, 3>
ImageType;
70 static bool IsDiffusionWeightedImage(
const mitk::Image *);
76 static const BValueMapType & GetBValueMap(
const mitk::Image *);
78 static float GetReferenceBValue(
const mitk::Image *);
85 static const MeasurementFrameType & GetMeasurementFrame(
const mitk::Image *);
91 const BValueMapType & GetBValueMap()
const;
92 float GetReferenceBValue()
const;
93 const MeasurementFrameType & GetMeasurementFrame()
const;
97 bool IsDiffusionWeightedImage()
const;
99 void AverageRedundantGradients(
double precision);
105 void InitializeImage();
118 void ApplyMeasurementFrame();
126 void UpdateBValueMap();
129 bool AreAlike(GradientDirectionType g1, GradientDirectionType g2,
double precision);
132 float GetB_Value(
unsigned int i);
static const std::string REFERENCEBVALUEPROPERTYNAME
itk::SmartPointer< Self > Pointer
std::map< unsigned int, std::vector< unsigned int > > BValueMap
The BValueMap contains seperated IndicesVectors for each b value (index for GradientDirectionContaine...
vnl_matrix_fixed< double, 3, 3 > MeasurementFrameType
ValueType GradientDirectionType
Helper class for mitk::Images containing diffusion weighted data.
DataCollection - Class to facilitate loading/accessing structured data.
mitk::BValueMapProperty::BValueMap BValueMapType
#define MITKDIFFUSIONCORE_EXPORT
static const std::string MEASUREMENTFRAMEPROPERTYNAME
GradientDirectionsProperty::GradientDirectionsContainerType GradientDirectionsContainerType
Image class for storing images.
itk::VectorContainer< IndexType, GradientDirectionType > GradientDirectionsContainerType
GradientDirectionsProperty::GradientDirectionType GradientDirectionType
mitk::MeasurementFrameProperty::MeasurementFrameType MeasurementFrameType
static const std::string GRADIENTCONTAINERPROPERTYNAME
static const std::string MODALITY
static const std::string BVALUEMAPPROPERTYNAME
Class for nodes of the DataTree.
itk::VectorImage< DiffusionPixelType, 3 > ImageType
static const std::string ORIGINALGRADIENTCONTAINERPROPERTYNAME