How to remove vertical line noise from binary image

I have the following binary image of an ear. I want to remove the vertical noisy lines from the left part of the image so that i get just the outline of the ear. I seem to fail to find a required filter which can do my job. I would be really obliged if I could get the answer to my question.

2 Commenti

KALYAN ACHARJYA
KALYAN ACHARJYA il 23 Feb 2021
Modificato: KALYAN ACHARJYA il 23 Feb 2021
"vertical noisy lines
Can you clarify more, please be specific, Maths defination would be much better?
I need the outline of the ear image above and not the noise on the left portion of the image. Since the image is huge, you may have to scroll left to right to see the image. I only need to extract the ear portion of the image. What do i do? Also, the technique should be a generalized one so that I can apply it to any such binary image of an ear

Accedi per commentare.

 Risposta accettata

result=bwareafilt(bwImage,2);
imshow(result);

4 Commenti

Thank you. But is it possible to retain several more features or curves of the ear? This image will not train a classifier well enough. It has a high bias.
The curves of the inner part of the ear need to be retained
KALYAN ACHARJYA
KALYAN ACHARJYA il 23 Feb 2021
Modificato: KALYAN ACHARJYA il 23 Feb 2021
Try with more values, not 2, you may require to perform other morpho operations before applying bwareafilt.
Or do the edge detection more accurately, so that ROIs can be extracted easily.
Thank you so much

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by