Skip to main content
4 events
when toggle format what by license comment
Jun 11, 2021 at 13:54 vote accept Nolan Cardozo
Nov 23, 2020 at 19:48 comment added FirefoxMetzger @NolanCardozo Are you opening a binary image or a gray-scale image? Your result may stem from using a gray-scale morphological operation instead of a binary one. Regarding a dynamic threshold, you can choose the structuring element (selem) dynamically. I choose a fixed one, because - given your question - it seemed like the simplest solution.
Nov 23, 2020 at 13:46 comment added Nolan Cardozo Hi FirefoxMetzger. Thanks for your answer. Unfortunately this does not work for me. I get this image when I try to visualize the img_opened. [![enter image description here][1]][1] [1]: i.sstatic.net/8PIt5.png . Addiitonally how do you choose the threshold 1/6th, is there a way to dynamically estimate this?
Nov 22, 2020 at 11:58 history answered FirefoxMetzger CC BY-SA 4.0