85
Smart Camera / Vision-Sensor / 1D-/2D-Code-Scanner / OCR Reader
By using First Score as a setting for Find by and using Dark to Bright as a setting for
Edge Polarity, it can be assured that the first transition from dark to bright is used as a
point for the coordinate system.
The setting of Edge Width dictates how long a new brightness value has to be retained
in order for the transition to be recognized as an edge. In the above example, the new
value is retained only briefly, which causes flattening and shifting to the left of the de-
rivative with the larger edge width. The amount of change in brightness an edge has to
demonstrate in order to be accepted can be adjusted by setting the threshold gradient
values. The higher the value is, the sharper the edge has to be. In order to be able to
detect unsharp edges, the absolute value have to be set accordingly low.
Edge Polarity Expected Brightness Characteristics
Either
Both bright to dark and dark to bright transitions
are searched for.
Bright to Dark
Only bright to dark transitions are searched for.
Dark to Bright
Only dark to bright transitions are searched
for.