图像处理(第3章)-PPT课件.pptVIP

  • 2
  • 0
  • 约1.87千字
  • 约 50页
  • 2022-11-05 发布于江西
  • 举报
3.1 图像的点运算;图像的点运算;3.1.2 线性点运算;3.1.4 MATLAB的点运算实现方法;function diffraction01(L,dx,Lxx,Lyy,theta) % rect diffraction 单缝衍射041025 is ok! [x,y]=meshgrid(-L:dx:L);% L=125,dx=2,Lxx=8,Lyy=5,theta=45 n=length(x) f=zeros(n); d=abs(x)Lxxabs(y)Lyy; f(d)=1; subplot(2,2,1),imshow(f) k=imrotate(f,theta,bilinear,crop); subplot(2,2,3),imshow(k) F=fft2(f,256,256); F=fftshift(F); Fm=log(abs(F)); subplot(2,2,2),imshow(Fm,[-1 5]), colormap(jet),colorbar K=fft2(k,256,256); K=fftshift(K); Km=log(abs(K)); subplot(2,2,4),imshow(Km,[-1 5]) %this is ok !!;3.2 图像的代数运算;;图像的代数运算在图像处理中有着广泛的应用;3.2.2 图像的加

文档评论(0)

1亿VIP精品文档

相关文档