DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkSHCoefficientsFit.h>
fit SH coefficients from spherical function samples.
Definition at line 34 of file itkSHCoefficientsFit.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef utl_shared_ptr< MatrixType > | MatrixPointer |
typedef utl::NDArray< double, 2 > | MatrixType |
typedef SmartPointer< Self > | Pointer |
typedef T | PreciseType |
typedef SHCoefficientsFit | Self |
typedef utl::Functor::VectorFunctorBase< utl::Vector< T > > | Superclass |
typedef utl::NDArray< double, 1 > | VectorType |
Public Types inherited from utl::Functor::VectorFunctorBase< utl::Vector< T > > | |
typedef VectorFunctorBase | Self |
Public Member Functions | |
int | GetOutputDimension (const int) const |
void | Initialize () |
bool | operator!= (const Self &other) const |
VectorType | operator() (const VectorType &sf) const |
Self & | operator= (const Self &other) |
bool | operator== (const Self &other) const |
void | Print (std::ostream &os=std::cout) const |
SHCoefficientsFit () | |
SHCoefficientsFit (const Self &other) | |
utlGetMacro (BasisSHMatrix, MatrixPointer) | |
utlGetMacro (BasisSHMatrixPInv, MatrixPointer) | |
utlSetGetMacro (SHRank, int) | |
utlSetGetMacro (Lambda, double) | |
utlSetGetMacro (Power, double) | |
utlSetGetMacro (Orientations, MatrixPointer) | |
void | VerifyInputParameters (const int inputVecSize=-1) const |
virtual | ~SHCoefficientsFit () |
Public Member Functions inherited from utl::Functor::VectorFunctorBase< utl::Vector< T > > | |
virtual int | GetLogLevel () const |
int | GetOutputDimension (const int inputSize) const |
int | GetOutputDimension (const std::vector< int > &sizeVec) const |
void | Initialize () |
bool | operator!= (const Self &other) const |
Self & | operator= (const Self &other) |
bool | operator== (const Self &other) const |
void | Print (std::ostream &os=std::cout) const |
virtual void | SetLogLevel (const int _arg) |
void | VerifyInputParameters (const int inputSize=-1) const |
Protected Attributes | |
MatrixPointer | m_BasisSHMatrix |
MatrixPointer | m_BasisSHMatrixPInv |
double | m_Lambda =0 |
MatrixPointer | m_Orientations |
double | m_Power =1.0 |
int | m_SHRank =-1 |
Protected Attributes inherited from utl::Functor::VectorFunctorBase< utl::Vector< T > > | |
int | m_LogLevel |
typedef SmartPointer<const Self> itk::Functor::SHCoefficientsFit< T >::ConstPointer |
Definition at line 42 of file itkSHCoefficientsFit.h.
typedef utl_shared_ptr<MatrixType> itk::Functor::SHCoefficientsFit< T >::MatrixPointer |
Definition at line 49 of file itkSHCoefficientsFit.h.
typedef utl::NDArray<double,2> itk::Functor::SHCoefficientsFit< T >::MatrixType |
Definition at line 48 of file itkSHCoefficientsFit.h.
typedef SmartPointer<Self> itk::Functor::SHCoefficientsFit< T >::Pointer |
Definition at line 41 of file itkSHCoefficientsFit.h.
typedef T itk::Functor::SHCoefficientsFit< T >::PreciseType |
Definition at line 45 of file itkSHCoefficientsFit.h.
typedef SHCoefficientsFit itk::Functor::SHCoefficientsFit< T >::Self |
Standard class typedefs.
Definition at line 39 of file itkSHCoefficientsFit.h.
typedef utl::Functor::VectorFunctorBase<utl::Vector<T> > itk::Functor::SHCoefficientsFit< T >::Superclass |
Definition at line 40 of file itkSHCoefficientsFit.h.
typedef utl::NDArray<double,1> itk::Functor::SHCoefficientsFit< T >::VectorType |
Definition at line 47 of file itkSHCoefficientsFit.h.
|
inline |
Definition at line 51 of file itkSHCoefficientsFit.h.
|
inlinevirtual |
Definition at line 57 of file itkSHCoefficientsFit.h.
|
inline |
Definition at line 65 of file itkSHCoefficientsFit.h.
|
inline |
Definition at line 152 of file itkSHCoefficientsFit.h.
References utl::RankToDimSH(), and utlSAException.
|
inline |
Definition at line 108 of file itkSHCoefficientsFit.h.
References CARTESIAN_TO_SPHERICAL, utl::ComputeSHMatrix(), utl::GetIndexSHlm(), utl::InverseSymmericMatrix(), utl::IsLogDebug(), LOG_DEBUG, utl::PrintUtlMatrix(), and utlVLogPosition.
|
inline |
Definition at line 61 of file itkSHCoefficientsFit.h.
|
inline |
Definition at line 141 of file itkSHCoefficientsFit.h.
References utl::Pow().
|
inline |
Definition at line 70 of file itkSHCoefficientsFit.h.
References itk::Functor::SHCoefficientsFit< T >::m_BasisSHMatrix, itk::Functor::SHCoefficientsFit< T >::m_BasisSHMatrixPInv, itk::Functor::SHCoefficientsFit< T >::m_Lambda, itk::Functor::SHCoefficientsFit< T >::m_Orientations, itk::Functor::SHCoefficientsFit< T >::m_Power, itk::Functor::SHCoefficientsFit< T >::m_SHRank, utlGetMacro, and utlSetGetMacro.
|
inline |
Definition at line 59 of file itkSHCoefficientsFit.h.
|
inline |
Definition at line 158 of file itkSHCoefficientsFit.h.
References utl::Print(), utl::PrintUtlMatrix(), and utlLogOSVar.
itk::Functor::SHCoefficientsFit< T >::utlGetMacro | ( | BasisSHMatrix | , |
MatrixPointer | |||
) |
itk::Functor::SHCoefficientsFit< T >::utlGetMacro | ( | BasisSHMatrixPInv | , |
MatrixPointer | |||
) |
itk::Functor::SHCoefficientsFit< T >::utlSetGetMacro | ( | SHRank | , |
int | |||
) |
itk::Functor::SHCoefficientsFit< T >::utlSetGetMacro | ( | Lambda | , |
double | |||
) |
itk::Functor::SHCoefficientsFit< T >::utlSetGetMacro | ( | Power | , |
double | |||
) |
itk::Functor::SHCoefficientsFit< T >::utlSetGetMacro | ( | Orientations | , |
MatrixPointer | |||
) |
|
inline |
Definition at line 94 of file itkSHCoefficientsFit.h.
References LOG_DEBUG, utlGlobalException, utlSAGlobalException, and utlVLogPosition.
|
protected |
SH basis matrix
Definition at line 183 of file itkSHCoefficientsFit.h.
Referenced by itk::Functor::SHCoefficientsFit< T >::operator=().
|
protected |
pseudoinverse of m_BasisSHMatrix, considering L2 regularization using m_Lambda
Definition at line 185 of file itkSHCoefficientsFit.h.
Referenced by itk::Functor::SHCoefficientsFit< T >::operator=().
|
protected |
L2 regularization parameter.
Definition at line 175 of file itkSHCoefficientsFit.h.
Referenced by itk::Functor::SHCoefficientsFit< T >::operator=().
|
protected |
Orientation matrix in Cartesian format
Definition at line 180 of file itkSHCoefficientsFit.h.
Referenced by itk::Functor::SHCoefficientsFit< T >::operator=().
|
protected |
Definition at line 177 of file itkSHCoefficientsFit.h.
Referenced by itk::Functor::SHCoefficientsFit< T >::operator=().
|
protected |
rank for SH basis
Definition at line 172 of file itkSHCoefficientsFit.h.
Referenced by itk::Functor::SHCoefficientsFit< T >::operator=().