left = imread('7left.jpg');
right = imread('7right.jpg');
fusion = imadd(0.5*left,0.5*right);


subplot(1,3,1),imshow(left),title('左聚焦');
subplot(1,3,2),imshow(right),title('右聚焦');
subplot(1,3,3),imshow(fusion),title('融合');

效果如下:

图像融合方法-加权平均法

相关文章:

  • 2021-12-30
  • 2021-07-30
  • 2022-01-03
  • 2021-11-17
  • 2021-07-07
  • 2021-11-21
  • 2021-08-21
猜你喜欢
  • 2021-09-24
  • 2022-12-23
  • 2021-06-11
  • 2021-11-27
  • 2021-12-26
  • 2021-08-30
  • 2021-08-16
相关资源
相似解决方案