Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>For me this is a classical problem in morphological filtering. We can see that as we improve the threshold we have different parts of the books that are visible.</p> <p><img src="https://i.stack.imgur.com/lcaFS.png" alt="Threshold at 100"> <img src="https://i.stack.imgur.com/9ve5I.png" alt="Threshold at 150"> and <img src="https://i.stack.imgur.com/2Yj6r.png" alt="Threshold at 172"></p> <p>Now some grayscale filtering based on the area/size of the grayscale components can provide with some good segmentation. This is called an area opening in morphological filtering: <a href="http://www.mathworks.fr/fr/help/images/ref/bwareaopen.html" rel="nofollow noreferrer">http://www.mathworks.fr/fr/help/images/ref/bwareaopen.html</a></p> <p>This basically removes connected components whose size/area is lesser than a certain parameter. Thus to see this in action here are a few filtered images of the thresholds above.</p> <p><img src="https://i.stack.imgur.com/S0Y9M.png" alt="Area opening and closing"></p> <p><img src="https://i.stack.imgur.com/Vb10A.png" alt="Another gray level"></p> <pre><code> x150 = I&gt;150; x100 = I&gt;100; x172 = I&gt;172; x150_op = bwareaopen(x150,80); x172_op = bwareaopen(x172,300); figure, imshow(~bwareaopen(x150_op,150); %area closing figure, imshow(~bwareaopen(x172_op,300); %area closing </code></pre> <p>Thus as we see we require a connected area opening filter which calculates connected grayscale componenets with a certain area. I think you can tune this for the books!</p> <p>Another library that provides the same operator and some examples: <a href="http://www.mmorph.com/mxmorph/html/morph/mmareaopen.html" rel="nofollow noreferrer">http://www.mmorph.com/mxmorph/html/morph/mmareaopen.html</a></p> <p>Best of luck!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload