1 / 37

研究生:何銘哲 指導教授:蔣依吾博士 中山大學資訊工程學系

H.264/AVC 基於影像複雜度與提早結束之快速階層運動估計方法 Content-Based Hierarchical Fast Motion Estimation with Early Termination in H.264/AVC. 研究生:何銘哲 指導教授:蔣依吾博士 中山大學資訊工程學系. Terms. FME = Fast Motion Estimation MB = Macroblock MVCOST = Motion Vector Cost PSNR = Peak Signal-to-Noise Ratio

keisha
Télécharger la présentation

研究生:何銘哲 指導教授:蔣依吾博士 中山大學資訊工程學系

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. H.264/AVC基於影像複雜度與提早結束之快速階層運動估計方法Content-Based Hierarchical Fast Motion Estimation with Early Termination in H.264/AVC 研究生:何銘哲 指導教授:蔣依吾博士 中山大學資訊工程學系

  2. Terms • FME = Fast Motion Estimation • MB = Macroblock • MVCOST = Motion Vector Cost • PSNR = Peak Signal-to-Noise Ratio • RDO = Rate Distortion Optimization

  3. Video Compression Intro.

  4. Video Compression Intro. (cont.) • ITU-T • H.26x • ISO • Mpeg-x

  5. Video Compression Indicator • PSNR (dB) • Bit Rate (kbit/s) • Time (msec, sec) Quality Compression ratio Encoding time

  6. H.264 vs previous standards • Variable block size Level One 16x16 16x8 8x16 8x8 Level Two 8x8 8x4 4x8 4x4

  7. H.264 vs previous standards • Quarter-pel motion compensation

  8. H.264 vs previous standards • Multiple reference picture motion compensation

  9. H.264 vs previous standards • Directional spatial prediction for intra coding • INTRA_4x4 • INTRA_16x16

  10. H.264 vs previous standards • In-the-loop deblocking filtering

  11. Visual Comparison(MPEG-4 Simple Profile VS JVT/H.264)

  12. H.264 Encoder Dataflow

  13. Motion Estimation

  14. Block-based Matching Algorithms • Full Search (Exhaustive Search) • Exhaustively searching each pixel in the search range. Search range Minimum MSE Current Block

  15. Block-based FME in H.264 • Why FME? • Spatial and Temporal analysis • Spatial Homogeneity and Temporal Stationarity [Pan, 2005] • Motion Vector Merging [Chen, 2005]

  16. Block-based FME in H.264 (cont.) • Early Termination • Predicted Vector Block [Yang, 2005]

  17. Block-based FME in H.264 (cont.) • Adaptive Search Pattern • Adaptive Search Window [Bailo, 2004] • UMHS(Uneven Multi-Hexagon Search) & CBDS(Center-Biased Diamond Search) [Chen, 2002][Tham, 1998]

  18. Proposed Algorithm • Fast Hierarchical Motion Search (FHMS) • Early Termination Encode one MB Mode Decision Motion Estimation FHMS RDO

  19. Hierarchical Motion Search (HMS) • Sub-sampling

  20. Pre-processing • We apply our sub-sampling algorithm to only four larger block types to prevent imprecision.

  21. Pre-processing (cont.) Start FHMS Satisfy Yes No ? 16x16 16x8 8x16 8x8 Fast Sub-sampling Search Fast Integer-pel Search

  22. Proposed Algorithm (cont.) • Step 1: Utilize spatial median prediction schemes for initial search point prediction b c a Current MB

  23. Step 2-1: After the initial search point is found, two local search patterns, namely, diamond and cross search, are initiated.

  24. Step 2-2: After local search is finished, we come across a complex search condition which indicates that if current MVCOST is below some empirical threshold T, the search process is terminated immediately. complex_offset[blocktype] = {0, 0, 1, 1, 2, 3, 3, 1}

  25. Step 3: If the complex search condition is satisfied, continue other search patterns as in the data flow diagram below.

  26. Start : Check Predictors Multi big Hexagon Search Small Local Search Hexagon search Cross Search Yes Satisfy Complex Search Condition Small Local Search Need Refinement? No No Yes STOP Refinement Search

  27. Step 4: After all search patterns are performed, if the current block type belongs to fast sub-sampling search, a further refinement stage proceeds. Otherwise, the motion search is terminated.

  28. Proposed Search Patterns

  29. Test Parameters (JM10.2)

  30. Experimental Results • PSNR

  31. Experimental Results (cont.) • Motion Estimation Time

  32. Experimental Results (cont.) • Bit Rate

  33. Diagram of Stefan

  34. Conclusion • Our proposed algorithm makes H.264/AVC feasible for real-time applications. • Adaptively choosing the proper block type to further improve the bit rate and ME time will be the focus of the following research efforts.

More Related