您的位置:首页 > 其它

20060811-Discrete cosine transforms, JPEG, and software compatibility

2014-05-11 22:20 232 查看
原文:http://blogs.mathworks.com/steve/2006/08/11/discrete-cosine-transforms-jpeg-and-software-compatibility/
The function
dct2, which computes the two-dimensional discrete cosine transform (DCT), appeared in the original 1993 version of the toolbox. The authors of the toolbox relied on several authoritative references, including

Two-Dimensional Signal and Image Processing by Lim. This book contains the following one-dimensional DCT equation:



The original implementation of dct2 used this formula.

At roughly the same time as the first toolbox release, the newly-standardized JPEG image compression method and format was becoming popular. The DCT is the mathematical heart of the JPEG algorithm. Here's the 8-point one-dimensional DCT equation that appears
in
JPEG: Still Image Data Compression Standard by Pennebaker and Mitchell.



where



The variable name differences are trivial, but the scale factor differences are very important! The JPEG DCT is an orthonormal transform, whereas the DCT defined in Lim's book is not.


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐