Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to get which part is on the direction of a ray on 2d image?

조회 수: 1 (최근 30일)
wei zhang
wei zhang 2019년 6월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
I have several small parts in the binary image. Besides, I define a ray based on two points. I want to get which small parts being traversed by the ray. The input is the binary image and two points to define the ray. I make a sketch map below, the ray is in red. Obviously, the part in the green circle will be get. (The origin binary map is in the attachments.) Could someone give me some hints or method to realize this goal? Thank you very much.
map1.bmp

답변 (0개)

이 질문은 마감되었습니다.

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by