Data compression ratio: Difference between revisions
en>Kku lx, headlines, uses |
en>Graham87 m 1 revision from nost:Data compression ratio: import old edit, see User:Graham87/Import |
||
Line 1: | Line 1: | ||
'''Data compression ratio''', also known as '''compression power''', is a [[computer science]] term used to quantify the reduction in data-representation size produced by a [[data compression|data compression algorithm]]. The data compression ratio is analogous to the physical [[compression ratio]] used to measure physical compression of substances. | |||
==Definitions== | |||
Data compression ratio is defined as the ratio between the ''uncompressed size'' and ''compressed size'':<ref name=CompressionRatioBroadcastEngineering>{{cite news |title=Pixel grids, bit rate and compression ratio |publisher=Broadcast Engineering |url=http://broadcastengineering.com/storage-amp-networking/pixel-grids-bit-rate-and-compression-ratio |date=2007-12-01 |accessdate=2013-06-05}}</ref><ref name=CompressionRatioDigitalVideoandHD>{{cite news |title=Digital Video and HD: Algorithms and Interfaces |edition=2nd |author=[[Charles Poynton]] |publisher=[[Morgan Kaufmann Publishers]] |isbn=9780123919267 |date=2012-02-07 |accessdate=2013-06-05}}</ref><ref name=CompressionRatioHEVCdraft10>{{cite news |title=High Efficiency Video Coding (HEVC) text specification draft 10 (for FDIS & Consent) |publisher=JCT-VC |url=http://phenix.it-sudparis.eu/jct/doc_end_user/current_document.php?id=7243 |date=2013-01-17 |accessdate=2013-06-05}}</ref><ref name=CompressionRatioLogitechAVCStandard>{{cite news |title=The H.264 Advanced Video Coding (AVC) Standard |publisher=Logitech |url=http://www.logitech.com/assets/45120/logitechh.pdf |format=PDF |accessdate=2013-06-05}}</ref><ref name=CompressionRatioSonyBroadcastApplications>{{cite news |title=White Paper on Performance Characteristics of MPEG-2 Long GoP vs AVC-I video compression techniques for Broadcast Applications |publisher=[[Sony]] |url=http://pro.sony.com/bbsccms/assets/files/micro/xdcam/solutions/MPEG-2_Long_GoP_vs_AVC_Comp-Strategies.pdf |format=PDF |accessdate=2013-06-05}}</ref> | |||
:<math> {\rm Compression\;Ratio} = \frac{\rm Uncompressed\;Size}{\rm Compressed\;Size}</math> | |||
Thus a representation that compresses a 10[[MegaByte|MB]] file to 2MB has a compression ratio of 10/2 = 5, often notated as an explicit ratio, 5:1 (read "five" to "one"), or as an implicit ratio, 5/1. Note that this formulation applies equally for compression, where the uncompressed size is that of the original; and for decompression, where the uncompressed size is that of the reproduction. | |||
Sometimes the '''space savings''' is given instead, which is defined as the reduction in size relative to the uncompressed size: | |||
:<math>{\rm Space\;Savings} = 1 - \frac{\rm Compressed\;Size}{\rm Uncompressed\;Size}</math> | |||
Thus a representation that compresses a 10MB file to 2MB would yield a space savings of 1 - 2/10 = 0.8, often notated as a percentage, 80%. | |||
For signals of indefinite size, such as [[streaming audio]] and video, the compression ratio is defined in terms of uncompressed and compressed [[Bit rate|data rates]] instead of data sizes: | |||
:<math> {\rm Compression\;Ratio} = \frac{\rm Uncompressed\;Data\;Rate}{\rm Compressed\;Data\;Rate}</math> | |||
and instead of space savings, one speaks of '''data-rate savings''', which is defined as the data-rate reduction relative to the uncompressed data rate: | |||
:<math>{\rm Data\;Rate\;Savings} = 1 - \frac{\rm Compressed\;Data\;Rate}{\rm Uncompressed\;Data\;Rate}</math> | |||
For example, uncompressed songs in CD format have a data rate of 16 bits/channel x 2 channels x 44.1 kHz ≅ 1.4 Mbit/s, whereas [[Advanced Audio Coding|AAC]] files on an iPod are typically compressed to 128 kbit/s, yielding a compression ratio of 10.9, for a data-rate savings of 0.91, or 91%. | |||
When the uncompressed data rate is known, the compression ratio can be inferred from the compressed data rate. | |||
==Lossless vs. lossy== | |||
[[Lossless compression]] of digitized data such as video, digitized film, and audio preserves all the information, but can rarely do much better than 2:1 compression because of the intrinsic [[information entropy|entropy]] of the data. In contrast, [[lossy compression]] (for example [[JPEG]], or [[MP3]]) can achieve much higher compression ratios at the cost of a decrease in quality, as visual or audio compression artifacts from loss of important information are introduced. A compression ratio of at least 50:1 is needed to get [[1080i]] video into a 20 Mbit/s [[MPEG transport stream]].<ref name=CompressionRatioBroadcastEngineering/> | |||
==Uses== | |||
The data compression ratio can serve as an measure of the [[complexity]] of a data set or signal, in particular it is used to approximate the [[algorithmic complexity]]. | |||
==References== | |||
<references/> | |||
==External links== | |||
*[http://www.cartesianinc.com/Tech/tech-overview.html Nondegrading lossy compression] | |||
[[Category:Data compression]] | |||
[[Category:Engineering ratios]] |
Revision as of 15:35, 30 December 2013
Data compression ratio, also known as compression power, is a computer science term used to quantify the reduction in data-representation size produced by a data compression algorithm. The data compression ratio is analogous to the physical compression ratio used to measure physical compression of substances.
Definitions
Data compression ratio is defined as the ratio between the uncompressed size and compressed size:[1][2][3][4][5]
Thus a representation that compresses a 10MB file to 2MB has a compression ratio of 10/2 = 5, often notated as an explicit ratio, 5:1 (read "five" to "one"), or as an implicit ratio, 5/1. Note that this formulation applies equally for compression, where the uncompressed size is that of the original; and for decompression, where the uncompressed size is that of the reproduction.
Sometimes the space savings is given instead, which is defined as the reduction in size relative to the uncompressed size:
Thus a representation that compresses a 10MB file to 2MB would yield a space savings of 1 - 2/10 = 0.8, often notated as a percentage, 80%.
For signals of indefinite size, such as streaming audio and video, the compression ratio is defined in terms of uncompressed and compressed data rates instead of data sizes:
and instead of space savings, one speaks of data-rate savings, which is defined as the data-rate reduction relative to the uncompressed data rate:
For example, uncompressed songs in CD format have a data rate of 16 bits/channel x 2 channels x 44.1 kHz ≅ 1.4 Mbit/s, whereas AAC files on an iPod are typically compressed to 128 kbit/s, yielding a compression ratio of 10.9, for a data-rate savings of 0.91, or 91%.
When the uncompressed data rate is known, the compression ratio can be inferred from the compressed data rate.
Lossless vs. lossy
Lossless compression of digitized data such as video, digitized film, and audio preserves all the information, but can rarely do much better than 2:1 compression because of the intrinsic entropy of the data. In contrast, lossy compression (for example JPEG, or MP3) can achieve much higher compression ratios at the cost of a decrease in quality, as visual or audio compression artifacts from loss of important information are introduced. A compression ratio of at least 50:1 is needed to get 1080i video into a 20 Mbit/s MPEG transport stream.[1]
Uses
The data compression ratio can serve as an measure of the complexity of a data set or signal, in particular it is used to approximate the algorithmic complexity.