[iaisolines] [Up] [ialblshow] | Visualization |
Generate the logarithm of the magnitude of F, shifted so that the (0,0) stays at the center of the image. This is suitable for displaying only.
def iadftview(F): from Numeric import log, ravel, UnsignedInt8 FM = iafftshift(log(abs(F)+1)) G = (FM * 255./max(ravel(FM))) G = G.astype(UnsignedInt8) return G
iadft | Discrete Fourier Transform. |
iaidft | Inverse Discrete Fourier Transform. |
iafftshift | Shifts zero-frequency component to center of spectrum. |
[iaisolines] [Up] [ialblshow] | |