//1
I have a color matrix (M * N)
and I used imsave to get the image.
figure, imagesc (color matrix), colormap (gray); imsave;
It is simple and works. But I have to give the image name to save the image every time. How to pass the imsave file name.
// 2 imwrite () does the work, what I want to do with imsave. How can I get the MAP values (3 * 3) for a grayscale image. The important thing I want to know is that imsave or imwrite is best for better image quality.
source
share