PRTools contents

PRTools manual

im_label

IM_LABEL

Labeling of binary images stored in a dataset (DIP_Image)

   B = IM_LABEL(A,CONNECTIVITY,MIN_SIZE,MAX_SIZE)
   B = A*IM_LABEL([],CONNECTIVITY,MIN_SIZE,MAX_SIZE)

Input
 A Dataset with binary object images dataset (possibly multi-band)
 N Number of iterations (default 1)
 CONNECTIVITY See LABEL
 MIN_SIZE Minimum size of objects to be labeled (default 0)
 MAX_SIZE Maximum size of objects to be labeled (default 0: all)

Output
 B Dataset with labeled images

See also

datasets, datafiles, dip_image, label,

PRTools contents

PRTools manual