Functions

dwi_normalize.cc File Reference

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.

Detailed Description

Implements functions of dwi_normalize.h.

Author:
Yinpeng Li (mousquetaires@unc.edu)

Function Documentation

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines