Resampling
Now that the size of the resultant warped image is known, it is possible
to color the pixels of the warped image using backward mapping:
shade = | (1 - a) * (1 - b) * I([fx, fy]) + (1 - a) * b * I([fx, fy] + 1) + a * (1 - b) * I([fx + 1, fy]) + a * b * I([fx + 1, fy] + 1) |
Figure 1: The distances used for defining the weighting scheme of overlapping regions |
Figure 2: The original images. Registered points are shown in red |
Figure 3: The composited images |
Unfortunately, I haven't had a chance to test this technique to see if things improve.
Figure 4: The distances used for the improved definition of the weighting scheme of overlapping regions |
Figure 5: The well-blended mosaiced images. Click on the figure to see the full version |