Abstract: The goal of edge-histogram specification is to find an image whose edge image has a histogram that matches a given edge-histogram as much as possible. Mignotte has proposed a non-convex model for the problem. In his work, edge magnitudes of an input image are first modified by histogram specification to match the given edge-histogram. Then, a non-convex model is minimized to find an output image whose edge-histogram matches the modified edge-histogram. The non-convexity of the model hinders the computations and the inclusion of useful constraints such as the dynamic range constraint. In this paper, instead of considering edge magnitudes, we directly consider the image gradients and propose a convex model based on them. Furthermore, we include additional constraints in our model based on different applications. The convexity of our model allows us to compute the output image efficiently using either Alternating Direction Method of Multipliers or Fast Iterative Shrinkage-Thresholding Algorithm. We consider several applications in edge-preserving smoothing including image abstraction, edge extraction, details exaggeration, and documents scan-through removal. Numerical results are given to illustrate that our method successfully produces decent results efficiently.
Introduction
Edge-preserving smoothing is a fundamental task in image processing, aimed at removing unwanted textures and noise while maintaining the integrity of sharp object boundaries. A powerful technique for this is edge-histogram specification, which seeks an image whose edge distribution matches a predefined target. Historically, models for this task have been non-convex, leading to significant computational challenges and difficulties in incorporating practical constraints like dynamic range limits.
A New Convex Framework
This paper presents a paradigm shift by moving from edge magnitudes to a direct consideration of image gradients within a convex optimization framework. By formulating the problem as a convex model, the authors ensure that the global optimum can be found efficiently and reliably.
From Magnitudes to Gradients
The core innovation lies in the objective function. Instead of minimizing a non-convex energy based on absolute edge magnitudes, the proposed model minimizes the distance between the image gradients and a target gradient field $d$: $$\min_x \|Gx - d\|_p^p + \iota_C(x)$$ Here, $G$ represents the gradient operator, and $\iota_C(x)$ is an indicator function that enforces constraints, such as ensuring pixel values remain within the valid range [0, 255].
As shown in the figure above, the gradient components capture the essential structural information of the image. By manipulating these gradients directly, the model can selectively suppress textures while preserving salient edges.
Target Construction and Optimization
To achieve smoothing, the "target" gradient data $d$ is constructed by thresholding the gradients of the input image. This process effectively identifies significant edges to be preserved while setting smaller, texture-related gradients to zero.
The resulting target histogram, characterized by a sharp peak at zero, guides the optimization to produce a clean, smoothed output. Depending on the application, the authors employ different norms: $p=2$ (least squares) for general smoothing and $p=1$ (total variation-like) for robust tasks like document restoration. The convexity of these formulations allows for the use of efficient solvers like FISTA and ADMM.
Applications and Results
The versatility of the convex model is demonstrated across several domains:
- Image Abstraction and Edge Extraction: The method excels at producing "painterly" abstractions. Unlike traditional filters that might blur fine details, this model can preserve delicate structures like basketball nets while cleaning up the background.
- Detail Exaggeration: By manipulating the target histogram to enhance rather than suppress gradients, the model can be used to bring out subtle details in an image.
- Document Scan-through Removal: One of the most impressive results is in document restoration. By incorporating a "background preservation" constraint, the model can effectively remove "bleed-through" from the back side of scanned historical documents using only a single-sided scan.
Conclusion
By transitioning to a convex, gradient-based model, the authors have transformed edge-histogram specification into a robust and efficient tool for image processing. The ability to easily incorporate constraints and the use of fast iterative solvers make this approach highly practical for a wide range of real-world applications, from artistic abstraction to the preservation of historical archives.
Summary updated