필터 지우기
필터 지우기

Is there a way to fill up defects in a stripe image?

조회 수: 1 (최근 30일)
Hoyong Yie
Hoyong Yie 2021년 1월 22일
댓글: Hoyong Yie 2021년 2월 23일
I have some images that look like the attached sample.
Is there a way to fill the white holes to make them into a clearer stripe image?
I have used imdilate, imclose, imfill but when I use them the tend to merge the stripes into one bulk. Is this because I'm using them in a wrong way?
Thanks for your help.
  댓글 수: 6
Walter Roberson
Walter Roberson 2021년 2월 21일
bwareafilt() could get rid of most of the disconnected white regions. It would not, however, get rid of the case like the middle right of the second image where there is a 2 x 2 square that happens to be touching the adjacent run of lines.
Hoyong Yie
Hoyong Yie 2021년 2월 23일
Thank you very much

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by