How to save imagesc output as image format (.jpg/.png) in MATLAB

조회 수: 12 (최근 30일)
Stephen john
Stephen john 2022년 9월 13일
댓글: Stephen john 2022년 9월 13일
Hello everyone. I hope you are doing well. I have the following dataset . I have created the image using
imagesc command. Now i want to write this image in a folder save .jpg/png format using imwrite without axis
How can i do that
The following figure is attached

답변 (1개)

Image Analyst
Image Analyst 2022년 9월 13일
If you want the original image saved, with no axes or tick labels, then you can use imwrite(). If you've applied a colormap then you'll have to convert the image to RGB first with ind2rgb and then use imwrite.
  댓글 수: 2
Stephen john
Stephen john 2022년 9월 13일
@Image Analyst Can you share both the code for this?
Stephen john
Stephen john 2022년 9월 13일
@Image Analyst I am unable to save it Can you please help me in that?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by