determing file size
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
kash
il 2 Mar 2012
Modificato: Walter Roberson
il 30 Lug 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 Commenti
Risposta accettata
Jonathan Sullivan
il 2 Mar 2012
im1_stats = dir(filename_image1);
im2_stats = dir(filename_image2);
ratio = im1_stats.bytes./im2_stats.bytes
6 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Convert Image Type in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!