Content deleted Content added
Added MPEG-2 to available tools that take in custom QMatrix graphs. |
→Frequency quantization for image compression: clarify, add reference |
||
Line 10:
== Frequency quantization for image compression ==
The human eye is fairly good at seeing small differences in [[brightness]] over a relatively large area, but not so good at distinguishing the exact strength of a high frequency (rapidly varying) brightness variation. This fact allows one to
As human vision is also more sensitive to [[luminance]] than [[chrominance]], further compression can be obtained by working in a non-RGB color space which separates the two (e.g. [[YCbCr]]), and quantizing the channels separately.<ref name="wiseman">John Wiseman, ''An Introduction to MPEG Video Compression'', http://www.john-wiseman.com/technical/MPEG_tutorial.htm, retrieved 6 Nov 2010.</ref>
=== Quantization matrices ===
A
This is an example of DCT coefficient matrix: <!--NOTE: this matrix was generated using random numbers and the other two matricies. It may not actually work well with an iDCT. -->
Line 31 ⟶ 33:
</math>
A common quantization matrix is: <!-- A source for the "common" justification would be nice. Wiseman gives the default MPEG matrix, which varies from the one below. -->
:<math>
Line 46 ⟶ 48:
</math>
:<math>
Line 77 ⟶ 79:
</math>
Typically this process will result in matrices with values primarily in the upper left (low frequency) corner. By using a zig-zag ordering to group the non-zero entries and [[run length encoding]], the quantized matrix can be much more efficiently stored than the non-quantized version.<ref name="wiseman"/>
{{Compression Methods}}
|