Real-time Video Image Deblurring Algorithm with GPU
- Author
- FengWei
- Advisor
- YuanJie
- School
- Nanjing University
- Major
- Circuits and Systems
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 84
- Citations
- 0
- CUDA
- Video image deblur
- background extraction
- Target Tracking
- Real-timecomputation
- high-definition video
Abstract
The performance of image acquisition devices has been improved dramatically in recent years, especially like resolution and clarity. But defocusing and motion blur are still big problems to most ordinary image acquisition devices. Upgrading the devices with better hardware is one way to solve the problem, but the costs will usually increase disproportionately compare with what we get. Using appropriate image restoration algorithm is another cost-effective solution, which can improve the clarity and recognition rate of images significantly. However, the huge computation of those image restoration algorithms makes it unpractical. A new image restoration algorithm based on video target detection, and a accelerating method using the Graphic Processing Units (GPU) parallel computing architecture are proposed in this paper.. Parallelizing the proposed algorithm makes it efficient enough to handle high-definition (HD) video processing in real time.GPU is designed to maximize performance for parallel computing, and it’s not good at complex logical control, which would lower the computing efficiency. Based on this parallel computing architecture, the proposed image restoration algorithm is separated into many small routines with simple logical controls. These routines are put into GPU cores to execute the parallel computing. Because the bandwidth between GPU device memory and host memory is much smaller than bandwidth between device and device memory, data transmission between host and device is reduced as little as possible in this algorithm, which increases the computing efficiency even further. Given the fact that in most cases, users are only interested in the moving parts in a video instead of the background, the proposed algorithm does motion detection first, and then deblur the detected regions. This makes sure only the interested blurred regions get restored, and other parts of the image will not be impacted.This paper uses the Compute Unified Device Architecture (CUDA) of NVIDIA to achieve GPU parallel computing and accelerate the proposed algorithm. And open-source image processing library OpenCV is used for implement, which makes codes portable and can be easily applied in a real system.
Table of contents
Chinese abstract 3-4
English summary 4-6
directory 6-8
first chapter 8-13
1.1 papers background and significance 1.2 Status study abroad 8-10
10-11
1.3 subject content and structure of the paper 11-13 <br / > the main contents 1.3.1 topics organizational structure 11-12
1.3.2 herein 12-13
chapter CUDA architecture Introduction 13 - 26
development 2.1 parallel processors 13-15
2.2 CUDA GPU parallel architecture 15-17
2.3 CUDA hardware schematic 17-18
2.4 CUDA programming model 18-20
2.4.1 and thread blocks 18-19
2.4.2 running grid and Kernels 19 - 20
2.5 CUDA memory model 20-24
2.5.1 CUDA registers and local memory 21
2.5.2 shared memory 21-22
2.5.3 global memory 22-23
2.5.4 static memory 23
2.5.5 texture memory 23-24
2.5 .6 memory model summary 24
2.6 CPU and GPU asynchronous execution mode 24-26
Chapter III image restoration principle 26-34
3.1 image degradation and recovery model general method 26-28
3.2 image restoration 28-31
3.2.1 Rechardson-Lucy iterative algorithm 28-29 <br / > 3.2.2 inverse filtering 29
3.2.3 constrained least squares filtering 29-30
3.2.4 Wiener filtering 30-31
3.3 ringing principle 31-34
3.3.1 ringing effects produced method 31-32
3.3.2 ringing effect elimination 32-34
Chapter IV motion tracking method 34-39
4.1 general method of motion detection 34-37
4.1.1 frame difference method 34-35
4.1.2 optical flow method 35-36
4.1.3 background extraction 36-37
4.2 morphological processing 37-39
Chapter V Implementation and testing 39-56
5.1 overall program structure 39-41
5.2 video input and output 41-46
5.2.1 OpenCV introduction 41-42
5.2.2 OpenCV image structure and access 42-44
5.2.3 video input and output 44-46
5.3 Wiener filtering CUDA achieve 46-52
5.3.1 Wiener filtering parameters determine 46-49
5.3. 2 CUDA FFT 49-50
5.3.3 image data transmission 50-51
5.3.4 Kernel Wiener filter realization 51-52
CUDA 5.4 moving target detection achieved 52-53
5.5 performance test 53-56
5.5.1 efficacy testing 53-54
5.5. 2 speed test 54-56
Chapter VI summary and Outlook 56-57
References 57-61
Thanks 61 -62
Related dissertations
- Video-based Highway with Traffic Incident Detection Coil Detection System
- High-Performance Processing of Massive Remote Sensing Data and Its Visualization Application
- Research and Design of Intelligent Video Surveillance System Based on ARM
- The Research of ICT Non-destructive Testing Volume Rendering Technology Based on CUDA
- Incomplete measurement and tracking algorithm of three-dimensional space target positioning
- Research on Robust Tracking Methods of Mobile Targets in Wireless Sensor Networks
- Research on Nonlinear Filtering Based Target Tracking Algorithm for Sensor Networks
- Research of Efficient Computing Method on GPU-based LS-SVM
- Research on Target Detection and Tracking Algorithms Based on Neural Network
- H-infinity Filtering of Network with Time-delay or Packet Dropout and Research on Mobile Multi-sensor Management Approachs
- Research on Acceleration Technology of IPSec VPN Base on GPU
- Neighbor-Classification Detection Protocols and Curity Technology for WSNs
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Research on GPU General Computing on Text Classification
- Efficient Modelling of Smooth Surfaces with Branching Structures
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- CUDA-based Real-Time Rendering of Transparent Object
- Research on Target Tracking System Based on the Movement of the Selective Attention
- Detection of Human Abnormal Behavior in the Security and Defense of the Ship
- The Study of Motion Target Intelligent Recognition and Track Technology Based on Infrared Image