%/* vim: set filetype=matlab : */
%gx=Gabor_jetF(P,r,c,ni,mu);
function J=Gabor_jetF(image,r,c,ni,mu)

% gabor representations not normalized

image=reshape(image,r,c);

dirname=['Source/kernels-',int2str(r),'x',int2str(c),'/'];

img_star=fft2(mat2gray(image));

%J=zeros(s,s);

		name=['ker_',int2str(ni),'_',int2str(mu)];
		eval(['load ',dirname,name]);
		J=fftshift(ifft2(img_star.*psi_star));
		J=abs(J(:)');	
