Filter Image Configuration

NI Vision Builder

Process Images Tab

How to Filter an Image

Main Tab

  1. In the Step Name control, enter a descriptive name for the step.
  2. Choose one of the following methods to specify the region of interest for the step:
    • Create a new region of interest.
      1. Select Constant from the Region of Interest listbox.
      2. Select a tool from the menu toolbar that matches the type of region of interest you want to specify.
      3. Draw a region of interest that includes all of the objects you want to detect.
      Tip  You can use the region of interest you define for the Filter Image step as the region of interest for future inspection steps. To use the specified region of interest in future inspection steps, select the Filter Image step from the Region of Interest control on the Main tab of the inspection step.

      Using the same region of interest for multiple steps allows the inspection to be run only on the filtered area of the image. For example, to find straight edges in a noisy image, you can apply a filter to remove noise from the area where you want to search for straight edges. You can then use the same region of interest to search for straight edges in the filtered area of the image.
    • Select a previously defined region of interest from the Region of Interest listbox.
  3. Verify that the Reposition Region of Interest checkbox is enabled if you want to link the region of interest specified in this step to a previously defined coordinate system.

    Link the region of interest to a coordinate system if the position of the object under inspection changes from image to image, and you need to adjust the position of the region of interest to match the new location of the object.

Filters Tab

  1. Select the Filter Type you want to use.
  2. If necessary, adjust the Kernel Size, Filter Size, and/or Kernel to achieve the desired filter result.
  3. Click OK.