How to store an image from imshow?

2 次查看(过去 30 天)
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).

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by