A method and system for processing image information using screening and error diffusion

Abstract: A method and system implements screening and a high addressability characteristic into an error diffusion process. A grey level value representing a pixel is received. The grey level value has a first resolution which corresponds to an original input resolution. The grey level value is then screened (1). A threshold circuit (9) thresholds the grey level value and generates an error value (e FB ) as a result of the threshold. A portion of the error value is diffused (7) to adjacent pixels on a next scanline. The screened grey level value can also be interpolated to generate subpixel grey level values which correspond to a second resolution. The second resolution is higher than the first resolution and corresponds to the high addressability characteristic. The threshold circuit would then threshold the grey level value and generate an error value having a resolution corresponding to the first resolution.

Description: The present invention relates to the conversion of images from multi-level grey scale pixel values to a reduced number of levels pixel values. More specifically, the present invention relates to the conversion of multi-level grey scale pixel values to a reduced number of levels pixel values using a combined screening and error diffusion technique. Image information, be it color or black and white, is commonly derived by scanning, initially at least, in a grey level format containing a large number of levels, e.g.: 256 levels for black and white and more than 16 million (256 3 ) levels for color. This multi-level format is usually unprintable by standard printers. The term "grey level" is used to described such data for both black and white and color applications. Standard printers print in a limited number of levels, either a spot or a no spot in the binary case, or a limited number of levels associated with the spot, for example, four in the quaternary case. Since grey level image data may be represented by very large values, it is necessary to reduce grey level image data to a limited number of levels so that it is printable. Besides grey level image information derived by scanning, certain processing techniques, such as computer generation, produce grey level pixel values which require such a conversion. One standard method of converting grey level pixel image data to binary level pixel image data is through the use of screening, dithering or halftoning. In such arrangements, over a given area, each grey level pixel within the area is compared to one of a set of preselected thresholds. The set of thresholds comprises a matrix of threshold values or a halftone cell. Figure 1 illustrates a block diagram of a typical screening circuit. In this circuit, an unmodified image or video signal is fed into a modulation circuit 1 with a screen value from a halftone screen matrix to produce a modified signal. The modified signal is then thresholded by a binarization circuit 3 to produce a binary output. The binary output represents either the ON or OFF characteristic of the processed pixel. In this process, the sampled image picture elements are compared with a single threshold, and a black/white decision is made. However, the threshold relationship is modified by modulating the image data with the screen data. The screen data is selected in sequential order from a two-dimensional matrix defined as a halftone cell threshold set. The set of screen values and the arrangement therein determine the grey scale range, frequency, angle, and other properties of the halftone pictorial image. The effect of such an arrangement is that, for an area where the image is grey, some of the thresholds within the matrix will be exceeded, while others are not. In the binary case, the portions of the matrix, or cell elements, in which the thresholds are exceeded are printed as black, while the remaining elements are allowed to remain white or vice-versa. The effect of the distribution of black and white over the cell is integrated by the human eye as grey. However, typical screening presents problems in that the amount of grey within an original image is not maintained exactly over an area because the finite number of elements inside each halftone cell only allows the reproduction of a finite number of grey levels. The error arising from the difference between the threshold value and the actual grey level value at any particular cell is, typically, thrown away. This results in loss of image information and creates significant image artifacts, such as banding or false contours that can be seen in smooth image areas. In banding, the image input grey level varies smoothly over an area while the halftoned image has to make a transition from one halftone dot (grey level) to another. This transition can clearly be seen as a band or contour running through smooth image parts. Another problem associated with screening grey images is the trade-off between the screen frequency and the number of grey levels available. Although it is desirable to use a high frequency screen, the number of grey levels available decreases as the screen frequency increases. One method which has been proposed to increase the number of grey levels as the screen frequency increases is set forth in US-A-5,317,653. In this method, the grey image is first reduced to a small number of grey levels with error diffusion, and then a line screen with a small number of grey levels and a high frequency is used. This two step process binarizes the image. However, to implement such a method, a print engine or system requires a multi-level error diffusion process followed by screen thresholding. Typically, the image processing architecture for such machines do not have such a capability. Therefore, it is desirable to achieve the same results, but without departing from the typical image processing architecture of printing system. US-5077615 describes an image recording apparatus that reproduces a half-tone image with high resolution using a systematic dither and error scattering method. Sharpness of the image to be reproduced is selectively variable. EP-A-0602854 describes a method of quantising pixel values in an image formed by a plurality of pixels. The system operates by using dot to dot error diffusion with the error being determined on the basis of a dot having a first lower resolution. Once the error is calculated it is then propagated to each pixel of subsequent downstream dots. A first aspect of the present invention provides a method of generating an error value, comprising the steps of: (a) screening a multi-level grey scale pixel value representing a pixel haying a first resolution; (b) thresholding a plurality of interpolated subpixel values associated with the screened multi-level grey scale pixel value, the interpolated subpixel values having a second resolution higher than the first resolution; and (c) generating the error value as a result of thresholding the interpolated subpixel values in said step (b), the error value having the first resolution. A second aspect of the present invention provides a system for generating an error value, comprising: screening means for screening a multi-level grey scale pixel value representing a pixel having a first resolution; threshold means for thresholding a plurality of interpolated subpixel values associated with the screened multi-level grey scale pixel value, the interpolated subpixel values having a second resolution higher than the first resolution; and error means for generating the error value as a result of thresholding the interpolated subpixel values, the error value having the first resolution. A third aspect of the present invention is a printing system for rendering marks on a receiving medium. The system includes a system according to the second aspect of the present invention and binarization means for binarizing the interpolated subpixel values so as to output a binary signal and an error value, the error value having a resolution equal to the first resolution; and, rendering means for converting the binary signal into a mark on the receiving medium. Further objects and advantages of the present invention will become apparent from the following descriptions of the various embodiments and characteristic features of the present invention, in conjunction with the drawings, wherein: Figure 1 shows a block diagram illustrating a typical screening circuit; Figure 2 shows a block diagram illustrating the binarization process of the present invention; Figure 3 shows a graphic representation of the screening process carried out by the present invention; Figure 4 shows a graphical representation illustrating the interpolation and binarization processes utilized in the present invention; Figure 5 shows a graphic representation illustrating a vertical line screen pattern; and Figure 6 shows a graphical representation illustrating a diagonal line screen pattern. Typically, the image processing architecture of a printing system uses either the functions of screening, thresholding, or error diffusion. For pixels to be thresholded, a modified video signal, V T ', is computed from the pixel video signal V. The modified video signal, V T ', is defined as V T ' = (T + 255-V)/2. In this definition, T is the desired threshold level. It is noted that for T and V between 0 and 255, the computed V' will also be in the range of 0 to 255. For pixels to be screened, a similar modified video signal, V S ', is computed from the pixel video signal V and the screen value S at the pixel location. The modified video signal, V S ', for a screening process is defined as V S ' = (S + 255-V)/2. The screen value S depends on the pixel location as well as the halftone screening pattern being used. It is noted that either a line screen or a dot screen can be used. For pixels to be rendered by error diffusion, the modified video signal is simply the video signal inverted. More specifically, the modified video signal is defined as V ED '= 255-V. In the final step of binarization, all the modified video signals; V T ', V S ', and V ED '; are compared with 128 to determine the ON or OFF characteristics of the pixel. Namely, if the modified video signal is greater than or equal to 128, the pixel should be OFF (black), otherwise it should be ON (white). It is noted that this gives the same result as the more typical approach of comparing the video V itself with the threshold T or the screen values S. In the case of error diffusion, the appropriate error propagated from the previous pixels must be added to V' before comparing with 128 and the error to be propagated to downstream pixels must also be computed afterwards. However, as noted above, it is desirable to screen the video signal at a higher frequency while maintaining the available number of grey levels. To realize this result, the present invention utilizes a screening process prior to an error diffusion process. More specifically, the modified video signal V S ' is first computed utilizing the screening method disclosed above. This computation uses screen values from a small one-dimensional screen cell. After computing the modified video signal V S ', the screened modulated video signal V' is processed by an error diffusion process. In the preferred embodiment of the present invention, this error diffusion process is a high addressability error diffusion process. Figure 2 illustrates a circuit which performs the screening/error diffusion process of the present invention. In Figure 2, an unmodified video or image signal is screened in modulator 1 to produce a modified signal V S ' using the preferred equation of V S ' = (S + 255-V)/2 wherein S is equal to screen values derived from a halftone screen pattern. This modified signal V S ' is fed into adder 5 where the signal is further modified by the addition of an error value propagated from upstream processed pixel locations to produce V S " (V S " = V S ' + e i ). The error component (e FIFO + e FB ) utilized by adder 5 is received from error buffer 7 (e FIFO ) which stores the propagated error and binarization circuit 9 (e FB ). The further modified signal V S " is fed into binarization circuit 9 which converts the multi-level modified signal V S " to a binary output by utilizing an error diffusion/threshold process. Some of the error (e FB ) from this process is fed back directly to the next processed pixel, while the rest (e FIFO ) is stored in the error buffer 7 for processing of pixels on the next scanline. The apportionment of the error is based on weighting coefficients. Any set of coefficients can be used. In the preferred embodiment of the present invention, the weighting coefficients are the coefficients described in EP-A-659,012, published 21/06/1995 and corresponding to U.S. Patent Application Serial Number 08/167,758. In this binarization process, the error that is produced represents the difference between the desired output, the multi-level image data value, and the actual output value which is either 255 or 0 if the multi-level of the image data is represented by 8 bits. This error is diffused, thereby retaining as much grey level information as possible. As noted above, in the preferred embodiment, the error diffusion process is a high addressability error diffusion process; therefore, the screening/high addressability error diffusion process will be explained in more detail below. Initially, the high addressability error diffusion process will be briefly described. In explaining the high addressability error diffusion process, it is assumed that the input grey level at pixel location i and pixel location i + 1 is represented by V i and V i+1 , respectively. The pixel values are assumed to be 8 bit integers wherein, for the sake of explanation, 0 denotes white and 255 denotes black. The rendering error, at the lower resolution, that passes from upstream pixels to the downstream pixel location is denoted by e i . It is noted that a feature of high addressability involves interpolation between pixels, the creation of subpixels. This interpolation impacts the high addressability error diffusion process. More specifically, depending on the way the interpolation is done, distinct outputs can be obtained utilizing a high addressability error diffusion process. One such method of interpolation is as follows. Initially, the modified pixel values P0 i = V i + e i and P1 i = V i+1 +e i are computed. The subpixels are denoted by 0 to N-1 wherein the high addressability characteristic is N=4. The interpolated subpixel values are computed as B n =P0 + n(P1-P0)/N for n = 0 to N - 1. The interpolated subpixel values are then compared with a threshold value which in most cases is 128, assuming that the video value ranges from 0 to 255. If B n is greater than or equal to 128, the subpixel is turned ON; otherwise, the subpixel is turned OFF. The error to be propagated to downstream pixels is computed as the desired output, (P0 + P1)/2, minus the actual output, namely, y*255/N wherein y is the number of subpixels turned ON. The error is then multiplied by a set of weighting coefficients and distributed to the downstream pixels as in the first version. More specifically, the inputted modified video signal is divided into N subpixel units. The P0 and P1 values are computed as noted above. The computed subpixel values are compared with a threshold value, namely 128. If the subpixel value is greater than or equal to the threshold value, the subpixel value is set to the ON state. However, if the subpixel value is less than 128, the subpixel value is set to the OFF state. Upon completing the comparison of all subpixel values, the number of ON subpixels are calculated. Moreover, the error from the threshold process is calculated so that the value represents the original lower spatial resolution. Upon calculating the error, the error is multiplied by weighting coefficients and distributed the error to downstream pixels. The high addressability error diffusion process of the preferred embodiment of the present invention is fully disclosed in EP-A-696,132, corresponding to U.S. application S.N. 08/285,326, filed concurrently herewith. It is noted that when performing the high addressability error diffusion process on the screen modulated video signal, V S ', the black and white levels assumed in a typical error diffusion process need to be modified. The actual modifications are as follows. The conversion from the pixel video signal V to the screen modulated signal V S ' is depicted in Figure 3. For a fixed video signal V, the screen modulated video signal V S ' has values varying between the levels A and B as the screen value S vary between 0 and 255. Thus, the effective white and black values to be used in the error diffusion process or calculation should be, in this example, for the value of white, 64 and, for the value of black, 192. This is different from the typical error diffusion values, where the white value would be V' = 0 and the black value would be V' = 255. The high addressability error diffusion process used in conjunction with the screening process will be further explained in conjunction with Figure 4. In this explanation, the value e; represents the rendering error propagated to the present i-th pixel from the previous pixels. At the i-th pixel location, the subpixel values are given by P0=V S'i +e i =V S " i and P1 = V S ' i+1 + e i = V S " i+1 . The values are used to obtain the interpolated values B 0 to B N-1 , as shown in Figure 4. It is noted that the high addressability factor illustrated in Figure 4 is N = 4. These interpolated values are then compared with 128 to determine the ON or OFF characteristics of the subpixels. If the number of subpixels rendered as black is indicated by n, the current rendering error is given by the desired output minus the actual output, e' i = ((P0 + P1)/2)-64-(n(192-64)/N). In other words, the actual output is defined as the desired output, (P0 + P1)/2)-64, minus the product of the number of ON subpixels and the difference between the black and white reference values divided by the high addressability characteristic. This new error is then multiplied by a set of weighting coefficients and the weighted errors are propagated to the downstream pixels. To determine the ON or OFF characteristics, the subpixel values are processed by a number of comparison steps. An example of the actual architecture of the circuitry used to implement the high addressabilty error diffusion process is disclosed in EP-A-696,130, corresponding to U.S. Patent Application S.N. 08/285,572, filed concurrently herewith. The combined screening and high addressability error diffusion rendering of the present invention can be utilized using a simple vertical line screen pattern as illustrated in Figure 5. Moreover, the present invention can be utilized with a 45° line screen as illustrated in Figure 6. The present invention can also be utilized with a dot screen or a constant screen. In the preferred embodiment of the present invention, a dot screen is utilized in a continuous tone region and a constant screen will be used in a text region to emulate a simple error diffusion process. This creates smoother transitions from window-to-window or from effect-to-effect since the error stored in the buffer will be within the same range for both continuous tone and text regions. No matter what type of screen is used, the present invention is capable of realizing the characteristics of a high frequency screen while maintaining a high number of grey levels available for printing by the printing system. Thus, the present invention reduces the contouring artifacts typically observed with screens of limited grey level and is able to realize such a feature without affecting the typical image processing architecture of a printing system. In describing the present invention, the terms pixel and subpixel have been utilized. These terms may refer to an electrical (or optical, if fiber optics are used) signal which represent the physically measureable optical properties at a physically definable area on a receiving medium. The receiving medium can be any tangible document, photoreceptor, or marking material transfer medium. Moreover, the terms pixel and subpixel may refer to an electrical (or optical, if fiber optics are used) signal which represent the physically measureable optical properties at a physically definable area on a display medium. A plurality of the physically definable areas for both situations represent the physically measureable optical properties of the entire physical image to be rendered by either a material marking device, electrical or magnetic marking device, or optical display device. Lastly, the term pixel may refer to an electrical (or optical, if fiber optics are used) signal which represents physical optical property data generated from a single photosensor cell when scanning a physical image so as to convert the physical optical properties of the physical image to an electronic or electrical representation. In other words, in this situation, a pixel is an electrical (or optical) representation of the physical optical properties of a physical image measured at a physically definable area on an optical sensor. The preferred embodiment of the present invention has been described with respect to a printing system; however, this screening/error diffusion method is readily implemented in a display system. Moreover, the screening and high addressability error diffusion method of the present invention can be readily implemented on an ASIC, thereby enabling the placement of this process in a scanner, electronic subsystem, printer, or display device. Moreover, the present invention has been described with respect to a video range of 0 to 255. However, it is contemplated by the present invention that the video range can be any suitable range to describe the grey level of the pixel being processed. Furthermore, the present invention is readily applicable to any rendering system, not necessarily a binary output device. It is contemplated that the concepts of the present invention are readily applicable to a four-level output terminal or higher. Lastly, the present invention has been described with respect to a monochrome or black/white environment. However, the concepts of the present invention are readily applicable to a color environment. Namely, screening and high addressability error diffusion process of the present invention can be applied to each color space value representing the color pixel.

Claims: A method of generating an error value, comprising the steps of: (a) screening a multi-level grey scale pixel value (P) representing a pixel having a first resolution; (b) thresholding a plurality of interpolated subpixel values (B 0 ,B 1 ,...B n ) associated with the screened multi-level grey scale pixel value (P) , the interpolated subpixel values having a second resolution higher than the first resolution; and (c) generating the error value (e i ) as a result of thresholding the interpolated subpixel values in said step (b), the error value having the first resolution. The method as claimed in claim 1, further comprising the step of: (d) diffusing the error value (e i ) to multi-level grey scale pixel values of pixels adjacent to the pixel being thresholded. A method as claimed in claim 1 or claim 2, wherein step (a) comprises the substeps of: (ai) receiving the multi-level grey scale pixel value (P i ) of the first resolution; and, (aii) screening the multi-level grey scale pixel value. The method as claimed in any of the preceding claims, wherein step (b) comprises the substeps of: (bi) converting the screened multi-level grey scale pixel value to a plurality of interpolated subpixel values; and, (bii) thresholding the interpolated subpixel values. The method as claimed in claim 4, wherein said step (bi) comprises the substeps of: computing a first multi-level grey scale pixel value (P0 i ) ; and computing a second multi-level grey scale pixel value (P1 i ). A system for generating an error value, comprising: screening means (1) for screening a multi-level grey scale pixel value representing a pixel having a first resolution; threshold means (9) for thresholding a plurality of interpolated subpixel values associated with the screened multi-level grey scale pixel value, the interpolated subpixel values having a second resolution higher than the first resolution; and error means (9) for generating the error value as a result of thresholding the interpolated subpixel values, the error value having the first resolution. The system as claimed in claim 6, further comprising: diffusing means (7,5) for diffusing the error value to multi-level grey scale pixel values of pixels adjacent to the pixel being thresholded. A system as claimed in claim 6 or claim 7, the system further comprising input means for receiving the multi-level grey scale pixel value, the multi-level grey scale pixel value having a first resolution. The system as claimed in any of claims 6 to 8, the system further comprising: high addressability means (9) for converting the screened multi-level grey scale pixel value to the interpolated subpixel values. A printing system for rendering marks on a receiving medium, comprising a system for generating an error value according to any of claims 6 to 9, the system further comprising binarization means for binarizing the interpolated subpixel values so as to output a binary signal and an error value, the error value having a resolution equal to the first resolution; and, rendering means for converting the binary signal into a mark on the receiving medium.

Inventors: METCALFE DAVID J, SHIAU JENG-NAN, WILLIAMS LEON C, METCALFE, DAVID J., SHIAU, JENG-NAN, WILLIAMS, LEON C.
Applicants: XEROX CORP, XEROX CORPORATION
Application year: 1995
Main classification: H04N1
IPC codes: G06T5, H04N1