99
Smart Camera / Vision-Sensor / 1D-/2D-Code-Scanner / OCR Reader
Dilatation
Dilatation belongs to the morphological filter func-
tions. These image processing functions are used
to emphasize or increase objects of a specific shape
and/or size
• (white portions are strengthened)
• or deleted
• To smooth edges
• To remove errors or “noise”
• To “fill up” specific segments in an image
Effects of a dilatation:
• Adds points to the edges of the objects according to
the form and color of the neighboring point.
• Small distortions and gaps are closed and disap-
pear irrevocably.
• Objects that are close to each other can be con-
nected to each other.
Erosion
Erosion belongs to the morphological filter functions.
These image processing functions are used to em-
phasize or reduce objects of a specific shape and/or
size
• (black portions are strengthened)
• or deleted
• To smooth edges
• To remove errors or “noise”
• To “fill up” specific segments in an image.
Effects of an erosion:
• Adds points to the edges of the objects according to
the form and color of the neighboring point.
• Small distortions and gaps are closed and disap-
pear irrevocably.
• Closes objects.
Oppening
The opening filter is the succession of an erosion
and a dilatation. Erosion closes gaps of dark struc-
tures while dilatation reverses thickening of the dark
objects. The increase in the surface of the dark ob-
jects that occurs in erosion is removed again through
dilatation.
Effects of the opening:
• Contours are markedly emphasized even with rela-
tively low gray value transitions.