PANDORE Version 6 GREYC-IMAGE

pconvexhull



Builds convex hull of regions.



Synopsis

pconvexhull [-m mask] [rg_in|-] [rg_out|-]

Description

pconvexhull builds the convex hull for each region of the input region map rg_in. The convex hull keeps the same label value as the related region.

Warning: It might occur some overlapping between convex hulls. Therefore, a convex hull can hide another.

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Draws the convex hull of the regions in the region map rin.pan:

   pconvexhull rin.pan rout.pan

See also

Region

C++ prototype

Errc PConvexHull( const Reg2d &, Reg2d &im_out );

Version française

Calcul de l'enveloppe convexe des régions.


Author: Régis Clouard