-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimise dicom processing #33
Comments
Originally posted by @BartholomaeusAstrum at 2018-07-18T20:52:32Z This is the profile of the dicom loading function currently:
|
Originally posted by @mr-martian at 2019-10-20T21:10:24Z Based on this: python-pillow/Pillow#1211 I changed the PNG compression level from the default (6) to 1, resulting in a 10% increase in file size (168.4 MB vs 152.7 MB) and a 57% increase in speed (on the Mac in the lab 37s vs 85s). |
Originally posted by @jonorthwash at 2019-10-21T05:27:56Z Ah, right, png compression is slow. This seems like a reasonable trade-off for now. |
Originally posted by @jonorthwash at 2018-07-10T04:36:17Z (original issue)
pixels
,arr
,img
after processed (these eat a certain amount of memory).The text was updated successfully, but these errors were encountered: