Gabor feature extraction

╄→гoц情女王★ 提交于 2019-12-18 10:49:09

问题


I am doing a project on Gabor feature extraction. I am very confused about what a Gabor feature means. I have made a feature matrix with different orientation and frequency. Is that the Gabor feature or the feature like statistical feature, geometric feature, spatial domain feature, invariance, repeatability, etc computed of image obtained after convolving the image with the Gabor filter bank with different orientation and frequencies refers to the Gabor feature.


回答1:


Gabor filters act very similar to mamalian visual cortical cells so they extract features from different orientation and different scales.

I too recently did some Gabor filters based Feature extraction.
It looks hard initially but it is easy to implement.

To make it easy for you to understand I will give you a walkthrough.

Suppose you have an image like


And you calculate gabor features at 5 scales and 8 orientations (Which I suppose you have already done) you will get filters like


Now you need to convolve each filters with the image to get 40 (8*5=40) different representation(response matrices) of same image where each image gives you a feature vector.

So after convolution


Now you need to convert those Response Matrices to feature vector.
So feature vector may consist of : Local Energy,Mean Amplitude,Phase Amlitude or Orientation whose local has maximum Energy

I worked on local energy and mean amplitude and got good enough results.


Local Energy = summing up the squared value of each matrix value from a response matrix

Mean Amplitude = sum of absolute values of each matrix value from a response matrix

Thus at the end you will get two matrix that will be [1x40] each.
You can append one matrix to the other to create a [1x80] feature matrix for One image and thus create a [nx80] vector for n images for further training purpose.

How ever in order to increase efficiency you can use Log Gabor filters.(see this)

And for more information regarding the feature Extraction with Gabor Filters see this paper



来源:https://stackoverflow.com/questions/20608458/gabor-feature-extraction

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!