Skip to main content
Log in

Hybrid Noise Reduction Filter Using the Gaining–Sharing Knowledge-Based Optimization and the Whale Optimization Algorithms

  • Original Research
  • Published:
SN Computer Science Aims and scope Submit manuscript

Abstract

Noise reduction is one of the main challenges for researchers. Classical image de-noising methods reduce the image noise but sometimes lose image quality and information, such as blurring the edges of the image. To solve this challenge, this work proposes two optimal filters based on a generalized Cauchy (GC) distribution and two different nature-inspired algorithms that preserve image information while decreasing the noise. The generalized Cauchy filter and the bilateral filter are two parameter-based filters that significantly remove image noise. Parameter-based filters require proper parameter selection to remove the noise and maintain the edge details. To this end, two filters are considered. In the previous works, the parameters of the mask that was made with the GC function were optimized and the mask size was considered fixed. By studying different noisy images, we find that the selected mask size significantly impacts the designed filter performance. Therefore in this paper, a mask is designed using the GC function to formulate the first filter, and despite the optimization of the filter parameters, the selected mask size is also optimized using the peak signal-to-noise ratio (PSNR) as a fitness function. In most metaheuristic-based bilateral filters, only the domain and range parameters, which are based on Gaussian distribution, are optimized and the neighboring radius is a constant value. Filter results on different noisy images show that the neighboring radius has a major effect on the filter performance. Since the filter designed with the GC function causes significant noise removal, this function is effective, and on the other hand, it’s almost similar behavior with the Gaussian function has caused it to be combined with the bilateral filter to design the second filter in this paper. The kernel of the domain and range is considered to be the GC function instead of the Gaussian function. The domain and range parameters and the neighboring radius are optimized using the PSNR as a fitness function. With the help of optimization algorithms such as the whale optimization algorithm and the Gaining sharing knowledge-based optimization algorithm, bilateral filter; and GC filter parameters are optimized. Finally, the performance of the proposed filters is investigated on images corrupted by Gaussian and impulse noise. It is compared with other classical filters, the particle swarm optimization (PSO) based GC filter, and two PSO-based bilateral filters on various images. The experimental findings demonstrate that the suggested filters outperform the others.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Data Availability

Data sets are in the form of images that are available at: https://www.kaggle.com/datasets/saeedehkamjoo/standard-test-images and the result data sets are generated during the current study and are available from the corresponding author.

References

  1. Cho TS, Zitnick CL, Joshi N, Kang SB, Szeliski R, Freeman WT. Image restoration by matching gradient distributions. IEEE Trans Pattern Anal Mach Intell. 2012;34:683–94.

    Article  Google Scholar 

  2. Zhang H, Yang J, Zhang Y, Huang TS. Image and video restorations via nonlocal kernel regression. IEEE Trans Cybernet. 2013;43:1035–46.

    Article  Google Scholar 

  3. Sankaran KS, Bhuvaneshwari S, Nagarajan V. A new edge preserved technique using iterative median filter. In: Communications and signal processing (ICCSP), 2014 international conference on; 2014. pp. 1750–1754.

  4. Gonzalez C, Woods E. Digital image processing. New York: Addison-Wesley; 1995.

    Google Scholar 

  5. Kazubek M. Wavelet domain image denoising by thresholding and Wiener filtering. IEEE Signal Process Lett. 2003;10:324–6.

    Article  Google Scholar 

  6. Pitas I, Venetsanopoulos AN. Nonlinear digital filters: principles and applications, vol. 84. Berlin: Springer; 2013.

    Google Scholar 

  7. Tomasi C, Manduchi R. Bilateral filtering for gray and color images. In: Iccv; 1998. pp. 2.

  8. Hassani H, Mahmoudvand R, Yarmohammadi M. Filtering and denoising in linear regression analysis. Fluctuat Noise Lett. 2010;9:343–58.

    Article  MathSciNet  Google Scholar 

  9. Portilla J, Strela V, Wainwright MJ, Simoncelli EP. Image denoising using scale mixtures of Gaussians in the wavelet domain. IEEE Trans Image Process. 2003;12:1338–51.

    Article  MathSciNet  Google Scholar 

  10. Dabov K, Foi A, Katkovnik V, Egiazarian K. Image restoration by sparse 3D transform-domain collaborative filtering. In: Image processing: algorithms and systems VI; 2008. pp. 681207.

  11. Vishnu SD, Rajan S, Sowmya V, Soman K. Hyperspectral image denoising: A least square approach using wavelet filters. In: 2017 International conference on advances in computing, communications and informatics (ICACCI); 2017. pp. 805–811.

  12. Buades A, Coll B, Morel JM. A non-local algorithm for image denoising. In: 2005 IEEE computer society conference on computer vision and pattern recognition (CVPR'05); 2005. pp. 60–65.

  13. Zhou Y, Zang H, Xu S, He H, Lu J, Fang H. An iterative speckle filtering algorithm for ultrasound images based on bayesian nonlocal means filter model. Biomed Signal Process Control. 2019;48:104–17.

    Article  Google Scholar 

  14. Mehta N, Prasad S. Speckle noise reduction and entropy minimization approach for medical images. Int J Inf Technol. 2021;13:1457–62.

    Google Scholar 

  15. Frosio I, Kautz J. Statistical nearest neighbors for image denoising. IEEE Trans Image Process. 2018;28:723–38.

    Article  MathSciNet  Google Scholar 

  16. Young SI, Girod B, Taubman D. Gaussian lifting for fast bilateral and nonlocal means filtering. IEEE Trans Image Process. 2020;29:6082–95.

    Article  MathSciNet  Google Scholar 

  17. Karami A, Tafakori L. Image denoising using generalised Cauchy filter. IET Image Proc. 2017;11:767–76.

    Article  Google Scholar 

  18. Nabahat M, Modarres Khiyabani F, Jafari Navmipour N. Optimization of bilateral filter parameters using a whale optimization algorithm. Res Math. 2022;9:2140863.

    Article  MathSciNet  Google Scholar 

  19. Wang C, Xue B, Shang L. PSO-based parameters selection for the bilateral filter in image denoising. In: Proceedings of the genetic and evolutionary computation conference; 2017. pp. 51–58.

  20. Asokan A, Anitha J. Adaptive Cuckoo Search based optimal bilateral filtering for denoising of satellite images. ISA Trans. 2020;100:308–21.

    Article  Google Scholar 

  21. Karnati V, Uliyar M, Dey S. Fast non-local algorithm for image denoising. In: 2009 16th IEEE international conference on image processing (ICIP); 2009. pp. 3873–3876.

  22. Dhanushree M, Priyadharsini R, Sree Sharmila T. Acoustic image denoising using various spatial filtering techniques. Int J Inf Technol. 2019;11:659–65.

    Google Scholar 

  23. Goyal B, Dogra A, Agrawal S, Sohi B, Sharma A. Image denoising review: from classical to state-of-the-art approaches. Inf Fusion. 2020;55:220–44.

    Article  Google Scholar 

  24. Laine S, Karras T, Lehtinen J, Aila T. High-quality self-supervised deep image denoising. In: Advances in neural information processing systems; 2019. pp. 6970–6980.

  25. Pan H, Wen Y-W, Zhu H-M. A regularization parameter selection model for total variation based image noise removal. Appl Math Model. 2019;68:353–67.

    Article  MathSciNet  Google Scholar 

  26. Zhong T, Cheng M, Lu S, Dong X, Li Y. RCEN: a deep-learning-based background noise suppression method for DAS-VSP records. IEEE Geosci Remote Sens Lett. 2021;19:1–5.

    Google Scholar 

  27. Cao B, Gu Y, Lv Z, Yang S, Zhao J, Li Y. RFID reader anticollision based on distributed parallel particle swarm optimization. IEEE Internet Things J. 2020;8:3099–107.

    Article  Google Scholar 

  28. Zhou W, Guo Q, Lei J, Yu L, Hwang JN. IRFR-Net: interactive recursive feature-reshaping network for detecting salient objects in RGB-D images. In: IEEE transactions on neural networks and learning systems; 2021.

  29. Liu Y, Zhang Z, Liu X, Wang L, Xia X. Efficient image segmentation based on deep learning for mineral image classification. Adv Powder Technol. 2021;32:3885–903.

    Article  Google Scholar 

  30. Hussain J, Vanlalruata J. Image denoising to enhance character recognition using deep learning. Int J Inf Technol. 2022;14:3457–69.

    Google Scholar 

  31. Chaurasiya R, Ganotra D. Deep dilated CNN based image denoising. Int J Inf Technol. 2023;15:137–48.

    Google Scholar 

  32. Zhang Z, Ding S, Jia W. A hybrid optimization algorithm based on cuckoo search and differential evolution for solving constrained engineering problems. Eng Appl Artif Intell. 2019;85:254–68.

    Article  Google Scholar 

  33. Goldberg DE. Genetic algorithm. In: Search, optimization and machine learning; 1989. pp. 343–349.

  34. dos Santos Coelho L, Mariani VC. Improved differential evolution algorithms for handling economic dispatch optimization with generator constraints. Energy Convers Manag. 2007;48:1631–9.

    Article  Google Scholar 

  35. Karaboga D, Basturk B. A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm. J Global Optim. 2007;39:459–71.

    Article  MathSciNet  Google Scholar 

  36. Yang X-S. Firefly algorithm. Nat Inspir Metaheurist Algorithms. 2008;20:79–90.

    Google Scholar 

  37. Eberhart R, Kennedy J. A new optimizer using particle swarm theory. In: Micro machine and human science, 1995. MHS'95., Proceedings of the sixth international symposium on; 1995. pp. 39–43.

  38. Mirjalili S. Moth-flame optimization algorithm: a novel nature-inspired heuristic paradigm. Knowl-Based Syst. 2015;89:228–49.

    Article  Google Scholar 

  39. Mirjalili S, Gandomi AH, Mirjalili SZ, Saremi S, Faris H, Mirjalili SM. Salp Swarm Algorithm: a bio-inspired optimizer for engineering design problems. Adv Eng Softw. 2017;114:163–91.

    Article  Google Scholar 

  40. Mirjalili S, Mirjalili SM, Lewis A. Grey wolf optimizer. Adv Eng Softw. 2014;69:46–61.

    Article  Google Scholar 

  41. Mirjalili S, Lewis A. The whale optimization algorithm. Adv Eng Softw. 2016;95:51–67.

    Article  Google Scholar 

  42. Yao X. A new simulated annealing algorithm. Int J Comput Math. 1995;56:161–8.

    Article  Google Scholar 

  43. Lee KS, Geem ZW. A new meta-heuristic algorithm for continuous engineering optimization: harmony search theory and practice. Comput Methods Appl Mech Eng. 2005;194:3902–33.

    Article  Google Scholar 

  44. Rao RV, Savsani VJ, Vakharia D. Teaching–learning-based optimization: a novel method for constrained mechanical design optimization problems. Comput Aid Des. 2011;43:303–15.

    Article  Google Scholar 

  45. Mohamed AW, Hadi AA, Mohamed AK. Gaining-sharing knowledge based algorithm for solving optimization problems: a novel nature-inspired algorithm. Int J Mach Learn Cybern. 2020;11:1501–29.

    Article  Google Scholar 

  46. Nadimi-Shahraki MH, Taghian S, Mirjalili S. An improved grey wolf optimizer for solving engineering problems. Expert Syst Appl. 2021;166: 113917.

    Article  Google Scholar 

  47. Shen Y, Zhang C, Gharehchopogh FS, Mirjalili S. An improved whale optimization algorithm based on multi-population evolution for global optimization and engineering design problems. Expert Syst Appl. 2023;215: 119269.

    Article  Google Scholar 

  48. Nadimi-Shahraki MH, Taghian S, Mirjalili S, Faris H. MTDE: an effective multi-trial vector-based differential evolution algorithm and its applications for engineering design problems. Appl Soft Comput. 2020;97: 106761.

    Article  Google Scholar 

  49. Nadimi-Shahraki MH, Taghian S, Mirjalili S, Abualigah L. Binary aquila optimizer for selecting effective features from medical data: a COVID-19 case study. Mathematics. 2022;10:1929.

    Article  Google Scholar 

  50. Nadimi-Shahraki MH, Moeini E, Taghian S, Mirjalili S. DMFO-CD: a discrete moth-flame optimization algorithm for community detection. Algorithms. 2021;14:314.

    Article  Google Scholar 

  51. Nadimi-Shahraki MH, Taghian S, Zamani H, Mirjalili S, Elaziz MA. MMKE: multi-trial vector-based monkey king evolution algorithm and its applications for engineering optimization problems. PLoS ONE. 2023;18: e0280006.

    Article  Google Scholar 

  52. Agrawal P, Ganesh T, Mohamed AW. A novel binary gaining–sharing knowledge-based optimization algorithm for feature selection. Neural Comput Appl. 2021;33:5989–6008.

    Article  Google Scholar 

  53. Mohamed AW, Abutarboush HF, Hadi AA, Mohamed AK. Gaining-sharing knowledge based algorithm with adaptive parameters for engineering optimization. IEEE Access. 2021;9:65934–46.

    Article  Google Scholar 

  54. Agrawal P, Alnowibet K, Wagdy Mohamed A. Gaining-sharing knowledge based algorithm for solving stochastic programming problems. 2022.

  55. Sakthidasan K, Nagappan NV. Noise free image restoration using hybrid filter with adaptive genetic algorithm. Comput Electr Eng. 2016;54:382–92.

    Article  Google Scholar 

  56. Moreno J, Jaime B, Saucedo S. Towards no-reference of peak signal to noise ratio. Editorial Preface, vol. 4; 2013.

  57. Wang Z, Bovik AC, Sheikh HR, Simoncelli EP. Image quality assessment: from error visibility to structural similarity. IEEE Trans Image Process. 2004;13:600–12.

    Article  Google Scholar 

  58. Yang XS, Deb S. Cuckoo search via Lévy flights. In: Nature & biologically inspired computing, 2009. NaBIC 2009. World Congress on; 2009. pp. 210–214.

  59. Dou L, Xu D, Chen H, Liu Y. Image de-noising based on mathematical morphology and multi-objective particle swarm optimization. In: Ninth international conference on digital image processing (ICDIP 2017); 2017. p. 104202I.

  60. Kumar N, Shukla H, Tripathi R. Image restoration in noisy free images using fuzzy based median filtering and adaptive particle swarm optimization-richardson-lucy algorithm. Int J Intell Eng Syst. 2017;10:50–9.

    Google Scholar 

  61. Singh R, Vashishath M, Qamar S. Application of ‘most’fuzzy linguistic quantifier to filter impulse noise. Int J Inf Technol. 2019;11:141–8.

    Google Scholar 

  62. Huynh-Thu Q, Ghanbari M. Scope of validity of PSNR in image/video quality assessment. Electron Lett. 2008;44:800–1.

    Article  Google Scholar 

  63. Akram A, Ismail A. “Comparison of edge detectors. Int J Comput Sci Inf Technol Res. 2013;1:16–24.

    Google Scholar 

  64. Amitab K, Maji AK, Kandar D. Speckle noise filtering in SAR images using fuzzy logic and particle swarm optimization. J Comput Methods Sci Eng. 2018;18:859–73.

    Google Scholar 

  65. Carrillo RE, Aysal TC, Barner KE. Generalized Cauchy distribution based robust estimation. In: 2008 IEEE international conference on acoustics, speech and signal processing; 2008. pp. 3389–3392.

  66. Miller J, Thomas J. Detectors for discrete-time signals in non-Gaussian noise. IEEE Trans Inf Theory. 1972;18:241–50.

    Article  Google Scholar 

  67. Arce GR. Nonlinear signal processing: a statistical approach. Oxford: Wiley; 2005.

    Google Scholar 

  68. Shi Y, Eberhart RC. Empirical study of particle swarm optimization. In: Proceedings of the 1999 congress on evolutionary computation-CEC99 (Cat. No. 99TH8406); 1999. pp. 1945–1950.

  69. Derrac J, García S, Molina D, Herrera F. A practical tutorial on the use of nonparametric statistical tests as a methodology for comparing evolutionary and swarm intelligence algorithms. Swarm Evol Comput. 2011;1:3–18.

    Article  Google Scholar 

Download references

Funding

This research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors.

Author information

Authors and Affiliations

Authors

Contributions

The authors confirm contribution to the paper as follows: study conception and design: MN, FMK, NJN; data collection: MN; analysis and interpretation of results: MN; draft manuscript preparation: MN. All authors reviewed the results and approved the final version of the manuscript.

Corresponding author

Correspondence to Farzin Modarres Khiyabani.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Research involving human and/or animals

The research does not involve humans and/or animals.

Informed consent

Since the research does not involve humans and/or animals, there is no informed consent statement.

Additional information

Publisher's Note

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

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Nabahat, M., Khiyabani, F.M. & Navmipour, N.J. Hybrid Noise Reduction Filter Using the Gaining–Sharing Knowledge-Based Optimization and the Whale Optimization Algorithms. SN COMPUT. SCI. 5, 417 (2024). https://doi.org/10.1007/s42979-024-02674-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s42979-024-02674-y

Keywords

Navigation