1 #ifndef GIBBSENERGYCOMPUTER_H
2 #define GIBBSENERGYCOMPUTER_H
4 #include <MitkFiberTrackingExports.h>
8 #include <itkMersenneTwisterRandomVariateGenerator.h>
25 typedef itk::Statistics::MersenneTwisterRandomVariateGenerator
ItkRandGenType;
32 float ComputeExternalEnergy(vnl_vector_fixed<float, 3>& R, vnl_vector_fixed<float, 3>& N,
Particle* dp)
override;
35 float ComputeInternalEnergyConnection(
Particle *p1,
int ep1)
override;
36 float ComputeInternalEnergyConnection(
Particle *p1,
int ep1,
Particle *p2,
int ep2)
override;
37 float ComputeInternalEnergy(
Particle *dp)
override;
39 float EvaluateOdf(vnl_vector_fixed<float, 3>& pos, vnl_vector_fixed<float, 3> dir);
A particle is the basic element of the Gibbs fiber tractography method.
Contains and manages particles.
Calculates internal and external energy of the new particle configuration proposal.
DataCollection - Class to facilitate loading/accessing structured data.
Lookuptable based trilinear interpolation of spherically arranged scalar values.
itk::Vector< float, QBALL_ODFSIZE > OdfVectorType
itk::Statistics::MersenneTwisterRandomVariateGenerator ItkRandGenType
itk::Image< float, 3 > ItkFloatImageType
itk::Image< OdfVectorType, 3 > ItkQBallImgType
ODF lookuptable based energy computer.
ItkQBallImgType * m_Image