How to store an image from imshow?

1 回表示 (過去 30 日間)
Srikar Malyala
Srikar Malyala 2020 年 5 月 20 日
コメント済み: Srikar Malyala 2020 年 5 月 24 日
I have displayed an image using imshow and plotted some segmentations using lines.
Can I know how can I store the resulting image without changing image dimensions?(I get white background when I try to store the image using save button)
Original Image is 5_20.jpg
Image after plotting is pat1.jpg
I want to store pat1.jpg without borders after plotting lines on it.
Can I know how can this be done?

採用された回答

KSSV
KSSV 2020 年 5 月 20 日
Read about imwrite.
  3 件のコメント
Image Analyst
Image Analyst 2020 年 5 月 23 日
Not true. You can save any image. If you've put graphics over the image, into the graphics overlay, use exportgraphics() (available in r2020a).
Srikar Malyala
Srikar Malyala 2020 年 5 月 24 日
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by