The difference between imwrite and imsave

//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.

+3
source share
1 answer

imsave ( edit imsave), , imwrite, . , .

IMWRITE , :

imwrite(yourImageHere,map,filename)
+2

Source: https://habr.com/ru/post/1786684/


All Articles