Pink 0.9

segmentarea.c File Reference

segmentation by filtering components on an area criterion More...


Detailed Description

segmentation by filtering components on an area criterion

Usage: segmentarea in.pgm connex area [m] out.pgm

Note: in the python front-end 'm' is mandatory, set 0 without maximization and 1 with maximization.

Description: Segmentation by selection of cross-section components, based on an area criterion. Connexity = connex ; area threshold = area.

Segmentation is followed by a maximization if option m is set.

Types supported: byte 2d, byte 3d

Category: connect

Author:
Michel Couprie