How to store an image from imshow?

5 Ansichten (letzte 30 Tage)
Srikar Malyala
Srikar Malyala am 20 Mai 2020
Kommentiert: Srikar Malyala am 24 Mai 2020
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?

Akzeptierte Antwort

KSSV
KSSV am 20 Mai 2020
Read about imwrite.
  3 Kommentare
Image Analyst
Image Analyst am 23 Mai 2020
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 am 24 Mai 2020
Thank you!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by