[ITK-users] Using Python SimpleITK to Read/Write to BytesIO instance rather than file

Brian E Chapman Brian.Chapman at utah.edu
Tue Oct 25 17:15:48 EDT 2016


Hi,

We are looking at using SimpleITK in conjunction with Girder to read images from girder manipulate the images with a Python script and then write the contents back up to Girder. We would prefer to do this using Byte streams rather than saving to a local file, reading/writing to the local file and then uploading the file to Girder, but we have not been able to find a way within SimpleITK (within Python) to read and write from/to streams rather than files.

Any guidance would be appreciated.

Brian



More information about the Insight-users mailing list