我想对颅脑 MRI 的图像切片执行二维傅立叶变换。我已经尝试了以下代码但没有成功:(错误消息包含在下面)
>> clear all
>>
>> info = dicominfo('MR000026.dcm');
Y = dicomread(info);
J=imadjust(Y,stretchlim(Y),[0 1]);
F = fftshift(fft2(fftshift(J)));
Undefined function 'fftn' for input arguments of type 'int16'.
Error in fft2 (line 19)
f = fftn(x);
>> info = dicominfo('MR000026.dcm');
Y = dicomread(info);
F = fftshift(fft2(fftshift(Y)));
Undefined function 'fftn' for input arguments of type 'int16'.
Error in fft2 (line 19)
f = fftn(x);
>> info = dicominfo('MR000026.dcm');
Y = dicomread(info);
F = fft2(Y);
Undefined function 'fftn' for input arguments of type 'int16'.
Error in fft2 (line 19)
f = fftn(x);