Saving Image with keeping the same histogram

hello i have a double class matrix and want to save it so when i show the histogram for both saved and that matrix in matlab they will be the same. the matrix in matlab i have: img_dec Name (img_dec) Size (512x512) Bytes (2097152) Class (double) Attributes Thanks
<<
>>

Answers (1)

If you save it as a .mat file, then the variable will be the same on a round trip through the file.

This question is closed.

Asked:

on 24 Mar 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!