Research Article

A Parallel Nonrigid Registration Algorithm Based on B-Spline for Medical Images

Algorithm 2

The pseudocode listing of the kernel function kernelFunctionSimilarity().
 Get the index of the thread, and use it to obtain for the voxel.
 Use Eq (2) to get the coordinates of the partition which houses the voxel.
 Use Eq (4) to normalized value of voxel to within the range .
;
 for from to do
   ;
   ;
 end for
 Use Eq (6) to compute the similarity metric for the voxel.
Use Eq (13) to compute for the voxel.