solargao

目标:对原图I进行[80,50]的偏移操作得到图B。

首先读入图像,以matlab自带的pout.tif为例.

strel是创建形态学结构元素的.

translate函数在原结构上进行[80,50]的偏移.

I = imread(\'cameraman.tif\');

se = translate(strel(1),[80,50]);

B = imdilate(I,se);

分类:

技术点:

相关文章:

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