How I draw 2 lines in image
2 次查看(过去 30 天)
显示 更早的评论
Howm I convert the $.png image like the image shown in 444.png
0 个评论
回答(1 个)
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
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 Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!