what should be the parameter(sigma,lambda,psi,gamma,theta)values in gabor program ?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
clc; clear all; close all; I=imread('katrina.jpg'); I=rgb2gray(I); I=imresize(I,[64 64],'bilinear'); [N N]=size(I) imshow(I) I=im2double(I); sigma=input('Enter the value of sigma '); psi=input('Enter the value of psi '); gamma=input('Enter the value of gamma '); n1=input('Enter the number of lambda you want to take '); lambda=input('Enter the different values of lambda '); n2=input('Enter the number of theta you want to take '); theta=input('Enter the different values of theta'); for i=1:n1 l=lambda(i); figure for j=1:n2 t=theta(j); g1=gabor_fn(sigma,t,l,psi,gamma); display('value of lambda');display(l); display('value of theta ');display(t); display('output of gabor filter will be');display(g1); % figure subplot(1,n2,j); GT=conv2(I,double(g1),'same') imshow(GT); end end
0 comentarios
Respuestas (1)
chitresh
el 2 de Dic. de 2013
lambda default value is 2 that is wavelength.
bw = 1 default bandwidth.
theta = 0 to 360 degree any thing u can choose
phase offset = -180 to 180
gamma = .5 default , 1 for circular and less than 1 orientation of the parallel strips
it you get your answer plz accept it
0 comentarios
Ver también
Categorías
Más información sobre Gamma Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!