Warps an image by a few control points. For C++ and OpenCV 2.0+.
Currently includes Moving Least Square warping (for sparse control points, see reference), and piece-wise affine warping (for dense control points only).
A JavaScript version is here.
Linux Tux | Warped Tux |
Image from Schaefer's paper | Warped as Schaefer did |
The demo application:
Papers implemented: Image Deformation Using Moving Least Squares Schaefer S., McPhail T. and Warren J. ACM SIGGRAPH 2006, pages 533-540
Automatically exported from code.google.com/p/imgwarp-opencv (Deprecated) This is used in an interactive face deforming project.