Suggestions in border detection

1 回表示 (過去 30 日間)
Ariwan Abdollah
Ariwan Abdollah 2020 年 11 月 25 日
回答済み: Ariwan Abdollah 2021 年 1 月 9 日
Dear reader,
For my research I am creating an image (cross section of an artery). In that image some 'regions' can clearly be seen. I would like to write some code that can (semi) automatically create regions out of the image. Maybe my explanation is not so clear, so I included a visual representation of what I'd like. My question is, can anyone help with finding a strategy how to device this. I've tried some tricks but up until now these are not satisfactory.
The result I have up until now:
What I would like to have:
So it needs to be 'cleaned' up and the missing connections need to be connected once more (as shown in red). I am not really worried about the lines in the center, but if they are also effected by the code that's fine. I have found a function that draws brezier curves (https://nl.mathworks.com/matlabcentral/fileexchange/33828-generalised-bezier-curve-matlab-code), so the red parts could be manually added if that helps.
Thank you in advance
  3 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2020 年 11 月 25 日
Can you attach the original image also?
Ariwan Abdollah
Ariwan Abdollah 2020 年 11 月 25 日
編集済み: Ariwan Abdollah 2020 年 11 月 25 日
@mathieu NOE Thank you for the suggestion. I have looked into it. This method seems to show horizontal and vertical lines, if I understand correctly. However, this is not exactly what I think I need, as the lines need to be 'extrapolated' to close the figure. Then what is inside the shape needs to
@Kalyan Acharjya, Yes ofcourse. I included the .fig and the .png

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

採用された回答

Ariwan Abdollah
Ariwan Abdollah 2021 年 1 月 9 日

その他の回答 (1 件)

Manas Meena
Manas Meena 2021 年 1 月 4 日
The following link addresses a similar question of sectioning out arteries. You can refer to the code from this solution.

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by