Basic building blocks of Machine vision
Basic building blocks of Machine vision
1
Introduction
Machine Vision Algorithms and Applications, Second Edition. Carsten Steger, Markus Ulrich, and Christian Wiedemann.
© 2018 Wiley-VCH Verlag GmbH & Co. KGaA. Published 2018 by Wiley-VCH Verlag GmbH & Co. KGaA.
2
Hole Radius OK
2 1 3.01 mm ✔
2 2.99 mm ✔
...
3 3.02 mm ✔
.
8 4 2.87 mm ✘
Overall ✘
7 9
3 3
6 10
1 4 5
11
13
12
Figure 1.1 The components of a typical machine vision system. An image of the object to
be inspected (1) is acquired by a camera (2). The object is illuminated by the illumination
(3). A photoelectric sensor (4) triggers the image acquisition. A computer (5) acquires the
image through a camera–computer interface (6), in this case a frame grabber. The
photoelectric sensor is connected to the frame grabber. The frame grabber triggers the
strobe illumination. A device driver assembles the image (7) in the memory of the
computer. The machine vision software (8) inspects the objects and returns an evaluation
of the objects (9). The result of the evaluation is communicated to a PLC (11) via a digital
I/O interface (10). The PLC controls an actuator (13) through a fieldbus interface (12).
The actuator, e.g., an electric motor, moves a diverter that is used to remove defective
objects from the production line.
specially designed illumination (3). Often, screens (not shown) are used to prevent
ambient light from falling onto the object and thereby lowering the image quality.
The object is imaged with a camera (2) that uses a lens that has been suitably se-
lected or specially designed for the application. The camera delivers the image to a
computer (5) through a camera–computer interface (6), e.g., a frame grabber. The de-
vice driver of the camera–computer interface assembles the image (7) in the memory
of the computer. If the image is acquired through a frame grabber, the illumination
may be controlled by the frame grabber, e.g., through strobe signals. If the camera–
computer interface is not a frame grabber but a standard interface, such as IEEE 1394,
USB, or Ethernet, the trigger will typically be connected to the camera and illumina-
tion directly or through a programmable logic controller (PLC). The computer can
be a standard industrial PC or a specially designed computer that is directly built into
the camera. The latter configuration is often called a smart camera. The computer
may use a standard processor, a digital signal processor (DSP), a field-programmable
gate array (FPGA), or a combination of the above. The machine vision software (8)
inspects the objects and returns an evaluation of the objects (9). The result of the
evaluation is communicated to a controller (11), e.g., a PLC or a distributed control
3