Bilateral Filtering for Video CodingPer Wennersten, Jacob Ström, Ying Wang, Kenneth Andersson, Rickard Sjöberg and Jack Enhorn
original anchor proposed
Ringing artifacts
0 5 10 15 20 25 30 35 4020
40
60
80
100
120
140
160
180original
−10 0 10 20 30 40 50−300
−200
−100
0
100
200
300
400
500
600
700transformed
−10 0 10 20 30 40 50−300
−200
−100
0
100
200
300
400
500
600
700quantized transform
0 5 10 15 20 25 30 35 4020
40
60
80
100
120
140
160
180reconstructed
transform
quantize
inversetransformartifacts
Tools that counter ringing• Sample Adaptive Offset (SAO) Fu et al. [5]• Adaptive Loop Filtering (ALF) Tsai et al. [4]
Bilateral Filtering (Tomasi Mandutchi [7])
36
1
1
61
6
16
6 164
The weight of a FIR �lter depends onlyon position
weightspatial distance
intensity distance
original FIR �ltering bilateral �ltering
Main idea•
Main contributionsProposal to set σd using TU size and σr using QP.
Use bilateral �ltering after reconstruction to reduce ringing
•
iDCTcijclip [0,255]
prediction
bilateral�lter
recon-structedsamples
Complexity reductions that give a good trade-off between coding gain and complexity.
•
Complexity reductions
•
Use small �lter kernel
•
Use look-up table
LUT(σd, σr, ΔI)
•
Use math trick to reuse LUT table
LUT(σd, σr, ΔI) LUT(σr, ΔI)
•
Use table to turn division into multiplication
÷ *Results
BD-rate
intrainter
-0.4%-0.5%
+6%+3%
+5%+0%
encoder decodercomplexity
LUT size needed: 2778 bytes