Rank: 397722 based on 0 downloads (last 30 days) and 0 file submitted
photo

spectral

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by spectral View all
Updated File Comments Rating
05 Oct 2010 kmeans image segmentation Application of kmeans clustering algorithm to segment a grey scale image on diferent classes. Author: Jose Vicente Manjon-Herrera

>Mahmoud Shehadeh I'm gonna send you an email.

k..tq..does it works on the grayscale image..

04 Oct 2010 kmeans image segmentation Application of kmeans clustering algorithm to segment a grey scale image on diferent classes. Author: Jose Vicente Manjon-Herrera

'Mahmoud'..do you have the corrected code

01 Oct 2010 kmeans image segmentation Application of kmeans clustering algorithm to segment a grey scale image on diferent classes. Author: Jose Vicente Manjon-Herrera

anyone can help me..why i didn't successfully execute the results..
i'm using the jpeg image.tq

08 Aug 2010 2D Gabor Filter(Ver1,2,3) To design 2D Gabor filter and apply it to image. Author: Ahmad Poursaberi

Can anyone help me to correct the gabor filter below to produce the response image in order to analyse the texture of the brain image.

%i is input image
%fourier transform of the input image
i2 = fft2(i);

%gabor filter in polar coordinates
%sinusoidal carrier
[M, N] = size(i2);
F0 = 64*sqrt(2); %spatial frequency of sinusoidal carrier
w0 = 135; %direction of sinusoidal carrier
P = 0; %phase of sinusoidal carrier

%gaussian envelop
x0 = N/2; %peak of the function
y0 = M/2; %peak of the function
a = 1/128; %axis of the gaussian envelop
b = 1/128; %axis of the gaussian envelop
theta = 135; %orientation of gaussian envelop
K = 2*pi*(1/a*b);

%complex gabor function
carrier = zeros(size(i));
envelop = zeros(size(i));
gabor = zeros(size(i));
gtransform = zeros(size(i));

for y = 1:M
for x = 1:N
%carrier
carrier(y,x) = exp(1i*(2*pi*F0*((x*cosd(w0))+(y*sind(w0))) + P));

%envelop
x1 = (x-x0)*cosd(theta) + (y-y0)*sind(theta);
y1 = -(x-x0)*sind(theta) + (y-y0)*cosd(theta);
envelop(y,x) = K*exp(-pi*((a^2*x1^2)+(b^2*y1^2)));

%gabor filter
gabor(y,x) = conv2(carrier(y,x),envelop(y,x));

%convolution between gabor n input (filtered image)
gtransform(y,x) = conv2(gabor(y,x),i2(y,x));
end
end

%response image
i3 = ifft2(gtransform);

Contact us