Layer synthesis
For each layer:
stabilize the sequence with the affine motion
compute median value at each pixel
Determine occlusion relationships