In-Loop Filters in HEVC

有两种滤波,一个deblock filter用来减弱因为transform和预测边界的不联系性;另外一个是SAO,通过减弱振铃效应和改变像素的强度来提升画质。https://blog.csdn.net/u014470361/article/details/94641124解释什么是块效应和振铃效应。

  •  Deblocking Filter

块效应的产生:

1.

2.

since the deblocking of one vertical (horizontal) boundary in HEVC does not affect
deblocking of other vertical (horizontal) boundaries because of only fltering the
boundaries on the 88 sample grid, all the vertical (horizontal) boundaries can be
 processed in parallel。

  去效应滤波,对于亮度,BS必须大于0;对于色度,BS必须大于1.

HEVC有2个filter mode,normal ,strong;

Strong filter mode满足的条件是:

 

normal filter mode:

 

 

 

 

  • strong filter Mode 

 用在平坦的区域,这个块效应会更加明显。

  • Chrome Deblocking 

. Chroma
deblocking only modifes one sample from each side of the block boundary.

 Adaption:sending parameterstc_offset_div2and beta_offset_div2in the
slice header or picture parameter set (PPS) [46]. These parameters specify offsets
(divided by two) that are added to a QP value before determining “and tC from the
look-up tables. This gives an encoder a possibility to adapt the deblocking strength

  • Sample Adaptive Offset (SAO)

在一定的范围内,通过选择的分类器把像素分为不同的类别,然后加上一定的offeset来减少像素的损失。有两种类型的SAO type,一种edge offset,另外一种是band offset。

In Edge, a sample is based on its neighborhood, i.e. on the comparison between the current
sample and its neighboring samples. In BO, the classifcation is based on the sample
value。

  •  edge Offset

 

 

 

  •   Band Offset

 The sample values range is divided into 32 equal bands. For 8-bit samples
in the range from 0 to 255, the width of a band is 8. Thus, sample values from 8k to
8k C7 belong to band k, where k ranges from 0 to 31. The difference between the
original samples and reconstructed samples in a band (i.e. the offset of a band) can
be signaled to the decoder.

  • SAO Parameter Signaling 

 sample_adaptive_offset_enabled_flag:SAO enble or not

slice_sao_luma_flag and slice_sao_chroma_flag, indicate if SAO
is enabled for luma and chroma, respectively, in the current slice

  •  SAO Parameters Merging

 1.reusing SAO param
eters of the left CTU (by setting a syntax element sao_merge_left_flag

2.

to 1), reusing SAO parameters of the above CTU (by setting a syntax element
sao_merge_up_flag to 1)

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值