im_fft
IM_FFT
Fixed mapping for 2D FFT
F = IM_FFT(A,POST1,POST2,...)
F = A*IM_FFT([],POST1,POST2,...) F = A*IM_FFT(POST1,POST2,...)
Input | A | Dataset with object images (possibly multi-band) |
Output | F | Dataset with FFT images | POST1 | Characterstring defining postprocessing by FILTIM | POST2 | Characterstring defining more postprocessing by FILTIM |
Description This routine applies the 2D FFT2 routine to all images in A. The result is complex. See the below example for post processing by FILTIM. It shows how it can be integrated in the call to IM_FFT. Example(s)
delfigs
prdatafiles; % make sure PRDATAFILES is in the path
a = delft_idb; % load the Delft Image DataBase
x = a*gendat(4); % load a subset of 4 images
% show the centralized log of the powerspectra of the gray images
show(x*im_gray*im_fft*filtim('abs')*filtim('fftshift')*filtim('log'));
% post-processing can be included in im_fft
figure; show(x*im_gray*im_fft('abs','fftshift','log'));
figure; show(x); % show the originals
showfigs
See also
datasets, datafiles, fft2, filtim, This file has been automatically generated. If badly readable, use the help-command in Matlab. |
|