NCN Completed

NCN Sonata

National Science Centre, Poland (Sonata 12)

The development of computing resources organization in latest generation of heterogeneous reconfigurable devices enabling real-time processing of UHD/4K video stream

  • Principal Investigator Tomasz Kryjak, PhD
  • Duration 2017 – 2021
  • Budget 255600 PLN
  • Project No. 2016/23/D/ST6/01389
4K Embedded Platforms

Abstract

The aim of the project is the development of computation organization in reconfigurable Multiprocessor System on Chip (MPSoC), which will enable the realization of real-time processing of UHD/4K video stream (3840 x 2160 pixels @ 24/30/50 frames per second).

Nowadays a very dynamic development of cameras can be observed. Devices which support 1920 x 1080 pixels resolutions (so-called Full HD) are widespread. What is more, recording with 3840 x 2160 pixels resolutions (i.e. UHD/4K in 16:9 format) is available in the last generation of popular sport cameras and camcorders. Also, today's smart phones are equipped with a 12 and more megapixels sensor, which allows to capture 4K videos. Additionally customer-grade displaying devices, like 4K monitors or TVs are already available on the market for some time.

While the acquisition and display of 4K video stream in now fully supported, performing image processing operations with the commonly used computing platforms (i.e. personal computers and notebooks) is very time consuming and requires a lot of disk memory. One can be convinced of this, when editing this type of video. One should realize that 1 uncompressed colour 4K frame equals about 23 MB of data and a 1 minute video (30 frames per second) more than 41 GB. However, in many cases the use of high resolution video stream could improve the performance of the considered vision systems. A good example is pedestrian detection used in recently very popular advanced driver assistance systems (ADAS). On a high resolution image we are able to detect persons, who are quite far away from the camera and this enables to detect a potentially hazardous situation much earlier.

At this point, we could ask the following question – is it possible to realise real-time processing, e.g. pedestrian detection for 4K video stream with 24/30/50 frames per second. It should be also noted, that in the considered example, as well as many others, such as drones (UAVs), electric vehicles or video surveillance, we cannot use powerful computing platforms like supercomputers or GPUs because they consume too much energy. A very promising solution seem the latest generation of reprogrammable devices (FPGA) additionally equipped with a powerful processor system and graphic processor (e.g. the Zynq UltraScale+ family by Xilinx). They allow to perform parallel data processing, which is essential for obtaining real-time performance. Additionally they can be used very close to the vision sensor (constituting the so-called smart camera). Therefore, the huge data stream does not need to be transmitted, as all required processing is performed locally. Moreover, a distributed computing system is also more energy efficient.

During the project inter alia the following elementary vision algorithms will be considered for real-time implementation: image filtration (averaging, Gaussian, median, but also more advanced methods like vector median filter, bilateral filter), edge detection (Sobel, Canny), single-pass and double-pass connected component labeling, as well as depth map estimation (stereo-vision, image rectification, structure from motion), moving objects segmentation (optical flow), foreground object segmentation, object detection (e.g. people, cars) and object tracking. With these components, it is possible to build advanced vision systems running up to 4K resolution e.g. abandoned luggage detection or re-identification of people in a multi-camera surveillance system.

Moreover, a methodology for transforming a high level language (C/C++) description of a vision algorithm into an efficient hardware-software implementation in a programmable MPSoC devices will be developed. In addition, the proposed approach will be compared with tools, which perform this computing resource assignment automatically. This experiments should provide an answer to the question, whether and for which algorithms it is possible to obtain a hardware-software computing system capable of processing 4K images in real time.

In this project video stream processing is considered, as it is a very nice example to show all the advantages of hardware-software solutions. However, the results, methodology and know-how could be also used in other applications that require fast data processing (e.g. biomedical), especially when embedded systems are considered.

Contractors: Dominika Przewłocka-Rus, Marcin Kowalczyk, Piotr Janus, Krzysztof Błachut, Hubert Szolc, Mateusz Wąsala, Piotr Ciarach

Publications

Year
Type
Project

2023

  1. DASIP Sonata
    Real-time FPGA implementation of the semi-global matching stereo vision algorithm for a 4K/UHD video stream
    Mariusz Grabowski and Tomasz Kryjak
    In Design and Architecture for Signal and Image Processing : 16th international workshop, DASIP 2023 : Toulouse, France, January 16–18, 2023 : proceedings, 2023

2022

  1. Electronics Sonata
    Real-time CLAHE algorithm implementation in SoC FPGA device for 4K UHD video stream
    Electronics, 2022
  2. MECO Sonata
    Real-time HOG+SVM based object detection using SoC FPGA for a UHD video stream
    In 11th Mediterranean Conference on Embedded Computing (MECO) : 7–10 June 2022, Budva, Montenegro, 2022
  3. Sensors Sonata
    Real-time efficient FPGA implementation of the multi-scale Lucas-Kanade and Horn-Schunck optical flow algorithms for a 4K video stream
    Sensors, 2022

2021

  1. A comparison of real-time 4K/UltraHD connected component labelling architectures
    In FPL 2021 : 31st international conference on Field-Programmable Logic and Applications : Dresden, Germany 30 August – 3 September 2021 : proceedings, 2021
  2. FPL Sonata
    Quantised Siamese tracker for 4K/UltraHD video stream – a demo
    Dominika Przewlocka-Rus and Tomasz Kryjak
    In FPL 2021 : 31st international conference on Field-Programmable Logic and Applications : Dresden, Germany 30 August – 3 September 2021 : proceedings, 2021
  3. Real-time FPGA implementation of parallel connected component labelling for a 4K video stream
    Marcin Kowalczyk, Piotr Ciarach, Dominika Przewlocka-Rus, Hubert Szolc, and Tomasz Kryjak
    Journal of Signal Processing Systems for Signal, Image, and Video Technology, 2021

2019

  1. DASIP Sonata
    Hardware implementation of the SURF feature detector for 4K 4PPC video stream – a demo
    Karol Radwan and Tomasz Kryjak
    In dasip : the conference on Design and Architectures for Signal and Image Processing : TEXPO graduate student research competition : 16–18 October, 2019, Montréal, Canada, 2019
  2. ARC Sonata
    Real-time FPGA implementation of connected component labelling for a 4K video stream
    Piotr Ciarach, Marcin Kowalczyk, Dominika Przewlocka-Rus, and Tomasz Kryjak
    In Applied Reconfigurable Computing : 15th international symposium, ARC 2019 : Darmstadt, Germany, April 9–11, 2019 : proceedings, 2019
  3. DASIP Sonata
    Real-time implementation of adaptive correlation filter tracking for 4K video stream in Zynq UltraScale+ MPSoC
    Marcin Kowalczyk, Dominika Przewlocka-Rus, and Tomasz Kryjak
    In dasip : conference on Design and Architectures for Signal and Image Processing : 16–18 October, 2019, Montréal, Canada, 2019
  4. DASIP Sonata
    XNOR CNNs in FPGA: real-time detection and classification of traffic signs in 4K – a demo
    Dominika Przewlocka-Rus, Marcin Kowalczyk, and Tomasz Kryjak
    In dasip : the conference on Design and Architectures for Signal and Image Processing : TEXPO graduate student research competition : 16–18 October, 2019, Montréal, Canada, 2019

2018

  1. DASIP Sonata
    Real-time implementation of contextual image processing operations for 4K video stream in Zynq UltraScale+ MPSoC
    Marcin Kowalczyk, Dominika Przewlocka-Rus, and Tomasz Kryjak
    In dasip : the 2018 conference on Design & Architectures for Signal & Image Processing : Porto, Portugal, October 10–12, 2018, 2018
  2. DASIP Sonata
    Real-time implementation of contextual image processing operations for 4K video stream in Zynq UltraScale+ MPSoC – a demo
    Marcin Kowalczyk, Dominika Przewlocka-Rus, and Tomasz Kryjak
    In dasip 2018 : conference on Design and Architectures for Signal and Image Processing : October 10–12 2018, Porto, Portugal, 2018