Configure Bitone Edge Contrast Enhancement Parameters dialog
for Image Scanner Implementation Only

The Configure Bitone Edge Contrast Enhancement Parameters dialog is accessed from the Configure Menu of the ScanTools main window. This dialog box contains variables whose values can be adjusted to improve the legibility of bitone images.

In certain situations, it can be advantageous to give the application developer the ability to influence how certain pixels will contribute to an image’s legibility once Bitone Edge Contrast Enhancement is enabled. These pixels’ contribution to legibility is initially established by the default set of Bitone Edge Contrast Enhancement values. These default values should work satisfactorily for most situations. By manipulating the Bitone Edge Contrast Enhancement variables the application developer can fine-tune the treatment of:

There are two steps involved.

The first step occurs in the application definition where you enable Bitone Edge Contrast Enhancement to process individual images and image clips. See Image Clips dialog and Clip Attributes dialog for information on enabling Bitone Edge Contrast Enhancement.

The second step is adjusting the parameters in this dialog box if the default values yield unacceptable results.

NOTE: Enabling Bitone Edge Contrast Enhancement may reduce scanning speed, depending on the combination of the values that you set.

Kernel Width (must be odd)

TIP: Increasing this value increases the amount of the shadow removed and the size of a white outline to the right and left of dark areas, but may decrease scanning speed. Decreasing this value decreases the amount of the shadow removed and the size of a white outline to the right and left of dark areas, but may increase scanning speed.

A pixel’s contribution to legibility is determined in the context of the surrounding pixels. To provide context, an imaginary box is drawn around suspect pixels ("test pixel") in the image. The width of this imaginary box is Kernel Width, and it equals the number of pixels equally divided half to the left and half to the right of the test pixel. For example, a Kernel Width equal to "7" yields an imaginary box 7 pixels wide; that is, 3 pixels to the left and 3 pixels to the right of the test pixel (3-2-1-Test Pixel -1-2-3).

The value specified must be an odd numeric value.

Range: 3 - 17

Default: 7

Kernel Height (must be odd)

TIP: Increasing this value increases the amount of the shadow removed and the size of a white outline above and below the dark areas, but may reduce scanning speed. Decreasing this value decreases the amount of the shadow removed and the size of a white outline above and below the dark areas, but may increase scanning speed.

Kernel Height is similar to Kernel Width. Kernel Height equals the imaginary box’s height in the same manner Kernel Width equals the box’s width. Thus, a Kernel Height = 7 pixels, and a Kernel Width = 7 pixels results in an imaginary box consisting of 49 pixels (7 x 7).

The value specified must be an odd numeric value.

Range: 3 - 17

Default: 7

Kernel Threshold

TIP: Decreasing this value makes the shadow removal or outlining more aggressive at the risk of removing light variable data or other light items on the document. If unacceptable image loss occurs, increasing Kernel Threshold will preserve more light image data.

The grayscale value of every pixel within the imaginary box is compared to the test pixel’s grayscale value. The total number of pixels in the imaginary box that are darker than the test pixel by at least the Kernel Threshold value is counted. Example: consider a Kernel Height = 3 pixels, and a Kernel Width = 3 pixels and a Kernel Threshold = 40. Assume the test pixel’s grayscale value = 251, and the surrounding 8 pixels have grayscale values of 200, 210. 211, 202, 214, 198, 212, 205, respectively. Five (5) pixels are darker (less) than the test pixel by at least the Kernel Threshold value.

Range: 5 - 200

Default: 40

Kernel Threshold Count

TIP: Decreasing this value makes the shadow removal or outlining more aggressive at the risk of removing light variable data or other light items on the document. If unacceptable image loss occurs, increasing Kernel Threshold Count will preserve more light image data.

Kernel Threshold Count equals the number of pixels surrounding the test pixel that must be darker by at least the Kernel Threshold value to turn the test pixel white. In the example above, if the Kernel Threshold Count = 5, then the test pixel will be made white.

Range: 1 - 289

Default: 5

Kernel Keep Black Threshold

TIP: Decreasing this value can aid in the removal of very dark shadows or dark shaded backgrounds around text, but may reduce scanning speed. Increasing this value may increase scanning speed, but may inhibit the removal of dark shadows or the removal of dark shaded backgrounds around text.

There exists a pixel grayscale value so dark that it need not be compared against the surrounding pixels in the imaginary box to determine if it should be made white. Pixels whose grayscale values are below the Kernel Keep Black Threshold will be left black without further analysis.

Range: 0 - 255

Default: 100

Defaults Button

Use this to set all parameters to the default values which should work satisfactorily for most situations.

 

 

See Help on Help for additional information on using this help file.

See Scantron Technical Support for additional information on technical support and training options.

See the ScanTools Suite System Requirements for further details on hardware and software requirements.

ScanTools is a suite of products; the specific information you want may appear in the help for a different module. If you don't find what you're looking for here, try one of the following:

 

Scantron Corporation

Customer Service (forms, products, and services):

1-800-SCANTRON (722-6876)

www.scantron.com

Technical Support:

1-800-445-3141

support@scantron.com

Copyright © 1998-2012 Scantron Corporation. All rights reserved. Use permitted only under license. www.scantron.com. No part of the Help or user guides may be reproduced in any form, or by any means, without express permission from Scantron Corporation.

LINKS TO THIRD PARTY SITES

This help system may contain links to third party websites ("Linked Sites"). The Linked Sites are not under the control of Scantron and Scantron is not responsible for the content of any Linked Site, including without limitation any link contained in a Linked Site or any changes or modifications to a Linked Site. Scantron is not responsible for web casting or any other form of transmission received from any Linked Site. Scantron provides Users with the ability to link the Assessment System to the Linked Sites as a convenience to you, and the inclusion of any link does not imply endorsement by Scantron of the Linked Site or any association with its operators.