Monday, September 20, 2010

Still cannot get Fourier power spectrum like their paper

Here is what I got.

Matlab code I am using as follows,

 mag = fftshift(abs(fft2(double(X))));  % Amplitude spectrum

X is image.

Then I scale them into [0,255] and show them. It's not what their paper looks like.
Wang tile:
Penrose:
Ours: 

1 comment:

  1. I'm wondering about the scaling. Is it something like (val-min)/(max-min)? If so, you may be suffering from outliers. Are the max and min values comparable between the two stipple sources?

    ReplyDelete