save indexed images in MATLAB

423 Views Asked by At

I have this image which with point curse it showsenter image description here

X ,Y index RGB

the index values are important for me and I want to save this image and use it later. but when I am using

imwrite(im, 'importantIm.png' , 'png')

the created image does not have index value. here is the resulting saved image (png format); enter image description here

I produce im , like below

im=zeros([1204 1204]);

with a loop add data to it.

0

There are 0 best solutions below