GPU-Based Parallel Optimization of Adaptive Gaussian Mixture Background Modeling Algorithms
- Author
- ZhongJunJie
- Advisor
- GuoHongXing
- School
- Huazhong University of Science and Technology
- Major
- All computer systems
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 110
- Citations
- 0
- Gaussian mixture background modeling
- Stream computing
- Thread Level Parallelism
- Graphic Processing Unit(GPU)
- Parallel Programming Model
Abstract
Moving target detection is the basis of moving image tracking and image analysis, in which a basic and crucial task is to determine the desired moving targets. The background subtraction technology is the commonest approach for target detection, which is implemented by subtracting the corresponding bachground frame from a video frame. Then the regions with a relative large difference are labeled as the moving targets. For all of the background modeling methods, the Gaussian mixture modeling is considered as a good method with high performance in both detection capability and adaptability. Nevertheless, it is difficult to implemented in real time for its huge computational complexity. Fortunately,the emerging Graphics Processor Units(GPUs) provide a new platform for its implemention because the so many Stream Processor(SP) units of the GPUs can be used to accelerate the computing process. So it is nontrivial to optimize the process of the background modeling by mining its parallelism on GPUs, which is useful for the extension of the application range, as well as the reduction of the cost.With the assistance of the CUDA programming environment on GPUs, the parallel improvement is applied to a adaptive Gaussian mixture background modeling algoritm from the two aspects of the thread-level parallelism and the asynchronous stream processing. The thread-level parallelism carried out by mapping the background update process of each pixel onto a Stream Processor as a thread to execute through the kernel function (kernel) provided by CUDA. These threads can run simultaneously, so as to achieve the purpose of the parallel execution and the effects of acceleration. The idea of stream computing, which schedules the computing the corresponding data access in parallel to hide the delay of the data access, is use for reference for the asynchronous stream processing optimization. By creating multiple streams in the CUDA programming model, the computing performance can be improved because the process of the access and computation for the data of each flow can overlap each other delicately. Meanwhile, the model parameters of each pixel are organized in blocks to storage according the rule of the order of row-first, so as to facilitate the data access of kernel functions in the process of multi-stream parallel processing.The video sequences with different resolutions as 384×288, 640×272, 720×576, 1280×720 and 1920×1080 are used to test the performance of the CUDA thread-level parallelism optimization. The experimental results indicate that the average time for the background modeling is reduced by 40.932ms, 94.656ms, 228.012ms, 547.759ms and 861.459ms repectively in the Debug mode; while in the Release mode, the average time is reduced by 10.362ms, 33.421ms, 71.594ms, 173.609ms and 156.02ms repectively. On the basis of this, the average time for the background modeling is further reduced by 2.64ms, 3.769ms, 10.703ms, 19.331ms and 55.335ms repectively in the Release mode through the asynchronous stream processing optimization which takes the 8 data streams as a typical reference. It can safely conclude that the process of the Gaussian mixture background modeling could be speeded up significantly through the optimization of the thread-level parallelism and the asynchronous stream processing.This thesis is supported by the project of National Natural Science Foundation of China (No.60873029) and the project of Innovation Research Foundation of Huazhong University of Science and Technology (No.2010MS014).
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-17
1.1 topics source of meaning and purpose 8 -12
1.2 domestic and foreign research progress 12-15
1.3 research content and structural arrangements 15-16
1.4 chapter Summary 16-17
2 Gaussian background modeling algorithm analysis and GPU-based parallel computing 17-32
2.1 moving target detection technology 17-18
2.2 Gaussian background modeling algorithm analysis 18-23
2.3 GPU architecture 23-25 ??
2.4 CUDA parallel programming model 25-31
2.5 chapter Summary 31-32
3 adaptive mixture Gaussian background modeling algorithm on the GPU parallel optimization 32-48
3.1 adaptive mixture Gaussian background modeling algorithm processes and data structures 32-36
3.2 adaptive mixture Gaussian background modeling GPU threads parallelization 36-41
3.3 adaptive mixture Gaussian background modeling asynchronous parallel CUDA optimization 41-47
3.4 Summary 47-48
4 parallel optimization acceleration result analysis 48-66
4.1 experimental testing environment 48 <br / > 4.2 adaptive Gaussian mixture background modeling thread-level parallelism testing and analysis 48-55
4.3 adaptive Gaussian mixture background modeling asynchronous parallel CUDA optimized testing and analysis 55-59
4.4 adaptive Gaussian mixture background modeling multi-core CPU-based parallel testing and analysis 59-63
4.5 acceleration test result analysis 63-65 <br / > 4.6 chapter Summary 65-66
5 Summary and Outlook 66-69
5.1 Full Summary 66-67
5.2 research Prospects 67-69
Thanks 69-70
References 70-73
Related dissertations
- Research of Moving Object’s Detection and Tracking Based on OpenCV
- Research on Cost Model and Memory Optimization Techniques for Heterogeneous Processor
- Research of Parallel Computing on CPU/GPU Heterogeneous Architecture
- Bandwidth-Aware Cache Modeling and Partitioning Strategy Based-on Video Scenarios
- Research on the High Efficient Video Decoding Techniques Based on GPU
- Research of Moving Object Detecting Technology Based Onadaptive Threshold
- Study on Parallel Optimizations for Transactional Memory
- Design and Implementaion of Distributed Stream Computing Node Management System
- Antnest: a Distributed Computing System Supporting Multiple Computational Modals
- Researches and Application of Mapreduce Parallel Programming Model for Cloud Computing
- Researches of MapReduce Parallel Programming Model and Scheduling Algorithm for Heterogeneous Multi-core Systems
- The Research of Stream Computing Technology Based on Data Processing
- Task Scheduling Algorithms for Energy-Efficient Multimedia Stream Computing
- Study on Parallel Programming Models
- The Research and Implementation of the Key Techniques on Single Chip Multiprocessors
- Research on Hardware Techniques for Thread Level Parallelism
- Study on Transactional Memory Programming and Software Library Optimization of Tera-Flops Computer KD-50-I
- Research of Multi-level Parallelism Programming Pattern for Hybrid Parallel Computing Environment
- Research on MPSoC Data System for Multiple Interrelated and Concurrent Tasks
- Parallel Algorithm Design and Optimization for H.264 Video Encoding