阅读背景:

如何获得正确的alpha值来完美地混合两个图像?

来源:互联网 

I've been trying to blend two images. The current approach I'm taking is, I obtain the coordinates of the overlapping region of the two images, and only for the overlapping regions, I blend with a hardcoded alpha of 0.5, before adding it. SO basically I'm just taking half the value of each pixel from overlapping regions of both the images, and adding them. That doesn't give me a perfect blend because the alpha value is hardcoded to 0.5. Here's the result of blending of 3 images:I've been trying to blend two images. The curre




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: