Fill the concave regions between two points in a Lung Image

I am working on lung segmentation. I want to fill the concave regions between two points. The points are called ‘critical points’. Problem is that sometimes there may be convex regions between two ‘critical points’. I want to fill only the concave regions (not the convex regions). How will I find the concave regions between two points? In the image, you can see that there are two 'openings'. I want to close the opening A but not the opening B.

2 件のコメント

Image Analyst
Image Analyst 2016 年 8 月 8 日
You forgot to attach any image. use the green and brown frame icon to insert your image.
MUSTAFA
MUSTAFA 2016 年 8 月 9 日
編集済み: MUSTAFA 2016 年 8 月 9 日
Attached the image
In the image, you can see that there are two 'openings'. I want to close the opening A but not the opening B.

サインインしてコメントする。

回答 (1 件)

Cyrus
Cyrus 2016 年 8 月 10 日

0 投票

Hi,
split your image into two sub-images(split it from middle).
then use morphological " imclose " function for the left part.
then merge the modified left side with untouched right half image.
"The morphological close operation is a dilation followed by an erosion, using the same structuring element for both operations".

質問済み:

2016 年 8 月 8 日

回答済み:

2016 年 8 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by