1. Click Binary»Adv. Morphology or click Adv. Morphology in the Binary tab of the Processing Functions palette.
  2. Select Label objects.
  3. Click OK to add this step to the script.
Tip Labeling is especially useful when viewing images containing many objects that are not clearly separated.