Filter löschen
Filter löschen

How I draw 2 lines in image

2 Ansichten (letzte 30 Tage)
Sajid Rahim
Sajid Rahim am 25 Aug. 2017
Kommentiert: Image Analyst am 28 Aug. 2017
Howm I convert the $.png image like the image shown in 444.png

Antworten (1)

Image Analyst
Image Analyst am 25 Aug. 2017
You can use "hold on" then line() or plot() to draw lines into the overlay.
Or you can burn lines into each color channel with the imline() like in the attached demo.
  3 Kommentare
Image Analyst
Image Analyst am 28 Aug. 2017
Just change it to read in your image first. Then click and draw lines. It's definitely something you can handle. Simply use imread() before my code to read in that image you posted.

Melden Sie sich an, um zu kommentieren.

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!

Translated by