三大保边滤波算法:引导滤波、双边滤波、加权最小二乘平滑滤波算法
双边滤波
各向异性滤波,基于小波变换的滤波(Edge-avoiding wavelets and their applications),基于域变换的滤波(Domain Transform for Edge-Aware Image and Video Processing),基于geodesic的滤波(Geodesic Image and Video Editing)
双边滤波器:非线性滤波器,输出图像每个像素都是其邻域各像素的加权平均,权值随空间距离和数值差异的增加而减小。
B L F ( g ) p = 1 k p ∑ q G σ s ( ∣ ∣ p − q ) G σ r ( ∣ ∣ g p − g q ) BLF(g)_p=\frac{1}{k_p}\sum_q G_{\sigma_s}(||p-q)G_{\sigma_r}(||g_p-g_q) BLF(g)p=kp1q∑Gσs(∣∣p−q)Gσr(∣∣gp−gq)
k p = ∑ q G σ s ( ∣ ∣ p − q ∣ ∣ ) G σ r ( ∣ ∣ g p − g q ∣ ∣ ) k_p=\sum_q G_{\sigma_s}(||p-q||)G_{\sigma_r}(||g_p-g_q||) kp=q∑Gσs(∣∣p−q∣∣)Gσr(∣∣gp−gq∣∣)
其中,g为输入图像,p和q表示像素的空间位置,核函数 G σ s G_{σ_s } Gσs、 G σ r G_{σ_r } Gσr通常高斯核, σ s σ_s σs决定空间支撑、 σ r σ_r σr决定值域支撑调节边缘敏感度
双边滤波器性能定性分析:
1.给定像素p,其原始像素值为 g p g_p gp (a particular pixel p, whose unfiltered value is g p g_p gp )。随 σ s σ_s σs的增大,更多的邻域像素q参与像素p的平滑,其中与 g p g_p gp相近的 g q g_q gq 贡献最大,导致平滑后p点像素值与g_p差值很小(as σ s σ_s σs is increased, more and more distant pixels q , whose value g q g_q gq is close to g p g_p gp are being averaged together, and as a result the filtered value does not stray too far from g p g_p gp )。当 σ s → ∞ σ_s→ ∞ σs→∞时,双边滤波器等同于值域滤波器(in the limit ( σ s → ∞ σ_s → ∞ σs→∞), the bilateral filter becomes a range filter)。因此,为实现大尺度平滑,不仅需要增大 σ s σ_s σs, σ r σ_r σ


1525

被折叠的 条评论
为什么被折叠?



