HOW TO SAVE A MATRIX INTO THE IMAGE
Show older comments
HOW TO SAVE THE MATRIX INTO THE IMAGE for example into (.jpg) format
Accepted Answer
More Answers (2)
Saket Dandawate
on 6 Oct 2012
2 votes
This should work
imwrite(mat2gray(IMAGE),'ImageName.jpg');
Deepraj Adhikary
on 23 Feb 2018
0 votes
Can anyone please help me store the image below in the form of a matrix?

-Deepraj Adhikary
1 Comment
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?
Categories
Find more on Images in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!