FPGA Based Acceleration Of Image Edge Detection Algorithm

Electrical & Computer Engineering

Description

Edge refers to the process of identifying pixel intensities in an image. Edges are basic features of an image and have significance in several fields including image analysis, pattern recognition, computer vision and biomedical etc. Present research in this domain has increased the accuracy and noise immunity of edge detection algorithms. However, their computational complexity has also increased significantly. The computational complexity is directly proportional to the image size. Consequently, simple software implementation of such algorithms suffers from poor latency and throughput. This becomes a major limiting factor for applications with high resolution images and real time requirements. FPGAs are a suitable candidate to implement most image processing algorithms, thanks to their re-programmability, hardware parallelism and low cost as compared to dedicated ASIC. The accuracy and computational speed of proposed system is evaluated and compared with MATLAB based edge detection.

Details

Edge detection technique is widely used in a number of applications from image processing, computer vision and artificial intelligence domain. Edges provide vital information about the image attributes. Among the various edge detection algorithms published in literature, Sobel edge detector is widely used due to its property of high accuracy in the presence of noise. With the advent of emerging applications which require processing of high-resolution images with real time, the straightforward implementation of edge detection on software suffers from significant latency even with cutting edge microprocessors. High memory bandwidth requirement and serial nature of microprocessors present a bottleneck to achieve the real time throughput for advanced image processing tasks. Field Programmable Gate Arrays (FPGAs) are a suitable alternative to implement computationally intensive image processing tasks due to their parallel nature and low investment cost. However, developing applications for FPGAs is mainly the task of hardware designers. It requires extensive amount of time and effort in specifying the required hardware functionality using hardware description languages (HDLs). High level synthesis (HLS) has recently gained significant interest by the FPGA community. HLS enables the hardware designs to be specified with a higher level of abstraction using languages such as System C, C or C++. This allows rapid prototyping and helps the designer to concentrate on the algorithmic aspects of the embedded system whereas, the low-level architectural details (dataflow, interfaces, control etc.) are mainly addressed by the HLS tool itself. In a classical FPGA based embedded system design, the microprocessors are coupled with FPGA fabric in a complicated way. In 2012, the Xilinx inc. introduced the Zynq System on Chip (SOC) architecture. The Zynq is the latest generation of Xilinx all programmable SOCs combines a dual core ARM Cortex-A9 microprocessor with traditional FPGA fabric. Various components of Zynq are connected using Advanced eXtensible Interface (AXI) which provides high bandwidth and low latency connections. The HLS-Zynq design flow is different from classical FPGA design flow and requires a considerable amount of investigation. The main focus of this work is to understand this advanced workflow by carrying out a design of some practical application.


The main contributions of this work are summarized as follows:

First, a flexible core of edge detection is designed using Vivado HLS tool. The functionality is validated by software simulation and hardware-software co-simulation.

Next, the developed IP is exported in Vivado design integrator and connected with the Zynq System along with required interfaces and peripherals.

The hardware system is exported to Xilinx SDK in synthesizable form and software drivers are written.

Finally, the debugging is performed, and output image is acquired using Xilinx system debugger and XMD console.

Gallery

More from Electrical & Computer Engineering

Deep-PI-Car

Electrical & Computer Engineering

The project, which is Deep-Pi-Car, is an autonomous prototype car that performs multiple tasks like Lane navig…

Supervisor: Taimour Taj Shami

Parallel Operation Of Wind And Battery To Operate Constant Load

Electrical & Computer Engineering

we are going to operate a constant load by using two different sources .

Supervisor: Muhammad Hamza Tahir

Smart Energy Metering System

Electrical & Computer Engineering

We made an IoT system for consumption of monitoring energy, which give us all the electric parameters like cur…

Supervisor: Sajjad Ali Shah

Agricultural Water Controlled System Using IoT

Electrical & Computer Engineering

Our project ( Agricultural water controller ) is based on IoT ( Internet of Things ). In this project we are u…

Supervisor: Sheikh Hassan Javaid