MyFPGA Forum

标题: sobel边缘检测问题 [打印本页]

作者: ppowers    时间: 2010-6-2 18:34
标题: sobel边缘检测问题
在做边缘检测的时候,视频信号经过FIFO后变得不稳定,图像抖动得厉害,不知道有谁遇到过没?给点提示呢。谢谢了。
补充:FIFO深度大于一行像素数,视频信号经过两个FIFO后获得3×3算子视频数据,FIFO边写边读,所以未设置满、空等,场同步信号为0时,清空FIFO。视频信号不经过后面的任何处理,直接输出即会产生抖动现象。
作者: xlbian    时间: 2010-6-3 11:57
回复 1# ppowers

图像信号要和行同步、场同步保持严格同步!
作者: yuhengzhou    时间: 2010-6-12 15:18
我觉得你可以参考下这篇文章
(原創) 如何實現Real Time的Sobel Edge Detector? (SOC) (Verilog) (Image Processing) (DE2-70) (TRDB-D5M) (TRDB-LTM)
http://www.cnblogs.com/oomusou/a ... _edge_detector.html
作者: Pocahontas    时间: 2010-6-25 14:06
图象抖得厉害?? 有没有杂点呢??
作者: zjuer    时间: 2010-10-7 21:36
在做LTM时也是有这个问题的,应该是速度不匹配
作者: rich    时间: 2010-10-24 13:49
試一下設定timing constrain 看看(.sdc)
作者: xiaojun5123    时间: 2011-7-20 10:44
我觉得你看看 真00无双 大大的博客 http://www.cnblogs.com/oomusou/a ... _edge_detector.html
这个就可以了。
我用过FIFO 做缓存,但是FIFO速率跟不上采集速率,容易图像不稳定,试试用ALTERA的宏定义模块来做sobel算法,我在DE0+LTM+D5M上就移植成功了。
作者: meng321    时间: 2013-3-24 12:05
大家好
最近真00无双 大大的博客的 (Image Processing) (DE2-70) (TRDB-D5M) (TRDB-LTM) 不能下载
请问之前谁有下载的,方便电邮给我吗? huei321@gmail.com

我急需以作参考
完整程式碼
DE2_70_D5M_LTM_sobel.7z
Altshift_tabs_lab0.7z (altshift_tabs仿真小程式)
作者: meng321    时间: 2013-3-24 18:45
没有人有以上程式?
我真的急需要的
感激不尽
作者: Steady_Chou    时间: 2014-4-25 09:49
本帖最后由 Steady_Chou 于 2014-4-25 09:52 编辑

In my experience, there are two situations could cause the problem you motioned above.

First, you should check the timing of control(write enable) and data(write data) in FIFO's write port, in the same way to check another side that the timing on your logic to read the FIFO. Also, you can check Static timing analysis of those design in Quartus II after compiling.

Second, you may calculate the bandwidth in two side of FIFO (write and read port). The data bandwidth must be the same. if not, you have to use memory instead of FIFO. The memory could either be internal memory in FPGA or on board SDRAM.




欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3