Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
GibbsEnergyComputer Class Reference

ODF lookuptable based energy computer. More...

#include <mitkGibbsEnergyComputer.h>

Inheritance diagram for GibbsEnergyComputer:
Collaboration diagram for GibbsEnergyComputer:

Public Types

typedef itk::Vector< float, QBALL_ODFSIZEOdfVectorType
 
typedef itk::Image< OdfVectorType, 3 > ItkQBallImgType
 
typedef itk::Image< float, 3 > ItkFloatImageType
 
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator ItkRandGenType
 
- Public Types inherited from EnergyComputer
typedef itk::Image< float, 3 > ItkFloatImageType
 
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator ItkRandGenType
 

Public Member Functions

 GibbsEnergyComputer (ItkQBallImgType *qballImage, ItkFloatImageType *mask, ParticleGrid *particleGrid, SphereInterpolator *interpolator, ItkRandGenType *randGen)
 
virtual ~GibbsEnergyComputer ()
 
float ComputeExternalEnergy (vnl_vector_fixed< float, 3 > &R, vnl_vector_fixed< float, 3 > &N, Particle *dp) override
 
float ComputeInternalEnergyConnection (Particle *p1, int ep1) override
 
float ComputeInternalEnergyConnection (Particle *p1, int ep1, Particle *p2, int ep2) override
 
float ComputeInternalEnergy (Particle *dp) override
 
float EvaluateOdf (vnl_vector_fixed< float, 3 > &pos, vnl_vector_fixed< float, 3 > dir)
 
- Public Member Functions inherited from EnergyComputer
 EnergyComputer (ItkFloatImageType *mask, ParticleGrid *particleGrid, SphereInterpolator *interpolator, ItkRandGenType *randGen)
 
void SetParameters (float particleWeight, float particleWidth, float connectionPotential, float curvThres, float inexBalance, float particlePotential)
 
void DrawRandomPosition (vnl_vector_fixed< float, 3 > &R)
 
int GetNumActiveVoxels ()
 

Protected Attributes

ItkQBallImgTypem_Image
 
- Protected Attributes inherited from EnergyComputer
vnl_matrix_fixed< float, 3, 3 > m_RotationMatrix
 
SphereInterpolatorm_SphereInterpolator
 
ParticleGridm_ParticleGrid
 
ItkRandGenTypem_RandGen
 
ItkFloatImageTypem_Mask
 
vnl_vector_fixed< int, 3 > m_Size
 
vnl_vector_fixed< float, 3 > m_Spacing
 
std::vector< float > m_CumulatedSpatialProbability
 
std::vector< int > m_ActiveIndices
 
bool m_UseTrilinearInterpolation
 
int m_NumActiveVoxels
 
float m_ConnectionPotential
 
float m_ParticleChemicalPotential
 
float gamma_s
 
float gamma_reg_s
 
float m_ParticleWeight
 
float m_ExtStrength
 
float m_IntStrength
 
float m_ParticleLength
 
float m_SquaredParticleLength
 
float m_CurvatureThreshold
 

Additional Inherited Members

- Protected Member Functions inherited from EnergyComputer
float SpatProb (vnl_vector_fixed< float, 3 > pos)
 
float EvaluateOdf (vnl_vector_fixed< float, 3 > &pos, vnl_vector_fixed< float, 3 > dir)
 
float mbesseli0 (float x)
 
float mexp (float x)
 

Detailed Description

ODF lookuptable based energy computer.

Definition at line 18 of file mitkGibbsEnergyComputer.h.

Member Typedef Documentation

Definition at line 24 of file mitkGibbsEnergyComputer.h.

typedef itk::Statistics::MersenneTwisterRandomVariateGenerator GibbsEnergyComputer::ItkRandGenType

Definition at line 25 of file mitkGibbsEnergyComputer.h.

Definition at line 22 of file mitkGibbsEnergyComputer.h.

Constructor & Destructor Documentation

GibbsEnergyComputer::GibbsEnergyComputer ( ItkQBallImgType qballImage,
ItkFloatImageType mask,
ParticleGrid particleGrid,
SphereInterpolator interpolator,
ItkRandGenType randGen 
)

Definition at line 11 of file mitkGibbsEnergyComputer.cpp.

References m_Image.

GibbsEnergyComputer::~GibbsEnergyComputer ( )
virtual

Definition at line 18 of file mitkGibbsEnergyComputer.cpp.

Member Function Documentation

float GibbsEnergyComputer::ComputeInternalEnergy ( Particle dp)
overridevirtual
float GibbsEnergyComputer::ComputeInternalEnergyConnection ( Particle p1,
int  ep1 
)
overridevirtual

Member Data Documentation

ItkQBallImgType* GibbsEnergyComputer::m_Image
protected

Definition at line 42 of file mitkGibbsEnergyComputer.h.

Referenced by EvaluateOdf(), and GibbsEnergyComputer().


The documentation for this class was generated from the following files: