gives an image in which each pixel at position function[{x,y}] corresponds to the position {x,y} in image.


gives an image of the specified size.

Details and Options

  • ImageForwardTransformation[image,function] gives an image of the same size as the original.
  • The pixel positions in the original image are assumed to run from 0 to 1 in the horizontal direction and from 0 to the aspect ratio in the vertical direction.
  • For possible size specifications, see the reference page for ImageResize.
  • ImageForwardTransformation can take the following options:
  • BackgroundBlackbackground value
    DataRangeAutomaticassumed range of and values in the original image
    MethodAutomaticinterpolation method to use
    PlotRangeAutomaticrange of coordinates to be included in the result of the transformation
  • Typical settings for DataRange include:
  • Automatic{{0,1},{0,h/w}} in 2D, {{0,1},{0,d/w},{0,h/w}} in 3D
    Full{{0,w},{0,h}} in 2D, {{0,1},{0,d},{0,h}} in 3D
    {{left,right},{bottom,top}}explicit coordinate ranges in 2D
    {{left,right},{front,back},{bottom,top}}explicit coordinate ranges in 3D
  • The coordinate system of the resulting image is specified by the PlotRange option. Typical settings include:
  • Automaticsame as DataRange settings
    Alltry to include all of the transformed pixels
    Fullsame ranges as the input image
    {{left,right},}explicit coordinate ranges
  • When PlotRange is not Automatic, size is chosen based on the size of the original image and the ratio of PlotRange and DataRange.
  • By default, transformed points are interpolated using Method->"Interpolated". Use MethodNone to avoid interpolation.


open allclose all

Basic Examples  (1)

Applying a forward transformation on an image:

Click for copyable input
Click for copyable input

Scope  (3)

Options  (4)

Properties & Relations  (3)

Neat Examples  (4)

See Also

ImageTransformation  ImagePerspectiveTransformation  ImageResize  ImageRotate  ImageAlign  GeometricTransformation

Introduced in 2010
| Updated in 2014