16 #include <vnl/vnl_cross.h>
17 #include <vnl/vnl_quaternion.h>
22 template<
class ScalarType >
24 : m_Diffusivity(0.001)
30 template<
class ScalarType >
36 template<
class ScalarType >
41 if (dir>=this->m_GradientList.size())
48 signal = std::exp( -m_BValue * bVal * m_Diffusivity );
55 template<
class ScalarType >
59 signal.SetSize(this->m_GradientList.size());
61 for(
unsigned int i=0; i<this->m_GradientList.size(); i++)
67 signal[i] = std::exp( -m_BValue * bVal * m_Diffusivity );
DataCollection - Class to facilitate loading/accessing structured data.
DiffusionSignalModel< ScalarType >::GradientType GradientType
PixelType SimulateMeasurement()