[scikit-image] Memory consumption of measure.label (compared to matlab)
Stefan van der Walt
stefanv at berkeley.edu
Thu Jul 13 14:26:00 EDT 2017
On Thu, Jul 13, 2017, at 04:21, Martin Fleck wrote:
> Indeed, this could be the complete problem already! For the analysis I use a binary image - so only one bit per pixel.
FWIW, binary images are stored as ubyte, so 1 *byte* per pixel.
> Greg: Regarding your PR and my analysis: My analysis using a 1.2GB file stops due to memory problems already in skimage.morphology.remove_small_objects() even if the major memory blowup happens with skimage.morphology.label().> So there are problems at multiple steps that hopefully can be improved.
Thanks for helping us uncover and trace these!
Stéfan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20170713/aa05f4ca/attachment.html>
More information about the scikit-image
mailing list