Fading two images together

Is it really better to use transparency here? Isn’t the right approach simply to mix the two images like

img = (1-a) .* img1.+ a .* img2

?

Maybe I have a major misapprehension about alpha and transparency, but I imagine it just mixes in the background rather than representing some inherent property of the foreground.

3 Likes