Applying morphological operations

NI Vision Builder AI Vision Assistant

Applying morphological operations

  1. Select one of the following morphology groups:
    • Click Grayscale»Gray Morphology or select Gray Morphology in the Grayscale tab of the Processing Functions palette.
    • Click Binary»Basic Morphology or select Basic Morphology in the Binary tab of the Processing Functions palette.
    • Click Binary»Adv. Morphology or click Adv. Morphology in the Binary tab of the Processing Functions palette.
  2. Select one of the functions from the morphology list.
  3. Set the parameters for the function, if needed. You might need to set parameters for the structuring element, connectivity, or pixel frame.
  4. Click OK to apply the morphology and add this step to the script.

Related Topics

Adv. Morphology (Binary»Adv. Morphology)

Basic Morphology (Binary»Basic Morphology)

Computing the convex hull of objects

Creating a distance map

Expanding (dilating) objects in binary images

Expanding (dilating) objects in grayscale images

Extracting the contours of a particle

Filling gaps and holes (close) in binary images

Filling gaps and holes (close) in grayscale images

Filling holes

Filling holes and smoothing right angles

Gray Morphology (Grayscale»Gray Morphology)

Labeling objects

Reducing (eroding) objects in binary images

Reducing (eroding) objects in grayscale images

Reducing objects to their skeletons

Removing large objects

Removing objects touching the border of an image

Removing single pixels and right angles

Removing small objects

Removing small objects (open) from binary images

Removing small objects (open) from grayscale images

Segmenting an image

Separating objects

Smoothing object boundaries in binary images

Smoothing object boundaries in grayscale images