Skip to content

[ENH] Add option to cast to another data type#35

Draft
balbasty wants to merge 2 commits into
mainfrom
enh-opt-dtype
Draft

[ENH] Add option to cast to another data type#35
balbasty wants to merge 2 commits into
mainfrom
enh-opt-dtype

Conversation

@balbasty

@balbasty balbasty commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

This change was suggested by @chourroutm, because some tools that handle niftis do not properly support all data types (e.g. Freeview does not like U16), and some tools that handle zarrs do not properly support a different set of data types (e.g., Neuroglancer (used to?) not like F64).

Not tested yet, hence draft mode.

@chourroutm

Copy link
Copy Markdown
Contributor

Note that U16 is now supported by freesurfer in versions 8+ freesurfer/freesurfer#1427

@kabilar

kabilar commented Jul 14, 2026

Copy link
Copy Markdown
Member

Hi @balbasty @chourroutm, I was just going through old PRs. Checking to see if this is still needed or if we should close since freesurfer has been updated?

@balbasty

Copy link
Copy Markdown
Contributor Author

I still think it's useful to convert between data types. I am pretty sure this PR works, it just needs testing.

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.

3 participants