One way to warp one image to another is to implement a piecewise affine warp. Assume that we have a number of points in image 1 and their corresponding points in image 2. We firsttriangulate each set of points in the sameway.Wenow represent the positionx1in image 1 asaweightedsumofthethreeverticesofthetrianglea1,b1,c1thatitliesinsothat
x1=αa1+βb1+γc1,
where the weights are constrained to be positive withα+β+γ= 1. These weights are known as
barycentriccoordinates.
To find the position in the second image, we then compute the position relative to the three vertices
a2,b2,c2ofthewarpedtrianglesothat
x2=αa2+βb2+γc2.
How can we compute the weightsα,β,γ? Devise a method to warp the whole image in this manner.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here