• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2026, Vol. 48 ›› Issue (3): 476-487.

• 图形与图像 • 上一篇    下一篇

基于定向各向异性的加权最小二乘图像平滑方法

梁皓涵,刘婷婷,崔鹏,王志强


  

  1. (哈尔滨理工大学计算机科学与技术学院,黑龙江 哈尔滨 150080)

  • 收稿日期:2024-03-01 修回日期:2024-07-18 出版日期:2026-03-25 发布日期:2026-03-25

An weighted least squares image smoothing method based on directional anisotropy

LIANG Haohan,LIU Tingting,CUI Peng,WANG Zhiqiang   

  1. (School of Computer Science and Technology,Harbin University of Science and Technology,Harbin  150080,China)
  • Received:2024-03-01 Revised:2024-07-18 Online:2026-03-25 Published:2026-03-25

摘要: 针对加权最小二乘图像平滑方法过度依赖参数设定,会导致弱梯度结构模糊、强梯度纹理保留,且在多尺度图像分解时容易出现色调偏移的问题,提出一种基于定向各向异性的加权最小二乘图像平滑方法。首先,提出一种多方向的定向各向异性结构测度方法,利用梯度信息沿各方向的方向导数提升捕捉纹理/结构信息的能力,并结合原始图像梯度幅值实现对结构测度幅值的衰减,进而提高结构的精细化程度;其次,利用模板可变的自适应Sobel算子代替一维差分算子用于计算正则项的一阶偏导和梯度权重,使之可以更好地感知邻域范围内的梯度变化,从而保护边缘的完整性;最后,将结构测度幅值融入梯度权重中,使其可以在结构区域利用小权重的平滑参数实现结构保持,在纹理区域利用大权重的平滑参数实现纹理细节信息的平滑,并利用多通道平滑结果融合操作以改善色调偏移和颜色失真的问题。与主流的纹理平滑方法进行比较,在视觉方面,新方法既可以有效地去除纹理也可以保持细微结构的稳定,在定量度量方面,新方法可以很好地平衡纹理抑制与结构保持之间的关系。

关键词: 图像平滑, 纹理滤波, 定向各向异性结构测度, 加权最小二乘

Abstract: The problem of excessive reliance on parameter settings in the weighted least squares image smoothing method can lead to blurring of weak gradient structures, preservation of strong gradient textures, and color shifts during multi-scale image decomposition. To address this issue, a weighted least squares image smoothing method based on directional anisotropy is proposed. Firstly, a multi- directional anisotropy structure measurement method is proposed, which enhances the ability to capture texture/structure information by using the directional derivatives of gradient information along each direction. What’s more, it also combines the gradient amplitude of the original image to achieve attenuation of the structure measurement amplitude, thereby improving the refinement of the structure. Secondly, the adaptive Sobel operator with variable template is utilized to replace the one-dimensional difference operator for computing the first-order partial derivatives and gradient weights of the regular term. This adjustment allows for better perception of gradient changes within the neighborhood range, thus preserving the integrity of edges. Lastly, the structure measurement amplitude is integrated into the gradient weights, enabling the use of small-weight smoothing parameters for structure preservation in structural regions and large-weight smoothing parameters for preserving texture details in texture regions. Additionally, a multi-channel smoothing result fusion operation is employed to solve color shifts and color distortion issues. In terms of visual presentation, the new method effectively eliminates textures while retaining delicate structures. In quantitative terms, the new method achieves a harmonious balance between texture suppression and structure preservation, outperforming mainstream texture smoothing methods.


Key words: image smoothing, texture filter, directional anisotropic structure measurement, weighted least squares