Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

14
  • Hi Cris, is it necessary to cut the actual image? I would like to avoid that if possible Commented Sep 28, 2021 at 9:48
  • 1
    @azal That line is necessary because you posted a screen shot of the image displayed with Matplotlib, with a border and axes around it. It is cutting off these axes and border. I’m pretty sure that the image you posted is not the one you are actually processing. This was my way of approximating the actual image you need to process. You should leave that out. Commented Sep 28, 2021 at 13:20
  • could you elaborate/show a way to calc the tolerance if possible? Commented Sep 28, 2021 at 14:39
  • 1
    @azal I haven't had time to think about that yet. The shadow in that first image is quite sharp, it'll be hard to know if it's a sharp shadow or a product. I think a 2nd order derivative might be meaningful, but I would need to give that some thought to give a concrete idea. Commented Sep 28, 2021 at 15:33
  • was not able to install the library via pip install diplib Commented Sep 30, 2021 at 21:15