I am trying to write a nifti file with custom RescaleSlope, RescaleIntercept and was hoping to use NiftiImageIO’s SetRescaleSlope()
and SetRescaleIntercept()
. Is it possible to access functionality of NiftiImageIO class from python SimpleITK? I am unable to find a reference/hint about it.
Or is there any other way, preferably simpleitk way, to write nifti file with custom RescaleSlope, RescaleIntercept?