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

Consider making it difficult to make (u)int64 NIfTI images #61

Open
effigies opened this issue Feb 18, 2022 · 2 comments
Open

Consider making it difficult to make (u)int64 NIfTI images #61

effigies opened this issue Feb 18, 2022 · 2 comments

Comments

@effigies
Copy link

Hi all, over in the NIPY world, we've just decided to deprecate (u)int64 support in NIfTI: nipy/nibabel#1089

Basically nobody else (AFNI, FSL, SPM) supports them, and there's no compelling use case for them, but they're easy to make in Python if you aren't paying careful attention to types, so we're going to be making it hard to do unintentionally. Not sure if your technical situation is similar, but in case it is, I wanted to bring this to your attention before it becomes a painful decision.

@Tokazama
Copy link
Member

FSL doesn't support Int64?

@effigies
Copy link
Author

Not according to https://nifti.nimh.nih.gov/nifti-1/support/FSLandNIfTI1. It's possible that it's changed since 2007, but it is also not a very sensible data type (Generally you want integers for labels/masks or to compress files by using scale factors), so adding support would be pretty low priority. FSLeyes will support them, but that's because it's written in Python with nibabel as its I/O layer.

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

No branches or pull requests

2 participants