日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > c/c++ >内容正文

c/c++

In-Loop Filters in HEVC

發布時間:2024/4/17 c/c++ 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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)

?

總結

以上是生活随笔為你收集整理的In-Loop Filters in HEVC的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。