Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How to get which part is on the direction of a ray on 2d image?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/225652/map1.bmp)
0 Kommentare
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!