How to remove vertical line noise from binary image

6 views (last 30 days)
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 Comments
KALYAN ACHARJYA
KALYAN ACHARJYA on 23 Feb 2021
Edited: KALYAN ACHARJYA on 23 Feb 2021
"vertical noisy lines
Can you clarify more, please be specific, Maths defination would be much better?
Sourya Saha
Sourya Saha on 23 Feb 2021
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

Sign in to comment.

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 23 Feb 2021
result=bwareafilt(bwImage,2);
imshow(result);
  4 Comments
KALYAN ACHARJYA
KALYAN ACHARJYA on 23 Feb 2021
Edited: KALYAN ACHARJYA on 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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!