janelia-flyem / gala

Automatic segmentation of electron microscopy volumes
BSD 3-Clause "New" or "Revised" License
76 stars 29 forks source link

Change image-reading backend for speed improvements #8

Closed jni closed 11 years ago

jni commented 11 years ago

I just changed the backend to use skimage.io.imread instead of PIL's Image.open. That brought the time down from 600s to 3s!

However, I'm not sure what the volume is supposed to look like, so could you compare a few slices of v = imio.raveler_to_labeled_volume('dir') using this update to what Raveler is showing to make sure it's right?

stephenplaza commented 11 years ago

It doesn't seem to changes the final output or the pipeline which would suggest no weird transpositions, etc. It is still possible that it could fail on reading 24 bit label volumes.