Configuring Image Enhancement
The Image Enhancement processes are controlled by the specific value assigned to the server property prImageEnhancements inside a control file or a virtual control file. The valid values for prImageEnhancements are based on a binary flag.
The following table lists all the Image Enhancement options and their binary value. You can create new cleanup combinations using the base options available. For example, to Deskew and Rotate an image the prImageEnhancements property value should be set to 3 (Deskew + Rotate). To Deskew, Rotate, and Binarize the prImageEnhancments property value should be set to 35 (Deskew + Rotate + Binarize). The value of “-1” represents all options on and 0 represents all options off, which is the system default value.
Image Enhancement Option |
Description |
Binary Value |
---|---|---|
None |
No image enhancement occurs when you set this option |
0 |
Deskew |
Straightens images that are skewed between 1 and 15 degrees. |
1 |
Rotate |
Rotates an image to it's correct orientation. This is useful for flipping pages that may have been scanned upside down. |
2 |
Blank page dropout |
Removes all blank pages. Note: This operation takes precedence over BlankPageDropoutFirst and BlankPageDropoutLast. |
4
|
Blank page dropout first page |
Removes the first page of a document if it is blank |
8 |
Blank page dropout last page |
Removes the last page if it is blank |
16 |
Binarize |
Converts image to black and white |
32 |
Clean Black Noise |
Removes black specks from image. Using this setting forces Binarize to happen. |
64 |
Clean White Noise |
Removes white specks from image. This is useful for scans that are really light where there are lots of white specks in the letter blocks. Using this setting forces Binarize to happen. |
128 |
ALL |
Performs all image enhancement operations |
-1 |
Setting prImageEnhancements property value to -1 enables all image enhancements which includes the Binaraize option. The Binaraize operation converts color images to black and white.
Adding Control File Image Enhancement Option
You can add the image enhancement option by creating or editing a control file.
To add the image enhancement option to a control file
-
Open the control file and enter: #prImageEnhancements
For instructions on how to create or edit a control file or a virtual control file, see Guidelines for creating control files and Managing the Filescan folders for the Filescan connector.
-
Set the value of the property following the guidelines in the Image Enhancement Option table aboce.
-
Save your changes.
Now when a scanned document is picked up and processed by the Filescan connector, image enhancement, if applicable, is applied.