Filter löschen
Filter löschen

how calculate the size of image after compressed image

3 Ansichten (letzte 30 Tage)
Noor Abbas
Noor Abbas am 20 Sep. 2017
Beantwortet: Rik am 20 Sep. 2017
how can calculate file size before and after compress image

Antworten (1)

Rik
Rik am 20 Sep. 2017
This was my first hit on Google for file size Matlab:
im1_stats = dir(filename_image1);
im2_stats = dir(filename_image2);
ratio = im1_stats.bytes./im2_stats.bytes

Kategorien

Mehr zu Denoising and Compression finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by