Note that these constraints are mainly on the relative shift of neighboring pixels, i.e. the gradient of the pixel shift. To satisfy these criterions, in the second step we develop a mapping function to compute the gradient map of pixel shifts based on the importance map.