1. Field of the Invention
The invention relates in general to a method of effacing zipper image, and more particularly, to a method of effacing zipper image by approximating the gray scales of two neighboring pixels.
2. Description of the Related Art
When the scanner having the stagger charge-coupled device is scanning a document, the pitch between the primary line and the secondary line is small. The primary line is thus affected by the light reflected from the secondary line. Similarly, the secondary line is also affected by the light reflected from the primary line. A zipper image (as shown in
The invention provides a method of effacing a zipper image by approximating the gray scales of two neighboring pixels.
The method of effacing the zipper image provided by the invention is applicable to scan a document using a scanner with a stagger charge-coupled device. The nth pixel obtained by scan on a scan line at which the zipper image is produced is subtracted by the (n+1)th pixel obtained by scan on the scan line. The absolute value of the subtraction result is compared to a critical value. When the result is smaller than the critical value, the nth pixel is modified as the nth pixel after process. If the result is larger than the critical value, no process is performed.
The processed nth pixel is one half of the sum of the nth pixel obtained by scan and the (n+1)th pixel obtained by scan.
In one embodiment of the present invention, the nth pixel after being processed is the sum of one half of the nth pixel obtained by scan and one half of the (n+1)th pixel obtained by scan.
In one embodiment of the present invention, the critical value is a predetermined value or produced by a logic circuit. The critical value can be adjusted according to the modulation transfer function of the scanner with the stagger charge-coupled device.
Both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Referring to
However, as the distance between the primary line and the secondary line is very short, the primary line is affected by the light reflected from the secondary line. Similarly, the secondary line is also affected by the light reflected from the primary line. A zipper image is thus produced to cause an error between the scanned image and the real image.
The above embodiment compares two neighboring pixels at a scan line at which the zipper image is produced with a critical value as a reference for effacing process. If the effacing process is required, the gray values of these two neighboring pixels are approximated to each other to reduce the zipper image. However, the modulation transfer function of the scanner with the stagger charge-coupled device is slightly reduced.
According to the above, the invention has the following advantages:
1. Only a critical value is required to determine whether an effacing process is performed, thereby, two gray scales of two neighboring pixels are approximated to each other, and the zipper image is effaced.
2. The fabrication cost is not increased.
Other embodiments of the invention will appear to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples to be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
Number | Date | Country | |
---|---|---|---|
20030133170 A1 | Jul 2003 | US |