如何将JPEG转换为DCT 8X8块? [英] How I can convert JPEG into DCT 8X8 block?

查看:109
本文介绍了如何将JPEG转换为DCT 8X8块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将JPEG转换为DCT 8X8块?在C ++中

How I can convert JPEG into DCT 8X8 block? in C++

推荐答案

如果您想将DCT应用于JPEG(或任何)图像,则需要访问其像素数据.为此,可以在不影响其内部结构的情况下使用网络上的一些开放源代码库. http://www.openjpeg.org [ ^ ]

BTW,AFAIK,JPEG图像本身可能已经被DCT处理,即JPEG使用DCT进行有损压缩.
If you would like to apply DCT to a JPEG (or any) image, you need to access its pixel data. To do this without struggling its inner structure, you can use some of the open source libraries on the net. http://www.openjpeg.org[^]

BTW, AFAIK, a JPEG image itself possibly has been DCTed already, that is, JPEG uses DCT for its lossy compression.


这篇关于如何将JPEG转换为DCT 8X8块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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