Ask Your Question

beginner19's profile - activity

2019-10-23 05:40:01 -0600 received badge  Notable Question (source)
2019-10-19 01:03:40 -0600 received badge  Popular Question (source)
2017-01-11 22:39:11 -0600 asked a question addWeighted() function in cv2

The addWeighted function can be defined as cv2.addWeighted(src1, alpha, src2, beta, gamma[, dst[, dtype]]) → dst

src1 – first input array.
alpha – weight of the first array elements.
src2 – second input array of the same size and channel number as src1.
beta – weight of the second array elements.
dst – output array that has the same size and number of channels as the input arrays.
gamma – scalar added to each sum.
dtype – optional depth of the output array; when both input arrays have the same depth, dtype can be set to -1, which will be equivalent to src1.depth().

but in case of image addition src1 and src2 will be the two images we want to add .. How these images are converted into arrays ? as addweighted takes argument in terms of arrays