determing file size
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
kash
el 2 de Mzo. de 2012
Editada: Walter Roberson
el 30 de Jul. de 2019
I have images in two folders,in e drive,one folder consists of normal images ,and other compressed images
image(foldername)consists of original images
image1(foldername)consists of compressed folder
i want to calculate the size of each folder and compression ratio,please help
0 comentarios
Respuesta aceptada
Jonathan Sullivan
el 2 de Mzo. de 2012
im1_stats = dir(filename_image1);
im2_stats = dir(filename_image2);
ratio = im1_stats.bytes./im2_stats.bytes
6 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Convert Image Type 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!