Jump to content

Image warping

From Wikipedia, the free encyclopedia
Image warping example

Image warping is the process of digitally manipulating an image such that any shapes portrayed in the image have been significantly distorted. Warping may be used for correcting image distortion as well as for creative purposes (e.g., morphing[1]). The same techniques are equally applicable to video.

While an image can be transformed in various ways, pure warping means that points are mapped to points without changing the colors. This can be based mathematically on any function from (part of) the plane to the plane. If the function is injective the original can be reconstructed. If the function is a bijection any image can be inversely transformed.

Some methods are:

  • Images may be distorted through simulation of optical aberrations.
  • Images may be viewed as if they had been projected onto a curved or mirrored surface. (This is often seen in ray traced images.)
  • Images can be partitioned into image polygons and each polygon distorted.
  • Images can be distorted using morphing.

The most obvious approach to transforming a digital image is the forward mapping. This applies the transform directly to the source image, typically generating unevenly-spaced points that will then be interpolated to generate the required regularly-spaced pixels. However, for injective transforms reverse mapping is also available. This applies the inverse transform to the target pixels to find the unevenly-spaced locations in the source image that contribute to them. Estimating them from source image pixels will require interpolation of the source image.

To work out what kind of warping has taken place between consecutive images, one can use optical flow estimation techniques.

Image warping toolbox

[edit]

ImWIP [2] is an open-source, image warping tool for modeling deformation and motion in digital images, which contains differentiable image warping operators, together with their exact adjoints and derivatives.

See also

[edit]

References

[edit]
  1. ^ Beier, Thaddeus. Feature-Based Image Metamorphosis. Siggraph '92
  2. ^ Renders, J; Jeurissen, B; Nguyen, A-T; De Beenhouwer, J; Sijbers, J (2023). "ImWIP: Open-source image warping toolbox with adjoints and derivatives". SoftwareX. 24 (101524): 1–7. doi:10.1016/j.softx.2023.101524. hdl:10067/2015680151162165141.{{cite journal}}: CS1 maint: date and year (link)
  • Wolberg, G. (1990), Digital Image Warping, IEEE Computer Society Press, ISBN 0-8186-8944-7.
[edit]