Remove small blobs and keep letters
Mostra commenti meno recenti
I have a binary image after thresholding to filter out letters from the original image, as the attached. But many unwante small blobs are also retained. I tried bwareaopen, but it was hard to find a proper criterium of area to differentiate these small blobs from the letters. The goal is to fitlter out the text and remove them (both printed and handwritten text) from the image. Thanks.
9 Commenti
Walter Roberson
il 11 Gen 2023
I wonder if measuring their eccentricities would help? Or their density?
Zoe
il 11 Gen 2023
Walter Roberson
il 11 Gen 2023
"Solidity" is a better property than where I said "density" (by which I meant something fairly similar but did not know quite how to implement it at the time.)
Image Analyst
il 11 Gen 2023
Perhaps the letters are on a colored sticker or something. We don't know because you forgot to attach your original image. All you attached was your segmented image. Obviously your segmentation algorithm is not complete but we don't know how to improve or finish it because you forgot to attach the original image. It might be easier for us to start with the original image than try to repair your imperfect segmentation algorithm starting from the bad image.
Also say what you really want. Is it the letters? Or the blobs? What do you want to keep for further analysis, and what do you want to discard/ignore?
DGM
il 11 Gen 2023
Are we talking about the printed text or the handwritten text?
If you're trying to process many varied images, it would help to have examples of more than one.
Zoe
il 12 Gen 2023
Zoe
il 12 Gen 2023
Zoe
il 12 Gen 2023
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Image Segmentation in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

