Abstract
Kernel smoothing methods, including the bilateral filter, are commonly used in data processing/modeling and edge-aware image smoothing. Due to their nonlinear nature, these filters require significant computational time. In this paper, we address this problem by studying a practical case in which the data to be processed are integers. The basic idea is to use eigendecomposition to approximate the kernel matrix which is a real symmetric Toeplitz matrix. This approximation leads to more efficient computation. We study the distribution of its eigenvalues and show that the upper bounds of the eigenvalues can be expressed analytically in terms of the Fourier transform of the kernel function. This result not only captures the relationship between the order of the low-rank approximation of the kernel matrix and the filtering quality, but also shows that among the three kernel functions considered in this work, the Gaussian kernel can be most efficiently approximated. We have applied the proposed fast algorithm to implement the bilateral filter. By taking advantage of a property of the Gaussian kernel, we have also proposed another algorithm with even faster speed. Experimental results show that the performance of the proposed algorithms is competitive with those state-of-the-art algorithms in terms of speed and quality.









Similar content being viewed by others
Notes
Reviewer A pointed out this result.
Suggested by Reviewer B.
References
Bishop, C.: Pattern Recognition and Machine Learning. Springer, Berlin (2006)
Böttcher, A., Grudsky, G.: Spectral Properties of Banded Toeplitz Matrices. SIAM, Philadelphia (2005)
Bottou, L., Chapelle, O., DeCoste, D., Weston, J.: Large-Scale Kernel Machines (Neural Information Processing). The MIT Press, Cambridge (2007)
Caraffa, L., Tarel, J.P., Charbonnier, P.: The guided bilateral filter: when the joint/cross bilateral filter becomes robust. IEEE Trans. Image Process. 24, 1199–1208 (2015)
Chaudhury, K.N., Dabhade, S.D.: Fast and provably accurate bilateral filtering. IEEE Trans. Image Process. 25, 2519 (2016)
Chaudhury, K.N., Sage, D., Unser, M.: Fast o(1) bilateral filtering using trigonometric range kernels. IEEE Trans. Image Process. 20(12), 3376–3382 (2011)
Dai, L., Yuan, M., Zhang, X.: Accelerate bilateral filter using hermite polynomials. Electron. Lett. 50(20), 1432–1434 (2014)
Deng, G.: Fast compressive bilateral filter. Electron. Lett. 53(3), 150–152 (2017)
Ferreira, P.J.S.: Localization of the eigenvalues of Toeplitz matrices using additive decomposition embedding in circulants and the Fourier transform. In: Proceedings of the IFAC 10th International Symposium on System Identification, pp. 271–276 (1994)
Getreuer, P.: A survey of Gaussian convolution algorithms. Image Proces. Line 3, 286–310 (2015)
Girosi, F.: Models of noise and robust estimates. Technical Report A.I. Memo No. 1287, Artificial Intelligence Laboratory, MIT (1991)
Gray, R.M.: Toeplitz and circulant matrices: a review. Found. Trends Commun. Inf. Theory 2, 155–239 (2006)
Greengard, L., Strain, J.: The fast Gauss transform. SIAM J. Sci. Stat. Comput. 12(1), 79–94 (1991)
Griebel, M., Wissel, D.: Fast approximation of the discrete Gauss transform in higher dimensions. J. Sci. Comput. 55(1), 149–172 (2013)
Gunturk, B.K.: Fast bilateral filter with arbitrary range and domain kernels. IEEE Trans. Image Process. 20(9), 2690–2696 (2011)
Hastie, T., Tibshirani, R., Friedman, J.: The Elements of Statistical Learning. Springer Series in Statistics. Springer, New York (2001)
Kailath, T., Sayed, A.H.: Fast Reliable Algorithms for Matrices with Structure. SIAM, Philadelphia (1999)
Kass, M., Solomon, J.: Smoothed local histogram filters. ACM Trans. Graph 29(4), 100:1–100:10 (2010)
Ma, Z., He, K., Wei, Y., Sun, J., Wu, E.: Constant time weighted median filtering for stereo matching and beyond. In: Proceedings of the IEEE ICCV’13, pp. 49–56 (2013)
Markovsky, I.: Low Rank Approximation: Algorithms, Implementation, Applications. Springer, Berlin (2012)
Milanfar, P.: A tour of modern image filtering: new insights and methods, both practical and theoretical. IEEE Signal Process. Mag. 30(1), 106–128 (2013)
Oppenheim, A.V., Schafer, R.W.: Discrete-Time Signal Processing. Prentice Hall, Upper Saddle River (1989)
Paris, S., Durand, F.: A fast approximation of the bilateral filter using a signal processing approach. In: Proceedings of the European Conference on Computer Vision, pp. 568–580 (2006)
Paris, S., Kornprobst, P., Tumblin, J., Durand, F.: Bilateral filtering: theory and applications. Found. Trends Comput. Graph. Vis. 4(1), 1–73 (2009)
Porikli, F.: Constant time o(1) bilateral filtering. In: Proceedings of the Internationl Conference on Computer Vision Pattern Recognition, pp. 1–8 (2008)
Rey, W.J.J.: Introduction to Robust and Quasi-Robust Statistical Methods. Springer, Berlin (1983)
Shawe-Taylor, J., Cristianini, N.: Kernel Methods for Pattern Analysis. Cambridge University Press, New York (2004)
Sugimoto, K., Breckon, T., Kamata, S.: Constant-time bilateral filter using spectral decomposition. In: Proceedings of the IEEE International Conference on Image Processing, pp. 3319–3323 (2016)
Sugimoto, K., Kamata, S.I.: Compressive bilateral filtering. IEEE Trans. Image Process. 24(11), 3357–3369 (2015)
Sugimoto, K., Kamata, S.I.: Efficient constant-time Gaussian filtering with sliding dct/dst-5 and dual-domain error minimization. ITE Trans. Media Technol. Appl. 3, 12–21 (2015)
Takeda, H., Farsiu, S., Milanfar, P.: Kernel regression for image processing and reconstruction. IEEE Trans. Image Process. 16(2), 349–366 (2007)
Tyrtyshnikov, E.: A unifying approach to some old and new theorems on distribution and clustering. Linear Algebra Appl. 232, 1–43 (1996)
Tyrtyshnikov, E., Zamarashkin, N.: Spectra of multilevel Toeplitz matrices: advanced theory via simple matrix relationships. Linear Algebra Appl. 270, 15–27 (1998)
Yang, C., Duraiswami, R., Davis, L.: Efficient kernel machines using the improved fast Gauss transform. In: Saul, L.K., Weiss, Y., Bottou, L. (eds.) Advances in Neural Information Processing Systems, vol. 17, pp. 1561–1568. MIT Press, Cambridge (2005)
Yoshizawa, S., Belyaev, A., Yokota, H.: Fast Gauss bilateral filtering. Comput. Graph. Forum 29(1), 60–74 (2010)
Zhang, Q., Xu, L., Jia, J.: 100+ times faster weighted median filter (WMF). In: Proceedings of the IEEE CVPR’14, pp. 2830–2837 (2014)
Zhang, Z.: Parameter estimation techniques: a tutorial with application to conic fitting. Image Vis. Comput. 15, 59–76 (1997)
Acknowledgements
We thank the two reviewers for providing pertinent and constructive comments which help us to improve the technical content of this paper.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Deng, G., Manton, J.H. & Wang, S. Fast Kernel Smoothing by a Low-Rank Approximation of the Kernel Toeplitz Matrix. J Math Imaging Vis 60, 1181–1195 (2018). https://doi.org/10.1007/s10851-018-0804-2
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10851-018-0804-2