Image processing pipeline for DTI (refactored from inherited version 1.52)