I am trying to plot/ show a power spectrum of the fingerprint images in a similar way as shown in the paper which has been attached below. I was successful in determining the Power spectrum as shown in the code below:
img= rgb2gray(imread ('finger.jpg'));[M,N,~]=size(img);F = fft2(img);Fd = (1/N*M).* F;figure;imshow(mat2gray(log(1+abs(fftshift(F)))));figure;imshow(mat2gray(log(1+abs(fftshift(Fd)))));psd = 10*log10(abs(fftshift(fft2(img))).^2 );figure; clfmesh(psd);
This provides me a 3D plot of the power spectrum:
But I would like to have a plot as shown below:
I was trying to learn more about a paper regarding fingerprints and was trying to implement it. The paper along with the code file and the fingerprint is given in the link attached below.
Thanks in advance.
Best Answer