Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Lookuptable based trilinear interpolation of spherically arranged scalar values. More...
#include <mitkSphereInterpolator.h>
Public Member Functions | |
SphereInterpolator (const string &lutPath) | |
bool | IsInValidState () const |
~SphereInterpolator () | |
void | getInterpolation (const vnl_vector_fixed< float, 3 > &N) |
Public Attributes | |
int | size |
int | sN |
int | nverts |
float | beta |
float | inva |
float | b |
bool | m_ValidState |
vector< float > | barycoords |
vector< int > | indices |
vnl_vector_fixed< int, 3 > | idx |
vnl_vector_fixed< float, 3 > | interpw |
Protected Member Functions | |
bool | LoadLookuptables (const string &lutPath) |
bool | LoadLookuptables () |
bool | LoadLookuptables (std::istream &BaryCoordsStream, std::istream &IndicesStream) |
float | invrescale (float f) const |
int | float2int (float x) const |
Lookuptable based trilinear interpolation of spherically arranged scalar values.
Definition at line 32 of file mitkSphereInterpolator.h.
SphereInterpolator::SphereInterpolator | ( | const string & | lutPath | ) |
Definition at line 33 of file mitkSphereInterpolator.cpp.
References b, beta, inva, LoadLookuptables(), m_ValidState, nverts, QBALL_ODFSIZE, size, and sN.
SphereInterpolator::~SphereInterpolator | ( | ) |
Definition at line 62 of file mitkSphereInterpolator.cpp.
|
inlineprotected |
Definition at line 162 of file mitkSphereInterpolator.h.
|
inline |
Definition at line 59 of file mitkSphereInterpolator.h.
Referenced by GibbsEnergyComputer::EvaluateOdf().
|
inlineprotected |
Definition at line 153 of file mitkSphereInterpolator.h.
|
inline |
Definition at line 52 of file mitkSphereInterpolator.h.
Referenced by itk::GibbsTrackingFilter< ItkQBallImageType >::EstimateParticleWeight(), and itk::GibbsTrackingFilter< ItkQBallImageType >::GenerateData().
|
protected |
Definition at line 67 of file mitkSphereInterpolator.cpp.
References BaryCoordsFileName, Json::in(), LoadLookuptables(), and MITK_INFO.
|
protected |
Definition at line 100 of file mitkSphereInterpolator.cpp.
References BaryCoordsFileName, ModuleContext::GetModule(), us::GetModuleContext(), us::Module::GetResource(), IndicesFileName, us::ModuleResource::IsValid(), and MITK_INFO.
Referenced by LoadLookuptables(), and SphereInterpolator().
|
protected |
Definition at line 124 of file mitkSphereInterpolator.cpp.
References barycoords, indices, and MITK_INFO.
float SphereInterpolator::b |
Definition at line 42 of file mitkSphereInterpolator.h.
Referenced by SphereInterpolator().
vector< float > SphereInterpolator::barycoords |
Definition at line 45 of file mitkSphereInterpolator.h.
Referenced by LoadLookuptables().
float SphereInterpolator::beta |
Definition at line 40 of file mitkSphereInterpolator.h.
Referenced by SphereInterpolator().
vnl_vector_fixed< int, 3 > SphereInterpolator::idx |
Definition at line 47 of file mitkSphereInterpolator.h.
Referenced by GibbsEnergyComputer::EvaluateOdf().
vector< int > SphereInterpolator::indices |
Definition at line 46 of file mitkSphereInterpolator.h.
Referenced by LoadLookuptables().
vnl_vector_fixed< float, 3 > SphereInterpolator::interpw |
Definition at line 48 of file mitkSphereInterpolator.h.
Referenced by GibbsEnergyComputer::EvaluateOdf().
float SphereInterpolator::inva |
Definition at line 41 of file mitkSphereInterpolator.h.
Referenced by SphereInterpolator().
bool SphereInterpolator::m_ValidState |
Definition at line 43 of file mitkSphereInterpolator.h.
Referenced by SphereInterpolator().
int SphereInterpolator::nverts |
Definition at line 39 of file mitkSphereInterpolator.h.
Referenced by EnergyComputer::EnergyComputer(), and SphereInterpolator().
int SphereInterpolator::size |
Definition at line 37 of file mitkSphereInterpolator.h.
Referenced by SphereInterpolator().
int SphereInterpolator::sN |
Definition at line 38 of file mitkSphereInterpolator.h.
Referenced by SphereInterpolator().