How I can save Image without using imwrite ?

6 views (last 30 days)
I want a code that save Image after I construct this Image from blocks,I used imwrite but it effect on the values of the Image when I read this Image ,please I need your help in that problem ????
  2 Comments
Michael Haderlein
Michael Haderlein on 7 May 2015
Could you please also state what kind of effect of imwrite is the problem?
Ameligege
Ameligege on 7 May 2015
Edited: Walter Roberson on 8 May 2015
I wrote the result in notebad file after imwrite
when I read it from another function to read the result Image and write it to notebad file ,these notbad files are different
here is the some values first row of the result Image
52,59,58,66,66,61,67,68,66,65,63,62,62,62,60
here is the first row from where I read the result Image
65,63,66,75,62,53,67,71,67,66,65,64,62,61,59,59,64,63,60

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 7 May 2015
Save it to a .mat file with save().
  13 Comments
Image Analyst
Image Analyst on 6 Jan 2017
Why do you want 1 and 2 instead of the more usual 0 and 1 (used for binary images, masks, ROIs, etc.)?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!