ImageForwardTransformation

ImageForwardTransformation[image,function]
gives an image in which each pixel at position corresponds to the position in image.

ImageForwardTransformation[image,function,size]
gives an image of the specified size.

Details and OptionsDetails 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
    PlotRangeAutomaticrange of coordinates to be included in the result of the transformation
  • Typical settings for DataRange include:
  • Automatic in 2D, in 3D
    Full in 2D, 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.
  • With an option setting "Interpolated"->False, pixels that are not reached by the forward transformation are set to the background color.
Introduced in 2010
(8.0)