Skip to content

Commit 88af14b

Browse files
committed
commit
1 parent d3ed80a commit 88af14b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ch10-图像上的算术运算/10.addWeighted.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
# res=img1+img
99
# 两幅图像的大小 类型必须一致 ,或者第二个 图像可以使一个简单的标量值。
1010

11+
# You can use the function cv2.add() to add two images. Of course, you can also use numpy directly.
12+
# res=img1+img
13+
# The size and type of the two images must be the same, or the second image can be a simple scalar value.
1114

1215
x = np.uint8([250])
1316
y = np.uint8([10])

0 commit comments

Comments
 (0)