Extracts motion parameters from fMRI dicom images