当前位置:网站首页>图像线性融合
图像线性融合
2022-08-04 05:29:00 【CV小Rookie】
import cv2
for i in range(1,5001):
img1 = cv2.imread('/Users/like/Desktop/mix/1/'+str(i)+'.jpg')
img2 = cv2.imread('/Users/like/Desktop/mix/2/'+str(i)+'.jpg')
#img2 = cv2.resize(img2,(512,512))#统一图片大小
dst = cv2.addWeighted(img1,0.5,img2,0.5,0)
cv2.imwrite('/Users/like/Desktop/mix/3/'+str(i)+'.jpg',dst)
# cv2.imshow('dst',dst)
# cv2.waitKey(0)
# cv2.destroyAllWindows()
边栏推荐
- 超详细MySQL总结
- 完美解决keyby造成的数据倾斜导致吞吐量降低的问题
- 【CV-Learning】线性分类器(SVM基础)
- [Introduction to go language] 12. Pointer
- The use of the attribute of the use of the animation and ButterKnife
- Lombok的一些使用心得
- k3s-轻量级Kubernetes
- (TensorFlow) - detailed explanation of tf.variable_scope and tf.name_scope
- 【深度学习21天学习挑战赛】2、复杂样本分类识别——卷积神经网络(CNN)服装图像分类
- Redis持久化方式RDB和AOF详解
猜你喜欢
随机推荐
Learning curve learning_curve function in sklearn
简单明了,数据库设计三大范式
sklearn中的pipeline机制
thymeleaf中 th:href使用笔记
(十)树的基础部分(一)
属性动画的用法 以及ButterKnife的用法
EPSON RC+ 7.0 使用记录一
(十二)树--哈夫曼树
sql中group by的用法
sklearn中的学习曲线learning_curve函数
yolov3 data reading (2)
【深度学习21天学习挑战赛】3、使用自制数据集——卷积神经网络(CNN)天气识别
TensorFlow2学习笔记:5、常用激活函数
TensorFlow2学习笔记:7、优化器
TensorFlow:tf.ConfigProto()与Session
Kubernetes基本入门-元数据资源(四)
【深度学习21天学习挑战赛】2、复杂样本分类识别——卷积神经网络(CNN)服装图像分类
Simple and clear, the three paradigms of database design
网络大作业心得笔记
两个APP进行AIDL通信