How to save image with floating number name?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I am trying to write a script and needed help with come of the code part.
I want to save the image text in png format with a name in floating points.
0 comentarios
Respuestas (1)
DGM
el 23 de Jun. de 2021
You mean something like this?
mypict = rand(100);
mn = mean(mypict(:));
filename = sprintf('the_mean_pixel_value_is_%.4e.png',mn);
imwrite(mypict,filename);
0 comentarios
Ver también
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!