ITK
ITK copied to clipboard
nii.zst support
Description
Add Zstd support for NIFTI files so that .nii.zst files can be read and written. Similar to issue #348. This would be great for compression/decompression speed and the file sizes are slightly smaller than those produced by Deflate.
This might not be too hard. But this is the first time I hear about .nii.zst 😄
Anyway, it would be good if someone had the time to take this up.
Is a wrapping extension really anything to do with the standard? I would argue its a compression helper.
This is not like minc with built in blocked hdf5 compression, you need to uncompress the whole file to do anything with it.
Most applications support .nii.gz, and if we want data created by one application to be used directly in another, then it is helpful to have its use standardized. Ideally explicitly, but at least as a standard by convention. .nii.gz is common and supported by ITK, nibabel, and others, but .nii.bz2, .nii.xz, .nii.zip are not. If the others were distributed, then to use them they have to be explicitly decompressed outside the application.
I understand that it is not widely supported. But that is why I spammed other software boards with this suggestion :) For it to be useful, you are right, it would need to de facto standardized but I guess you have to start somewhere.