Real-Time Efficient FPGA Implementation of the Multi-Scale Lucas-Kanade and Horn-Schunck Optical Flow Algorithms for a 4K Video Stream

被引:15
作者
Blachut, Krzysztof [1 ]
Kryjak, Tomasz [1 ]
机构
[1] AGH Univ Sci & Technol, Dept Automat Control & Robot, Embedded Vis Syst Grp, Comp Vis Lab, Al Mickiewicza 30, PL-30059 Krakow, Poland
关键词
optical flow; multi-scale; 4K resolution; FPGA; real-time processing; vision system; Lucas-Kanade algorithm; Horn-Schunck algorithm; HARDWARE IMPLEMENTATION; COMPUTATION;
D O I
10.3390/s22135017
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
The information about optical flow, i.e., the movement of pixels between two consecutive images from a video sequence, is used in many vision systems, both classical and those based on deep neural networks. In some robotic applications, e.g., in autonomous vehicles, it is necessary to calculate the flow in real time. This represents a challenging task, especially for high-resolution video streams. In this work, two gradient-based algorithms-Lucas-Kanade and Horn-Schunck-were implemented on a ZCU 104 platform with Xilinx Zynq UltraScale+ MPSoC FPGA. A vector data format was used to enable flow calculation for a 4K (Ultra HD, 3840 x 2160 pixels) video stream at 60 fps. In order to detect larger pixel displacements, a multi-scale approach was used in both algorithms. Depending on the scale, the calculations were performed for different data formats, allowing for more efficient processing by reducing resource utilisation. The presented solution allows real-time optical flow determination in multiple scales for a 4K resolution with estimated energy consumption below 6 W. The algorithms realised in this work can be a component of a larger vision system in advanced surveillance systems or autonomous vehicles.
引用
收藏
页数:32
相关论文
共 43 条
[1]   A Fast 4K Video Frame Interpolation Using a Multi-Scale Optical Flow Reconstruction Network [J].
Ahn, Ha-Eun ;
Jeong, Jinwoo ;
Kim, Je Woo ;
Kwon, Soonchul ;
Yoo, Jisang .
SYMMETRY-BASEL, 2019, 11 (10)
[2]  
Anandan P., 1987, "Measuring visual motion from image sequences
[3]  
[Anonymous], 2016, ARXIV
[4]  
Bagni D., 2017, XAPP1300 HLS XIL
[5]  
Bahar M. R. B., 2012, 2012 20th Iranian Conference on Electrical Engineering (ICEE 2012), P736, DOI 10.1109/IranianCEE.2012.6292451
[6]   A Database and Evaluation Methodology for Optical Flow [J].
Baker, Simon ;
Scharstein, Daniel ;
Lewis, J. P. ;
Roth, Stefan ;
Black, Michael J. ;
Szeliski, Richard .
INTERNATIONAL JOURNAL OF COMPUTER VISION, 2011, 92 (01) :1-31
[7]   Parallel Architecture for Hierarchical Optical Flow Estimation Based on FPGA [J].
Barranco, Francisco ;
Tomasi, Matteo ;
Diaz, Javier ;
Vanegas, Mauricio ;
Ros, Eduardo .
IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2012, 20 (06) :1058-1067
[8]  
Batcher K. E., 1968, P AM FEDERATION INFO, V32, P307, DOI DOI 10.1145/1468075.1468121
[9]  
Blachut K., 2018, PROC C DESIGN ARCHIT
[10]   FPGA Acceleration of the Horn and Schunck Hierarchical Algorithm [J].
Bournias, Ilias ;
Chotin, Roselyne ;
Lacassagne, Lionel .
2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2021,