Measurement Parameters (Defect)

This item specifies the judgement condition for measurement results.Measurement parameters can be changed as needed to address unstable measurement results or to increase the processing speed.
Note
Defect detection mechanism
  • After measurement region is drawn, a rectangle (defect detection region) is automatically formed in this region.While moving the defect detection region around, calculate the RGB color averages at each location and find the defect detection difference with surrounding defects. This difference is called the defect level. Calculate the defect level for all defect detection areas. If the maximum value exceeds the judgement value, it is judged that there are defects in the measurement region.
    Illustration of defect detection mechanism
  1. In the Item Tab area, tap [Measurement].
  2. Set the value of each item in the "Defect size" area.
    Measurement parameters - "Defect size" area
    Setting item
    Set value
    [Factory default]
    Description
    Defect size
    • 4
    • 8
    • 12
    • 16
    • 24
    • 32
    • [64]
    [4] to [64]
    Specify the upper and lower limits of defect detection size based on the size of scratch or contamination to be detected.A defect detection region is automatically created with the number of pixels for the defects size.
    The larger the difference between upper and lower limits, the easier to detect defects/contamination of various sizes.
    For both upper and lower limits, higher values for defect detection size limits leads to weaker detection sensitivity and shorter processing time.
    Illustration of defect detection size
  3. If necessary, set the value of each item in the "Measurement parameter" area.
    For color cameras:
    Measurement - "Measurement" area
    For monochrome cameras:
    Measurement - "Measurement" area
    Setting item
    Set value
    [Factory default]
    Description
    Area measurement
    • Checked
    • [Unchecked]
    Place a check when you want to measure the size of defects.This item can divide the high defect detection regions into groups and output the surface and center of gravity coordinates of the group with the largest area.
    However, when only one region is specified with "Wide line", "Wide circle", or "Arc", area measurement is not possible.
    Area defect level
    0 to 999
    [20]
    If you place a heck at Area Measurement, set defect level counted in the defect area.
    Defect color
    (for monochrome cameras only)
    Black only
    Select this value to detect defects that look darker than the background.
    White only
    Select this value to detect defects that look lighter than the background.
    [Both white & black]
    Select this value when the brightness of defects is not known.
    Note
    Region inspection mode
    • The comparison direction depends on the measurement region shapes and number.
      For a rectangle, ellipse or polygon, comparison is with the defect detection regions above, below, left and right.This is called region inspection mode.
      Measurement parameters - Illustration of region inspection mode
      For a wide line, wide arc or wide circle, comparison is only with the two neighboring defect detection regions.
      Measurement parameters - Illustration of region inspection mode
      However, even for a wide line, wide arc or wide circle, when two or more figures are drawn, measurement is in region inspection mode.
      Measurement parameters - Illustration of region inspection mode
  4. When the setting has been changed, tap [Measurement] in the Detail area to verify whether measurements can be made correctly.
    Measurement - "Detail" area
  5. Set up the judgement condition.
    Measurement - "Judgement condition" area
    Item
    Set value
    [Factory default]
    Description
    Defect judgement
    0 to 999
    [100]
    Specify the upper limit for defect judgement. (The lower limit is fixed at 0.)
    When "30" is set, the OK value should be within the range of 0 to 30.
    Area judgement
    0 to A_MAX
    Specify the maximum defect area.
    A_MAX: 307,200 for a 0.3-megapixel camera, 1,920,000 for a 2-megapixel camera
Note
  • The value beside each item are measurement results of the displayed image.Take these values into consideration to determine the upper and lower limits.