Convert line to pixels in a image, from coordenade
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Josep Llobet
am 6 Sep. 2021
Kommentiert: Josep Llobet
am 7 Sep. 2021
Hi there,
I have the coordenades of two points, which with the function line() I can draw a line. I want to convert the pixels of the original image which belong the line between the two points. The image is binary.
In a graphical way: am trying to convert the pixels which go through the yellow line, in an automated way.
I am conscious that I could use the manually code, as example:
1 = BW_image(45:50, 65:70)
but I am trying to make it in a automated way.
Thank you!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!