×

MPEG Encoding Basics

消耗积分:5 | 格式:rar | 大小:66 | 2008-08-26

王银喜

分享资料个

A compression encoder works by identifying the useful part of a signal which is called the entropy and
sending this to the decoder. The remainder of the signal is called the redundancy because it can be
worked out at the decoder from what is sent. Video compression relies on two basic assumptions. The
first is that human sensitivity to noise in the picture is highly dependent on the frequency of the noise.
The second is that even in moving pictures there is a great deal of commonality between one picture
and the next. Data can be conserved both by raising the noise level where it is less visible and by sending
only the difference between one picture and the next.
In a typical picture, large objects result in low spatial frequencies whereas small objects result in high spatial
frequencies. Human vision detects noise at low spatial frequencies much more readily than at high frequencies.
The phenomenon of large-area flicker is an example of this. Spatial frequency analysis also reveals that in
many areas of the picture, only a few frequencies dominate and the remainder are largely absent.
For example if the picture contains a large, plain object, high frequencies will only be present at the edges.
In the body of a plain object, high spatial frequencies are absent and need not be transmitted at all.
In MPEG, two-dimensional spatial frequency analysis is performed using the Discrete Cosine Transform
(DCT). An array of pixels, typically 8 x 8, is converted into an array of coefficients. The magnitude of
each coefficient represents the amount of a particular spatial frequency which is present. Fig.1 shows
that in the resulting coefficient block, the coefficient in the top left corner represents the DC component
or average brightness of the pixel block. Moving to the right the coefficients represent increasing horizontal
spatial frequency. Moving down, the coefficients represent increasing vertical spatial frequency. The
coefficient in the bottom right hand corner represents the highest diagonal frequency.

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !