Rearch on FPGA Realization of Network Video Surveillance System Based on H.264

Author
XiaBo
Advisor
ZhangLing
School
Chongqing University
Major
Signal and Information Processing
Classification
TP277 Monitoring, alarm,fault diagnosis system
Degree
Master's thesis
Year
2007
Downloads
417
Citations
2

Request the full text

Abstract

With the development of science and technology and public security demands increase, video surveillance system is widely used in industrial production, daily life, police and military affairs. The network video surveillance system which uses SOPC technology based on FPGA, H.264 coding technology and network transmission control technology is advanced in stability, function, cost and expandability, so the design of it has great academic and practical significance.The network video surveillance system designed in this thesis is composed of embedded image server with Nios II soft-core, correlative network equipment and a number of PC clients. Embedded image server captures real-time images and compresses them with H.264 coding algorithm and listen in network continuously. PC clients may access the server through network, and receive encoded data, then use H.264 decoding algorithm to reconstruct images and make real-time display. So the surveillant can well know the situation.During the design of embedded image server, this thesis firstly selects chip and develop kit. Secondly, the image capture subsystem is constructed and the image capture customizing module is designed with dual cache ping-pong exchange. Thirdly, the SOPC with dual Nios II architecture is designed and the means to implement customization, sharing of the memory chip, data transfer and synchronization between the dual CPUs are introduced. Meanwhile, the network server which usesμC/OS-II to implement multi-task management and scheduling is designed.The design and realization of H.264 video compression algorithm are the emphases of this thesis. In this paper, H.264 standard is analyzed, and the architectures of encoder and decoder are programmed. Then 16×16 intra prediction algorithm and macroblock scan sequence are designed, and the twice judging strategy is used for prediction mode selection. The scan sequence of 4×4 sub-block is also designed, and transformation and quantization programs are completed. The entropy coding in this paper consists of Exp-Golomb coding and CAVLC. A method based on scale judgement is designed to realize the algorithm of encoding nonzero coefficient level. Lastly, format of the bitstream which is transmitted through network is designed, and the decoding algorithm is designed too. The encoder and decoder are verified with VC++. And the test to observe the compressibility and distortion with different parameters is carried out. After algorithm verification is completed, PC client, which has functions of network access, H.264 decoding and real-time display, is designed. Simultaneously, transplant H.264 encoding program to Nios II. Finally, embedded image server and a number of PC clients are connected into network to debug and the network video surveillance system is realized.Experimental results indicate that the compressibility of this system is high and the quality of surveillance image is good, which evidently prove that the designs of software, hardware and image coding algorithm are successful. This system advances in low cost, good expandability and wide applicability, which has broad prospects for development.

Table of contents

Chinese Abstract 3-4 Abstract 4-8 1 Introduction 8-14 1.1 Background and Significance 8-9 1.2 research status 9-11 1.2.1 video surveillance system development 9-10 1.2.2 image compression coding technology research status 10-11 1.3 of this research content and technical characteristics point 11-13 1.4 papers organizational structure 13-14 2 system overall program 14-20 2.1 System Master Plan 14-15 2.2 development platform of choice 15-16 2.3 H.264 algorithm outlined 16-18 2.4 design flow 18-20 3 embedded image server design and implementation 20-36 3.1 embedded image server architecture 20-21 3.1.1 Nios II soft-core processor Introduction 20 3.1.2 embedded image server architecture 20-21 3.2 video capture subsystem design 21-28 3.2.1 video capture subsystem architecture 21-22 3.2.2 Video Capture module design 22-26 3.2.3 adds user-defined modules 26-27 3.2.4 driver design 27-28 3.3 双 Nios II architecture design and implementation 28-33 3.3.1 double soft-core system master plan 28 3.3.2 SOPC customization and implementation 28-33 3.3.3 software design and debugging features 33 3.4 real-time multi-tasking network server design 33-36 4 H.264 coding algorithm design and implementation 36-68 4.1 Introduction 36 4.2 video coding layer (VCL) overall design 36-38 4.3 intra prediction 38-45 4.3.1 4 × 4 pixel block intra prediction 38-39 4.3.2 16 × 16 pixel macroblock intra prediction 39-42 4.3.3 intra macroblock scan design 42-45 4.4 integer transform and quantization 45-52 4.4.1 macroblock internal sub-block scan design 45-47 4.4.2 integer DCT transform 47-50 4.4.3 integer Hadamard transform 50 4.4.4 Quantitative 50-52 4.5 encoding side image reconstruction 52-56 4.5.1 reconstruction algorithm design 52-55 4.5.2 Effect Analysis program 55-56 4.6 entropy coding 56-65 4.6.1 The basic principle of entropy coding 56-57 4.6.2 Exp-Golomb coding analysis and design 57-58 4.6.3 CAVLC analysis and design 58-62 4.6.4 In addition to factors beyond the trailing zero coefficient value coding method 62-65 4.7 Network Abstraction Layer (NAL) design 65-68 5 H.264 decoding algorithm design and PC client implementation 68-80 5.1 client design 68 5.2 decoding algorithm overall design 68-69 5.3 stream information extraction and entropy decoding 69-73 5.3.1 stream analysis 69 5.3.2 entropy decoding 69-73 5.4 decoder image reconstruction 73-74 5.5 Experimental testing and joint commissioning 74-80 5.5.1 compression ratio and distortion test 74-77 5.5.2 joint commissioning effect 77-80 6 Summary and improve 80-82 6.1 Work Summary 80-81 6.2 improvement direction 81-82 Thanks 82-84 References 84-88 Appendix: The authors of papers published during the master's degree directory 88

Related dissertations

  1. The Design of Multi-channel Magnetoelastic Sensor Detection Instrument Based on FPGA
    ChenLei ·Hunan University ·2011 ·Master's thesis
  2. The Design and Development of a Real-time Network Video Monitoring System Based on TCP
    LiJinTao ·Jinan University ·2012 ·Master's thesis
  3. Design of Multifunction Electronic Album Based on Nios II
    GaoZhan ·Chongqing University ·2012 ·Master's thesis
  4. SOPC system design and implementation of video processing based on
  5. FPGA Implementation and Optimization of Transform Quantization and Entropy Coding in H.264
  6. VLSI Structure Design of CAVLC Encoder in H.264
  7. Design of Parallel Algorithms for Several H.264Modules and Implementation Based on CUDA
    ZhongHaiLong ·Dalian University of Technology ·2013 ·Master's thesis
  8. Research on Algorithm of H.264and3D Mesh Image Compression
  9. Research of Random Pulsant Signal Detection and Segmentation Acquisition
    PeiYueLin ·University of North ·2013 ·Master's thesis
  10. Research and Realization of H.264Video Compression Coding System Based on FPGA
  11. Design and Implementation of CIS Scanning Controller Based on SOPC
  12. The Design and Research of Meter in Digital Substation Based on IEC61850
    HanYongJun ·Lanzhou University of Technology ·2012 ·Master's thesis
  13. Desigh of Embeded Traffic Signal Controller Based on FPGA
    WangShiLong ·Harbin Institute of Technology ·2013 ·Master's thesis
  14. Technical Research of the Multimode Software Radar Waveform Generator
  15. Research on Key Digital Technologies of Hematology Analyzer
    ShiJinLiang ·Ningbo University ·2012 ·Master's thesis
  16. The Research of Based on Sopc Correlation Method Ultrasonic Anemometer
  17. Research and Design on Sine Signal Generator Based on FPGA
    LeiDaoZhong ·Hunan Normal University ·2008 ·Master's thesis
  18. The Design and Realization of the Fingerprint Identification System SOPC Based on Nios Ⅱ Soft Core Proceesor
    ZhangTaiRan ·East China Normal University ·2008 ·Master's thesis
  19. Embedded PMP System Design Based on Nios Ⅱ Core Processor
    ZengZuo ·Beijing Jiaotong University ·2008 ·Master's thesis
  20. Design & Research of Home Gateway Based on Nios II
    JinHuiFen ·Donghua University ·2008 ·Master's thesis