AV1技术学习:Constrained Directional Enhancement Filter

CDEF允许编解码器沿某些(可能是倾斜的)方向应用非线性消阶滤波器。它以8×8为单位进行。如下图所示,通过旋转和反射所示的三个模板来定义八个预设方向。
Templates of preset directions and their associated
directions. The templates correspond to directions of 45◦, 22.5◦, and
0◦, as shown by the dash lines. Each preset direction d ∈ {0,...,7}
can be obtained by using the template directly, rotating the
template by 90◦ clockwise (marked by †) or reflecting the template
along the horizontal axis (marked by ρ)

解码器利用重建像素通过最小化下式来选择向索引

式中xp为像素p的值,Pd,k为沿d方向k行的像素,μd,k为Pd,k的平均值;

一个主要的滤波器是沿着所选的方向应用,而一个次要的滤波器沿着主方向的偏移45◦的方向应用。像素p(x, y)的滤波运算公式为

其中 wp d,m,n 和 ws d,m,n 分别为与主滤波器和次滤波器相关联的滤波器系数,如下图所示。其中Sp、Ss为主要滤波器和次要滤波器的强度指标,D为阻尼系数。f()是一个分段线性函数


Primary filter templates associated with direction
d ∈ {0,...,7} (subject to rotation and reflection), where w1 4/16
and w2 2/16 for even strength indexes, and w1 w2 3/16 for
odd strength indexes.
Secondary filter templates associated with each direction
(subject to reflection), where w3 2/16 and w4 1/16. The
secondary filter is applied along the direction 45◦ off the
corresponding primary direction d.

它排除了值远离p(x, y)的参考像素。注意,参考像素p(m, n)是在应用去块滤波器之后,但在应用CDEF滤波器之前重建的像素。

Frame Header中传输多达八组滤波器参数,包括亮度和色度分量的主滤波器和次滤波器强度指标。每个64 × 64块从预设中选择一组来控制滤波器操作。

相关推荐
the3clipse3 天前
VVenc开源编码器实战指南:H.266/VVC编码工具编译、参数调优与性能测试
视频编码·vvc·h.266·编译安装·vvdec·开源编码器
the3clipse4 天前
H.265全系列总结与H.266/VVC展望:从HEVC核心架构到下一代视频编码标准
视频编码·h.265·hevc·vvc·h.266·视频压缩·ctu
the3clipse4 天前
H.265熵编码核心:CABAC自适应二进制算术编码详解——如何将语法元素高效压缩为比特流
人工智能·算法·视频编码·h.265·hevc·cabac·cavlc
the3clipse5 天前
H.265变换与量化:如何更高效地处理残差数据——可变尺寸DCT/DST与量化矩阵优化
视频编码·h.265·hevc·dct·rqt·变换编码·dst
the3clipse5 天前
H.265运动补偿优化:Merge模式与AMVP技术详解——如何更高效地利用时间冗余
视频编码·h.265·运动补偿·帧间预测·amvp·merge模式·运动矢量预测
the3clipse7 天前
H.265:为什么我们需要新一代视频编码标准?——从H.264到HEVC的技术演进解析
视频编码·h.265·hevc·h.264·视频压缩·流媒体技术·带宽优化
the3clipse8 天前
H.265/HEVC、HEIF、HEIC 关系详解:为什么 HEIC 比 JPEG 更省空间?一文讲清容器、编码与文件后缀
视频编码·h.265·hevc·图片压缩·jpeg·heif·图像容器
the3clipse9 天前
Windows 10 与 Windows 11 视频编解码区别:AV1、HEVC、HDR 与 D3D12 编码支持对比
windows·h.265·hevc·hdr·av1·视频解码·d3d12
the3clipse9 天前
MacOS、Linux 与 Windows 视频编解码对比:AV1、HEVC、ProRes 与硬件加速优劣势
linux·windows·macos·hevc·av1·视频解码·硬件解码
the3clipse10 天前
视频编码技术如何赋能游戏性能优化:从硬件隔离到AI驱动的带宽革命
游戏·性能优化·音视频·视频编码·硬件加速·ai编码·自适应编码