PANDORE Version 6 GREYC-IMAGE

pscrolling



Performs scrolling of image or region map.



Synopsis

pscrolling direction shift [-m mask] [im_in|-] [im_out|-]

Description

pscrolling translates the content of the input image (or region map) im_in to shift pixels in the specified direction. Pixels that are moved out the image are set to the other side of the image.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Scrolls the tangram.pan image of 50 pixels from the left:

   pscrolling 0 50 tangram.pan a.pan

See also

ptranslate, Transformation

C++ prototype

Errc PScrolling( const Img3duc &im_in,Img3duc &im_out, int direction, Long shift );

Version française

Construction de l'enroulé d'une image.


Author: Régis Clouard