Embodiments of the invention relate generally to improved methods of halftoning images for printing.
Image printing devices, such as electro-photographic (laser) and inkjet printers, print a large number of small dots to create a desired image on a print medium, such as a sheet of paper. The dots are printed in a densely packed pattern that, when viewed by the eye, appears as complete image. This image may be alpha-numeric text, a picture or graphic, or a combination of elements. In a laser printing device, the laser is scanned linearly back and forth across a print drum to create areas or pixels (“dots”) to which toner will adhere when applied, thus creating the image specified by the image data stream.
In order to provide a high quality image, the image printing device must be capable of reproducing a continuum of shades, or levels, between black and white, or between extreme shades of each color. A level may be specified by absorptance. “Absorptance” refers to the fraction of light absorbed by a portion of the printed image. The higher the fraction of absorbed light, as distinguished from reflected light, the darker that portion of the printed image appears. Consequently, within the image printed by the printing device there must be a method of making the printed dots produce gradations or halftones to create a high-quality image.
Halftoning can be accomplished by a number of methods that involve modulating the characteristics of the dots printed. There are two main dot characteristics that can be varied to affect the halftone or grayscale of a portion of an image printed. These two characteristics are the size of the dots and the density of the dots. Varying the size of the dots is sometimes referred to as “AM” modulation, while varying the density is sometimes referred to as “FM” modulation. Both of these characteristics can be modulated simultaneously to control how light or dark, in a gray or color scale, a particular section of the printed image appears (see, for example, U.S. Pat. No. 6,778,299, Lin et al., “Error diffusion with partial dots method and system”).
An inherent limitation of most printing devices that rely on halftoning to produce tone gradations is that the size or diameter of the individual dots may not be absolutely consistent over time or with varying printing conditions. This limitation is commonly referred to as “dot gain”. Dot gain is particularly a problem in those systems that vary the dot size to achieve tone modulation, in that the percent change in dot size may not be consistent over the range of dot sizes. Smaller dot sizes may be affected differently than larger dot sizes, or the smaller dots may fail to “develop” altogether. Such differences may result in visible print quality defects, such as blotchiness.
With printers that are stable and have less dot gain, the advantage of dot size modulation is most significant in highlights, where smaller dots produce less visible highlight textures. With printers that are less stable or have more dot gain, using larger dots in the mid-tones may also result in improved quality.
There is thus a need for methods that enable the advantages of varying dot size in halftoning, while limiting the potential print quality degradation caused by dot gain.
Disclosed are exemplary embodiments of the invention which include methods for calibrating the grain and tone scale of partial dot error diffusion halftoning. The methods include a first pass that calibrates the dot size and a second pass that calibrates tone scale.
Other aspects and advantages of the present invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, illustrating by way of example the principles of the invention.
Embodiments of the invention are described with respect to an electro-photographic (EP) printing system; however, the invention is not limited to the exemplary system, nor to the field of laser printing, but may be utilized as well in other systems, such as inkjet printers.
In the following specification, for purposes of explanation, specific details are set forth in order to provide an understanding of the present invention. It will be apparent to one skilled in the art, however, that the present invention may be practiced without these specific details. Reference in the specification to “one embodiment” or “an exemplary embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. The appearance of the phrase “in one embodiment” in various places in the specification do not necessarily refer to the same embodiment.
Standard error diffusion halftoning techniques are susceptible to grain defects. Partial dot error diffusion (e.g., U.S. Pat. No. 6,778,299) reduces grain by using partial dots in appropriate places along the tone scale. Small dots are used for highlights and large dots are used for midtones and shadows.
A problem with partial dot error diffusion, and other dispersed-partial-dot halftone algorithms, is that they may become unstable when used in conjunction with electro-photography (EP). As EP parameters drift, such as with time, environmental conditions, or wear, the size of the dots may vary and smaller dots may disappear, or fail to “develop”. The variation disrupts the grain structure and causes dot gain variations, which in turn cause displeasing microstructure in printed images and inaccurate colors.
An existing solution calibrates the tone scale using a lookup table (LUT) operating on the color channel bits. The LUT typically directly remaps levels, with each input tone value replaced with a corresponding output tone value. The LUT may exist prior to the halftoning or be embedded within the halftoning process. If embedded, other LUT's are typically adjusted in conjunction with the tone LUT. Remapping using the channel LUT suffers from contouring if applied in high dot gain situations and if applied in an eight bit/pixel (or less) channel. Most channels used in EP printing systems are eight bit. Remapping does not address grain.
The disclosed exemplary methods counteract dot size drift with an embedded calibration process. The process consists of a photo sensor, such as a densitometer, measuring tone scales and adjusting a tone look-up-table (TL) and a dot size look-up-table (DL). The exemplary processes employ two measurement and adjustment passes.
The calibrated dot size LUT 118, which contains previously obtained dot size calibration data, is then applied to the dots of the halftoned image 108. In an electro-photographic process, the dot size may typically be controlled by varying laser pulse levels or pulsewidths. The resulting dot sizes are then utilized in rendering 110 the image. If the process is color then there are separate LUT's for each color channel. A standard CMYK (cyan, magenta, yellow, black) process thus has four tone and four dot size LUT's.
The relation “R” of tone against dot size is an indication of the physical dot size.
In an exemplary embodiment, the dot size LUT is calibrated 208 (ref.
In an exemplary method, the dot size LUT may be generated as follows:
Let dintercept be the place where R crosses the horizontal axis (ref.
Next, CalDL 226 and the linear tone LUT 224 are used to print another ramp that is measured 210 to provide a tone scale Q 212 (ref.
For a linear target tone scale, the calibrated tone LUT (CalTL) is:
CalTLj=k such that Qk*(n−1)=j eq. 3
CalQj=Q(CalTLj/(n−1)) eq. 4
In some implementations of partial dot error diffusion (PDED), the dot size may need to be adjusted 214 in step with the tone LUT to preserve growth behavior (see U.S. Pat. No. 6,778,299). Designating a LUT modified in such a manner with a prime ′:
kε[0, 1, 2, . . . n−1] eq. 5
CalDL′j=CalDLk such that Qk*(n−1)=j eq. 6
Other LUT's may need to be adjusted in-step. These others are represented here as 1 additional LUT 230.
CalOtherL′j=CalOtherLk such that Qk*(n−1)=j eq. 7
An advantage of the exemplary methods is that print quality defects, such as blotches resulting from non-developing small dots, may be reduced. A further advantage of the exemplary methods is that, by applying the tone LUT to the contone image and then applying the dot size LUT prior to rendering, improved tonal resolution is possible, and defects due to contouring may be reduced. For example,
The above is a detailed description of particular embodiments of the invention. It is recognized that departures from the disclosed embodiments may be within the scope of this invention and that obvious modifications will occur to a person skilled in the art. It is the intent of the applicant that the invention include alternative implementations known in the art that perform the same functions as those disclosed. This specification should not be construed to unduly narrow the full scope of protection to which the invention is entitled.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or acts for performing the functions in combination with other claimed elements as specifically claimed.