Composite

output = alpha * foreground + (1 - alpha) * background alpha is the alpha channel foreground

image.png

Blending

image.png

transform the background image to the foreground image – alpha = 0: show background – alpha = 1: show foreground – alpha is the blending factor / timestamp

Morph

image.png

– specify correspondences (morphLines.html) – create an intermediate image with interpolated correspondences (alpha) – warp the background image to the intermediate image – warp the foreground image to the intermediate image – blend using alpha

How to avoid Cross-Dissolving

image.png

Beier & Neeley [92]: to a common space first

image.png

morphLines

image.png

current_line[i] = (1 – alpha) * background_lines[i] + alpha * foreground_lines[i]

How to morph other pixels

image.png

image.png

Beier & Neeley [92]