V2CONNECT

VisionX V4
NAME

v2connect − 2d connected component labeling and selection

SYNOPSIS

v2connect if= of= [th=] [m=] [-b] [-f]

DESCRIPTION

v2connect

performs iterative 2d connected component labeling and component selection on each axial slice. Without any component selection options, the output is an integer image of component labels. Component selection options th= and m= can be used to remove components based on the area.

OPTIONS

if=

Input byte image.

of=

Resulting component labels. Default is integer image.

th=

area threshold. Components with area less than it will be removed.

m=

only m largest components will be reserved.

-b

the output will be converted to byte image by setting all non-zero labels to 255.

-f

use four-connected component analysis (default is eight-connected).

SEE ALSO

v3connect(1), v3sc(1)

AUTHOR

Shuang Liu, June 2015