PANDORE Version 6 GREYC-IMAGE

pboundingbox



Builds the bounding box around regions.



Synopsis

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

Description

pboundingbox builds a new region map im_out with the bounding box around each region of the input region map im_in. The output region map is composed of rectangles.

The labels of the bounding box is the same as the label of the related region.

Warning: It might occur some overlapping between bounding boxes. Therefore, a bounding box can hide another.

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Builds the bounding boxes around the region of rin.pan

   pboundingbox rin.pan rout.pan

See also

Region

C++ prototype

Errc PBoundingBox( cont Reg2d &rg_in, Reg2d &rg_out );

Version française

Calcul du rectangle exinscrit des régions.


Author: François Angot