How to find the desired element in an image?

4 ビュー (過去 30 日間)
ZWY
ZWY 2022 年 6 月 10 日
コメント済み: ZWY 2022 年 6 月 12 日
Hi, I have an image shown and I want to find the linear structure elements with 80 pixels of length and angle= 30 degree which are fit in the attached image.
How can I do so? Thank you.
  7 件のコメント
DGM
DGM 2022 年 6 月 10 日
編集済み: DGM 2022 年 6 月 10 日
In the prior example using bwskel(), I showed the use of the 'minbranchlength' option to selectively prune short branches. That may be one thing you could work with. Selecting branches by angle might be a little more complicated, and perhaps might require some sort of decision regarding how to define the "angle" of a curved line.
The fact that there are so many loops in this image is probably going to be an obstacle though. You might start with a morphological opening to break connectivity in thin areas, but then again, there appear to be some thin spots and breaks in the image of the larger vessels already.
ZWY
ZWY 2022 年 6 月 11 日
It is suggested to find the main arcade under the 2.1.1. Detecting the vascular tree. You may refer the part after the equation 5. It uses 24 linear structuring elements, each with 80 pixels of length, designed to fit the main vessels of the arcade in the right and left eyes.
Anyway, thank you for your advice.

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

回答 (1 件)

Image Analyst
Image Analyst 2022 年 6 月 10 日
It's not worth doing anything with that image because that segmentation is garbage. You need to first improve your segmentation. I believe I told you before so I'm surprised if you took my advice and wrote a paper based on how others did hte segmentation. You can get algorithms here:
Or try using trainable COSFIRE filters for curvilinear structure delineation in images, like this File Exchange entry:
  3 件のコメント
Image Analyst
Image Analyst 2022 年 6 月 11 日
I think I've done that before to enhance fibers. See attached demo.
ZWY
ZWY 2022 年 6 月 12 日
Thank you very much

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

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by