How to find the desired element in an image?

조회 수: 1 (최근 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

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

카테고리

Help CenterFile Exchange에서 Chemistry에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by