<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Oh one more small thing comes to my mind:<br>
      <br>
      In the minimal example skimage code that I gave, I included two
      test files: testImage.png and testImageTiny.png<br>
      The *Tiny.png strangely does not show the memory blowup at all. I
      don't understand this behavior at all, but included anyway. Maybe
      it helps for finding out more about the problem.<br>
    </p>
    <p>> FWIW, binary images are stored as ubyte, so 1 *byte* per
      pixel.<br>
      <br>
      Sounds strange. Have to google about this. Thanks for the Info,
      anyway! :)<br>
    </p>
    <p><br>
      Cheers,<br>
      Martin<br>
      <br>
      <br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 07/13/2017 08:26 PM, Stefan van der
      Walt wrote:<br>
    </div>
    <blockquote
cite="mid:1499970360.710411.1040059024.2AB12C17@webmail.messagingengine.com"
      type="cite">
      <title></title>
      <div>On Thu, Jul 13, 2017, at 04:21, Martin Fleck wrote:<br>
      </div>
      <blockquote type="cite">
        <p>Indeed, this could be the complete problem already! For the
          analysis I use a binary image - so only one bit per pixel.<br>
        </p>
      </blockquote>
      <div><br>
      </div>
      <div>FWIW, binary images are stored as ubyte, so 1 *byte* per
        pixel.<br>
      </div>
      <div> <br>
      </div>
      <blockquote type="cite">
        <div> 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().<br>
        </div>
        <div> So there are problems at multiple steps that hopefully can
          be improved.<br>
        </div>
      </blockquote>
      <div><br>
      </div>
      <div>Thanks for helping us uncover and trace these!<br>
      </div>
      <div> <br>
      </div>
      <div>Stéfan<br>
      </div>
      <div><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
scikit-image mailing list
<a class="moz-txt-link-abbreviated" href="mailto:scikit-image@python.org">scikit-image@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scikit-image">https://mail.python.org/mailman/listinfo/scikit-image</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>