0
Lets say a picture was made to semi-transparent and added on a flat background color. The original picture, background color and result(mixture) is known. But, that added transparency(alpha value) is unknown and is varying along the picture. Is there an automated way to calculate this added transparency value for each pixel of image? Can we copy these values and apply to another picture?
[ Picture + Transparency(unknown and varies) ] + FlatBackground = Mix(opaque)
= [ Semi-tranparent Picture ] + FlatBackground = Mix(opaque)
An example of copying each added transparency value corresponding to pixels of picture:
for pixel(0,0) added 127
for pixel(1,0) added 124
for pixel(0,1) added 124
for pixel(1,1) added 120
But ofcourse I don't want to print these values. I just want to use it like mask(?). So that, i can apply these values to another picture to create same effect.
Would something like "color to alpha" help? I.e. a background color is interpreted to be fully transparent, and colors that are close to it are interpreted to be semi-transparent? – George – 2015-05-02T13:59:52.380