[Insight-users] SimpleITK WriteImage Speed

Chapman, Brian brchapman at ucsd.edu
Fri Nov 30 15:18:10 EST 2012


I have a question about the speed of the WriteImage function in the Python wrappers for SimpleITK.

I've got a simple program that reads in a volumetric image and writes out the orthogonal slices as individual files. For the case of a lung CT with 300 axial slices, writing out the 300 slices takes the following times:

5.12 seconds when writing them as TIFF images
25.31 seconds when writing them as Meta images
55.63 seconds when writing them as DICOM images

The order of magnitude time difference between writing the TIFFS and the DICOM images was shocking. Has anyone else observed anything like this?

I'm using Python 2.7 and SimpleITK version 0.4.0.

Brian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121130/e2364181/attachment.htm>


More information about the Insight-users mailing list