OpenWalnut
1.5.0dev
|
Interface to compute various measures on tensors. More...
#include <WDataSetDTIToScalar_I.h>
Public Member Functions | |
virtual WDataSetScalar::SPtr | operator() (WProgress::SPtr progress, WBoolFlag const &shutdown, WDataSetDTI::SPtr tensors, WDataSetVector::SPtr evals) |
This runs the given strategy on the given dataset. More... | |
virtual | ~WDataSetDTIToScalar_I () |
Destructor. More... | |
Protected Member Functions | |
virtual double | tensorToScalar (const WVector3d &evals, const WTensorSym< 2, 3, float > &tensor)=0 |
Actual scalar computation. More... | |
Interface to compute various measures on tensors.
Prominent examples are the Fractional Anisotropy (FA), trace, Relative Anisotropy, Mean Diffusivity, Radial Diffusivity, etc. As many scalar measures may use either the tensor components directly or rely on derived measures such as eigenvalues, both are needed for generating the scalar.
Definition at line 42 of file WDataSetDTIToScalar_I.h.
|
virtual |
Destructor.
Definition at line 36 of file WDataSetDTIToScalar_I.cpp.
|
virtual |
This runs the given strategy on the given dataset.
progress | the progress instance you should increment each time you fill the value for one voxel. |
shutdown | Possibility to abort in case of shutdown. |
tensors | The tensor components |
evals | The Eigenvalues |
Definition at line 40 of file WDataSetDTIToScalar_I.cpp.
References wlog::debug(), and tensorToScalar().
|
protectedpure virtual |
Actual scalar computation.
evals | Eigenvalues |
tensor | Tensor components |
Implemented in WTensorTrace, WRD, WRA, WMD, WFA, and WAD.
Referenced by operator()().