Reducing (eroding) objects in binary images

NI Vision Assistant

Reducing (eroding) objects in binary images

  1. Click Binary»Basic Morphology or select Basic Morphology in the Binary tab of the Processing Functions palette.
  2. Select Erode objects from the Basic Morphology list.
  3. Set the Size of the Structuring Element.
  4. Click the cells of the structuring element that you want to have a value of 0.
  5. Enter the number of times that you want the erosion applied to the image in Iterations.
  6. Click OK to apply the erosion and add this step to the script.
Note   The structuring element is a 2D array used as a binary mask. You can modify the structuring element by clicking its cells. If a cell is black, it has a value of 1. If a cell is white (empty), it has a value of 0.
Tip  Experiment with different coefficients and the Kernel Size to get the results you want.

Related Topics

Basic Morphology (Binary»Basic Morphology)

Expanding (dilating) objects in binary images

Extracting the contours of a particle

Filling gaps and holes (close) in binary images

Filling holes and smoothing right angles

Reducing (eroding) objects in grayscale images

Removing single pixels and right angles

Removing small objects (open) from binary images

Smoothing object boundaries in binary images