• 沒有找到結果。

An Improved Detection Method for Z Q ti d Bl k H 264/AVC Zero Quantized Blocks on H.264/AVC

N/A
N/A
Protected

Academic year: 2021

Share "An Improved Detection Method for Z Q ti d Bl k H 264/AVC Zero Quantized Blocks on H.264/AVC"

Copied!
19
0
0

加載中.... (立即查看全文)

全文

(1)

An Improved Detection Method for Z Q ti d Bl k H 264/AVC Zero Quantized Blocks on H.264/AVC

Bo-Jhih Chen and Shen-Chuan Tai

Presenter: Bo-Jhih Chen Date: 16 November 2010

(2)

Outline

Introduction li i

Preliminary

Proposed Method Proposed Method

Experimental Results

Conclusions

(3)

Introduction

Motivation

A 4 b 4 id l bl k ( i d )

A 4-by-4 residual block (motion-compensated error) There are many zero quantized DCT coefficients

after DCT/Q, especially in low bit-rate video coding.

Objective Objective

Early detect more zero-quantized coefficients before DCT/Q

DCT/Q.

Effective reduction of computational complexity.

(4)

Introduction

An 4x4 integer transform in H.264

Post-factor matrix

=

T

= ⊗

F AXA W PF

A matrix of the floating A matrix of the integer Post factor matrix

Quantization

A matrix of the floating

transform coefficient A matrix of the integer transform coefficient

( , ) ( , ) ( , , )

F u v

Q

= W u v MF QP u v ⋅ + >> k qbits

If |FQ(u,v)| < 1,

then F(u v) is considered as

ZQB (Zero Quantized Block):

A DCT block consists of 16 zero

Note1 Def.

then F(u,v) is considered as

a zero quantized DCT coefficient.

A DCT block consists of 16 zero quantized DCT coefficients.

(5)

Introduction

The sufficient critera for determining a zero q anti ed DCT coefficient

quantized DCT coefficient.

For W(u,v) Integer transform

( , ) 2

( )

qbits

k W u v

MF QP

< −

g f

( , , ) MF QP u v

For F(u,v) Floating transform

( , ) 5

F u v < 6 Qstep ( , )

/

6 Q p

where 0.625 2Qstep = × QP/ 6

(6)

Introduction

For example:

Recall 4 0 1 2 1 6

FMAX

at Direct Current position Recall

=

T

= ⊗

F AXA W PF

-4 0.1 2 1.6

-3 -2.8 1.1 1.66

F

-2 -3 0 0

0 -3 0 1

AXA

T 3.5 -1.3 -2.5 -0.5

0 1.16 0.08 -0.7

F

Floating

0 3 0 1

2 0 -2 -1

1 2 1 0

= W PF

-16 0 8 10

I

-21 -30 7 15 14 -8 -10 -4

An input residual

block X Integer W⊗PF

WMAX 14 -8 -10 -4

-3 10 1 -5

WMAX

(7)

Preliminaryy

Energy conservation

2 2

T

( , ) ( , )

x y u v

f x y = F u v

∑∑ ∑∑ f T F

DC’s Energy

1 1

1

N 1 N 1

0 0

(0,0) 1

N N

( , )

DC

x y

E F f x y

N

= =

= = ∑∑

ACs’ Energy

( )

∑∑ F F N

E

ACs

= ∑∑ F ( u v )

2

F ( 0 0 )

2

= ( N σ

f

)

2

E ( , ) ( 0 , 0 ) σ

(8)

Preliminaryy

The variance of the (u,v)

th

DCT coefficient

2 2

, ,

( , ) [

T

] [

T

]

F

u v

f

ARA

u u

ARA

v v

σ = σ

A is the DCT transform matrix.

R is the covariance matrix.

B th t l li it th

( ) 5 Q

By the central limit theorem,

( , )

F

u v 6 Qstep

γσ <

Note2 If γ = 3,

the probability of F(u,v) = 0 is about 99.73%.

(9)

Preliminaryy

Over 99% of DCT coefficients will be equal to ero if

to zero, if

5

2

Q

⎜ ⎟

2

2

5 6

[ ] [ ]

f T T

Qstep

ARA ARA

σ γ

⎛ ⎞

⎜ ⎟

⎝ ⎠

<

, ,

[ ARA ] [

u u

ARA ]

v v

γ

denotes the variance of input residual data.

2

σ

f

(10)

Proposed Method p

For AC components,

⎛ ⎞

2

2 2 2 2

( , ) (0,0)

ACs f

u v

E = ∑∑ F u vF = N σ

2

2

5

6 Qstep

σ

⎛ ⎞

⎜ ⎟

⎝ ⎠

<

2

, ,

[ ] [ ]

f T T

u u v v

ARA ARA

σ < γ

22

2

5

6 ( )

N Qstep

E TH u v

⎛ ⎞

⎜ ⎟

⎝ ⎠

<

2

, ,

( , )

[ ] [ ]

ACs T T ACs

u u v v

E TH u v

ARA ARA

γ

< =

(11)

Proposed Method p

v

TH

ACs

is a symmetric matrix.

TH (u v) = TH (v u)

(0,0) (0,1) (0,2) (0,3) (1,0) (1,1) (1,2) (1,3)

u

TH

ACs

(u,v) = TH

ACs

(v,u)

Wang et al. 2007

(2,0) (2,1) (2,2) (2,3) (3,0) (3,1) (3,2) (3,3)

Occurrence Probability (OP)

Loc(0), Loc(1), Loc(2), Loc(3)

Based on the analysis, OP is over 80

% on 3×3. Hence, the threshold of DC energy can be approximately DC energy can be approximately TH(0,2)=TH(2,0) instead of TH(u,v).

(12)

Proposed Method p

Our method for ZQB detection

1 1

1 5

(0,0)

N N

( , )

E

DC

= F = ∑∑

f x y < Qstep

2

2

⎛ 5 ⎞

0 0

( , ) ( , )

DC

6

x y

f y Q p

N ∑∑

= =

DC part

ZQB ?

2

2

5 (0, 2) 6

[ ] [ ]

ACs ACs T T

N Qstep

E TH

ARA ARA

γ

⎛ ⎞

⎜ ⎟

⎝ ⎠

< =

0,0 2,2

[ ARA ] [ ARA ]

ACs part

γ

(13)

Experimental Results p

Performance evaluations

.

P P

Org

P N

Δ = −

… PSNR Degradation Positive : drop Negative : gain

(%) 100%

z

DR N

= N ×

… Detection Rate N: # of the detected ZQBs Nz: # of the actual ZQBs

( ) ( )

(%)

z n m f

100%

z n

N N N N

DQ N N

+ − +

= ×

+

… Detection Quality

z n Q y

Nn: # of the actual non-ZQBs Nz: # of the actual ZQBs

Nm: # of the miss-detected ZQBs Nf: # of the false-detected ZQBs

z Q f Q

(14)

Experimental Results p

PSNR / Detection rate, Akiyo

(15)

Experimental Results p

PSNR / Detection rate, Foreman

(16)

Experimental Results p

Detection Quality

Akiyo Foreman

(17)

Experimental Results p

Computation saving rate

.

(%) (1 ) 100%

Org

CSR OP

= − OP ×

g

(18)

Conclusions

An insignificant PSNR degradation

O 0 08 dB d f l i h

On average, 0.08 dB drop of our algorithm.

Higher detection ratio g

On average, 90 % of detection ratio.

Especially encoding at lower QPs (high bit rate Especially encoding at lower QPs (high bit-rate coding)

C i l i

Computational savings

Up to 54.6 % of DCT/Q/IQ/IDCT computations

can be reduced by using our method.

(19)

Thank you for your listening. y y g

參考文獻

相關文件

(A)受器 感覺神經元 聯絡神經元 運動神經元 動器 (B)動器 運動神經元 聯絡神經元 感覺神經元 受器 (C)動器 感覺神經元 聯絡神經元 運動神經元 受器 (D)受器 運動神經元

Proceedings of the 28 th Conference of the International Group for the Psychology of Mathematics Education, 2004 Vol 4 pp

前項公司從事交易時,有以不合交 易常規之安排,規避或減少其在中華民

If we want to test the strong connectivity of a digraph, our randomized algorithm for testing digraphs with an H-free k-induced subgraph can help us determine which tester should

[7] C-K Lin, and L-S Lee, “Improved spontaneous Mandarin speech recognition by disfluency interruption point (IP) detection using prosodic features,” in Proc. “ Speech

• The Health Information Technology for Economic and Clinical H ealth (HITECH) Act seeks to improve American health care deli very and patient care through an unprecedented

 The 3SEQ maximum descent statistic describes clus tering patterns in sequences of binary outcomes, a nd is therefore not confined to recombination analy sis... New Applications (1)

efficient scheduling algorithm, Smallest Conflict Points Algorithm (SCPA), to schedule.. HPF2 irregular