Keyence Machine Vision Systems for All Applications

Sub menu and contents start here

Assembly Technology Expo
General Catalog Machine Vision Systems from KEYENCE

Machine Vision Technology


Inspection Functions Basics

Area sensor (binary conversion)

This function detects the area by counting the number of white or black pixels within the measurement window. With color processing, the area is detected by counting the number of extracted or unextracted color pixels.

 

Dimension measurement

A variety of dimensions are measured by setting a window on the image and measuring the distance between the detected edges.

Inner diameter measurement

 

Outer diameter measurement

Blob

A group of pixels with the same intensity range within a binary (black and white) image is called a "blob". The quantity of blobs, and features such as the area and center point, are measured by the blob tool.

Features Measured by Blob

Center of Gravity

The center of gravity of the blob is measured using the X-Y coordinate.

 

Area

The number of pixels in the blob is measured.

Principal Axis Angle

The principal axis angle from the horizontal (X) axis is measured within the range of ±90°.

 

Feret Diameter

The lengths in X and Y directions of the circumscribed rectangle of the blob are measured.

Perimiter

The perimiter of the blob is measured.

 

Roundness

A perfect circle is represented by the number of 1.000 to measure against the roundness of each blob.

Detection of Scratches and Flaws (STAIN)

Detection Principle of Stain (when detecting direction is set to X)

  1. By moving a segment of arbitrary size within the inspection area by 1/4 of the size (amount of movement), the mean intensity is measured.
  2. The difference between the maximum and minimum intensity within the 4 directional segments including the observation segment ( in the figure to the right) is measured. This value becomes the "stain level" of the observation segment.
  3. If the stain level exceeds the preset threshold, the observation segment is counted as a stain. This count will be reflected in the inspection result, called the "stain area".

Then, the observation segment is moved by 1/4 of its size again and the procedure is repeated from 1 to 3.

 

Reference

When detection directions are specified as X and Y (two-dimensional) directions

If X and Y are specified, the difference between the maximum and minimum intensity within the 16 segments (4 segments in X direction x 4 segments in Y direction including the observation segment) is measured.

 

Advantages of Stain Algorithm in Comparison with a Standard Method Using Binarization

  • Because a grayscale picture is directly processed, there is no need to configure binary settings according to the target.
  • Since the change in contrast between the observation segment and the background is used instead of the absolute intensity values, the measurement remains robust even as surface conditions and illumination intensity change.

Detection of scratches on the surface of cast part

 

Initial condition

 

Stain Tool: The scratch can be detected even when illumination intensity is lowered.

   
   

Blob Tool: The binarized image changed due to lowered illumination intensity and a false detection is made.

Trend Edge Position

The specified segment in the edge detection area is scanned and maximum, minimum and average values of each point are output. This is effective for the measurement of maximum/minimum external diameters and detection of protruding parts.

When the measurement area is in rectangular shape

 

When measurement area is in circular shape

  • If highly accurate position detection is required, reduce the segment size.
  • In order to shorten the processing time, increase the shift width of the segment (amount of movement).
  • The trend direction signifies the direction towards which the segment is moved.

Intensity Inspection

Because contrast (intensity) mean value, maximum/minimum values, and deviation value within the measurement area can be measured, it can also be used for illumination intensity fluctuation-resistant area measurement or high-speed scratch detection.

When temperature difference is large

  • Mean intensity of window 1: 50
  • Mean intensity of window 2: 200
  • Intensity difference: 150
 

When temperature difference is small

  • Mean intensity of window 1: 150
  • Mean intensity of window 2: 200
  • Intensity difference: 50
New Topics and Guidebooks
Machine Vision Academy Vol.9 Machine Vision Academy Vol.8 Machine Vision Academy Vol.7 General Catalog
Machine Vision Academy Vol.9Machine Vision Academy: Full Course Now Available   Machine Vision Academy Vol.8Quick Guide to Image Enhancement Filters   Machine Vision Academy  Vol.7Position Adjustment System   General CatalogJust released Get your copy today.
Vision System Resource Center
Other Vision Topics
Support and Services
»Ask the Experts

Let the Keyence Experts answer your questions.

»Price Infomation

Request price information on a vision system.

»Free Trial Unit

Try out a vision system free of charge.

»Download Catalogs

Get in depth information on vision systems.

Produced by Produced by KEYENCE