Click here to Skip to main content
Rate this: bad
good
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
thanks
Posted 11-May-12 4:24am
PKriyshnA1.6K
Rate this: bad
good
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).
  Permalink  
v3
Comments
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. :-)
--SA
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... :-)
 
Cheers,
--SA
Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 555
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 369
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,466
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,897


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 12 May 2012
Copyright © CodeProject, 1999-2014
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