displacement function

Estimate displacement field between two images.