This script (batch_run.sh) performs preprocessing steps on MR images, in the following steps:
- Decompression on DICOM images
- Sort through all DICOM images to create symbolic links and put them into separate folders based on their image sequence
- Perform motion correction on the subsequent diffusion MR image