DTI-Preprocessing is a project mainly written in PYTHON and OBJECTIVE-C, it's free.
Automated diffusion imaging workflow using FSL, Diffusion Toolkit, and the LONI Pipeline
Documentation is on the wiki at: http://www.colbyimaging.com/wiki/neuroimaging/dti-preprocessing