CS6825: Computer Vision word cloud

Topic: Image Warping.



Warping = technique that involves mapping textures and colors from the start image to the corresponding key point locations in an end image. It in a sense appears to stretch the features to distort them, assimilating a certain amount (function of the morph control slider or at which frame you are in the movie) of the color and texture from the start image into the shape of the end image. Using the same image for the start and end image of a warp compared to using different images will achieve different results.

Same Image Warping
If you choose the same start and end image, you can effect a kind of animation/movement in the image. For example, as shown in the Morphing book Figures 6.1-6.6, you can make the Mona Lisa wink. The idea here is that the keypoints in the start image surround the eye and in the end image are a smaller opening inside the eye pixels of the image.

How to Warp:

1) Follow the same steps to create a morph document where the start and end image are the same in the sequence (select images, set keypoints).

2) Open the sequence options menu: Sequence->options. Will pop up a Sequence Options dialog box.

3) Select Warp Sequence option.

4) Open Windows menu and choose the Morph Image option to display the Morph Image window where can choose the percentage as did before with a Morph and view the now

Warped image. Then if you wish create a movie as discussed before for a Morph movie.

Note: If other parts of the image are warping that you wish would not you can add keypoints to the start image in these areas and do not change the position of the keypoints in the end image. These corresponding points act as an anchor to prevent changes.



Difference Image Warping

Compared to Warping, involves less changing of shape and more a direct mapping of colors and textures. To see this try alternating between Warp and Morph options for a sequence.

  • Same as same image warping but choose different images.
  • Works best with very similar images but of different colors and textures.


© Lynne Grewe