从 Nifti 文件的元数据重新调整截距和斜率

rescale intercept and slope from the metadata for Nifti files

ITK/SimpleITK是否通过使用 Nifti 文件的元数据中的重新缩放截距和斜率来自动迎合 HU,就像它对 dicom 文件所做的那样(source)? If it doesn't how can I read the metadata in python 3.4? I went through this class 但是我可以'似乎无法访问 ReadImageInformation() 函数。

根据来源判断 code,slope/intercept 重新缩放是自动完成的。