Hi! Is anyone here really good with maths? Basically, I have:
* This image:
* ...and this image:
They're the same image, but one has a black background, and the other one has a white one. Assuming I wanted to replace the background with an alpha channel, I can compare the difference between the first and second image. This will produce this image:
...so now I know what to put in the alpha channel. The problem is to figure out what to put in the RGB channels, it's not as easy as it sounds, because I need the colour of every pixel, unaffected by the black or white background. I understand that it's probably impossible to calculate the exact colour, but a close enough approximisation would work.
The image I'm after would have to look like this:
If I could figure that out (which I have no idea how to do) I'd have enough information to successfully create an image with an alpha channel out of the two source images that doesn't have one.
Something like this: