Ask Your Question

Gabor kernel not normalized - feature or bug?

asked 2012-08-02 07:33:13 -0600

sammy gravatar image

The Gabor kernel created by the new getGaborKernel() does not normalize its coefficients to 1. Their sum is usually extremely low (from 0.3f to 10e-10), and some of the values I think are denormals.

Is it the expected behaviour of Gabor filters? Given the fact that they are usually applied on images, and the result is expected to fit into the uchar datatype, I wonder whether this is a bug...

edit retag flag offensive close merge delete


I think you have a bug. My Gabor kernel seems normalizes and its values are of (-1, 1), none seems too big nor too small.

crazyfffan gravatar imagecrazyfffan ( 2013-05-23 19:21:46 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2012-10-11 06:08:34 -0600

Daniil Osokin gravatar image

I'm think it's not a bug. Range of Gabor function is already [-1,1].

edit flag offensive delete link more

Question Tools


Asked: 2012-08-02 07:33:13 -0600

Seen: 894 times

Last updated: Oct 11 '12