为什么JPEG压缩通过8x8块处理图像? [英] Why JPEG compression processes image by 8x8 blocks?

查看:1578
本文介绍了为什么JPEG压缩通过8x8块处理图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么JPEG压缩使用8x8块处理图像,而不是对整个图像应用离散余弦变换?

Why JPEG compression processes image by 8x8 blocks instead of applying Discrete Cosine Transform to the whole image?

推荐答案

8 X 8经过多次实验与其他尺寸的选择。

8 X 8 was chosen after numerous experiments with other sizes.

实验的结论是:
1.任何尺寸大于8 X 8的矩阵更难以进行数学运算(如变换等)不支持硬件或需要更长的时间。
2.任何大小小于8 X 8的矩阵都没有足够的信息来与管道一起继续。

The conclusions of experiments are: 1. Any matrices of sizes greater than 8 X 8 are harder to do mathematical operations (like transforms etc..) or not supported by hardware or take longer time. 2. Any matrices of sizes less than 8 X 8 dont have enough information to continue along with the pipeline. It results in bad quality of the compressed image.

阅读,我的博客, http://nboddula.blogspot.com/2013/05/image-compression-how-jpeg-works.html

这篇关于为什么JPEG压缩通过8x8块处理图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆