How I draw 2 lines in image

Answers (1)

Image Analyst
Image Analyst on 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 Comments

thank you Sir for reply.... but i am new in matlab... can you send me the total code plz......
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.

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Asked:

on 25 Aug 2017

Commented:

on 28 Aug 2017

Community Treasure Hunt

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

Start Hunting!