t0305.m
上传用户:thnm888
上传日期:2022-07-28
资源大小:1k
文件大小:0k
源码类别:

图形图像处理

开发平台:

Matlab

  1. clc 
  2. clear 
  3. fn='Fig3.40(a).jpg'; 
  4. I=imread (fn);                    %读取图像
  5. subplot(2,2,1)
  6. %figure
  7. imshow(I)
  8. %拉普拉斯算子
  9. [del,I1]=laplacian(I);
  10. del1=keep(del); %标定差值, 这个有点问题
  11. % figure
  12. subplot(2,2,2)
  13. imshow(del)
  14. %figure
  15. subplot(2,2,3)
  16. imshow(del1)
  17. %figure
  18. subplot(2,2,4)
  19. imshow(I1)
  20.         
  21.     
  22.