Abstract
Image smoothing is by reducing pixel-wise gradients to smooth out details. As existing methods always rely on gradients to determine smoothing manners, it is difficult to distinguish structures and details to handle distinctively due to the overlapped ranges of gradients for structures and details. Thus, it is still challenging to achieve high-quality results, especially on preserving weak structures and removing high-contrast details. In this paper, we address this challenge by improving the real-time optimization-based method via iterative least squares (called ILS). We observe that 1) ILS uses gradients as the independent variable in its penalty function for determining smoothing manners, and 2) the framework of ILS can still work for image smoothing when we use some values instead of gradients in the penalty function. Thus, corresponding to the properties of pixels on structures or not, we compute some values to use in the penalty function to determine smoothing manners, and so we can handle structures and details distinctively, no matter whether their gradients are high or low. As a result, we can conveniently remove high-contrast details while preserving weak structures. Moreover, such values can be adjusted to accelerate optimization computation, so that we can use fewer iterations than the original ILS method for efficiency. This also reduces the changes onto structures to help structure preservation. Experimental results show our advantages over existing methods on efficiency and quality.
Introduction
Image smoothing is a fundamental task in computer vision, essential for noise reduction, detail enhancement, and HDR tone mapping. The primary objective is to eliminate "details"—small-scale, high-frequency textures or noise—while maintaining the integrity of "structures"—the primary edges and shapes.
A persistent challenge in this field is the gradient dilemma. Most smoothing algorithms utilize pixel gradients to determine the degree of blurring. However, gradients are inherently ambiguous: a high-contrast noise speckle can produce a high gradient, whereas a subtle but significant edge may have a low gradient. Consequently, traditional methods often fail, either preserving high-contrast noise or inadvertently smoothing out weak structures. Furthermore, optimization-based approaches capable of addressing these issues are frequently too slow for real-time use due to high iteration requirements.
Methodology
This work enhances the Iterative Least Squares (ILS) framework, a known fast optimization-based smoothing technique. The core innovation lies in decoupling the smoothing behavior from raw pixel gradients by introducing "guidance values."
Guidance Values and Interval Gradients
Instead of raw gradients ($\nabla u$), the method employs guidance values ($id$) in the penalty function. These values are derived from "interval gradients," which measure the difference between averaged intensities in local windows adjacent to a pixel. This approach effectively distinguishes repetitive textures (which average out) from true structural edges.
Weighting Mechanism
A weight ($\omega$) is calculated for each pixel to determine its likelihood of being part of a structure versus a detail. Pixels identified as details receive low weights, leading to aggressive smoothing. Conversely, structural pixels receive high weights, preserving edges regardless of their original gradient magnitude.
Computational Efficiency
The use of accurate guidance values allows the optimization to converge significantly faster. While the original ILS method often requires 10 or more iterations, the proposed method achieves high-quality results in just 2–5 iterations, facilitating real-time performance.
Experimental Results
The method was evaluated against standard benchmark images and an HDR tone mapping dataset of 25 images.
Qualitative Comparison
As shown in Figure 1, the proposed method excels at removing high-contrast "salt" noise (indicated by green arrows in the crops) while preserving delicate textures (red arrows) that other methods, including the original ILS and deep learning-based CSGIS-Net, either blur or fail to clean.
Quantitative Performance and Speed
- Speed: For a 615x461 image, the proposed method runs in 0.026s on a GPU, outperforming learning-based CSGIS-Net (1.084s) and optimization-based GFES (7.491s on CPU).
- Quality: In HDR tone mapping tests, the method achieved a Tone Mapping Quality Index (TMQI) of 0.8806, surpassing the original ILS (0.8753) and GFES (0.8712).
Conclusion
By decoupling the optimization framework from raw gradients, this method provides a robust solution for real-time image smoothing. It successfully addresses the gradient dilemma, allowing for the removal of high-contrast noise and the preservation of weak structures. Future work will focus on improving the interval gradient's robustness in extremely dense textures and further automating parameter selection.
Summary updated