A Fast Motion Estimation Algorithm Based on Adaptive Reference Frame and the Spatial and Temporal Correlations for H.264

Author
TangQiPeng
Advisor
FuPing
School
Jilin University
Major
Communication and Information System
Classification
TN919.8 Image communication, multimedia communication
Degree
Master's thesis
Year
2007
Downloads
164
Citations
0

Request the full text

Abstract

With the development of the computer network and electronic technology, multimedia communication which has replaced single media communication is changing all people’s life greatly. Because the video information is the most important ingredient of the multimedia information, the digital video encoding technology has been the core and hotspot of the multimedia application. Many neonatal technologies, such as multimedia messaging service, remote education, video conference, video request, digital TV have made the life more and more rich and colorful and it is full of individuation and personal friendliness. Because of the great data information, the video can hardly be transmitted by the available narrowband communication network now without data compression, for example, PSTN network, mobile communication network and so on. Therefore, the research of the video information compression and encoding has become one of the focuses of the IT field.The VCEG of the ITU-T and the MPEG of the ISO/IEC have established H.26x series and MPEG-x series video standard respectively since 1980s. For improving the encoding efficiency further, increasing the video adaptability of the diverse network state, realizing the real time processing and communication of the video at lower rate, those two organizations have cooperated and developed H.264 which is the new generation video compression encoding standard.Like the former standards, the basic algorithm of H.264 is the hybrid encoding mode which is composed of the image prediction and the relativity of the frames coding. As the newest video compression standard, it has many new characteristics in the technology. H.264 has gained the better compression effect of video than other standard by these new characteristics. For example, it consume less 50% bit-rate than H.263 at all rates and get much clearer image at high-rate. But the outstanding encoding performance costs the complicated calculation. In order to increase the encoding efficiency, H.264 adopts the motion prediction algorithm which is based the multiple reference frames, 7 different motion compensation block sizes mode and the rate-distortion (RD) optimization. To achieve as the highest encoding efficiency as possible, each mode and reference frame computed in the coding, and RD optimization is employed to compute the RD Cost. Set the minimum RD Cost’s mode and reference frame as the current block’s encoding parameter. This process cost most of the coding time.The motion estimation algorithm of H.264 is not only the key of improving coding efficiency but also the bottleneck of the real-time promotion. Therefore, considering both the real-time and the coding efficiency, this thesis presents a new fast motion estimation algorithm of H.264 which is based on the adaptive setting reference frame and the spatial and temporal correlations.In this paper, we first introduce the theory and the technique characteristics of MPEG-x and H.26x standards. Then we study the syntax structure of the H.264. Later, we analyze the key technology of the motion estimation of H.264. Subsequently, we study and research the idea and theory of the motion estimation and compensation. By the simulation experiment, we analyze the complexity of the complicated motion estimation algorithm. We find out that the multiple reference frames and the 7 sizes modes of block matching have taken most of the time of encoding.This paper presents a fast motion estimation algorithm which can adjust number of reference frame adaptively and set block matching mode quickly. Basis on the theory that the first and second frame before the current frame are the best reference frames in all probability, according to the comparison of the second order moments of the motion vector which belong to the two P frames before the current frame, we judge the trend of the video sequence movement and set the best reference frame adaptively and quickly. If the video sequences change smoothly, we set the number of reference frame is 1. Otherwise, we set the number of reference frame is 2 and increase the motion vector search range to enhancing the spatial and temporal area. In this way, we simplify the complicated motion estimation process. When the video sequences change smoothly, we can set the mode of block matching quickly if there are the high spatial and temporal correlations around the current macroblock. So we needn’t calculate all the mode costs, but can choose the mode quickly.Basis on the detail analyses of the motion estimation algorithm of H.264 and the sufficient experiments on the JM86, considering the time of motion estimation , PSNR and the encoding efficiency in balance, the advanced algorithm which is presented by this paper perform better than the original algorithm of H.264. It can improving the real-time encoding and provide the new idea and method for motion estimation optimization of the video encoding.

Table of contents

Summary 4-7 first chapter 7-10 1.1 Introduction research papers 7-8 1.2 8 -10 Chapter II video coding standard profiles 10-34 2.1 MPEG-X standard 10-13 2.2 H.26X standard 13-16 2.3 latest international video coding standard H.264/AVC 16-34 Chapter H.264 motion compensation inter prediction and simulation studies 34 - 47 3.1 motion estimation model 34-35 3.2 block matching motion estimation principle 35-41 3.3 rate distortion optimization 41-42 3.4 H.264 motion estimation in JM86 in simulation 42-47 Chapter adaptive spatial reference frames and time correlation H.264 fast motion estimation algorithm 47 -61 4.1 adaptive reference frame prediction algorithm 47-53 4.2 when the spatial correlation of the fast mode selection algorithm based 53-57 4.3 H.264 fast motion estimation algorithm 57-61 Chapter experimental results and analysis 61-72 5.1 algorithm simulation tools and evaluation 61-63 <br / > 5.2 verify the results and analysis 63-71 5.3 experimental results 71-72 Chapter VI summary and Outlook 72-75 6.1 Research summary 72-73 6.2 research prospects 73-75 References 75-78 Summary 78-81 < br /> ABSTRACT 81-84 Thanks 84

Related dissertations

  1. Research on Fast Motion Estimation and Mode Decision for H.264/Avc Video Coding
    ZhangWei ·Shandong University ·2013 ·Master's thesis
  2. The Research and Implementation of Motion Estimation in Video Coding
  3. Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
  4. Electronic Image Stabilization Method Based on Block Matching and Random Ferns
  5. Research on Key Technology for H.264Video Coding
  6. Research and Optimization on the Motion Estimation Algorithm in H.264
    LiuZhi ·Hunan University ·2013 ·Master's thesis
  7. Research and Implementation on the MFHS Algorithm Based on H.264
    YaoHuaLi ·Henan University of Technology ·2013 ·Master's thesis
  8. Researches on Motion Estimation Algorithm Based on Dynamic Threshold and Oriented Cross Search Pattern
  9. Porting and Optimization of H.264Encoder on the DM642
    AnRan ·University of North ·2014 ·Master's thesis
  10. The Design and Implementation of the Intelligent Unattended Video Surveillance Platform
    ChenShiZhe ·University of North ·2012 ·Master's thesis
  11. Digital Video Image Stabilization System Based on Block Matching
    SongLiYa ·Dalian University of Technology ·2013 ·Master's thesis
  12. The Study of Motion Estimation and Edge Detection for Video Image
  13. Research of Motion Estimation Algorithm for Video Compression Applications
    LiuYan ·Harbin Institute of Technology ·2010 ·Master's thesis
  14. Research and Improvement of Fast Motion Estimation Algorithm in H.264
    XuChen ·Taiyuan University of Technology ·2012 ·Master's thesis
  15. Research on the Key Technologies of H.264 Algorithm Based on DM642
    GuoQinDi ·Tianjin University of Technology ·2012 ·Master's thesis
  16. Research of Acceleration Algorithms of Motion Estimation Based on H.264
    LiuFeiBo ·Northeastern University ·2010 ·Master's thesis
  17. High Performance VLSI Architecture for HEVC Motion Estimation
    ChenWeiWei ·Shanghai Jiaotong University ·2013 ·Master's thesis
  18. The Research and Improvement of Motion Estimation Based on H.264Video Coding
  19. Research of H.264Motion Estimation Algorithm
    WangZuoZuo ·Jiangnan University ·2013 ·Master's thesis
  20. The Research and Implementation of H.264Crucial Codec Technology Based on Android Platform
    YangQi ·China Jiliang University ·2013 ·Master's thesis