how calculate the size of image after compressed image

조회 수: 5 (최근 30일)
Noor Abbas
Noor Abbas 2017년 9월 20일
답변: Rik 2017년 9월 20일
how can calculate file size before and after compress image

답변 (1개)

Rik
Rik 2017년 9월 20일
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

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by