Functions | |
std::string | dir2id (const Eigen::Vector3d &) |
convert axis directions between formats More... | |
Eigen::Vector3d | id2dir (const std::string &) |
void | get_permutation_to_make_axial (const transform_type &T, std::array< size_t, 3 > &perm, std::array< bool, 3 > &flip) |
std::string MR::Axes::dir2id | ( | const Eigen::Vector3d & | ) |
convert axis directions between formats
these helper functions convert the definition of phase-encoding direction between a 3-vector (e.g. [0 1 0] ) and a NIfTI axis identifier (e.g. 'i-')
void MR::Axes::get_permutation_to_make_axial | ( | const transform_type & | T, |
std::array< size_t, 3 > & | perm, | ||
std::array< bool, 3 > & | flip | ||
) |
determine the axis permutations and flips necessary to make an image appear approximately axial
Eigen::Vector3d MR::Axes::id2dir | ( | const std::string & | ) |