How I draw 2 lines in image

2 views (last 30 days)
Sajid Rahim
Sajid Rahim on 25 Aug 2017
Commented: Image Analyst on 28 Aug 2017
Howm I convert the $.png image like the image shown in 444.png

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

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!