fmriprep
fmriprep copied to clipboard
ENH: integrate left-right flip detection
The left-right flip detection runs the alignment algorithm after flipping the BOLD image and compares the costs of aligning the T1w with the flipped BOLD and with the original BOLD. In the summary of the visual report, we emit a warning if the cost related to the flipped image is lower than the cost related to the original image. We also report the two costs and provide the visualization of the flipped alignment.
Strongly inspired by the AFNI implementation of the left-right detection tool (Glen et al. 2020)