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 CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by