Answer the question
In order to leave comments, you need to log in
Add another image to an image with an alpha channel?
There is an Image1 image, there is a second Image2 image with an alpha channel (for example, png).
It is required to overlay Image2 on Image1 given the alpha channel on OpenCV.
I did it through the cvAddWeighted function, it works, but the second image is transparent. It is necessary that the image is superimposed as it is, without transparency.
What can you advise? Maybe there is some option through cvCopy.
Answer the question
In order to leave comments, you need to log in
And the weights are not zero in the arguments for an hour?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question