Submitted Successfully!
To reward your contribution, here is a gift for you: A free trial for our video production service.
Thank you for your contribution! You can also upload a video entry or images related to this topic.
Version Summary Created by Modification Content Size Created at Operation
1 -- 1467 2023-12-14 08:48:25 |
2 Reference format revised. + 7 word(s) 1474 2023-12-19 03:01:57 |

Video Upload Options

Do you have a full video?

Confirm

Are you sure to Delete?
Cite
If you have any further questions, please contact Encyclopedia Editorial Office.
Rivas, P.; Rai, M. Gabor Filters. Encyclopedia. Available online: https://encyclopedia.pub/entry/52732 (accessed on 08 May 2024).
Rivas P, Rai M. Gabor Filters. Encyclopedia. Available at: https://encyclopedia.pub/entry/52732. Accessed May 08, 2024.
Rivas, Pablo, Mehang Rai. "Gabor Filters" Encyclopedia, https://encyclopedia.pub/entry/52732 (accessed May 08, 2024).
Rivas, P., & Rai, M. (2023, December 14). Gabor Filters. In Encyclopedia. https://encyclopedia.pub/entry/52732
Rivas, Pablo and Mehang Rai. "Gabor Filters." Encyclopedia. Web. 14 December, 2023.
Gabor Filters
Edit

The use of Gabor filters in image processing has been well-established, and these filters are recognized for their exceptional feature extraction capabilities. These filters are usually applied through convolution.

convolutional neural networks Gabor filters image processing

1. Introduction

Gabor filters have been successfully applied in computer vision for various tasks, such as recognizing objects, textures, and shapes. They have been used in tasks such as invariant object recognition [1], building and road structure detection from satellite images [1], license plate detection [2], traffic sign recognition [3], diagnosis of invasive ductal carcinoma of the breast [4], edge detection [5], texture segmentation [5], image classification [5], fingerprint and face recognition [5], texture recognition [6], and hyperspectral image classification [7]. Gabor filters are known for their ability to extract essential activations, their multi-orientation and multi-scale analysis capabilities, and their effectiveness in texture classification and feature extraction [3][4][7]. They are suitable for texture recognition in computer vision due to their optimal properties in the spatial and frequency domains [3]. Gabor filters have been widely used and have succeeded in various computer vision applications [2][5][7][8][9][10][11][12][13][14][15].
However, in recent years, Vision Transformers (ViTs) [16] and convolutional neural networks (CNNs) [17] have overshadowed the use of Gabor filters. CNNs date back to the late 1990s [18] but gained popularity in the early 2010s with the seminal work of Krizhevsky, Stuskever, and Hinton [19]. Since then, numerous model variations have been proposed across various sectors [20][21][22][23][24][25]. Technical limitations previously hindered the widespread use of CNNs, but these limitations have been alleviated with the advent of improved computation power in CPUs, GPUs, TPUs, and cloud computing. In comparison to manually designing wavelet or Gabor filters, CNNs have been favored for their self-optimization through gradient descent on a task-specific loss function, eliminating the need for expertise in filter design. Nonetheless, the essence of Gabor filters should not be disregarded, as recent studies have explored the symbiotic relationship between CNNs and Gabor filters, yielding intriguing results [26][27][28]. The past decade’s summarized research inspires further exploration into the intersecting fields of CNNs and Gabor filters [29]. Given the historical success of Gabor filters in various image processing applications, it could be advantageous to consider Gabor filters an initialization method for the low-level kernel filters in the receptive layer to improve the general object recognition capabilities of a classic CNN.

2. Gabor Filters

2.1. Gabor Filters

The Gabor filter is a widely utilized linear filter in image processing applications such as texture analysis, edge detection, and feature extraction [9][10][11]. It operates as a band-pass filter and can extract signal patterns based on specific frequencies and orientations. The Gabor filter is based on the concept of Gabor elementary functions (GEFs), which are Gaussian functions modulated by complex sinusoids [30]. The filter parameters, such as the wavelength, orientation, and spatial extent, can be adjusted to produce various filter properties. For example, in texture segmentation, symmetric filters are typically used; however, asymmetric filters with unequal spatial extents may be necessary for textures not arranged in square lattices [31].
A GEF can be formulated as follows:
g ( x , y ) = e x 2 + γ 2 y 2 2 σ 2 e i 2 π x λ + ψ ,
where the rotated spatial-domain rectilinear coordinates are represented by (𝑥,𝑦)=(𝑥cos𝜃+𝑦sin𝜃,𝑥sin𝜃+𝑦cos𝜃); 𝜃 represents the orientation of the normal to the parallel stripes of a Gabor function, 𝜆 represents the wavelength of the sinusoidal factor, and 𝜓 signifies the offset. The spatial extent and bandwidth of the filter are characterized by 𝜎𝑥 and 𝜎𝑦. Research has shown that a symmetric filter would suffice for most texture segmentation tasks (𝜎𝑥=𝜎𝑦). However, in instances where the texture contains texels not arranged in a square lattice, using asymmetric filters (𝜎𝑥𝜎𝑦) may prove beneficial [9]. This asymmetric nature can be quantified by the spatial aspect ratio, 𝛾, which is calculated as 𝛾=𝜎𝑥𝜎𝑦 and satisfies 𝛾1. The properties of the Gabor filter can be altered by adjusting its parameters, 𝜆,𝜃, and 𝛾.
Gabor filters are widely used in the texture segmentation and automated defect detection of textured materials due to their reputation in feature extraction. However, a single Gabor filter is limited in feature detection, and many filters are necessary for meaningful results. This has been demonstrated in previous studies such as Jain et al. [11], who used multiple features computed over different orientations and frequencies. To yield meaningful results from the texture features provided by Gabor filters, algorithms such as multi-channel filtering, kernel principal component analysis, and pulse-coupled neural networks have been utilized with high success rates, as seen in the studies by Kumar and Sherly [32], Jing et al. [33], and Li et al. [15], respectively.
The Gabor filter has been utilized in various applications, including road detection and retinal authentication. Li et al. [15] used the Gabor filter to detect roads in different lighting conditions by locating the vanishing point and performing edge detection. On the other hand, El-Sayed et al. [34] employed the Gabor filter for retinal authentication by segmenting retinal blood vessels and using SVM for feature matching. Their method showed stability and a high accuracy of around 96.9%.
Gornale et al. [35] presented a unique approach to gender identification by utilizing features from the discrete wavelet transform and Gabor-based features. This methodology demonstrated remarkable accuracy of 97%, despite most research in the field focusing on facial features. Meanwhile, Rizvi et al. [36] demonstrated the potential of Gabor features for object detection. Utilizing Gabor filters in conjunction with a feedforward neural network model resulted in an accuracy of 50.71%, which was comparable to CNNs with only a fraction of the training time.
In recent years, the Gabor filter has been widely recognized as an effective tool in image processing for various applications. Avinash et al. [37] proposed using Gabor filters and the marker-driven watershed segmentation technique in CT images to detect lung cancer in its early stages, overcoming the limitations of previous methods. Daamouche et al. [38] also employed Gabor filters in their unsupervised method for building detection on remotely sensed images. Hemalatha and Sumathi [39] utilized the median and Gabor filters in combination with histogram equalization to preprocess images and enhance their quality, resulting in color-normalized, noise-reduced, edge-enhanced, and contrast-illuminated images. These studies highlight the versatility of the Gabor filter in various image processing applications.
In recent studies, the use of Gabor filters for eye detection and facial expression recognition has been proposed. Lefkovits et al. used a combination of Gabor filters [40], Viola–Jones face detection, and a self-created face classifier to enhance accuracy in eye detection [41]. Pumlumchiak and Vittayakorn introduced a novel framework for facial expression recognition that utilizes Gabor filter responses and maps them onto a feature subspace through PCA, PC removal, and LDA [42]. This method was found to outperform existing baselines. On the other hand, Mahmood et al. [43] used a combination of radon and Gabor transforms and a neural network over self-organized maps (SOM) fused-classifier approach to recognize six different facial expressions with an accuracy of 84.87%.
Low et al. [44] proposed a condensed Gabor filter ensemble (CGFE), which consolidates the diverse traits of multiple standard Gabor filter ensembles (SGFEs) into a single one, exhibiting superior performance compared to state-of-the-art face descriptors, including linear binary pattern variants [45][46]. Nava et al. [47] introduced a log-Gabor filtering scheme to eliminate non-uniform coverage in the Fourier domain and strongly correlate with the human visual system. Nunes et al. [13] expanded on this filtering scheme and developed a local descriptor called the multi-spectral feature descriptor (MFD), which was explicitly designed for images acquired across the electromagnetic spectrum, with computational efficiency and precision comparable to state-of-the-art algorithms.

2.2. CNNs and Gabor Filters

A CNN is a family of statistical learning models that utilize convolution operations and feature-mapping layers for image recognition. It typically consists of multiple layers, including convolutional layers, a pooling layer, an activation layer, and a dense (fully connected) layer [18][48]. CNNs are trained through backpropagation, updating the weight through gradient descent [19]. The popularity of CNNs in image recognition has risen due to their success in various applications, including food detection [22] and object detection [49][50]. Previous studies have shown that features from Gabor filters can complement CNNs and improve their performance [12][51][52]. Researchers have also modified the architecture by initializing the first layer of CNNs with Gabor filters, leading to improved accuracy and faster convergence [19]. Furthermore, the concept was extended by initializing multiple layers with different Gabor filters [53], resulting in improved robustness against image transitions [28], scale changes [26], and rotations. Another proposed method uses hybrid Gabor binarized filters (GBFs) that reduce memory usage while maintaining accuracy [27].
The prior studies have yet to fully delve into the current approaches’ limitations in utilizing Gabor filters in CNNs. There is a concern that restricting Gabor filters as the sole method for CNNs may hinder the ability of the network to optimize its performance by altering the structure or completely altering an underperforming filter. Furthermore, the relationship between Gabor filters and the convergence of CNNs has not been firmly established, making it difficult to assess the computational cost of using Gabor filters versus traditional methods, such as randomly generated uniform white noise. Finally, despite being successful in specific computer vision tasks, there needs to be more evidence to suggest that Gabor filters provide a significant advantage in general object recognition.

References

  1. Munawar, H.S.; Aggarwal, R.; Qadir, Z.; Khan, S.I.; Kouzani, A.Z.; Mahmud, M.P. A gabor filter-based protocol for automated image-based building detection. Buildings 2021, 11, 302.
  2. Tadic, V.; Kiraly, Z.; Odry, P.; Trpovski, Z.; Loncar-Turukalo, T. Comparison of Gabor filter bank and fuzzified Gabor filter for license plate detection. Acta Polytech. Hung. 2020, 17, 61–81.
  3. Lahmyed, R.; Ansari, M.E.; Kerkaou, Z. Automatic road sign detection and recognition based on neural network. Soft Comput. 2022, 26, 1743–1764.
  4. Kadhim, R.R.; Kamil, M.Y. Breast invasive ductal carcinoma diagnosis using machine learning models and Gabor filter method of histology images. Int. J. Reconfig. Embed. Syst. 2023, 12, 9.
  5. Ibtissam, Z.; Brahim, C.; Lhoussaine, M. Building detection using local Gabor feature. Int. J. Comput. Appl. 2018, 181, 17–20.
  6. Kristanto, S.P.; Hakim, L.; Yusuf, D. Kmeans Clustering Segmentation on Water Microbial Image with Color and Texture Feature Extraction. Build. Inform. Technol. Sci. (BITS) 2022, 4, 1317–1324.
  7. Liu, C.; Li, J.; He, L.; Plaza, A.; Li, S.; Li, B. Naive Gabor networks for hyperspectral image classification. IEEE Trans. Neural Netw. Learn. Syst. 2020, 32, 376–390.
  8. Chen, C.; Li, W.; Su, H.; Liu, K. Spectral-spatial classification of hyperspectral image based on kernel extreme learning machine. Remote Sens. 2014, 6, 5795–5814.
  9. Dunn, D.; Higgins, W.E.; Wakeley, J. Texture segmentation using 2-D Gabor elementary functions. IEEE Trans. Pattern Anal. Mach. Intell. 1994, 16, 130–149.
  10. Dunn, D.; Higgins, W.E. Optimal Gabor filters for texture segmentation. IEEE Trans. Image Process. 1995, 4, 947–964.
  11. Jain, A.K.; Ratha, N.K.; Lakshmanan, S. Object detection using gabor filters. Pattern Recognit. 1997, 30, 295–309.
  12. Hosseini, S.; Lee, S.H.; Kwon, H.J.; Koo, H.I.; Cho, N.I. Age and gender classification using wide convolutional neural network and Gabor filter. In Proceedings of the 2018 International Workshop on Advanced Image Technology (IWAIT), Chiang Mai, Thailand, 7–9 January 2018; pp. 1–3.
  13. Nunes, C.F.G.; Pádua, F.L.C. A Local Feature Descriptor Based on Log-Gabor Filters for Keypoint Matching in Multispectral Images. IEEE Geosci. Remote Sens. Lett. 2017, 14, 1850–1854.
  14. Premana, A.; Wijaya, A.P.; Soeleman, M.A. Image segmentation using Gabor filter and K-means clustering method. In Proceedings of the 2017 International Seminar on Application for Technology of Information and Communication (iSemantic), Semarang, Indonesia, 7–8 October 2017; pp. 95–99.
  15. Li, Z.; Ma, H.; Liu, Z. Road Lane Detection with Gabor Filters. In Proceedings of the 2016 International Conference on Information System and Artificial Intelligence (ISAI), Hong Kong, China, 24–26 June 2016; pp. 436–440.
  16. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv 2020, arXiv:2010.11929.
  17. Trockman, A.; Kolter, J.Z. Patches are all you need? arXiv 2022, arXiv:2201.09792.
  18. Lawrence, S.; Giles, C.L.; Tsoi, A.C.; Back, A.D. Face recognition: A convolutional neural-network approach. IEEE Trans. Neural Netw. 1997, 8, 98–113.
  19. Krizhevsky, A.; Sutskever, I.; Hinton, G.E. ImageNet Classification with Deep Convolutional Neural Networks. In Advances in Neural Information Processing Systems 25; Pereira, F., Burges, C.J.C., Bottou, L., Weinberger, K.Q., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2012; pp. 1097–1105.
  20. Anwar, S.; Hwang, K.; Sung, W. Fixed point optimization of deep convolutional neural networks for object recognition. In Proceedings of the 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), South Brisbane, QLD, Australia, 19–24 April 2015; pp. 1131–1135.
  21. Ciresan, D.C.; Meier, U.; Masci, J.; Gambardella, L.M.; Schmidhuber, J. Flexible, High Performance Convolutional Neural Networks for Image Classification. In Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence, Barcelona, Catalonia, Spain, 16–22 July 2011.
  22. Kawano, Y.; Yanai, K. Food Image Recognition with Deep Convolutional Features. In Proceedings of the 2014 ACM International Joint Conference on Pervasive and Ubiquitous Computing: Adjunct Publication (UbiComp’14 Adjunct), Seattle, WA, USA, 13–17 September 2014; pp. 589–593.
  23. Szarvas, M.; Yoshizawa, A.; Yamamoto, M.; Ogata, J. Pedestrian detection with convolutional neural networks. In Proceedings of the IEEE Proceedings. Intelligent Vehicles Symposium, Las Vegas, NV, USA, 6–8 June 2005; pp. 224–229.
  24. Maturana, D.; Scherer, S. VoxNet: A 3D Convolutional Neural Network for real-time object recognition. In Proceedings of the 2015 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Hamburg, Germany, 28 September–2 October 2015; pp. 922–928.
  25. Zhi, S.; Liu, Y.; Li, X.; Guo, Y. LightNet: A Lightweight 3D Convolutional Neural Network for Real-Time 3D Object Recognition. In Proceedings of the Workshop on 3D Object Retrieval (3Dor ’17), Goslar, Germany, 23–24 April 2017; pp. 9–16.
  26. Luan, S.; Chen, C.; Zhang, B.; Han, J.; Liu, J. Gabor Convolutional Networks. IEEE Trans. Image Process. 2018, 27, 4357–4366.
  27. Liu, C.; Ding, W.; Wang, X.; Zhang, B. Hybrid Gabor Convolutional Networks. Pattern Recognit. Lett. 2018, 116, 164–169.
  28. Molaei, S.; Shiri, M.; Horan, K.; Kahrobaei, D.; Nallamothu, B.; Najarian, K. Deep Convolutional Neural Networks for left ventricle segmentation. In Proceedings of the 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Jeju, Republic of Korea, 11–15 July 2017; pp. 668–671.
  29. Rai, M.; Rivas, P. A review of convolutional neural networks and gabor filters in object recognition. In Proceedings of the 2020 International Conference on Computational Science and Computational Intelligence (CSCI), Las Vegas, NV, USA, 16–18 December 2020; pp. 1560–1567.
  30. Gabor, D. Theory of communication. J. Inst. Elec. Eng. 1946, 93, 429–457.
  31. Daugman, J. Uncertainty relation for resolution in space, spatial frequency and orientation optimized by two-dimensional visual cortical filters. J. Opt. Soc. Am. A. 1985, 2, 1160–1169.
  32. Kumar, A.; Pang, G.K.H. Defect detection in textured materials using Gabor filters. IEEE Trans. Ind. Appl. 2002, 38, 425–440.
  33. Jing, J.; Fang, X.; Li, P. Automated Fabric Defect Detection Based on Multiple Gabor Filters and KPCA. Int. J. Multimed. Ubiquitous Eng. 2016, 11, 93–106.
  34. El-Sayed, M.A.; Hassaballah, M.; Abdel-Latif, M.A. Identity Verification of Individuals Based on Retinal Features Using Gabor Filters and SVM. J. Signal Inf. Process. 2016, 7, 49.
  35. Gornale, S.; Patil, A.; Veersheety, C. Fingerprint based Gender Identification using Discrete Wavelet Transform and Gabor Filters. Int. J. Comput. Appl. 2016, 152, 8887.
  36. Rizvi, S.T.H.; Cabodi, G.; Gusmao, P.; Francini, G. Gabor filter based image representation for object classification. In Proceedings of the 2016 International Conference on Control, Decision and Information Technologies (CoDIT), Saint Julian’s, Malta, 6–8 April 2016; pp. 628–632.
  37. Avinash, S.; Manjunath, K.; Kumar, S.S. An improved image processing analysis for the detection of lung cancer using Gabor filters and watershed segmentation technique. In Proceedings of the 2016 International Conference on Inventive Computation Technologies (ICICT), Coimbatore, India, 26–27 August 2016; Volume 3, pp. 1–6.
  38. Daamouche, A.; Fares, D.; Maalem, I.; Zemmouri, K. Unsupervised Method for Building Detection using Gabor Filters. In Proceedings of the Special Issue of the 2nd International Conference on Computational and Experimental Science and Engineering (ICCESEN 2015), Kemer, Antalya, Turkey, 14–19 October 2016; Volume 130.
  39. Hemalatha, G.; Sumathi, C.P. Preprocessing techniques of facial image with Median and Gabor filters. In Proceedings of the 2016 International Conference on Information Communication and Embedded Systems (ICICES), Chennai, India, 25–26 February 2016; pp. 1–6.
  40. Lefkovits, S.; Lefkovits, L.; Emerich, S. Detecting the eye and its openness with Gabor filters. In Proceedings of the 2017 5th International Symposium on Digital Forensic and Security (ISDFS), Tirgu Mures, Romania, 26–28 April 2017; pp. 1–5.
  41. Viola, P.; Jones, M. Rapid object detection using a boosted cascade of simple features. In Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2001), Kauai, HI, USA, 8–14 December 2001; Volume 1, p. I.
  42. Pumlumchiak, T.; Vittayakorn, S. Facial expression recognition using local Gabor filters and PCA plus LDA. In Proceedings of the 2017 9th International Conference on Information Technology and Electrical Engineering (ICITEE), Phuket, Thailand, 12–13 October 2017; pp. 1–6.
  43. Mahmood, M.; Jalal, A.; Evans, H.A. Facial Expression Recognition in Image Sequences Using 1D Transform and Gabor Wavelet Transform. In Proceedings of the 2018 International Conference on Applied and Engineering Mathematics (ICAEM), Taxila, Pakistan, 4–5 September 2018; pp. 1–6.
  44. Low, C.; Teoh, A.B.; Ng, C. Multi-fold Gabor filter convolution descriptor for face recognition. In Proceedings of the 2016 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Shanghai, China, 20–25 March 2016; pp. 2094–2098.
  45. Lei, Z.; Pietikäinen, M.; Li, S.Z. Learning Discriminant Face Descriptor. IEEE Trans. Pattern Anal. Mach. Intell. 2014, 36, 289–302.
  46. Lu, J.; Liong, V.E.; Zhou, X.; Zhou, J. Learning Compact Binary Face Descriptor for Face Recognition. IEEE Trans. Pattern Anal. Mach. Intell. 2015, 37, 2041–2056.
  47. Nava, R.; Escalante-Ramirez, B.; Cristobal, G. Texture Image Retrieval Based on Log-Gabor Features. In Progress in Pattern Recognition, Image Analysis, Computer Vision, and Appplications; Springer: Berlin/Heidelberg, Germany, 2012; Volume 7441, pp. 414–421.
  48. Le Cun, Y.; Boser, B.; Denker, J.S.; Henderson, D.; Howard, R.E.; Hubbard, W.; Jackel, L.D. Handwritten Digit Recognition with a Back-Propagation Network. In Proceedings of the Advances in Neural Information Processing Systems, Denver, CO, USA, 26–29 November 1990; pp. 396–404.
  49. Schwarz, M.; Schulz, H.; Behnke, S. RGB-D object recognition and pose estimation based on pre-trained convolutional neural network features. In Proceedings of the 2015 IEEE International Conference on Robotics and Automation (ICRA), Seattle, WA, USA, 26–30 May 2015; pp. 1329–1335.
  50. Fang, W.; Ding, L.; Zhong, B.; Love, P.E.; Luo, H. Automated detection of workers and heavy equipment on construction sites: A convolutional neural network approach. Adv. Eng. Inform. 2018, 37, 139–149.
  51. Yao, H.; Chuyi, L.; Dan, H.; Weiyu, Y. Gabor Feature Based Convolutional Neural Network for Object Recognition in Natural Scene. In Proceedings of the 2016 3rd International Conference on Information Science and Control Engineering (ICISCE), Beijing, China, 8–10 July 2016; pp. 386–390.
  52. Taghi Zadeh, M.M.; Imani, M.; Majidi, B. Fast Facial emotion recognition Using Convolutional Neural Networks and Gabor Filters. In Proceedings of the 2019 5th Conference on Knowledge Based Engineering and Innovation (KBEI), Tehran, Iran, 28 February–1 March 2019; pp. 577–581.
  53. Alekseev, A.; Bobe, A. GaborNet: Gabor filters with learnable parameters in deep convolutional neural network. In Proceedings of the 2019 International Conference on Engineering and Telecommunication (EnT), Dolgoprudny, Russia, 20–21 November 2019; pp. 1–4.
More
Information
Contributors MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register : ,
View Times: 171
Revisions: 2 times (View History)
Update Date: 19 Dec 2023
1000/1000