Research Article

White Matter Fiber Tractography Using Nonuniform Rational B-Splines Curve Fitting

Algorithm 1

Summary of the method for extracting the consecutive directions along a pathway.
Input: ROI, , , .
Output: Consecutive directions along a pathway.
(1) Select one seed voxel in ROI.
(2) Choose one direction in the seed voxel, and its linear equation could be written as follows.
(3) Calculate the distance between and the center of 26-connected neighbor voxels according to the equation given below.
(4) If , the neighbor voxel is considered as a candidate voxel.
(5) The angles between and the direction in the candidate voxel is calculated.
(6) If , is preserved as a consecutive direction. If no consecutive direction is obtained, save current pathway and stop tracking, then turn to (1). Otherwise, go to (7).
(7) , (2)∼(6) are repeated until .