NS = getimage(handles.axes3 )
f= fftshift(fft2(NS))
w=0.5; N=2;
hf=ftrans2(N,w,'high');
OM=hf(255,255).*abs(f);
imshow(OM,'parent',handles.axes4
Error using ftrans2
Error in main>pushbutton2_Callback
hf=ftrans2(N,w,'high');

 采纳的回答

Stephen23
Stephen23 2019-1-11

0 个投票

MATLAB's ftrans2 has either one or two inputs. The documentation does not mention or show three input arguments.

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by