[Neuroimaging] Nibabel API change - always read as float

Satrajit Ghosh satra at mit.edu
Wed Jul 22 03:56:30 CEST 2015


hi matthew,

I don't know of any software that does behave differently for
> scl_slope of 0 or 1 - but I'd certainly like to know if there is any.
>

ITK:

https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/IO/NIFTI/src/itkNiftiImageIO.cxx#L398

and in the read function:

https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/IO/NIFTI/src/itkNiftiImageIO.cxx#L523


CIFTI/NIFTI2 library:

https://github.com/Washington-University/CiftiLib/blob/master/Nifti/NiftiHeader.cxx#L115


niftilib:

http://anonscm.debian.org/cgit/pkg-exppsy/nifticlib.git/tree/niftilib/nifti1_io.c#n5438

cheers,

satra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20150721/1a2f6fb8/attachment.html>


More information about the Neuroimaging mailing list