PANDORE Version 6 GREYC-IMAGE

pcliparea



Select rectangular region area of image, region map or graph.



Synopsis

pcliparea x y z width height depth [im_in|-] [im_out|-]

Description

pcliparea selects a rectangular area in the input im_in. Values outside the rectangle are set to 0, other values are copied to the output im_out.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Select area (10,10,246,50) from the tangram.pan image (of size 256x256 pxeils):

   pcliparea 10 10 -1 50 0 0 tangram.pan a.pan

See also

Utility

C++ prototype

Errc PClipArea( const Imxg2duc &ims, Img2duc &imd, const int z, const int y, const int x, int width, int height, int depth) {

Version française

Sélection d'une zone d'image, de carte de région ou de graphe.


Author: Régis Clouard