首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

用blackfin BF533,DCT& IDCT fast algorithm for image processing..

用blackfin BF533,DCT& IDCT fast algorithm for image processing..

我是学生, 现在在实习,现在的任务是 Use C to write Fast DCT and inverse DCT algorithm to process the image... (chen's algorithm)
可是我是1个多月前才开始学DSP, 老实说拉, 还不是很会。我现在又那个fast algorithm in asm, 需要convert to C.
那个 chen's algorithm,还不是很明白,也找不到相关的资料, 希望大家帮忙!!!感激不经啊!!
这个是 FUNCTIONAL DESCRIPTION

The image input program demonstrates the initialization of SDRAM memory
and the use of the DMA and PPI to load a stream of image data from the OmniVision camera.

This program utilizes SDRAM memory to store the video data. The program sets up the DMA and PPI configuration registers for input
mode for 8-bit, ITU-656, Stop Mode DMA.

In addition, this program also initializes the OV6630 camera module from OmniVision to output a 8-bit ITU-656 compliant,
YUV4:2:2 image data stream so that we can process a RGB image on our own. Of course, we can program to output raw RGB.
However, bear in mind that the RGB from the camera is in Bayer-filter pattern, so you have perform some interpolation
to get back 3 colors per pixel.

This is the implementation of Chen's algorithm of DCT.

   It is based on the separable nature of DCT for multi-dimension. The input matrix is 8x8 real data. First, one dimensional 8-point DCT is calculated for each of the 8 row. the output is stored in a separate matrix after transpose. Then again 8-point DCT is calculated on each row of matrix. The output is again stored in a transpose matrix. This is final output

多谢!!!![em06][em06]
多一句, 如果需要我可以传那个asm的source code, 希望各位达人帮帮忙啊哈!!
看了你的帖子,与我现在的情况很相似,我也是刚接触,能否把你的asm的程序借我参考一下呢,相互学习交流?我的邮箱是:qiaocaifeng@sina.com
谢谢!
请把asm代码贴出来 或与我联系
email:
skying@smail.hust.edu.cn
返回列表