generatebackground.m
来自「ESTIMATION OF AIRCRAFT TRAJECTORY FROM I」· M 代码 · 共 11 行
M
11 行
% Generate a sinusoidally correlated background:
backsize = framesize+50; % Make the background bigger than the frame so when it
% drifts there are new pixels available to drift into.
xygrid = (1:backsize)/backsize;
B=2*sin(2*pi*xygrid).^2'*cos(2*pi*xygrid).^2;
psd = fft2(B);
psd = real(psd.*conj(psd));
background = B + 0.5*randn(backsize); % Add a specular gaussian white sequence to the structure with
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?