Fast Gabor texture feature extraction with separable filters using GPU

Gabor wavelet transform is one of the most effective texture feature extraction techniques and has resulted in many successful practical applications. However, real-time applications cannot benefit from this technique because of the high computational cost arising from the large number of small-sized convolutions which require over 10 min to process an image of 256 × 256 pixels on a dual core CPU. As the computation in Gabor filtering is parallelizable, it is possible and beneficial to accelerate the feature extraction process using GPU. Conventionally, this can be achieved simply by accelerating the 2D convolution directly, or by expediting the CPU-efficient FFT-based 2D convolution. Indeed, the latter approach, when implemented with small-sized Gabor filters, cannot fully exploit the parallel computation power of GPU due to the architecture of graphics hardware. This paper proposes a novel approach tailored for GPU acceleration of the texture feature extraction algorithm by using separable 1D Gabor filters to approximate the non-separable Gabor filter kernels. Experimental results show that the approach improves the timing performance significantly with minimal error introduced. The method is specifically designed and optimized for computing unified device architecture and is able to achieve a speed of 16 fps on modest graphics hardware for an image of 2562 pixels and a filter kernel of 322 pixels. It is potentially applicable for real-time applications in areas such as motion tracking and medical image analysis.

[1]  Toshiro Kubota,et al.  Computation of Orientational Filters for Real-Time Computer Vision Problems I: Implementation and Methodology , 1995, Real Time Imaging.

[2]  Alireza Ahmadian,et al.  An efficient texture classification algorithm using Gabor wavelet , 2003, Proceedings of the 25th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (IEEE Cat. No.03CH37439).

[3]  Xinxin Wang,et al.  GPU implemention of fast Gabor filters , 2010, Proceedings of 2010 IEEE International Symposium on Circuits and Systems.

[4]  Victor Podlozhnyuk,et al.  Image Convolution with CUDA , 2007 .

[5]  Luc Van Gool,et al.  Texture analysis Anno 1983 , 1985, Comput. Vis. Graph. Image Process..

[6]  J. Daugman Two-dimensional spectral analysis of cortical receptive field profiles , 1980, Vision Research.

[7]  Anil K. Jain,et al.  Texture Analysis , 2018, Handbook of Image Processing and Computer Vision.

[8]  J. M. Hans du Buf,et al.  A review of recent texture segmentation and feature extraction techniques , 1993 .

[9]  Lucas J. van Vliet,et al.  Recursive Gabor filtering , 2000, Proceedings 15th International Conference on Pattern Recognition. ICPR-2000.

[10]  Sawasd Tantaratana,et al.  Fast Separable Gabor Filter for Fingerprint Enhancement , 2004, ICBA.

[11]  Joost van de Weijer,et al.  Fast Anisotropic Gauss Filtering , 2002, ECCV.

[12]  Jitendra Malik,et al.  A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics , 2001, Proceedings Eighth IEEE International Conference on Computer Vision. ICCV 2001.

[13]  M. R. Turner,et al.  Texture discrimination by Gabor functions , 1986, Biological Cybernetics.

[14]  Martin Cadík,et al.  FFT and Convolution Performance in Image Filtering on GPU , 2006, Tenth International Conference on Information Visualisation (IV'06).

[15]  Robert M. Haralick,et al.  Textural Features for Image Classification , 1973, IEEE Trans. Syst. Man Cybern..

[16]  R.M. Haralick,et al.  Statistical and structural approaches to texture , 1979, Proceedings of the IEEE.

[17]  S. Treitel,et al.  The Design of Multistage Separable Planar Filters , 1971 .

[18]  C. H. Chen,et al.  Handbook of Pattern Recognition and Computer Vision , 1993 .

[19]  Toshiro Kubota Orientational filters for real-time computer vision problems , 1996 .

[20]  Robert M. Hawlick Statistical and Structural Approaches to Texture , 1979 .

[21]  B. S. Manjunath,et al.  Texture Features for Browsing and Retrieval of Image Data , 1996, IEEE Trans. Pattern Anal. Mach. Intell..