2019-02-07 17:59:50 -0600 | received badge | ● Student (source) |
2015-09-15 12:07:39 -0600 | commented question | Most Efficient Alpha Blending Is it possible to do the operation on the whole matrices? Something like multiply the foreground image by the alpha image element-wise, then multiply the background image by the inverted alpha image and then add the two together? |
2015-09-15 00:09:10 -0600 | asked a question | Most Efficient Alpha Blending Hi- I am trying to take a 4 channel image with an alpha channel and superimpose it on another 4 channel image. The background image has no data in it's alpha channel. The only alpha data that is of concern is associated with the foreground image. The following is a code snippet that does the math pixel by pixel. It works but is incredibly slow. What is the best way to speed this up or do the blending more efficiently somehow else? I am using OpenCV 3.0 (just updated). |