The Designing and Optimization of Chroma Keying Algorithm on CUDA

Author
ChenXiang
Advisor
ChenHu , ZhouZhenNeng
School
South China University of Technology
Major
Software Engineering
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2011
Downloads
80
Citations
1

Request the full text

Abstract

With video studio technology development, many programs has fallen into disuse in the production of busy furnished studio, only need a solid color area, presenters stand in this area to host a show, when the program is presented to the audience, the moderator has exposure to a particular program in the scene, the effect of such a virtual studio thanks to video matting technology. Now, digital TV has been in popularity, many cities have comprehensive coverage, high-definition digital TV standard the keying device majority of the higher-priced dedicated hardware in the virtual studio system in the production of high-definition programming, while lower prices based on The ordinary PC signal input boards keying Machine lack of processing power in the face of a high-definition signal processing requirements. The main subject of research carried out in the ordinary PC GPU the video the keying algorithm design and optimization, to the high-definition signal processing requirements. The research chroma keying algorithms branch optimization, chroma keying algorithm implemented on the GPU and GPU memory access efficiency GPU on-chip cache access conflict resolution graphics directly synthesized image and CPU and GPU operation executed in parallel. The chroma keying algorithms conditional branch to affect the processing efficiency of the GPU SIMT. The topic completely optimized conditional branches in the keying algorithm to improve the processing efficiency of the GPU keying. The emergence of CUDA GPU can be used in the field of general-purpose computing, and can only be applied to break the previous programming limitations in the graphics pipeline. Keying algorithms implemented on the GPU via CUDA GPU's parallel computing and floating point arithmetic capability advantage keying handling. GPU CPU incomparable advantage of parallel computing, but because of its unique hardware features, to give full play to the performance of the GPU processing must also be combined with GPU computing architecture system and to avoid GPU memory access high-latency and on-chip cache access conflict . Lower the efficiency of data transfer between the memory and the memory, the graphics on this subject not reduce the processing efficiency while achieving GPU keying, and the results show that without the data back to memory and then display. The entire keying process requires the joint participation of the CPU and GPU, In order to further improve the processing speed, GPU operating asynchronous execution functionality, and operation of the CPU and GPU to perform parallel, and eventually the entire keying process to achieve the requirements of high-definition three-dimensional program .

Table of contents

Abstract 5-6 ABSTRACT 6-9 first chapter 9-13 1.1 Background 9-10 < br /> 1.1.1 keying application 9-10 1.1.2 GPU Profile 10 1.2 research status 10-11 <br / > 1.3 thesis and the significance 11 1.4 The main thesis work 11-12 1.5 thesis is organized 12-13 second Zhang keying algorithm principle 13-17 2.1 HSV color space 13 2.2 chroma keying 13-15 2.3 keying algorithms 15-17 2.3.1 RGB color space to HSV color space conversion 15-16 2.3.2 HSV keying 16-17 first chapters GPU architecture and CUDA Profile 17-24 3.1 GPU architecture 17-21 3.1.1 GPU multiprocessor 18 3.1.2 GPU thread scheduling 18-19 3.1.3 GPU memory 19-21 3.2 CUDA Profile 21-24 Chapter keying on the GPU algorithm design and optimization 24-64 4.1 Basic GPU algorithm 24-31 4.1.1 basic algorithm 24-26 <br / > 4.1.2 thread configuration 26-28 4.1.3 Performance Analysis 28-31 4.2 polymerization write optimization 31-40 4.2 .1 optimization algorithm 32-34 4.2.2 thread configuration 34-35 4.2.3 Performance Analysis 35-40 4.3 for shared memory bank conflicts optimization 40-45 4.3.1 Optimization 40-43 4.3.2 Performance Analysis 43-45 4.4 directly display output to optimize 45-51 4.4.1 Optimization 45-49 4.4.2 Performance Analysis 49-51 4.5 texture Reading Take a branch optimization algorithm 51-54 4.5.1 Optimization 51-54 4.5.2 Performance Analysis 54 4.6 keying algorithms branch optimization 54-58 4.6.1 Optimization 54-57 4.6.2 Performance Analysis 57-58 4.7 CPU and GPU between Parallel optimization 58-60 4.7.1 Optimization 58-59 4.7.2 Performance Analysis 59-60 4.8 Summary 60-64 4.8.1 Optimization results 60 4.8.2 Performance Comparison 60-62 4.8.3 User Interface 62 < br /> 4.8.4 Scenario Configuring 62-64 Summary and Outlook 64-66 Summary 64 Looking 64 - 66 References 66-68 Thanks 68

Related dissertations

  1. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  2. Research on Boundary Face Method Base on GPU-acceleration
    YuLieXiang ·Hunan University ·2013 ·Master's thesis
  3. Research of Image Registration and Mosaic Technology Based on GPU
    ZouGang ·Tianjin University ·2012 ·Master's thesis
  4. Study and Implementation of Fast Super-resolution Reconstruction Methods
  5. On Parallel Design of Q-M Algorithm and Its CUDA-based Implementation for Reversible Logic Synthesis
    YangHuan ·Donghua University ·2014 ·Master's thesis
  6. Research on Key Technology of Color Consistency Processing for Digtial Ortho Map Mosaicing
    HanYuZuo ·Wuhan University ·2014 ·Doctoral dissertation
  7. GPGPU-based Processing and Analysis of Large-scale Geographic Data
    ZhangYu ·Central South University ·2013 ·Master's thesis
  8. Generating Samples of Complex Population Rapidly Using GPUs and Multiple CPUs
    HeNa ·Nanchang University ·2013 ·Master's thesis
  9. Study on CUDA—based Parallel Algorithm for Constructing Concept Lattices
  10. CUDA-based Genetic Algorithm to Solve TSP Problem
    ZhengBo ·Jilin University ·2013 ·Master's thesis
  11. Design and Implementation an of Document Clustering Algorithm Based on the GPU
  12. The Implement of Independent Component Algorithm on the GPU
    DiaoXingGuang ·Dalian University of Technology ·2012 ·Master's thesis
  13. 3D Shape Deformation Editing Based on CUDA Parallel Computing
    ZhongQing ·Dalian University of Technology ·2012 ·Master's thesis
  14. Research on GPU-based Parallel Computing on BitTorrent Protocol
    WangGaoXuan ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  15. Research on JPEG2000Image Compression Technology Based on GPU
    WuWei ·Shenyang Aerospace University ·2013 ·Master's thesis
  16. Research and implementation of lossless compression algorithm based on GPU
    MaJi ·Fudan University ·2012 ·Master's thesis
  17. License plate character recognition based on CUDA
    WangShiChun ·Fudan University ·2012 ·Master's thesis
  18. Portable Network Graphics Decoding with GPU Accelerating
  19. The Image Artistic Rendering System Based on GPU Parallel Computing
    HuangXingDong ·Sun Yat-sen University ·2013 ·Master's thesis
  20. Design and implementation of algorithm of industrial CT image segmentation based on CUDA
    ZhangRui ·Capital Normal University ·2013 ·Master's thesis