Efficient Splitting-based Method for Global Image Smoothing

Youngjung Kim, Dongbo Min, Bumsub Ham, Kwanghoon SohnarXiv 2016

Abstract

Edge-preserving smoothing (EPS) is a cornerstone of computer vision, yet global optimization methods often suffer from high computational costs. This paper introduces a novel variable splitting strategy that reduces the complexity of global smoothing from $O(n \log n)$ to $O(n)$. By transforming 2D objective functions into a sequence of 1D sub-problems solvable in linear time, the proposed method achieves state-of-the-art performance and high-quality results in a fraction of the time required by traditional solvers.

Introduction

The primary challenge in global image smoothing is solving massive linear systems. Traditional global methods like Weighted Least Squares (WLS) or Total Variation (TV) typically rely on Fast Fourier Transforms (FFTs) or iterative solvers that scale poorly with increasing image resolution. As multi-megapixel images become standard, the need for true linear-time algorithms is paramount. This work addresses this bottleneck by proposing a novel variable splitting strategy that simplifies the 2D global objective into manageable 1D components.

Methodology

The core innovation lies in a variable splitting strategy that decomposes the 2D objective function into its horizontal and vertical components. Unlike standard splitting methods (e.g., ADMM) that separate the derivative operator, this approach transforms the 2D problem into a sequence of 1D global smoothing problems:

  1. Horizontal Pass: Solve a global 1D smoothing problem for every row.
  2. Vertical Pass: Solve a global 1D smoothing problem for every column.

For WLS, the resulting 1D systems are tridiagonal and can be solved in $O(n)$ time using the Thomas algorithm. For Weighted Total Variation (WTV), a non-iterative $O(n)$ solver is utilized. This framework is further extended to handle non-convex priors via Fast Iteratively Re-weighted Algorithms (FIRLS and FIRL1), enabling sharper edges and better texture handling.

Convergence and Performance

A key advantage of this splitting method is its rapid convergence. Empirical results show that the algorithm typically requires only 3 to 5 iterations to achieve a structural similarity (SSIM) greater than 0.99 compared to exact global solutions.

Convergence of objective values for WLS and WTV smoothing across iterations.

Quantitative benchmarks on a 1-megapixel image (923x1128) demonstrate significant efficiency gains:

  • FWLS (Fast WLS): 0.28 seconds, compared to 3.04 seconds for Preconditioned Conjugate Gradient (PCG) and 4.14 seconds for standard solvers.
  • WTV: Approximately 6x faster than the state-of-the-art Split-Bregman approach.

Key Results and Applications

Evaluations on the BSDS500 dataset confirm that the method maintains high fidelity, with an average SSIM of 0.9963 after 5 iterations. The algorithm's linear scaling makes it ideal for ultra-high-resolution images. Practical applications demonstrated include:

  • Texture Removal: Outperforming specialized methods like RTV and WMF.
  • Color Quantization: Producing cleaner results through FIRL1 optimization compared to standard $L_0$ minimization.

Conclusion

By shifting the focus from 2D to alternating 1D global optimizations, this method provides a scalable solution for high-quality image smoothing. While the current implementation is not rotationally invariant—occasionally favoring axis-aligned structures—future work may incorporate diagonal passes to improve rotational symmetry while maintaining the $O(n)$ complexity advantage.

Summary updated

BibTeX
@misc{kim2016efficient,
  author = {Youngjung Kim and Dongbo Min and Bumsub Ham and Kwanghoon Sohn},
  title = {{Efficient Splitting-based Method for Global Image Smoothing}},
  year = {2016},
  eprint = {1604.07681},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1604.07681},
}
Figure