Click here to Skip to main content
13,006,530 members (63,053 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 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 12-May-12 5:00am
It was indeed confusing, I've changed that.
BTW Thank you.
SAKryukov 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170628.1 | Last Updated 12 May 2012
Copyright © CodeProject, 1999-2017
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