Board logo

标题: 用blackfin BF533,DCT& IDCT fast algorithm for image processing.. [打印本页]

作者: ccrystal    时间: 2005-3-4 12:14     标题: 用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]
作者: ccrystal    时间: 2005-3-4 12:14

多一句, 如果需要我可以传那个asm的source code, 希望各位达人帮帮忙啊哈!!
作者: qiaocf    时间: 2006-6-13 09:05

看了你的帖子,与我现在的情况很相似,我也是刚接触,能否把你的asm的程序借我参考一下呢,相互学习交流?我的邮箱是:qiaocaifeng@sina.com
谢谢!
作者: skying    时间: 2006-7-31 16:46

请把asm代码贴出来 或与我联系
email:
skying@smail.hust.edu.cn




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0