fast mode decision algorithm for residual quadtree coding in hevc

15
Fast Mode Decision Algorithm for Residual Quadtree Coding in HEVC Visual Communications and Image Processing (VCIP), 2011 IEEE

Upload: niabi

Post on 22-Feb-2016

60 views

Category:

Documents


0 download

DESCRIPTION

Fast Mode Decision Algorithm for Residual Quadtree Coding in HEVC. Visual Communications and Image Processing (VCIP), 2011 IEEE. Overview of RQT in HEVC. Provides a high degree of flexibility by selecting the optimal Transform Unit (TU) partitions. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Fast Mode Decision Algorithm for Residual Quadtree Coding in HEVC

Visual Communications and Image Processing (VCIP), 2011 IEEE

Page 2: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC
Page 3: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Overview of RQT in HEVC• Provides a high degree of flexibility by selecting the optimal

Transform Unit (TU) partitions. • The RQT mode decision plays a key role for the purpose of

achieving the optimal performance.• Practically, it may be implemented by using a depth-first search

procedure.

Page 4: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Zero-Block Inheritance

• Given a TU, the RQT mode decision process needs to evaluate two options: 1) encoding residuals, or 2) skipping residual coding

• TU skip modes are often chosen after RD optimization. We denote these TUs as “zero-blocks”.

• ZBI : assume all the quadtree-partitions of a zero-block have strong tendency to be zero blocks, and vice versa.

Page 5: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Zero-Block Inheritance– For a zero block, RD cost of depth-k is

– Based on ZBI, RD cost sum of sub-block:

– In general, CBF in (1) is lower than CBF sum in (2)

• we draw a conclusion that once a TU is found to be a zero-block, we terminate the tree partition process and choose the zero-block mode at this depth.

(1)

(2)

Page 6: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Statistics of Transform Unit Partition

• Given zero block and size

• Given non-zero block and size

32x32 TU is selected much less compared to the 8x8 and 16x16 TUs given that that TU is a nonzero block

Page 7: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Fast RQT mode decision algorithm• Depending on the size of leaf CU,

there are two paths can be chosen

• From the earlier discussions, we conclude that the 32×32 TU does not offer as much rate-distortion efficiency as the smaller TUs.

• Force the 32x32 TU to be the last candidate in the mode search procedure if it appears.

Page 8: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Early Termination for TU merge process

1) ZBI early Termination for TU Merge– If all the 16x16 subTUs are zero-blocks, the

evaluation of TU merge is not executed. 2) Block Adaptive RD Cost Threshold– Use the information of four subTUs• Bitrate prediction• Block-level adaptive distortion model• RD cost threshold

Page 9: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Early Termination for TU merge process

• Bitrate prediction– a strong correlation exists between the Merge TU

bitrate and the bitrate sum of its four subTUs

Page 10: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Early Termination for TU merge process

• Block-level adaptive distortion model– Assume the prediction residual signals are the WSS first

order Markov random field with zero mean the spatial domain statistics can be estimated at block-level adaptively

– linear relation between the spatial domain and the transform domain :

Variance of (u,v)th DCT coefficient

Block variance

Correlation coefficient between neighboring pixels

Page 11: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Early Termination for TU merge process

– Given block size N and Qp , we can estimate total distortion.

Cannot be represented by simple mathematical function !

Page 12: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Early Termination for TU merge process

– ρ controls the curvature of the distortion model – slope K in the linear segment is roughly inversely

proportional to ρ and estimated by the distortion of subTUs.

Saturation point depend on Qp

RD cost threshold :

Page 13: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Early Termination for TU split process

1) ZBI early Termination for TU Split– If the current TU is zero-blocks, do not splt.

2) RD Cost prediction by Partial subTUs– dynamically predicts the RD cost of TU Split by

using the information of partial subTUs while the TU Split process is underway

Page 14: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Early Termination for TU split process

Page 15: Fast Mode Decision Algorithm for Residual  Quadtree  Coding in HEVC

Experimental Results