PANDORE Version 6 GREYC-IMAGE

pflip



Performs flip transformation for image or region map.



Synopsis

pflip axis [-m mask] [im_in|-] [im_out|-]

Description

pflip builds a new image (or a region mp) im_out that is the symmetrical of the input image (or region map) im_in abut a specified axis.

For example, the flip transform of the input 2D image about the x axis in calculated as follows:

   im_out[y][x]=im_in[y][width-x-1]

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Builds the symmetrical of the tangram.pan image:

   pflip 0 tangram.pan a.pan

See also

Transformation

C++ prototype

Errc PFlip( const Img3duc &im_in,Img3duc &im_out, int axis );

Version française

Construction du symétrique d'une image.


Author: François Angot