how to use imsave in matlab?

18 visualizaciones (últimos 30 días)
Nagarajan sivathanu
Nagarajan sivathanu el 23 de En. de 2012
I want to save every image produced during each iteration. I thought of using imsave but i do not know what is an handle of an image.
if you know, please give an example code using imsave command in matlab?

Respuestas (2)

Image Analyst
Image Analyst el 23 de En. de 2012
I've never used it or seen the need to use it. Is there any reason why you're not using imwrite() or export_fig() instead?

Jan
Jan el 23 de En. de 2012
The handle of an image is replied by the image, axes, uipanel or figure command:
H = image(rand(100, 100, 3));
imsave(H)
Or
H = figure;
plot(1:10);
imsave(H)
The commands imwrite and print might be useful also.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by