I computed the FFT of an image and wanted to display it. I however obtained the following error message:
>> figure(1), imagesc(log(abs(fftshift(im1_fft)))), axis image, colormap jet
Error using image
Error using image
TrueColor CData contains element out of range 0.0 <= value <=1.0
Error in imagesc (line 19)
hh = image(varargin{1},'CDataMapping','scaled');