1. Field of the Invention
The present invention relates to a method for generating a basic template utilized to form a screening mask, and more particularly, to a method for generating a basic template according to a specific outputting device, such as a laser printer.
2. Description of the Prior Art
To express natural continuous tones through digital techniques in order to make outputs of a digital printer close to the colors of its inputting device, a general technique called halftone represents darker colors in an image by many color points or a larger color point, and represents lighter colors by fewer color points or a smaller color point. The halftone technique utilizes distribution or size of color points to create visual color variations, and its implementations roughly comprise screening, error diffusion and direct binary search, wherein screening is the most popular technique in the printing industry since the complexity of the screening technique is lower than the other techniques.
The screening technique processes an image to be printed by separately comparing and transferring each part of the image to a gray level of a printing device (such as a digital laser printer) through a mask. For example, a digital laser printer can select a pixel from a continuous tone image to be printed by using a mask, compare the tone of the pixel with a plurality of thresholds to transfer the tone to a gray level established inside the printer, and then dispose color points having the same size at different distances according to an algorithm in order to represent the gray level. In this way, the tones of an output halftone image of the printer can be equal to those of the continuous tone image.
The major objective of the mask is therefore to make the color points vary uniformly and to make the output halftone image of the printer represent a continuous tone image faithfully. However, the image performance directly and significantly relates to the efficiency of the printer. For example, when the resolution of the printer is high, the size of the color point utilized by the printer is small, and hence the image that the printer can present is sophisticated. But when the resolution is not high or the absorbability of carbon powders is not good, small color points cannot be output normally, and the final printing quality will be influenced due to dropping of the carbon powders. This shows that a mask suitable for one specific printer may not be suitable for another printer. However, the mask generally utilized in the printer is designed by the manufacturer, and is not optimized according to each printer, therefore the printing quality cannot be guaranteed.
One objective of the present invention is to provide a method for generating a basic template utilized to form a screening mask. The method optimizes the screening mask according to each outputting device to ensure that the minimum color point can be printed faithfully thereby avoiding the influence of dropping carbon powders on the output result.
According to an exemplary embodiment of the present invention, a method for generating a basic template is disclosed. The method comprises: (a) adjusting lines per inch of a testing template; (b) printing the adjusted testing template by an outputting device to generate a first printing result; (c) determining if the gray level of the first printing result matches a first specific gray level; (d) when it does not match the first specific gray level, adjusting the setting of step (a) according to the first printing result and repeating step (b) and (c); and (e) when it matches the first specific gray level, choosing the adjusted testing template as a first basic template.
According to another exemplary embodiment of the present invention, a method for generating a basic template is disclosed. The method comprises: (a) adjusting a minimum pattern of a testing template; (b) printing the adjusted testing template by an outputting device to generate a printing result; (c) determining if the gray level of the printing result matches a specific gray level; (d) when it does not match the specific gray level, adjusting the setting of step (a) according to the first printing result and repeating step (b) and (c); and (e) when it matches the specific gray level, selecting the adjusted testing template as a first basic template.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
The present invention designs basic templates utilized to form a screening mask according to an outputting device. Since the basic templates are adjusted based on the printing ability and efficiency of the outputting device, the screening mask formed by those basic templates can optimize the output performance of the outputting device, ensuring that minimum color points can be output faithfully and avoiding the influence of dropping of carbon powders on the output result of the outputting device.
Please refer to
Next, step 112 adjusts a minimum pattern (for example, a minimum cluster size or minimum distributing density) of the first basic template Λ selected in the previous step.
Then, the thickness of the lines in the first basic template Λ is adjusted to generate a third basic template Φ (step 120). For example, as shown in
The preferred embodiment disclosed above forms a best basic template by adjusting lpi and the minimum pattern respectively. However, the present invention is not limited to this embodiment. That is, in other embodiments, the basic template can be formed by adjusting either the lpi or the minimum pattern. For example, by utilizing the adjusting mechanism and process of the lpi or the minimum pattern disclosed in
Since step 116 has determined the second printing result of the outputting device and settings of the minimum pattern exceeding the printing ability of the outputting device are excluded, it can be ensured that the carbon powders will not drop when printing. Furthermore, the minimum cluster shape of the first basic template can be adjusted in step 112 to increase the variation of the mask. For example,
After generating the basic templates, the screening mask can be formed by utilizing the above first, second and third basic templates and a known algorithm such as Void and Cluster algorithm. Since the feature of the present invention is the design of the basic templates, and the process of forming the screening mask by the Void and Cluster algorithm is well known to those skilled in the art, the related steps of the process should be readily appreciated, therefore further description is omitted here for the sake of brevity.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Number | Date | Country | Kind |
---|---|---|---|
096111953 | Apr 2007 | TW | national |