How I draw 2 lines in image

2 次查看(过去 30 天)
Sajid Rahim
Sajid Rahim 2017-8-25
Howm I convert the $.png image like the image shown in 444.png

回答(1 个)

Image Analyst
Image Analyst 2017-8-25
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 个评论
Image Analyst
Image Analyst 2017-8-28
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by