How I draw 2 lines in image

2 ビュー (過去 30 日間)
Sajid Rahim
Sajid Rahim 2017 年 8 月 25 日
コメント済み: Image Analyst 2017 年 8 月 28 日
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 Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by