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

[DAR-5421] Support for non-axial NifTI annotation imports and exports #992

Merged
merged 9 commits into from
Feb 18, 2025

Conversation

JBWilkie
Copy link
Collaborator

@JBWilkie JBWilkie commented Jan 15, 2025

Problem

Currently when importing or exporting annotations in the NifTI format, it's assumed the primary plane of the target slot axial. This is not always the case. Assuming an AXIAL primary plane is problematic because incorrect pixdim values are selected for scaling and slicing

Solution

This PR makes changes to take the primary plane of the target slot into account when scaling and slicing NifTI annotations on import and export

Changelog

Added support for importing and exporting non-axial NifTI volumes as annotations

Copy link

linear bot commented Jan 15, 2025

@JBWilkie JBWilkie merged commit e66ebed into master Feb 18, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants