DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

GetObjectLabels

Lists object labels in image

SYNOPSIS

dip_Error dip_GetObjectLabels ( in, mask, labels, nullIsObject, resources )

DATA TYPES

binary, integer

FUNCTION

This function produces an array of object labels present in the image in. Optionally, mask can mask the regions in in where to search for labels. The boolean nullIsObject specifies whether or not to treat the value zero as an object label.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput label image
dip_ImagemaskMask image
dip_IntegerArray *labelsArray of labels
dip_BooleannullIsObjecttreat the value zero ad an object label
dip_ResourcesresourcesResources tracking structure. See ResourcesNew

SEE ALSO

Label, IntegerArrayFind