Skip to main content
Log in

A fast bilateral filtering algorithm based on rising cosine function

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

In order to speed up the bilateral filtering algorithm, a fast bilateral filtering algorithm based on raised cosine with compressibility factor (BRCF) is proposed. The BRCF uses a raised cosine function with a compression coefficient to replace Gaussian function as the range kernel function, and uses a limited number of linear convolution calculations to achieve bilateral filtering. Then, the improved BRCF (IBRCF) with a compression factor is proposed to accelerate the convergence rate of the raised cosine function. Compared to the published raised cosine algorithm, Taylor polynomial algorithm, and Gaussian polynomial algorithm, the computer simulation results show that the proposed IBRCF has a faster convergence rate with almost the same peak signal-to-noise ratio. After filtered seven images by various algorithms, the running time of the new IBRCF algorithm was confirmed to be less than 1/5 of Gaussian polynomial algorithm, while Gaussian polynomial algorithm was faster than the published raised cosine algorithm and Taylor polynomial algorithm. The mathematical proofs and algorithm flowcharts of the IBRCF algorithm are described in this paper in detail.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Abbreviations

BRCF:

Algorithm based on raised cosine with compressibility factor

IBRCF:

The improved BRCF

BF:

The bilateral filter

TP:

Taylor polynomial

BC:

The basic raised cosine

GP:

Gaussian polynomial

RRCPSNR:

The relative rate of change in PSNR

References

  1. Tomasi C, Manduchi R (1998) Bilateral filtering for gray and color images. In: IEEE international conference on computer vision, pp 839–846

  2. Biradar N, Dewal ML, Rohit MK, Jindal I (2016) Echocardiographic image denoising using extreme total variation bilateral filter. Opt Int J Light Electron Opt 127(1):30–38

    Article  Google Scholar 

  3. Zhang M, Gunturk BK (2008) Multiresolution bilateral filtering for image denoising. IEEE Trans Image Process 17(12):2324–2333

    Article  MathSciNet  Google Scholar 

  4. Liu N, Chen X (2006) Infrared image detail enhancement approach based on improved joint bilateral filter. Infrared Phys Technol 77:405–413

    Article  Google Scholar 

  5. Bae S, Paris S (2006) Two-scale tone management for photographic look. ACM Trans Graph 25:637–645

    Article  Google Scholar 

  6. Tripathi A.K, Mukhopadhyay S (2012) Single image fog removal using bilateral filter. In: IEEE international conference on signal processing, computing and control, pp 1–6

  7. Zhang M, Gunturk B.K (2009) Compression artifact reduction with adaptive bilateral filtering. In: Visual communications and image processing. International Society for Optics and Photonics, pp 499–504

  8. Shao HC, Hwang WL (2016) Light field upsampling by joint bilateral filtering on epipolar plane images. In: Asia-Pacific signal and information processing association annual summit and conference, pp 1–5

  9. Gunturk BK (2011) Fast bilateral filter with arbitrary range and domain kernels. IEEE Trans Image Process 20(9):2690–2696

    Article  MathSciNet  Google Scholar 

  10. Al-Ismaeil K, Aouada D, Ottersten B (2012) Bilateral filter evaluation based on exponential kernels. In: IEEE international conference on pattern recognition, pp 258–261

  11. Yang Q (2014) Hardware-efficient bilateral filtering for stereo matching. IEEE Trans Pattern Anal Mach Intell 36(5):1026–1032

    Article  Google Scholar 

  12. Porikli F (2008) Constant time O(1) bilateral filtering. In: IEEE conference on computer vision and pattern recognition, pp 1–8

  13. Yang Q, Tan KH, Ahuja N (2009) Real-time O(1) bilateral filtering. In: IEEE conference on computer vision and pattern recognition, pp 557–564

  14. Paris S, Durand F (2009) A fast approximation of the bilateral filter using a signal processing approach. Int J Comput Vis 81(1):24–52

    Article  Google Scholar 

  15. Sugimoto K, Kamata S (2015) Compressive bilateral filtering. IEEE Trans Image Process 24(11):3357–3369

    Article  MathSciNet  Google Scholar 

  16. Chaudhury KN (2011) Constant-time filtering using shiftable kernels. IEEE Signal Process Lett 18(11):651–654

    Article  Google Scholar 

  17. Chaudhury KN, Sage D, Unser M (2011) Fast O(1) bilateral filtering using trigonometric range kernels. IEEE Trans Image Process 20(12):3376–3382

    Article  MathSciNet  Google Scholar 

  18. Chaudhury KN (2013) Acceleration of the shiftable O(1) algorithm for bilateral filtering and nonlocal means. IEEE Trans Image Process 22(4):1291–1300

    Article  MathSciNet  Google Scholar 

  19. Chaudhury KN, Dabhade SD (2016) Fast and provably accurate bilateral filtering. IEEE Trans Image Process 25(6):2519–2528

    Article  MathSciNet  Google Scholar 

  20. Yang Q, Ahuja N, Tan KH (2015) Constant time median and bilateral filtering. Int J Comput Vis 112(3):307–318

    Article  Google Scholar 

  21. Muhammad N, Bibi N, Jahangir A et al (2018) Image denoising with norm weighted fusion estimators. Pattern Anal Appl 21(4):1013–1022

    Article  MathSciNet  Google Scholar 

  22. Muhammad N, Bibi N, Wahab A et al (2018) Image de-noising with subband replacement and fusion process using Bayes estimators. Comput Electr Eng 70:413–427

    Article  Google Scholar 

  23. Muhammad N, Bibi N, Qasim I et al (2018) Digital watermarking using Hall property image decomposition method. Pattern Anal Appl 21(4):997–1012

    Article  MathSciNet  Google Scholar 

  24. Muhammad N, Bibi N (2015) Digital image watermarking using partial pivoting lower and upper triangular decomposition into the wavelet domain. IET Image Proc 9(9):795–803

    Article  Google Scholar 

  25. Yao L, Wu Y, Li M et al (2018) Design of three-dimensional filtering balun with inherent complete ground and enhanced stopband rejection. Electron Lett 54(6):361–362

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Contributions

We propose a fast bilateral filtering algorithm based on raised cosine with compressibility factor (BRCF) and propose an improved BRCF with a compression factor to accelerate the convergence rate of the raised cosine function. Meanwhile, we present a rigorous performance analysis for these algorithms. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Bailin Li.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix

Appendix

Proposition 3.1

The IBRCF fast algorithm can be expressed as

$$\tilde{f}_{\lambda } (i,N,M) = \frac{{P_{\lambda } (i,N,M)}}{{Q_{\lambda } (i,N,M)}},$$
(24)

where

$$P_{\lambda } (i,N,M) = \sum\limits_{m = 0}^{M} {C_{M}^{m} } P_{\lambda } (i,N + m),$$
(25)
$$Q_{\lambda } (i,N,M) = \sum\limits_{m = 0}^{M} {C_{M}^{m} } Q_{\lambda } (i,N + m).$$
(26)

Proof

Equation (23) can be converted to the following equation,

$$w_{\lambda ,N,M} (x) = \frac{1}{{2^{M} }}\sum\limits_{m = 0}^{M} {C_{M}^{m} } \cos^{m + N} \left( {\frac{\lambda \pi }{2T}x} \right).$$
(a)

It can be shown that \(w_{\lambda ,N,M} (x)\) is the sum of linear combinations of raised cosine functions. Substituting Eq. (a) into Eq. (1), the IBRCF algorithm can be expressed as

$$\tilde{f}_{\lambda } (i,N,M) = \frac{{P_{\lambda } (i,N,M)}}{{Q_{\lambda } (i,N,M)}},$$
(b)

where

$$P_{\lambda } (i,N,M) = \sum\limits_{m = 0}^{M} {C_{M}^{m} } \left( {\sum\limits_{j \in \varOmega } {w_{s} \cos^{m + N} \left( {\frac{\lambda \pi }{2T}x} \right)f_{j} } } \right).$$
(c)

Furthermore, according to Eq. (13), we can write

$$P_{\lambda } (i,N + m) = \sum\limits_{j \in \varOmega } {w_{s} \cos^{m + N} \left( {\frac{\lambda \pi }{2T}x} \right)} f_{j} .$$
(d)

Substituting Eq. (d) into Eq. (c) yields Eq. (25). Similarly, Eq. (26) can be obtained by using the same calculation procedure.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Guo, J., Chen, C., Xiang, S. et al. A fast bilateral filtering algorithm based on rising cosine function. Neural Comput & Applic 31, 5097–5108 (2019). https://doi.org/10.1007/s00521-018-04001-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-018-04001-y

Keywords

Navigation