필터 지우기
필터 지우기

Edge detection and filling

조회 수: 13 (최근 30일)
Federico Uribe
Federico Uribe 2019년 9월 5일
댓글: Federico Uribe 2019년 9월 6일
I have an image and im trying to get the edges and filled the spaces, I have been trying with imfill, but the issue is that when i use the function edge, it doesn't detect the sides, any ideas on how to do it? thanks
this is the image
Captura.PNG
and i need it to be like this
Captura2.jpg

답변 (1개)

Image Analyst
Image Analyst 2019년 9월 5일
I'd try adaphisteq() to flatten the shading across the image. Then use a global threshold, then call imfill().
  댓글 수: 1
Federico Uribe
Federico Uribe 2019년 9월 6일
Thank you Analyst, I just try it and I´m getting a better image, really close to what im looking for, however im still mising a little bit on the side and getting some pixels that are nos supposed to be on the image, should I'm using bwareaopen to get rid of them, but at the same time I´m losing some pixels on the side.
Thanks

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by