Calculation of frequently used (fa,ga,curve_radius) defined in this file. More...
#include <cassert>
#include <cmath>
#include <vector>
#include "linalg.h"
#include <vnl/vnl_matrix.h>
Go to the source code of this file.
Functions | |
double | l2fa (double l1, double l2, double l3) |
double | s2ga (const vnl_matrix< double > &signal) |
double | curve_radius (const std::vector< vec_t > &fiber) |
Calculation of frequently used (fa,ga,curve_radius) defined in this file.
double curve_radius | ( | const std::vector< vec_t > & | fiber | ) |
Calculate curve radius from fiber
double l2fa | ( | double | l1, | |
double | l2, | |||
double | l3 | |||
) |
Calculate fractional anisotropy from eigenvalues
double s2ga | ( | const vnl_matrix< double > & | signal | ) |
Calculate Generalized anisotropy from signal