Hardware manual

Impact Reference Guide Deslant Image
3-57 Datalogic Automation Inc.
Deslant Image
In the Image Geometry Drawer
The Deslant Image tool corrects the slant frequently seen in printed dot matrix characters.
Slant Angle Types
Angle to Slant Image
In this mode, the tool slants each character by the angle amounts entered in the Column Slant Angle and
Row Slant Angle fields. For example, if a character slants 10 degrees from vertical, enter -10 (degrees) in
the Column Slant Angle field to correct the slant. If a row of characters slants 10 degrees from horizontal,
enter -10 (degrees) in the Row Slant Angle field to correct the slant.This mode useful if you link the Slant
Angle to a scroll bar on the control panel and let the operator dynamically modify the amount of slant.
Measured Angle to Make Square
Note: The Deslant tool and the tool used to measure the edge angle must use the same Tool Origin.
In this mode, the tool calculates the amount of correction necessary to bring each characters columns to ver-
tical (ninety degrees), and their rows to horizontal (zero degrees), based on the Column and Row Slant
Angle values. For example, if a character slants 10 degrees from vertical, enter 100 (degrees) in the Column
Slant Angle field to correct the slant (100 = 90 + 10). If a row of characters slants 10 degrees from horizon-
tal, enter 10 (degrees) in the Row Slant Angle field to correct the slant (10 - 10 = 0).
You can use an Origin or Linear Regression tool to measure a characters current vertical edge angle (from
zero degrees). Link that measured angle into the Column Slant Angle field (using a Data Instance tool to
extract the angle). The tool calculates the number of degrees change necessary to correct the vertical edge to
make it ninety degrees. The same may be done with a horizontal edge and the Row Slant Angle.
Output Name What it is
Output Image Reduced resolution image (viewed on the Output Image tab).
Input Name What it is
Input Image Linked Image
Tool Origin The tool’s origin relative to the entire image space
Shape List The desired region of the image to search. If no shape is defined, the
entire image is processed.
Slant Angle Type See "Slant Angle Types" at the end of this table.
Column Slant Angle
in Degrees
The character’s column slant angle. See details at the end of this table.
Row Slant Angle in
Degrees
The character’s row slant angle. See details at the end of this table.
Output Name What it is
Output Image The straightened image as viewed on the Output Image tab.