Watch this Author's files
is there any demo to explain the work of gabor filter
Agree with previous comments - this code needs comments and does not run without correcting deg2rad. Also, filter size is incorrect if sigma_x and sigma_y are not equal.
No comments in the Code. You should replace the function deg2rad by angs= ang_s * pi / 180. Otherwise it creates an error. deg2rad is not in matlab...
Thanks!
Contact us