Abstract

We present a window-adaptive Gaussian guided filtering method to smooth images while preserving edge features. The key to our algorithm is designing a similarity-aware filtering window based on density clustering to protect the edge structure and introducing a small-scale Gaussian spatial kernel as the input of the Gaussian range kernel to construct a guided filter for image smoothing. Specifically, we first utilized the Gaussian spatial kernel filtering with a small spatial bandwidth to yield a guidance input. Then, the Mahalanobis metric was used to calculate the distance between the center point and the other pixels in the box filtering window, by which we employed the center density clustering algorithm to obtain a better nonbox region (i.e., similarity-aware window) in which each pixel was similar to the center point. Finally, based on the guidance input and the similarity-aware window, the guided Gaussian range filter performed better on image smoothing. Our proposed algorithm is simple and easy to implement. In particular, the window-aware technology effectively improved edge protection, and it can be widely used in image denoising, background smoothing, detexturing, detail enhancement, and edge extraction.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call