PANDORE Version 6 GREYC-IMAGE

ptransposition



Performs a transposition of image.



Synopsis

ptransposition direction [im_in|-] [im_out|-]

Description

ptransposition builds a new image from the transpose transformation of the input image im_in according to a specified axis. Transposing an image array interchanges array dimensions, reflecting an image about a diagonal. The transpose function reverses the order of the dimensions.

Parameters

Inputs

Outputs

Examples

Transposes the tangram.pan image:

   ptransposition 0 tangram.pan a.pan 

Result

Returns SUCCESS ou FAILURE.

See also

Transformation

C++ prototype

Errc PTransposition( const Img2duc &im_in, Img2duc &im_out, int direction );

Version française

Construit le transposé d'une image selon un axe.


Author: Régis Clouard