Transpose - Maple Help

ImageTools

 Transpose
 transpose an image

 Calling Sequence Transpose( img, opts )

Parameters

 img - Image; input image opts - (optional) equation(s) of the form option = value; specify options for the Transpose command

Options

 • 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.

Description

 • 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.

Examples

 > $\mathrm{with}\left(\mathrm{ImageTools}\right):$
 > $\mathrm{img}≔\mathrm{Create}\left(100,200,\left(r,c\right)↦0.5+\mathrm{evalf}\left(\mathrm{exp}\left(-\frac{c}{50}\right)\cdot 0.5\cdot \mathrm{sin}\left(\frac{r}{20}\right)\right)\right):$
 > $\mathrm{img_t}≔\mathrm{Transpose}\left(\mathrm{img}\right):$
 > $\mathrm{Embed}\left(\left[\mathrm{img},\mathrm{img_t}\right]\right)$

Demonstrate that the starting row and column indices are fixed.

 > $\mathrm{rtable_redim}\left(\mathrm{img},20,10\right):$
 > $\mathrm{img_h}≔\mathrm{Transpose}\left(\mathrm{img}\right)$
 ${{\mathrm{_rtable}}}_{{36893628228771541828}}$ (5.1)
 >