图像的平移及代码实现

如何使用MATLAB实现一个图像的平移呢?
f = imread(‘C:\Users\lenovo\Pictures\butterfly.jpg’);
se=translate(strel(1),[180 190]);
b=imdilate(f,se);
figure;
subplot(1,2,1);
subimage(f);
title(‘原图像’);
subplot(1,2,2);
subimage(b);
title(‘平移后图像’);
效果如下:
图像的平移及代码实现

相关文章:

  • 2021-05-24
  • 2022-01-07
  • 2021-12-12
  • 2022-01-07
  • 2022-01-07
  • 2022-12-27
猜你喜欢
  • 2021-11-28
  • 2021-05-26
  • 2021-10-23
  • 2022-12-23
  • 2021-06-26
  • 2021-11-23
相关资源
相似解决方案