Tool NameConnectivity Analysis
Tool ID14
Library IDgrid_filter
Version1.0
Author(s)HfT Stuttgart (c) 2013

Description

Connectivity analysis of a binary input image according to
Burger, W., Burge, M.: Digitale Bildverarbeitung. Springer Verlag 2006, p.208.
Output consists in a symbolic image of the connected foreground regions and a shape of the borders of the foreground regions (outer and inner borders). The shape may contain alternatively the centers or the corners of the border pixels. Optionally, the regions which have contact with the image borders can be removed together with their border shapes.
In addition, an optional morphological filter (erosion-binary reconstruction) can be applied to the input image first.


Parameters

NameTypeIdentifierDescriptionConstraints
Input
Input Binary Gridgrid, inputINPUT_GRIDBinary input image for the connectivity analysis
Output
Filtered Imagegrid, output, optionalFILTERED_MASKMorphologically filtered binary mask
Symbolic Imagegrid, outputSYMBOLIC_IMAGEThe final symbolic image
Outlinesshapes, outputOUTLINESPolygon outlines of object regions
Options
Apply Filter?booleanFILTERApply a filter (erosion - binary reconstruction) to the input image Default: 1
Filter Size (Radius)integer numberSIZEFilter size (radius in grid cells)Default: 3
Pixel Centers?booleanBORDER_PIXEL_CENTERSShould the output shapes contain the centers of the border pixels instead of the corners?Default: 0
Remove Border Regions?booleanREMOVE_MARGINAL_REGIONSRemove regions which have contact with (are adjacent to) the image borders?Default: 0