error result for circular gabor filter code
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hi,
I want to ask about circular gabor filter, I write a code in matlab but it doesn't give me correct output I think there is mistake but I don’t know where
here is the code NOTE sigma is the standard deviation of gaussian and fc is the central frequency of circular gabor
for x = -fix(sigma):fix(sigma)
for y = -fix(sigma):fix(sigma)
G(fix(sigma)+x+1,fix(sigma)+y+1) = exp(-.5*((x/sigma)^2+(y/sigma)^2))* cos(2*pi*fc*(sqrt((x)^2+(y)^2)));
end end
please if you could, help me
thank you and I appreciate your time
0 comentarios
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!