Click here to Skip to main content
11,802,389 members (30,858 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: General Compression
please give me some parameter which is used to evaluate the performance of compression algorithm

tell me how it is used to valuate...

please help
Posted 11-May-12 3:24am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Given a set of suitable input data, there are essentially these paramenters: the compression ratio (size_after_compression/size_before_compression) and both the compression and decompression speed (bytes/sec).
SAKryukov at 11-May-12 18:02pm
Important note: in this answer, last '/' character is not a division operator, because otherwise 1) slow decompression speed would mean good algorithm; 2) infinitely slow decompression (thread never completes, due to a programming bug, zero decompression speed) would cause division by zero; in floating-point arithmetic it would produce quality equal to +Infinity. :-)
My 5. :-)
CPallini at 12-May-12 5:00am
It was indeed confusing, I've changed that.
BTW Thank you.
SAKryukov at 14-May-12 15:31pm
You are welcome.
I did not actually think it was confusing; I just tried to joke about it, picturing some stupid reader who could possibly think that '/' could be a division operator :-)
However, this joke was inspired by the real-life experience with some inquirers here at CodeProject... :-)

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

When it comes to loss-less compression (i.e. compressing a file for storage), then the main point is compressed file size divided by original file size, followed by the time required for compression.
Sometimes, a lossy compression is used, e.g. jpg for images, or mp3 for audio. Here, a measurement for loss is required, but that is harder to describe, because in the end the result is evaluated by a human user who has to see a nice picture or listen to "high-fidelity" music.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 475
1 KrunalRohit 366
2 F-ES Sitecore 295
3 Afzaal Ahmad Zeeshan 230
4 CHill60 220
0 OriginalGriff 2,950
1 Maciej Los 1,910
2 KrunalRohit 1,862
3 CPallini 1,645
4 Richard MacCutchan 1,157

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 12 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100