ImageTools
Transpose
transpose an image
Calling Sequence
Parameters
Options
Description
Examples
Transpose( img, opts )
img
-
Image; input image
opts
(optional) equation(s) of the form option = value; specify options for the Transpose command
output = Image
Specifies a data structure into which the output is written. The size, number of layers, and order must match that of the transformed image. The default is NULL.
The Transpose command computes the transpose of an image.
The img parameter is the image and must be of type Image.
The start row and column indices are preserved. If the input image starting row and column indices are m and n, respectively, then the output image starting row and column indices are m and n, respectively.
with⁡ImageTools:
img≔Create⁡100,200,r,c↦0.5+evalf⁡0.5⋅exp⁡−c50⋅sin⁡r20:
img_t≔Transpose⁡img:
Embed⁡img,img_t
Demonstrate that the starting row and column indices are fixed.
rtable_redim⁡img,20,10:
img_h≔Transpose⁡img
See Also
ImageTools[Flip]
ImageTools[Rotate]
Download Help Document