Blending two images with masked ROI

asked 2014-02-15 17:04:18 -0600

I have two images and one mask that marks the overlapping area (ROI). I want to blend the overlapping areas of the two images together. In order to achieve good result, I want to use different alpha at different positions in the ROI for weighed averaging. What is a good way to determine this alpha? A sample code in C++ would be really appreciated!

edit retag flag offensive close merge delete


How do you determine the "different alpha at different positions in the ROI"?

B. Bogart gravatar imageB. Bogart ( 2014-03-12 13:00:59 -0600 )edit