A FPGA Implementation of Farneback Optical Flow by High-Level Synthesis

现场可编程门阵列 计算机科学 加速 高级合成 管道(软件) 运动估计 数据流图 光流 可重组计算 设计空间探索 计算机硬件 并行计算 计算机工程 嵌入式系统 算法 计算机视觉 数据库 图像(数学) 程序设计语言
作者
Chia-Wei Chang,Zi-Qi Zhong,Jing-Jia Liou
标识
DOI:10.1145/3289602.3294005
摘要

Optical flow algorithm, which estimates the motion detection of consequent video frames, is widely used in surveillance system, Advanced Driver Assistance Systems (ADAS) and object movement estimation in scene analysis. Among different optical flow algorithms, Farneback version provides a better accuracy and brightness-change-resistant displacements by estimating the flow from polynomial domain rather than intensive maps. However, high computation complexity and inconsistent data access patterns make it difficult to be implemented on a hardware platform. In this work, we present a micro-architecture design of Farneback optical flow, which is flexible for optimization with high level Synthesis (HLS) tools. The original software-based implementation was decomposed into functional blocks to balance latency of different stages and flows of data were rearranged to accommodate better memory access patterns. The data flow arrangement is based on a proposed backtrace mechanism, where DRAM accesses of polynomial coefficients in current frame makes consistent traffic patterns, and therefore make it possible to integrate more functional blocks into a deeper pipeline. For several micro-architecture design versions, we demonstrate options of fixed and floating points, optimization techniques such as multiple DMAs and different levels of pipeline integration. We implemented our design on Zedboard Mini-ITX 7045. The results show a 17x end-to-end speedup against a naive HLS version with an image size of 160x120. Considering only the hardware-accelerated part, our FPGA implementation is 40x faster than the naive HLS version with only 50% of the FPGA hardware resources.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
xiao柒柒柒完成签到,获得积分10
2秒前
ZZZ发布了新的文献求助10
3秒前
福多多完成签到,获得积分10
3秒前
LYQ完成签到,获得积分10
6秒前
7秒前
7秒前
weijie发布了新的文献求助10
8秒前
科研通AI5应助飞123采纳,获得10
8秒前
10秒前
YangyangLiu发布了新的文献求助10
11秒前
旺123完成签到,获得积分10
11秒前
小李完成签到,获得积分10
11秒前
Wicky完成签到,获得积分10
12秒前
历史真相发布了新的文献求助10
12秒前
Kiosta应助cg采纳,获得10
12秒前
13秒前
13秒前
乐乐应助科研通管家采纳,获得10
13秒前
13秒前
领导范儿应助科研通管家采纳,获得10
13秒前
13秒前
上官若男应助科研通管家采纳,获得10
14秒前
彭于晏应助科研通管家采纳,获得10
14秒前
14秒前
15秒前
琉璃苣发布了新的文献求助10
17秒前
18秒前
19秒前
20秒前
20秒前
上官若男应助yinghuaxr采纳,获得10
20秒前
shusz发布了新的文献求助10
21秒前
热心市民小红花应助寒荷采纳,获得10
21秒前
23秒前
xc完成签到 ,获得积分10
24秒前
mingyahaoa完成签到,获得积分10
24秒前
Wuhuijing发布了新的文献求助10
24秒前
鄂夏云发布了新的文献求助10
25秒前
谷粱诗云完成签到,获得积分10
26秒前
26秒前
高分求助中
Applied Survey Data Analysis (第三版, 2025) 800
Assessing and Diagnosing Young Children with Neurodevelopmental Disorders (2nd Edition) 700
Images that translate 500
引进保护装置的分析评价八七年国外进口线路等保护运行情况介绍 500
Algorithmic Mathematics in Machine Learning 500
Handbook of Innovations in Political Psychology 400
Mapping the Stars: Celebrity, Metonymy, and the Networked Politics of Identity 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3841873
求助须知:如何正确求助?哪些是违规求助? 3383895
关于积分的说明 10531786
捐赠科研通 3104108
什么是DOI,文献DOI怎么找? 1709514
邀请新用户注册赠送积分活动 823302
科研通“疑难数据库(出版商)”最低求助积分说明 773878