Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use nitransforms for LTA-ITK conversions #2041

Closed
oesteban opened this issue Mar 18, 2020 · 1 comment
Closed

Use nitransforms for LTA-ITK conversions #2041

oesteban opened this issue Mar 18, 2020 · 1 comment
Projects
Milestone

Comments

@oesteban
Copy link
Member

Replacing this: https://github.com/poldracklab/fmriprep/blob/1d93d9e5599d08347ba2b85a4d4590a4c9273814/fmriprep/workflows/bold/registration.py#L456-L463

(will require nipy/nitransforms#64)

@mgxd mgxd added this to 20.2+ in 20.1 Mar 19, 2020
oesteban added a commit to oesteban/fmriprep that referenced this issue May 27, 2020
This is a temporary patch before we go all the way in with NiTransforms
in the sampling of BOLD on surfaces.

The anatomical _fast-track_ required to expose the fsnative-to-T1w
transform in the derivatives folder (which we were already doing in ITK
format).

When fMRIPrep ran without the fast-track, then the LTA transform would
be directly passed in without conversions. The fast-track PR forced the
implementation to use the ITK version.

This, in conjunction with the little trick to stick the BOLD shape and
zooms into the LTA (i.e., using ``lta_concatenate`` with an identity
transform with those features, shape and zooms, as moving) resulted in
an overly complex workflow that I partially implemented with
NiTransforms.

This PR gets rid of the concatenation with identity trick, using
NiTransforms to generate a transform equivalent to the concatenated LTA
we used to generate before the fast-track was introduced.

Resolves: nipreps#2145
Assign: @mgxd
Milestone: 20.1.0
Related: nipreps#2118, nipreps#2041, nipreps#2121.
@oesteban oesteban added this to the 20.3.x milestone May 28, 2020
@oesteban
Copy link
Member Author

oesteban commented Jun 5, 2020

3903bee

@oesteban oesteban closed this as completed Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
20.1
20.2+
Development

No branches or pull requests

1 participant