|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
ImageTransformation
ImageTransformation[image, function]
gives an image in which each pixel at position
corresponds to the position
in image.
ImageTransformation[image, function, size]
gives an image of the specified size.
Details and OptionsDetails and Options
- The bottom-left corner of the image corresponds to coordinates
by default. Other coordinate systems can be specified by setting the PlotRange and DataRange options. - ImageTransformation can take the following options:
-
DataRange Automatic range of coordinates in the original image PlotRange Automatic range of coordinates in the resulting image Padding Black padding method Resampling Automatic resampling method - The range of the coordinate system for the input image is assumed to be
, where a is the aspect ratio. Other coordinate systems can be specified by setting the DataRange option. - Typical settings for DataRange include:
-
Automatic range
, where a is the aspect ratio{{left,right},{bottom,top}} explicit coordinate ranges Full true pixel range 
- The coordinate system of the resulting image is specified by the PlotRange option, which takes the same settings as DataRange.
- With the default setting PlotRange->Automatic, PlotRange is taken to be equal to DataRange.
- PlotRange->All tries to find a plot range that includes the images of all pixels in the input image.
- In ImageTransformation[image, function], the pixel dimensions of the resulting image are based on the dimensions of image and the ratio of PlotRange and DataRange.
- For possible size specifications, see the reference page for ImageResize.
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


