ANIMA
4.0
|
#include <animaGradientFileReader.h>
Public Types | |
typedef std::vector< BValueScalarType > | BValueVectorType |
typedef std::vector< GradientType > | GradientVectorType |
Public Member Functions | |
std::vector< bool > | GetB0Directions () |
BValueVectorType & | GetBValues () |
GradientVectorType & | GetGradients () |
BValueVectorType & | GetGradientStrengths () |
unsigned int | GetTotalNumberOfDirections () |
GradientFileReader () | |
void | SetB0ValueThreshold (double thr) |
void | SetBigDelta (double val) |
void | SetBValueBaseString (std::string base) |
void | SetGradientFileName (std::string fName) |
void | SetGradientIndependentNormalization (bool normGrads) |
void | SetModified () |
void | SetSmallDelta (double val) |
void | Update () |
~GradientFileReader () | |
Protected Member Functions | |
template<class T > | |
void | InitializeEmptyGradient (std::vector< T > &vec) |
template<class T > | |
void | InitializeEmptyGradient (itk::Point< T, 3 > &vec) |
template<class T > | |
void | InitializeEmptyGradient (vnl_vector_fixed< T, 3 > &vec) |
template<class T > | |
void | InitializeEmptyGradient (itk::Vector< T, 3 > &vec) |
Definition at line 13 of file animaGradientFileReader.h.
typedef std::vector<BValueScalarType> anima::GradientFileReader< GradientType, BValueScalarType >::BValueVectorType |
Definition at line 18 of file animaGradientFileReader.h.
typedef std::vector<GradientType> anima::GradientFileReader< GradientType, BValueScalarType >::GradientVectorType |
Definition at line 17 of file animaGradientFileReader.h.
anima::GradientFileReader< GradientType, BValueScalarType >::GradientFileReader | ( | ) |
Definition at line 18 of file animaGradientFileReader.hxx.
References anima::DiffusionBigDelta, anima::DiffusionSmallDelta, and anima::GradientFileReader< GradientType, BValueScalarType >::GetB0Directions().
|
inline |
Definition at line 21 of file animaGradientFileReader.h.
std::vector< bool > anima::GradientFileReader< GradientType, BValueScalarType >::GetB0Directions | ( | ) |
Definition at line 36 of file animaGradientFileReader.hxx.
References anima::GradientFileReader< GradientType, BValueScalarType >::GetGradients().
Referenced by anima::GradientFileReader< GradientType, BValueScalarType >::GradientFileReader(), and anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
GradientFileReader< GradientType, BValueScalarType >::BValueVectorType & anima::GradientFileReader< GradientType, BValueScalarType >::GetBValues | ( | ) |
Definition at line 66 of file animaGradientFileReader.hxx.
References anima::GradientFileReader< GradientType, BValueScalarType >::GetGradientStrengths().
Referenced by anima::GradientFileReader< GradientType, BValueScalarType >::GetGradients(), and anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
GradientFileReader< GradientType, BValueScalarType >::GradientVectorType & anima::GradientFileReader< GradientType, BValueScalarType >::GetGradients | ( | ) |
Definition at line 55 of file animaGradientFileReader.hxx.
References anima::GradientFileReader< GradientType, BValueScalarType >::GetBValues().
Referenced by anima::GradientFileReader< GradientType, BValueScalarType >::GetB0Directions(), and anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
GradientFileReader< GradientType, BValueScalarType >::BValueVectorType & anima::GradientFileReader< GradientType, BValueScalarType >::GetGradientStrengths | ( | ) |
Definition at line 77 of file animaGradientFileReader.hxx.
References anima::GradientFileReader< GradientType, BValueScalarType >::GetTotalNumberOfDirections().
Referenced by anima::GradientFileReader< GradientType, BValueScalarType >::GetBValues(), and anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
unsigned int anima::GradientFileReader< GradientType, BValueScalarType >::GetTotalNumberOfDirections | ( | ) |
Definition at line 88 of file animaGradientFileReader.hxx.
References anima::GradientFileReader< GradientType, BValueScalarType >::Update().
Referenced by anima::GradientFileReader< GradientType, BValueScalarType >::GetGradientStrengths(), and anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
|
inlineprotected |
Definition at line 40 of file animaGradientFileReader.h.
|
inlineprotected |
Definition at line 46 of file animaGradientFileReader.h.
|
inlineprotected |
Definition at line 51 of file animaGradientFileReader.h.
|
inlineprotected |
Definition at line 56 of file animaGradientFileReader.h.
|
inline |
Definition at line 27 of file animaGradientFileReader.h.
References anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
|
inline |
Definition at line 26 of file animaGradientFileReader.h.
References anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
|
inline |
Definition at line 24 of file animaGradientFileReader.h.
References anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
|
inline |
Definition at line 23 of file animaGradientFileReader.h.
References anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
Referenced by applyTransformationToGradients(), convert(), and main().
|
inline |
Definition at line 28 of file animaGradientFileReader.h.
References anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
|
inline |
Definition at line 29 of file animaGradientFileReader.h.
References anima::GradientFileReader< GradientType, BValueScalarType >::GetB0Directions(), anima::GradientFileReader< GradientType, BValueScalarType >::GetBValues(), anima::GradientFileReader< GradientType, BValueScalarType >::GetGradients(), anima::GradientFileReader< GradientType, BValueScalarType >::GetGradientStrengths(), anima::GradientFileReader< GradientType, BValueScalarType >::GetTotalNumberOfDirections(), and anima::GradientFileReader< GradientType, BValueScalarType >::Update().
Referenced by anima::GradientFileReader< GradientType, BValueScalarType >::SetB0ValueThreshold(), anima::GradientFileReader< GradientType, BValueScalarType >::SetBigDelta(), anima::GradientFileReader< GradientType, BValueScalarType >::SetBValueBaseString(), anima::GradientFileReader< GradientType, BValueScalarType >::SetGradientFileName(), anima::GradientFileReader< GradientType, BValueScalarType >::SetGradientIndependentNormalization(), and anima::GradientFileReader< GradientType, BValueScalarType >::SetSmallDelta().
|
inline |
Definition at line 25 of file animaGradientFileReader.h.
References anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().
void anima::GradientFileReader< GradientType, BValueScalarType >::Update | ( | ) |
Definition at line 99 of file animaGradientFileReader.hxx.
References anima::ComputeNorm(), anima::GetGradientStrengthFromBValue(), and anima::Normalize().
Referenced by anima::GradientFileReader< GradientType, BValueScalarType >::GetTotalNumberOfDirections(), and anima::GradientFileReader< GradientType, BValueScalarType >::SetModified().