-
Notifications
You must be signed in to change notification settings - Fork 41
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
ENH: Support spatial normalization to alternative modalities #459
Conversation
1f6f615
to
7d60ee8
Compare
0d0bd42
to
e46fc10
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #459 +/- ##
===========================================
+ Coverage 63.15% 74.16% +11.00%
===========================================
Files 25 25
Lines 1938 1947 +9
Branches 240 242 +2
===========================================
+ Hits 1224 1444 +220
+ Misses 676 438 -238
- Partials 38 65 +27
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@mgxd This is passing our tests, and I'm confident it won't break non-nibabies use cases. Merge when you're comfortable. |
0.17.0 (December 19, 2024) New feature release in the 0.17.x series. This release improves handling of datasets where T1w images are not the primary modality. It also supports the generation of fsLR meshes on the subject surface with the names: sub-<label>/anat/sub-<label>_hemi-<L|R>_space-fsLR_den-<label>_<surface>.surf.gii These are useful for plotting CIFTI results on subject anatomy. * FIX: Stop excluding FS minc_modify_header used during fallback registration (#453) * ENH: Output fsLR meshes on subject surfaces (#460) * ENH: Support spatial normalization to alternative modalities (#459) * ENH: Add `t2w_file` output to `TemplateFlowSelect` (#457) * MNT: Enable pre-release tests (#461) * MNT: Complete transition from flake8/black to ruff (#435) * MNT: Adopt src/ layout and tox (#458)
Builds off #457
Requires nipreps/niworkflows#911
Adds a new parameter to
init_register_template_wf()
,image_type
, to allow setting alternative registration targets for spatial normalization.Also adds a tweak to the antsRegistration call to disable histogram_matching (which is enabled in most of the preset settings used), for cases where the reference anatomical and template target differ in modality.