Click here to Skip to main content
15,885,998 members
Please Sign up or sign in to vote.
2.00/5 (1 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
thanks
Posted

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).
 
Share this answer
 
v3
Comments
Sergey Alexandrovich Kryukov 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 12-May-12 5:00am    
It was indeed confusing, I've changed that.
BTW Thank you.
Sergey Alexandrovich Kryukov 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
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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900