Skip to content

Conversation

@chrisgorgo
Copy link
Contributor

Resample SBRef images if they don't match their BOLD files. Makes it more robust - SBRef with a non-matching grid is unlikely, but not inconceivable.

@effigies effigies added the impact:low Estimated low impact task label Mar 12, 2019
@oesteban oesteban added the effort:medium Estimated medium effort task label Mar 16, 2019
oesteban added a commit to oesteban/niworkflows that referenced this pull request Apr 11, 2019
… 4D SBRefs are supplied as input.

This patch checks the dimensionality of SBRefs and generates an average if the SBRef is 4D.
Fixes nipreps/fmriprep#1579.
Intimately related to nipreps#253, although I'm not sure the proposed resampling there is absolutely necessary.
It could be detrimental for ``bbregister`` in co-registration.
It is very likely necessary for head-motion correction with either ``mcflirt`` or ``3dVolReg``.
@oesteban
Copy link
Member

oesteban commented Mar 1, 2020

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- niworkflows/interfaces/registration.py  3
         

See the complete overview on Codacy

@effigies effigies closed this Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort:medium Estimated medium effort task impact:low Estimated low impact task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants