Particle Filter (Binary»Particle Filter)

NI Vision Assistant

Particle Filter (Binary»Particle Filter)

Removes or keeps particles in an image as specified by the filter criteria.

  • Filter CriteriaList of measurements that you use as criteria to keep or remove particles from the image.
  • Parameter Range
    Minimum value Specifies the minimum value of the parameter range.
    Maximum value Specifies the maximum value of the parameter range.
    Exclude Interval Specifies the range to filter. When this option is deselected, the selected range is [Minimum value, Maximum value]. When this option is selected, the selected range is [– ¥ , Minimum value] [Maximum value, + ¥]
    Unit Specifies the unit of the minimum and maximum value. The unit is either pixels or real-world values.
  • Current Parameter—The minimum value, maximum value, and mean value for the selected filter criteria, which is calculated using all of the particles in the image.
  • Action
    Remove Removes particles that do not fit in the range bounded by the minimal and maximal values for the selected measurement.
    Keep Keeps particles that fit in the range bounded by the minimal and maximal values for the selected measurement.
  • Connectivity 4/8—Defines which of the surrounding pixels for any given pixel constitute its neighborhood.
    Connectivity-8. All adjacent pixels are considered neighbors.
    Connectivity-4. Only pixels adjacent in the horizontal and vertical directions are considered neighbors.

Related Topics

Filtering objects based on particle measurements