Pink 0.9

attribute.c File Reference

labels each connected component with its attribute value More...


Detailed Description

labels each connected component with its attribute value

Usage: attribute in.pgm connex seuil typregion attrib out.pgm

Description:

Labels each connected component with its attribute value.

Argument connex defines the connectivity.

Argument seuil defines a threshold: components with attribute value not higher than seuil are filtered out.

Argument typregion defines the type of regions:

Argument attrib defines the considered attribute:

Warning:
In 3D only the attributes 0 and 6-9 are implemented.

Types supported: byte 2d, byte 3d

Category: geo

Author:
Michel Couprie