S
S
sermal2012-10-02 11:57:26
Programming
sermal, 2012-10-02 11:57:26

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

1 answer(s)
F
FloppyFormator, 2012-10-02
@FloppyFormator

And the weights are not zero in the arguments for an hour?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question