PANDORE Version 6 | GREYC-IMAGE |
pboundarylabeling builds regions from a set of connected pixels surrounded by a closed contour. A closed contour is a chain of 8-connected non null pixels that describes a loop.
A region is built as a set of connected pixels with the same label. The label value is set randomly from 1 to the total number of regions.
Notice: Pixels with label value = 0 are not considered as part of region. Thus, the region 0 does not exist.
Returns the number of regions.
Closes edges and labels related regions:
psobel tangram.pan b.pan pbinarization 34 1e30 b.pan c.pan pskeletonization c.pan d.pan pboundarylabeling d.pan out.pan
Etiquetage en régions d'une image de contours fermés.
Author: Régis Clouard