HOW TO SAVE A MATRIX INTO THE IMAGE

2 views (last 30 days)
HOW TO SAVE THE MATRIX INTO THE IMAGE for example into (.jpg) format

Accepted Answer

Image Analyst
Image Analyst on 6 Oct 2012
I think you're probably wanting to know about imwrite(). See the help for full documentation.

More Answers (2)

Saket Dandawate
Saket Dandawate on 6 Oct 2012
This should work
imwrite(mat2gray(IMAGE),'ImageName.jpg');

Deepraj Adhikary
Deepraj Adhikary on 23 Feb 2018
Can anyone please help me store the image below in the form of a matrix?
-Deepraj Adhikary
  1 Comment
Image Analyst
Image Analyst on 23 Feb 2018
Isn't it already in a matrix after you called imread() to read it in from disk???? Exactly what form is this image starting in?

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!