필터 지우기
필터 지우기

How to automatically delete part of the mask like this

조회 수: 2 (최근 30일)
Haowei
Haowei 2023년 3월 14일
댓글: Haowei 2023년 3월 17일
Hi dear all,
I am working on a segmentation methods using region growing. The segmented results always leak out a little bit (marked as red). I do know the starting seeds location and looking for a way that can help me get rid of the rest of the mask. They do have some features but I cannot come up with a good way to do the task.

채택된 답변

Image Analyst
Image Analyst 2023년 3월 14일
It would help to see the original gray scale images to know why your segmentation was not successful. It might be easier to prevent the "overflow" than to remove it once it's there.
Anyway I'd experiment around with imopen or watershed to try to separate the blobs. You might also need bwdist and/or imreconstruct
  댓글 수: 3
Image Analyst
Image Analyst 2023년 3월 17일
For deep learning, like SegNet or Unet you'd need to provide hundreds of images where you've manually outlined ("labeled") the regions you want it to find. If you're going to do that and spend the time to write a training program and program to apply the network, you might as well just hand draw the regions you want. Either way you're hand-drawing regions.
I'm attaching some hand drawing masking demos.
Haowei
Haowei 2023년 3월 17일
Thank you so much. I agree that making labels is a pain but region growing is hard to disconnect those parts (that is also a pain). Sincerely appreciate your help, thanks again for your support.

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

추가 답변 (0개)

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by