My code uses Inverse Compositionnal Iterations to refine computed local warp between two images. Each warp between two matched region of interest is independant.

Matching keypoints between the images with SIFT + Local Lucas Kanade Inverse compositionnal algorithm.