dipy_bundlewarp#
Synopsis#
BundleWarp: streamline-based nonlinear registration.
BundleWarp [1] is a nonrigid registration method for deformable registration of white matter tracts.
Usage#
dipy_bundlewarp [OPTIONS] static_file moving_file
Input Parameters#
static_filePath to the static (reference) .trk file.
moving_filePath to the moving (target to be registered) .trk file.
General Options#
--distPath to the precalculated distance matrix file. (default: None)
--alphaRepresents the trade-off between regularizing the deformation and having points match very closely. Lower value of alpha means high deformations. It is represented with λ in BundleWarp paper. NOTE: setting alpha<=0.01 will result in highly deformable registration that could extremely modify the original anatomy of the moving bundle. (default: 0.3)
--betaRepresents the strength of the interaction between points Gaussian kernel size. (default: 20)
--max_iterMaximum number of iterations for deformation process in ml-CPD method. (default: 15)
--affineIf False, use rigid registration as starting point. (default True) (default: True)
Output Options#
--out_dirOutput directory. (default: current directory)
--out_linear_movedFilename of linearly moved bundle. (default: linearly_moved.trk)
--out_nonlinear_movedFilename of nonlinearly moved (warped) bundle. (default: nonlinearly_moved.trk)
--out_warp_transformFilename of warp transformations generated by BundleWarp. (default: warp_transform.npy)
--out_warp_kernelFilename of regularization gaussian kernel generated by BundleWarp. (default: warp_kernel.npy)
--out_distFilename of MDF distance matrix. (default: distance_matrix.npy)
--out_matched_pairsFilename of matched pairs; streamline correspondences between two bundles. (default: matched_pairs.npy)
References#
Garyfallidis, E., M. Brett, B. Amirbekian, A. Rokem, S. Van Der Walt, M. Descoteaux, and I. Nimmo-Smith. Dipy, a library for the analysis of diffusion MRI data. Frontiers in Neuroinformatics, 1-18, 2014.