Developer documentation
Version 3.0.3-105-gd3941f44
MR::Registration::Transform Namespace Reference

Namespaces

namespace  Init
 

Classes

class  Affine
 
class  AffineRobustEstimator
 
class  AffineUpdate
 
class  Base
 
class  DoubleExpSmoothSlopeCheck
 
class  LinearKernel
 
class  LinearKernelMultiContrast
 
class  NonLinearKernel
 
class  NonLinearKernelMultiContrast
 
class  Rigid
 
class  RigidLinearNonSymmetricUpdate
 
class  RigidRobustEstimator
 

Enumerations

enum  TransformProjectionType { rigid_nonsym , affine , affine_nonsym , none }
 

Functions

template<class ValueType >
void param_mat2vec (const Eigen::Matrix< ValueType, 3, 4, Eigen::RowMajor > &transformation_matrix, Eigen::Matrix< ValueType, Eigen::Dynamic, 1 > &param_vector)
 
template<class ValueType >
void param_mat2vec (const Eigen::Matrix< ValueType, 4, 4, Eigen::RowMajor > &transformation_matrix, Eigen::Matrix< ValueType, Eigen::Dynamic, 1 > &param_vector)
 
template<class ValueType >
void param_mat2vec (const Eigen::Matrix< ValueType, 3, 4, Eigen::ColMajor > &transformation_matrix, Eigen::Matrix< ValueType, Eigen::Dynamic, 1 > &param_vector)
 
template<class ValueType >
void param_mat2vec (const Eigen::Matrix< ValueType, 4, 4, Eigen::ColMajor > &transformation_matrix, Eigen::Matrix< ValueType, Eigen::Dynamic, 1 > &param_vector)
 
template<class Derived , class ValueType >
void param_vec2mat (const Eigen::MatrixBase< Derived > &param_vector, Eigen::Matrix< ValueType, 3, 4 > &transformation_matrix)
 
template<class Derived , class ValueType >
void param_vec2mat (const Eigen::MatrixBase< Derived > &param_vector, Eigen::Matrix< ValueType, 4, 4 > &transformation_matrix)
 
FORCE_INLINE Eigen::MatrixXd aPSF_weights_to_FOD_transform (const int num_SH, const Eigen::MatrixXd &directions)
 
FORCE_INLINE vector< vector< ssize_t > > multiContrastSetting2start_nvols (const vector< MultiContrastSetting > &mcsettings, size_t &max_n_SH)
 
template<class FODImageType >
void reorient (FODImageType &input_fod_image, FODImageType &output_fod_image, const transform_type &transform, const Eigen::MatrixXd &directions, bool modulate=false, vector< MultiContrastSetting > multi_contrast_settings=vector< MultiContrastSetting >())
 
template<class FODImageType >
void reorient (const std::string progress_message, FODImageType &input_fod_image, FODImageType &output_fod_image, const transform_type &transform, const Eigen::MatrixXd &directions, bool modulate=false, vector< MultiContrastSetting > multi_contrast_settings=vector< MultiContrastSetting >())
 
template<class FODImageType >
void reorient_warp (const std::string progress_message, FODImageType &fod_image, Image< default_type > &warp, const Eigen::MatrixXd &directions, const bool modulate=false, vector< MultiContrastSetting > multi_contrast_settings=vector< MultiContrastSetting >())
 
template<class FODImageType >
void reorient_warp (FODImageType &fod_image, Image< default_type > &warp, const Eigen::MatrixXd &directions, const bool modulate=false, vector< MultiContrastSetting > multi_contrast_settings=vector< MultiContrastSetting >())
 

Enumeration Type Documentation

◆ TransformProjectionType

Enumerator
rigid_nonsym 
affine 
affine_nonsym 
none 

Definition at line 33 of file affine.h.

Function Documentation

◆ aPSF_weights_to_FOD_transform()

FORCE_INLINE Eigen::MatrixXd MR::Registration::Transform::aPSF_weights_to_FOD_transform ( const int  num_SH,
const Eigen::MatrixXd &  directions 
)

Definition at line 34 of file reorient.h.

◆ multiContrastSetting2start_nvols()

FORCE_INLINE vector< vector< ssize_t > > MR::Registration::Transform::multiContrastSetting2start_nvols ( const vector< MultiContrastSetting > &  mcsettings,
size_t &  max_n_SH 
)

Definition at line 43 of file reorient.h.

◆ param_mat2vec() [1/4]

template<class ValueType >
void MR::Registration::Transform::param_mat2vec ( const Eigen::Matrix< ValueType, 3, 4, Eigen::ColMajor > &  transformation_matrix,
Eigen::Matrix< ValueType, Eigen::Dynamic, 1 > &  param_vector 
)
inline

Definition at line 47 of file base.h.

◆ param_mat2vec() [2/4]

template<class ValueType >
void MR::Registration::Transform::param_mat2vec ( const Eigen::Matrix< ValueType, 3, 4, Eigen::RowMajor > &  transformation_matrix,
Eigen::Matrix< ValueType, Eigen::Dynamic, 1 > &  param_vector 
)
inline

Definition at line 35 of file base.h.

◆ param_mat2vec() [3/4]

template<class ValueType >
void MR::Registration::Transform::param_mat2vec ( const Eigen::Matrix< ValueType, 4, 4, Eigen::ColMajor > &  transformation_matrix,
Eigen::Matrix< ValueType, Eigen::Dynamic, 1 > &  param_vector 
)
inline

Definition at line 55 of file base.h.

◆ param_mat2vec() [4/4]

template<class ValueType >
void MR::Registration::Transform::param_mat2vec ( const Eigen::Matrix< ValueType, 4, 4, Eigen::RowMajor > &  transformation_matrix,
Eigen::Matrix< ValueType, Eigen::Dynamic, 1 > &  param_vector 
)
inline

Definition at line 41 of file base.h.

◆ param_vec2mat() [1/2]

template<class Derived , class ValueType >
void MR::Registration::Transform::param_vec2mat ( const Eigen::MatrixBase< Derived > &  param_vector,
Eigen::Matrix< ValueType, 3, 4 > &  transformation_matrix 
)
inline

Definition at line 63 of file base.h.

◆ param_vec2mat() [2/2]

template<class Derived , class ValueType >
void MR::Registration::Transform::param_vec2mat ( const Eigen::MatrixBase< Derived > &  param_vector,
Eigen::Matrix< ValueType, 4, 4 > &  transformation_matrix 
)
inline

Definition at line 69 of file base.h.

◆ reorient() [1/2]

template<class FODImageType >
void MR::Registration::Transform::reorient ( const std::string  progress_message,
FODImageType &  input_fod_image,
FODImageType &  output_fod_image,
const transform_type transform,
const Eigen::MatrixXd &  directions,
bool  modulate = false,
vector< MultiContrastSetting multi_contrast_settings = vector<MultiContrastSetting>() 
)

Definition at line 184 of file reorient.h.

◆ reorient() [2/2]

template<class FODImageType >
void MR::Registration::Transform::reorient ( FODImageType &  input_fod_image,
FODImageType &  output_fod_image,
const transform_type transform,
const Eigen::MatrixXd &  directions,
bool  modulate = false,
vector< MultiContrastSetting multi_contrast_settings = vector<MultiContrastSetting>() 
)

Definition at line 153 of file reorient.h.

◆ reorient_warp() [1/2]

template<class FODImageType >
void MR::Registration::Transform::reorient_warp ( const std::string  progress_message,
FODImageType &  fod_image,
Image< default_type > &  warp,
const Eigen::MatrixXd &  directions,
const bool  modulate = false,
vector< MultiContrastSetting multi_contrast_settings = vector<MultiContrastSetting>() 
)

Definition at line 340 of file reorient.h.

◆ reorient_warp() [2/2]

template<class FODImageType >
void MR::Registration::Transform::reorient_warp ( FODImageType &  fod_image,
Image< default_type > &  warp,
const Eigen::MatrixXd &  directions,
const bool  modulate = false,
vector< MultiContrastSetting multi_contrast_settings = vector<MultiContrastSetting>() 
)

Definition at line 365 of file reorient.h.