Implements functions of dwi_normalize.h. More...
#include "dwi_normalize.h"
#include <iostream>
#include <sstream>
#include <iomanip>
#include <utility>
#include <vector>
#include <cmath>
#include <cassert>
#include "math_utilities.h"
Functions | |
void | dwiNormalize (const Nrrd *raw, Nrrd *&normalized) |
Preprocess diffusion data for tractography. |
Implements functions of dwi_normalize.h.
void dwiNormalize | ( | const Nrrd * | raw, | |
Nrrd *& | normalized | |||
) |
Preprocess diffusion data for tractography.
This function performs the necessary preprocessings for the ukf tractography It computes baseline image by avaraging, and divides out baseline image from signal It also adjusts the axis order in NRRD, and transforms the world coordinate system to RAS if necessary
This function complies with the NRRD convention, namely the parameters have to be initialized properly before invocation