Multiple spatial channel processing

Abstract: In a multiple spatial channel technique for a digital continuous-tone output quality from an output device having a large, dilute dot channel, referred to as the L (lowpass) channel, and a small, concentrated dot channel, referred to as the N (noisy) channel, two images are computed for the two channels using a matrix of image luminance values (raster). The apparatus comprises channel extractors (120, 130) and respective channel-associated image generators (140, 150). The N and L channel images are formed by eroding sides of edges in the input image which have a contrast above a Darticular threshold.

Description: The present invention relates to digital image processing and, more particularly, to processing digital images using multiple spatial channels. It is possible to develop devices such as printers or displays that have the capacity to produce larger, lower density dots, in addition to the usual variety. Researchers have recently been developing printers that can produce dots with more than one spatial distribution of colorant. One example that is now in common use is a printer that can produce very small dots in addition to dots of the usual size, allowing resolution enhancement (RET). A new alternative is a printer that can produce dots that are larger than the usual size. For example, an experimental ink-jet pen has been developed that can produce two types of dots: small strongly pigmented dots and large dilutely pigmented dots. Researchers have created this device with the hope of reducing the visibility of the halftone pattern in bright image regions. Until now, however, there has been no method that successfully utilizes the new capacity to achieve this desired effect. A simple substitution of the large dilute dots for the small concentrated dots in the highlight areas introduces contouring, and only serves to reduce image quality. Thus, it can be seen that single dot size image processing techniques impose output quality limits upon current multiple dot sized devices, and hinder the use of these devices in many applications. Therefore, there is an unresolved need for a technique that can produce near continuous-tone output quality from a multiple dot size device by overcoming contouring artifacts and thereby producing vastly improved images over techniques that use only a single dot dye. US-A-5,258,854 discloses a method for compensating for electrophotographic printers that create wrongly-sized dots due to erosion or dilation. A multiple spatial channel technique is described as set out in the appended claims that can produce near continuous-tone output quality from an output device having a large, dilute dot channel, referred to as the L (low pass) channel, and a small, concentrated dot channel, referred to as the N (noisy) channel. The new process described here overcomes contouring artifacts and produces vastly improved images over techniques that use only a single dot type. Given a matrix of image luminance values (raster), two images are computer for printing with the two channels of the printer. The two images are computed simultaneously with a two-pass algorithm, one pass horizontally and one pass vertically. The L image channel is computer in the following manner: Initially, the L channel image is set to be equal to the input image. Each adjacent pair of pixels in the original image is compared by calculating an edge contrast strength. If the ratio of the first pixel level to the second pixel level is larger than a threshold, the L channel pixel that corresponds to the second image pixel is set to the first pixel level. On the other hand, if the ratio of the second pixel level to the first pixel level is larger than the threshold, the L channel pixel that corresponds to the first image pixel is set to the second pixel level. This procedure erodes the dark sides of edges that have contrast above the specified threshold. A similar method is used to calculated the N channel image. During the computation of the N channel image, each pixel in the input image is compared to its corresponding pixel in the L channel image. The corresponding N channel image pixel is set to be the ratio of the input image pixel to the L channel pixel. The multiple spatial channel technique is extensible in many ways. It is not necessary for there to be only two channels, multiple sizes of large dilute dots can be employed. It is also possible to combine the multiple channel spatial printing techniques with image resolution techniques. Moreover, the multichannel separation technique described herein can also be used for display, rather than printing. Multiple channel spatial separation has several advantages over the prior art including low noise, low computational expense and low bandwidth requirements. The invention will be readily understood by the following detailed description in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which: Figure 1 is a block diagram illustrating an apparatus for processing and displaying a digital image using multiple sized dots according to the present invention; Figures 2A and 2B are drawings that together illustrate multiple-sized output dots as practiced according to one embodiment of the present invention; Figure 3 is a flow chart illustrating multiple spatial channel processing of a digital image as practiced according to one embodiment of the present invention; Figure 4 is a flow chart illustrating a vertical pass for the multiple channel processing of a digital image as practiced according to one embodiment of the present invention; Figure 5 is a flow chart illustrating a horizontal pass for the multiple channel processing of a digital image as practiced according to one embodiment of the present invention; Figure 6 is a flow chart illustrating separation of a pixel pair into multiple channels for the multiple channel processing of a digital image as practiced according to one embodiment of the present invention; and Figure 7 illustrates a contrast threshold erosion process performed as part of the multiple channel processing of a digital image as practiced according to one embodiment of the present invention. Embodiments of the invention are discussed below with reference to Figures 1-7. Those skilled in the art will readily appreciate that the detailed description given herein with respect to these figures is for explanatory purposes, however, because the invention extends beyond these limited embodiments. Figure 1 is a block diagram illustrating an apparatus for processing and displaying a digital image using multiple sized dots according to the present invention. In Figure 1, digital image 100 is processed by a multiple spatial channel processor 110. Multiple spatial channel processor 110 separates digital image 100 into two (or more) spatial channels. Each of the multiple spatial channels is produced using an image production device suitable for its associated particular spatial channel. The multiple channel images are combined to form an output image. Thus, for the embodiment of Figure 1, the original image is decomposed into two spatial channels by multiple spatial channel processor 110. More specifically, multiple channel processor 110 has two channel extractors, 120 and 130, and respective channel-associated image generators, 140 and 150. For this embodiment, channel extractor 120 extracts an image channel from image 100 that is made up of large, dilute dots. Similarly, channel extractor 130 extracts an image channel from image 100 that is made up of small, concentrated dots. Herein the large, dilute dot channel will be referred to as the L (lowpass) channel, and the small, concentrated dot channel will be referred to as the N (noisy) channel. Figures 2A and 2B are drawings that together illustrate multiple-sized output dots as practiced according to one embodiment of the present invention. A pixel-sized raster grid 200 is shown in Figures 2A and 2B. That is, each small square of grid 200 corresponds to a pixel of digital image 100 of Figure 1. Dot 220 of Figure 2A is approximately the same size as a pixel of grid 200 and is produced at the positional resolution of image 100. Dot 220 is suitable for use as the small, concentrated dots of the N channel. Dot 210 of Figure 2A is smaller than a pixel and is produced at a positional resolution higher than that of image 100. Dots of the size of dot 210 can be used for resolution enhancement, as is known in the art. Thus, dot 210 can fill a gap between dots such dot 220 to form a smooth edge between the larger dots. In contrast to dot 210, dot 230 is larger and lighter than dot 220. Dot 230 is produced the same positional resolution of dot 220, but dot 230 extends further from a pixel-sized square boundary of grid 200 than does dot 220. Dot 230 is suitable for use as a large, dilute dot of the L channel. Dots, such as dot 230, combine together to form dark regions where they overlap. Thus, Figure 2B illustrates that intersection region 240 is darker than portions of the dots 230 that are not part of the intersection region 240. Although the resolution enhancement dot 210 is shown in Figure 2A as being approximately one quarter the size of the N channel dot 220, which is in turn approximately one ninth the size of the L channel dot 230, these particular proportions are not required to practice the present invention. Similarly, the exact shape and distribution of the dots as shown in Figure 2A is not required to practice the present invention. Thus, for example, dot 230 need not be a circular disk, as shown in Figure 2A. Thus, for an alternate embodiment, dot 230 has a Gaussian distribution. For another alternate embodiment, dot 230 is asymmetric. Furthermore, multiple sizes of large dilute dots can be employed, it is not necessary for there to be only two channels. It is also possible to combine the multiple channel spatial printing techniques with image resolution techniques. Moreover, although the description is being presented within the context of dots produced upon a medium such as paper, alternate embodiments are possible. For example, L channel dots can be produced by an inkjet that disperses multiple dots in the manner of a showerhead. Alternately, a two step printing process can be employed wherein the L channel dots are printed upon wet paper, thereby introducing a blur, and then the N channel dots are printed in a second pass after the paper has dried. For yet another embodiment, in a laser printer environment, L channel dots can be produced by a defocused laser beam. The multichannel separation technique described herein can also be used for display, rather than printing. For example, multiple pixels of a display device such as a liquid crystal display device can be ganged together to form L channel dots on the display. Alternately, for a projection display, a first projector can display the N channel and a second projector can be defocused to display the L channel. Figure 3 is a flow chart illustrating multiple spatial channel processing of a digital image as practiced according to one embodiment of the present invention. In Figure 3, it can be seen that the image to process is first retrieved (process 300). The image is then separated into multiple channels using vertical and horizontal passes (processes 310 and 320, respectively). Figure 4 illustrates the vertical pass, Figure 5 illustrates the horizontal pass and Figure 6 illustrates the decomposition into multiple channels during the horizontal and vertical passes. Finally, if desired, the multiple channels are halftoned and edge sharpened (process 330) before termination 340. Thus, given a matrix of image luminance values (raster), two images are computed for printing with the two channels of the printer. The two images are computed simultaneously with a two-pass algorithm, one pass horizontally and one pass vertically. The channels are computed so that N X L = I, where I is the original image. Given a matrix of image luminance values (raster), two images are computed for printing with the two channels of the printer. The two images are computed simultaneously with a two-pass algorithm, one pass horizontally and one pass vertically. The L image channel is computed in the following manner: Initially, the L channel image is set to be equal to the input image. Each adjacent pair of pixels in the original image is compared by calculating an edge contrast strength. If the ratio of the first pixel level to the second pixel level is larger than a threshold, the L channel pixel that corresponds to the second image pixel is set to the first pixel level. On the other hand, if the ratio of the second pixel level to the first pixel level is larger than the threshold, the L channel pixel that corresponds to the first image pixel is set to the second pixel level. This procedure erodes the dark sides of edges that have contrast above the specified threshold, i.e., it is a "contrast thresholded erosion" procedure. A similar method is used to calculate the N channel image. During the computation of the N channel image, each pixel in the input image is compared to its corresponding pixel in the L channel image. The corresponding N channel image pixel is set to be the ratio of the input image pixel to the L channel pixel. The threshold value must be larger than or equal to 1, and can be determined experimentally with the output device. If the threshold is set too small, too much noise will be added to the image. If the threshold is too large, the N channel will be underutilized and the image will suffer from blur. For an alternate embodiment wherein the channels are being used in a projection device, light edge erosion can be performed by using a threshold less than 1. Furthermore, as described previously, the entire original image is buffered locally by initially copying the original image to the L channel image. Alternately, the local buffer size can be reduced by only buffering the original image pixel values being compared during the edge erosion step. Figure 7 illustrates a contrast threshold erosion process performed as part of the multiple channel processing of a digital image as practiced according to one embodiment of the present invention. Figure 7 shows reflectance as a function of direction in space (e.g., along a row or column) wherein there is a contrast transition 700. To produce the desired transition 700 without contrast threshold erosion by supplementing the L channel with the N channel, it would be necessary to add black in region 710 and to add white in region 720. However, this is not possible to add white using a scheme wherein only black dots are added to white paper. The pixel value copying portion of the contrast threshold erosion process has the effect of moving the edge so that the region 730 can be supplemented by black dot. The region 740, on the other hand, does not need to be supplemented by white. Returning now to Figure 4, a flow chart illustrating a vertical pass for the multiple channel processing of a digital image as practiced according to one embodiment of the present invention is presented. The first row of the image to be processed is selected in process 400 and the first pixel pair of the row is selected in process 410. Within the context of the vertical pass of Figure 4, a pixel pair is a pair of contiguous pixels in the selected row. The first pixel pair is selected to be the first and second pixels from one end of the row. The vertical pass decomposition into multiple spatial channels is achieved in process 420 when the pixels within the selected pixel pair are compared and, if necessary, their values are adjusted. In decision block 430 a test is performed to determine whether there is at least one more pixel in the selected row. If there is another pixel in the row, a shift by one pixel across the row is performed in process 460 to form the next selected pixel pair. If there is not another pixel in the row, then a test is performed in decision block 440 to determine whether there is at least one more row in the image. If there is another row in the image, a shift by one row in the image is performed in process 470 to form the next selected row. Processing terminates at terminal 450 when all rows have been processed. Similarly, Figure 5 is a flow chart illustrating a horizontal pass for the multiple channel processing of a digital image as practiced according to one embodiment of the present invention. The first column of the image to be processed is selected in process 500 and the first pixel pair of the column is selected in process 510. Within the context of the horizontal pass of Figure 5, a pixel pair is a pair of contiguous pixels in the selected column. The first pixel pair is selected to be the first and second pixels from one end of the column. The horizontal pass decomposition into multiple spatial channels is achieved in process 520 when the pixels within the selected pixel pair are compared and, if necessary, their values are adjusted. In decision block 530 a test is performed to determine whether there is at least one more pixel in the selected column. If there is another pixel in the column, a shift by one pixel down the column is performed in process 660 to form the next selected pixel pair. If there is not another pixel in the column, then a test is performed in decision block 540 to determine whether there is at least one more column in the image. If there is another column in the image, a shift by one column in the image is performed in process 570 to form the next selected column. Processing terminates at terminal 550 when all columns have been processed. Returning to Figure 6, a flow chart illustrating separation of a pixel pair into multiple channels for the multiple channel processing of a digital image as practiced according to one embodiment of the present invention is shown. The edge contrast strength is calculated in process 600. In decision block 610, a test is performed to determine whether the second pixel is significantly darker than the first pixel of the pair. If the difference exceeds the threshold, then an adjustment to the L and N channel values is made in process 640. In decision block 620, a test is performed to determine whether the second pixel is significantly brighter than the first pixel of the pair. If the difference exceeds the threshold, then an adjustment to the L and N channel values is made in process 650. Processing then terminates at terminal 630. After the two image channels are computed, they are halftoned separately and printed together using the two hardware output channels. For the example, one can use a Floyd-Steinberg error diffusion halftone method (see R.W. Floyd and L. Steinberg, "Adaptive Algorithm for Spatial Grey Scale", SID Int. Sym. Digest of Tech Papers, 36-37, 1975), but other halftone methods will also work. If one so desires, it is also possible to sharpen the halftoned image. For example, for one embodiment, the unsharpening effect of halftoning can be compensated for by means of a presharpening stage. See, for example, R. Ulichney, Digital Halftoning, MIT press, 1987. Typically, the continuous tone (contone) image is edge-enhanced before the halftoning and the presharpening stage utilizes a filtering operation such as the Laplacian filter (see G. Baxes, Digital Image Processing, Prentice-Hall Inc., 1984). Alternately, a sophisticated strategy for reshaping the dots in clustered-dot dithers has been previously described by other researchers. See Rick A. Vander Kam, Ping Wah Wong, "Edge Enhancement for Clustered-Dot Halftones", Hewlett-Packard Laboratories Technical Report, 1994. Furthermore, to improve the sharpness of the N channel, one can use a post-filter for improving halftone image sharpness. This employs a post-filtering method for increasing the high-frequency and edge information of halftoned images. If a contone image is processed by a halftoning algorithm into a binary or multi-level image, some of the high frequency information is lost. However, some of the lost information can be restored by judiciously rearranging some of the halftone picture elements (pixels). The procedure can be applied as a post filter to any halftoned image, and can substantially improve the image quality. Each horizontally adjacent pair of pixels in the contone image are compared with each other. If the difference between their luminance is greater than the threshold, then the corresponding pair of adjacent pixels in the halftone image are compared. If the difference between the halftone image pixels has the opposite sign of the differences between the contone image pixels (e.g., the image changes from dark to light, but the halftone pixels change from light to black), the two halftone pixels are exchanged with each other. The procedure is then repeated in the vertical direction. Multiple channel spatial printing has several advantages over the prior art. A first advantage is that of low noise. Multiple spatial channel printing prints all of the slowly varying image areas with a low-pass device that does not suffer from high frequency noise. This effectively removes common halftone artifacts such as highlight stipple, worms, and other undesirable texture. The noisy, sharp-dot mechanism is restricted for use in areas where there is high frequency image content that requires its use. These areas also provide good visual masking, so the high frequency noise is perceptually suppressed. Additionally, the high-frequency dither pattern is typically placed on a low-frequency background gray provided by the low-pass mechanism. This reduces the contrast of the noise, further reducing its visibility. Another advantage is that of low computational expense. For the L channel, each horizontal and vertical pair of pixels requires one division and two comparisons. A small number of these require the copying of a value from one to the other. The result of the division is stored as the N channel, which then requires no further computation. The two channels can be computed simultaneously. The two outputs can be calculated on a piecewise basis, so that large image buffers are not required. A third advantage is that of a low bandwidth requirement. Multiple spatial channel printing has nearly the perceptual fidelity of continuous tone representations, with only four output states per pixel. This is in contrast, for example, to an original image printed with 256 output states per pixel. In addition, both of the channels have low entropy and are highly amenable to data compression. Even simple compression can greatly reduce the bandwidth requirements of the two channels. Thus, because the L channel is a low pass channel, it can be subsampled without a great loss in signal. On the other hand, the N channel is sparse, lending itself to compression techniques such a run length encoding and decoding. The many features and advantages of the invention are apparent from the written description and thus it is intended by the appended claims to cover all such features and advantages of the invention. Further, because numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the invention to the exact construction and operation as illustrated and described. Hence, all suitable modifications and equivalents may be resorted to as falling within the scope of the invention.

Claims: A device for processing input image data (100) including a plurality of pixel values to produce an output image (180) characterised in that it comprises: a first image processing means (120) for computing first image data based on a comparison of adjacent pairs of pixel values of the plurality of pixel values in the input image, wherein the first image data are determined based on the erosion of sides of edges in the input image data that have contrast above a specified threshold by comparing the adjacent pairs of pixel valuers by calculating an edge contrast strength ratio, wherein the adjacent pairs have an associated first pixel and second pixel, wherein if the ratio of the value of the first pixel to the value of the second pixel is larger than a threshold, the corresponding second pixel of the first image data is set to the first pixel value, end wherein if the ratio of the second pixel value to the first pixel value is larger than the threshold, the corresponding first pixel of the first image data is set to the second pixel value, a second image processing means (130) for computing second image data based on corresponding pixels of the input image and the first image data (220) by comparing each pixel In the input image data to the corresponding pixel in the first image data and setting a corresponding pixel in the second image data to the ratio of the values of the input image data pixel to the corresponding first image data pixel, means (140) for generating large, dilute dots (230) in response to first image data; means (150) for generating small concentrated dots (220) in response to second image data; and means for forming the output image (160) from the dots (220, 230), The device according to claim 1 wherein the first image data are determined based on the erosion of light sides or dark sides of edges in the input image data that have contrast above the specified threshold. A method for processing input image data (100) including a plurality of pixel values to produce an output image (160) comprising the steps of: computing, in a first channel, first image data based on a comparison of adjacent pairs of values in the input image, wherein the first image data are determined based on the erosion of sides, of edges in the input image data that have contrast above a specified threshold by comparing the adjacent pairs of pixel values by calculating an edge contrast strength ratio, wherein the adjacent pairs have an associated first pixel and second pixel; wherein if the ratio of the value of the first pixel to the value of the second pixel is larger than a threshold, the corresponding second pixel of the first image data is set to the first pixel value, and wherein if the ratio of the second pixel value to the first pixel value is larger than the threshold, the corresponding first pixel of the first image data is set to the second pixel value; the first image data for outputting using larger, dilute dots (230): computing in a second channel, a second image data based on corresponding pixels of the input image and the first image data by comparing each pixel in the input image data to the corresponding pixel in the first image data and setting a corresponding pixel in the second image data to the ratio of the values of the input image data pixel to the corresponding first image data pixel, the second image data for outputting using small, concentrated dots (220); forming a composite output image (160) from the first image data and the second image data.

Inventors: SILVERSTEIN AMNON D, SILVERSTEIN, AMNON D.
Applicants: HEWLETT PACKARD CO, HEWLETT-PACKARD COMPANY
Application year: 1997
Main classification: H04N1
IPC codes: H04N1, B41J2, G06T5