Ignore empty slices in slice-wise motion correction (or registration) #2805
Labels
enhancement
category: improves performance/results of an existing feature
priority:LOW
sct_dmri_moco
context:
sct_fmri_moco
context:
user requested
Raised by user on the SCT forum/email/GitHub. Be sure to notify them when fixed in a release.
When there is an empty slice, slice-wise motion correction crashes, as seen here: http://forum.spinalcordmri.org/t/error-when-running-sct-dmri-moco/440
It would be easy, before calling ANTs command, to check if the slice is empty. If it is, skip this slice and put "zero" motion coefficients.
The text was updated successfully, but these errors were encountered: