How to automatically delete part of the mask like this

2 Ansichten (letzte 30 Tage)
Haowei
Haowei am 14 Mär. 2023
Kommentiert: Haowei am 17 Mär. 2023
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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 14 Mär. 2023
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 Kommentare
Haowei
Haowei am 17 Mär. 2023
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by