Mobile app version of vmapp.org
Login or Join
Martha945

: Substract two images Let's say I have 3 images A, B and d with B = A + d. Here, d is a semi-transparent image. If I have B and d, is there a way to get A? Example (images from Google

@Martha945

Posted in: #Gimp #Transparency

Let's say I have 3 images A, B and d with B = A + d. Here, d is a semi-transparent image.
If I have B and d, is there a way to get A?

Example (images from Google Images):

A:



B:



d:



I've tried to follow the instructions here but it didn't work.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Martha945

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kimberly620

Yes you can do this you will lose some stuff in rounding errors and dynamic range. just subtract the image from the background. Tough it does not seem like your operation is add. its possibly add plus a channel normalization. But yes i can reverse this by subtracting the mask and re normalizing the levels.



Image 1:B-d



Image 2:B-d + Normalized levels

I lose some color dynamic but that's all. Whether or not that is too much or too little deepens on picture. Could i do it in opposite direction so B-A. i could but the dynamic range is already pretty weak



Image 2: Inverse A at 36% + B

Please note: I am only able to do these operations because i know what the images were and can search them.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme