How do we estimate the layers?
1.
compute coarse-to-fine flow
2.
estimate affine motion in blocks (regression)
3.
cluster with
k-means
4.
assign pixels to best fitting affine region
5.
re-estimate affine motions in each region…