Bi-level image display signal processing apparatus

Abstract: An image signal processing apparatus for converting step-gradation density values (I xy ) of successive picture elements to bi-level values (P xy ) for display by a bi-level display device, in which a bi-level error (E xy ) between a bi-level value determined for a picture element and an appropriate density value for the element is apportioned among a set of peripherally adjacent picture elements (A to D) by computing a corresponding set of error apportionment values (G A to G D ), and in which a difference between the sum total of these apportionment values and the bi-level error is derived, and error apportionment is modified such as to eliminate the effects of this difference. Improved reproduction is thereby attained of image regions which are of uniformly high density or low density.

Description: A requirement has arisen in recent years for high-quality reproduction of both printed images and step gradation images (for example an image representing a continuous-tone image as a plurality of step gradation density values) by utilizing a bi-level type of display device such as a gas plasma dot-matrix display which is inherently capable of generating only two levels of display density. This is achieved by generating a spatial gray scale display image. However, problems are presented by the prior art methods proposed for implementing such reproduction. With such a bi-level display device, each picture element generated by the display can be set (e.g. as an element of a dot matrix) in either a light or a dark state. There have been various proposals for implementing pseudo-continuous tone reproduction by such display devices by employing a spatial gray scale, which are based on setting a relatively high proportion of picture elements of the display in the light state within a display region which is to represent a light (i.e. low-density) region of the original image, and a high proportion in the dark state in the case of a dark (i.e. high-density) region of the original image. The most well-known method of providing such pseudo-continuous tone reproduction is the dither technique, whereby a step gradation representation of a continuous tone image is reproduced on the basis of numbers of dots within each of predetermined areas of the continuous tone image, by utilizing a dither matrix. Threshold values of the dither matrix are compared with the level of an input signal, one picture element at a time, to thereby execute bi-level image conversion processing. However this method has the disadvantage that the step gradation reproduction characteristic and the resolution of the image that is obtained will both depend directly upon the size of the dither matrix, and have a mutually incompatible relationship. Moreover with the dither technique, it is difficult to avoid the generation of moire patterns, particularly when printed images are reproduced. A method has been proposed in the prior art which is highly effective in overcoming these problems of the dither method. This is the "error diffusion" method, which has been proposed by R. Floyd and L. Steinberg under the title "An Adaptive Algorithm for Spatial Gray Scale", published in the SID 75 Digest, pp 36-37. The basic principles of the proposed method are as follows. To determine whether a picture element of the input signal is to be displayed at the dark or at the light level in the image generated by the bi-level display device, the corresponding level of the input image signal is compared with a threshold value, and a light/dark decision thereby made. The density value (i.e. completely dark or completely light) which is thereby determined for that picture element will in general be in error with respect to the desired density of that element, i.e. with respect to the density of the corresponding picture element in the original image. This error is referred to in the following as the bi-level conversion error. However with the error diffusion method, the effect of this error are substantially reduced by modifying (in accordance with the value of the error) the respective values of desired density to be subsequently used in processing respective ones of a specific set of picture elements which are positioned peripherally adjacent to the object picture element, and have not yet been processed. This modification is performed by apportioning the value of error obtained for that object picture element among these peripheral picture elements, with the error being apportioned in accordance with predetermined fixed factors. Such factors are referred to in the following as apportionment factors. The term "object picture element" as used herein has the significance of a picture element which is currently being processed, to determine a corresponding bi-level display image value, with data being utilized in that processing which have been obtained beforehand during processing of preceding picture elements. The error diffusion method is superior to the dither method with regard to image resolution and the reproduction characteristic for a step gradation source image, and enables the degree of generation of moire patterns to be made very small even when a printed image is being reproduced. However in the case of reproduction of an image which has only small amounts of changes in density, such as a computer-generated image having areas of extremely uniform density, the error diffusion method produces regions of texture in the reproduced image. This texture is inherent to the error diffusion method, and for this reason the error diffusion method has not been widely adopted. The reason for generation of this texture is that a fixed relationship is continuously maintained between an object picture element and the aforementioned set of picture elements which are disposed peripherally adjacent to the object picture element, and fixed values are also maintained for the respective proportions by which the bi-level conversion error of the object picture element is apportioned among these peripheral picture elements. Furthermore, if it is attempted to produce a practical type of digital computation processing circuit for implementing this prior art error diffusion method, it is found that the sum of the aformentioned error apportionment values which are generated during processing of each picture element is not equal to the corresponding bi-level error which is computed for that picture element. This is due to invevitable inaccuracies which arise in the process of computing these error apportionment values, due to discarding of low-significance bits of certain computation results. As a result, the entire bi-level error is not correctly apportioned among the picture elements which are peripherally adjacent to the object picture element, so that all of the possible step gradation density levels of the input signal cannot be properly reproduced in the final image. This is especially true when the input signal level represents a high value or a low value of image density, and hence the range of step gradation image density values which can be reproduced by the prior art error diffusion method is made narrow. It is a further disadvantage of the prior art is that a plurality of respectively different computations must be executed consecutively in order to process each picture element, so that it is difficult to achieve a high speed of image processing. An apparatus for implementing the error diffusion method described above is known from US-A-4 449 150 or EP-A-0 174 721. It is an aim of the present invention to provide an image signal processing apparatus which overcomes the disadvantages of the prior art error diffusion method described above, and which provides a display image having high resolution and an excellent step gradation reproduction characteristic, with only very small amounts of moire pattern being produced even when the source image is a printed image, and with no texture being generated even in image regions which are of highly uniform density. The present invention relates to an image signal processing apparatus for receiving an input signal comprising successive digital level values each representing a step gradation density level of a corresponding picture element of a source image, to produce a bi-level image signal by sequentially converting these level values to corresponding bi-level values in respective processing steps, with an error between the bi-level value derived for each of the picture elements and a required density level for that picture element being apportioned among a set of peripherally adjacent picture elements which have not yet been processed. According to the present invention there is provided an image signal processing apparatus for sequentially processing input level values representing respective density levels of picture elements to produce corresponding bi-level values, including error memory means for holding an accumulated error for an object picture element in one of a set of memory locations respectively corresponding to said object picture element and to a set of picture elements which have not yet been processed and are peripherally adjacent to said object picture element, input correction means for adding an input level value of said object picture element to said accumulated error for said object picture element to thereby produce a corrected input level value, bi-level conversion means for comparing said corrected input level value with a predetermined threshold value to thereby determine a bi-level value for said object picture element, and difference computation means for obtaining a bi-level error which is a difference between said corrected input level value and said bi-level value determined for said object picture element, and means for generating said threshold value, characterised in that it further comprises error computation means for combining said threshold value with said bi-level error of said object picture element, to derive a compensated error; apportionment factor generating means for generated apportionment factors for apportioning said compensated error among said set of picture elements which have not yet been processed and are positioned at the periphery of said object picture element; and error apportionment and updating means for computing error apportionment values respectively corresponding to said set of picture elements which have not yet been processed and are positioned at the periphery of said object picture element, based on a said compensated error and said set of apportionment factors produced from said apportionment factor generating means, adding said error apportionment values to respective values of accumulated error which have been stored previously at locations in said error memory means respectively corresponding to said set of peripheral picture elements, and storing said respective addition results in said error memory means as updated accumulated error values. With the above configuration, the overall level of density of a reproduced bi-level image can be adjusted, i.e. the displayed image can be made darker or lighter overall as desired, by adjusting the threshold level which is used in judging bi-level values for the picture elements. To ensure accurate operation of the apparatus even when such threshold level variation is executed, the bi-level error of an object picture element is apportioned among peripherally adjacent picture element positions in accordance with a correction error, which is derived by computation using the bi-level error and a factor which is a function of the threshold level. The present invention will be further described hereinafter with reference to the following description of an exemplary embodiment and the accompanying drawings, in which: Fig. 1 is a conceptual block circuit diagram of an embodiment of an image signal processing apparatus according to the present invention; Fig. 2 is a block circuit diagram showing details of essential blocks shown in Fig. 1. Fig. 1 is a general block diagram showing the essential components of an embodiment of an image signal processing apparatus according to the present invention. Numeral 104 denotes an input terminal to which is applied to input image signal I xy consisting of successive digital values constituting respective level values, each representing a step gradation density level of a corresponding picture element of a source image. The input image signal is derived by successively sampling the source image in units of picture elements, i.e. by successively sampling picture elements along each of a successively selected lines of picture elements, each line being aligned in a direction referred to in the following as the x-direction, the lines being successively arranged along a direction perpendicular thereto (referred to in the following as the y-direction), so that each picture element can be defined by x and y-coordinates. The apparatus functions to produce a a bi-level output value P xy in response to each input level value I xy , from an output terminal 106 by sequentially converting the input level values in respective processing steps. The bi-level output values that are thus produced can each represent either of two values, designated as 0 and R in the following, corresponding to a low and a high density (i.e. light and dark state) respectively of a bi-level display image produced on the basis of these bi-level values. An error between the bi-level value derived for a picture element and the density level which is actually appropriate for that picture element (defined as described hereinafter) is apportioned among a set of peripherally adjacent picture elements which have not yet been processed. In Fig. 1, the display coordinates of an object picture element (i.e. a picture element for which image processing is currently being executed to generate a corresponding bi-level output value) are designated as (x,y). Reference numeral 101 denotes an error memory section, used to store values of accumulated error as described hereinafter. Numeral 103 denotes a location in the error memory section 101 in which is stored the accumulated error value for the object picture element, the object picture element position being indicated by the * symbol, and numeral 102 denotes a storage region of error memory 101 containing a set of memory locations respectively corresponding to positiones of a set of picture elements (designated as A, B, C and D) that have not yet been processed and are positioned adjacent to the periphery of the object picture element. Each picture element is processed during an interval of fixed duration, synchronized with a sync signal. The picture element at position A is processed to generate a corresponding bi-level value immediately following processing of the object picture element, i.e. processing of successive picture elements takes place (in the x-direction) from left to right as seen in Fig. 1, and picture element positions D, C and B will be successively processed during scanning of the next line of picture elements, i.e. after one line shift in the y-direction has occurred. Numeral 105 denotes an adder which amends the input signal level I xy by adding thereto an accumulated error S xy (whose value is determined by a combination of accumulated error values as described hereinafter) to produce a corrected input level I' xy for the object picture element, i.e. I' xy = I xy + S xy . Numeral 108 denotes a device such as a comparator, for executing bi-level conversion of the input level I' xy , by comparing the level I' xy with the threshold value TH, to produce as output a bi-level value P xy at the R level if I' xy > TH, and otherwise producing P xy at the 0 level. Numeral 109 denotes a subtractor, for computing a difference between the corrected input level I' xy and the output bi-level value P xy to thereby derive a bi-level conversion error E xy (i.e. E xy = I' xy - P xy ) for the object picture element. The components described above, and their functions, might be envisaged on the basis of the published matter concerning the error diffusion method described hereinabove. The apparatus of Fig. 1 differs from that of the prior art with respect to an error computation section 700, an error apportionment and updating section 710, and an apportionment factor generating section 720, which will be described in detail in the following. The error computation section 700 serves to derive a compensated error H XY by utilizing a factor Kt which is a function a threshold level TH (produced as described hereinafter,) and the bi-level error E xy which is produced from the difference computation section 109, by using equation (11) below: H XY = E xy x Kt(TH) The apportionment factor generating section 720 has two sets of apportionment factors stored therein prior to the commencement of processing, corresponding to a set of picture elements peripherally adjacent to the object picture element,and operates in synchronism with successive picture element processing intervals to select from these sets of apportionment factors a set of apportionment factors KA to KD for apportioning the compensated error H XY among a plurality of picture element positions A to D within the peripheral picture element region 102, and supplies the selected apportionment factors to the error apportionment and updating section 710. Numeral 718 denotes a threshold level adjustment section, which produces the threshold level value TH and which is operable (e.g. by the action of a user of the apparatus) to vary the value TH. Such variation of the threshold level applied the the bi-level conversion section 108 results in corresponding variations the overall density (i.e. overall darkness or lightness) of a bi-level display image which is produced utilizing the bi-level values from output terminal 106. The user can thereby adjust the overall image density as required. The error apportioning and updating section 710 receives the apportionment factors KA to KD and the compensated error H XY of the object picture element, and apportions this error in acccordance with the apportionment factors among the set of peripheral picture element positions of region 102 described above, as respective error apportionment values. The error apportioning and updating section 710 also reads out accumulated errors sa', sc' and sd' (which have been obtained in the processing operation executed for the preceding picture element) corresponding to the picture element positions A, C and B in the region 102, and derives new values of accumulated error S A to S D by using the following equations (1): Updating processing is then executed by the error apportionment and updating section 710, by writing the new values of the accumulated errors S A to S D into the error memory section 101 at locations which respectively correspond to the picture element positions A to D. It would be equally possible to derive the compensated error H XY from the following equation (2): H XY = E xy + (TH - R/2) In the above, R is the maximum value of density level of the bi-level output, i.e. of P xy . Fig. 2 shows specific configurations for the error computation section 700, the error apportionment and updating section 710 and the apportionment factor generating section 720. In Fig. 2, it is assumed that the error computation section 700 functions to derive the compensated error H XY by utilizing equation (2) above. The error computation section 700 performs this computation by utilizing the bi-level error E xy and the difference between the density level R/2 (which is applied to a density level input terminal 213) and the threshold level TH, and outputs the value of H XY thus computed to the error apportionment and updating section 710. The apportionment value computation section 720 includes a memory 1 (721) and memory 2 (722) having respectively stored therein prior to the commencement of image processing two sets of apportionment factors K1A to K1D and K2A to K2D. Apportionment factors are selected from among the contents of memories 721 and 722, to be produced as the set of apportionment factors K A to K D , by a set of four selectors 724 to 727, with the selection thus executed being determined by a selection signal 723a applied from a selection signal generator 723. The selection signal generator 723 is configured such that the selection signal is a random signal, and can for example be implemented as a maximum length counter. Each of the selectors 724 to 727 has two input terminals and one output terminal, and each is controlled by the selection signal 723a for randomly selecting a set of apportionment factors KA to KD from the two sets of apportionment factors K1A to K1D and K2A to K2D in the first and second memories 721 and 204. The apportionment value computation section 720 multiplies each of the apportionment factors KA to KD by the compensated error H XY supplied from the error computation section 760, to thereby produce error apportionment values 711a to 714a. The error apportionment value 711a is then added to the accumulated error S A ' that corresponds to the picture element position A, (the accumulated error S A ' being read out from a location of error memory section 101 corresponding to position A in the peripheral region 102) and the result of this is temporarily stored in an internal register 716a (RA) to be utilized as the accumulated error S xy for the next picture element to be processed in the succeeding processing step. Then, since the accumulated error for the picture element B is first produced during processing of the object picture element, the error apportionment value 712a is temporarily stored (without being altered) as the accumulated error (SB) for the picture element position B, in an internal register 716b (RB). The error apportionment value 713a and the data which were derived during the immediately preceding picture element processing operation and temporarily stored in the internal register 716b (RB) are added together, and the result of the addition is then temporarily stored in the internal register 716c (RC), as the accumulated error value (SC) for the picture element position C. The error apportionment value 217 is added to the data which were derived during the immediately preceding picture element processing operation and temporarily stored in the internal register 716c(RC), and the result of this addition is stored as the accumulated error (SD) for the picture element position D, in a memory location in the error memory section 101 which corresponds to the picture element position D. As a result of this operation of the error apportionment and updating section 710 the only memory accessing which is required for the error memory section 101consists of read-out access corresponding to the picture element A, and write-in access corresponding to the picture element D. Thus, a practical configuration for this embodiment can be easily implemented. With the embodiment of the present invention, as described in the above, the ratios by which the bi-level error of the object picture element is compensated by a factor which is a function of the threshold level, prior to apportionment of the bi-level error. As a result, density adjustment of the reproduced image by variation of the threshold level can be performed to adjust the overall image density of a bi-level display image produced from the output signal of the apparatus, while maintaining satisfactory error apportionment operation.

Claims: An image signal processing apparatus for sequentially processing input level values representing respective density levels of picture elements to produce corresponding bi-level values, including error memory means (101) for holding an accumulated error (S XY ) for an object picture element in one of a set of memory locations respectively corresponding to said object picture element and to a set of picture elements which have not yet been processed and are peripherally adjacent to said object picture element, input correction means (105) for adding an input level value of said object picture element to said accumulated error (S XY ) for said object picture element to thereby produce a corrected input level value, bi-level conversion means (108) for comparing said corrected input level value with a predetermined threshold value to thereby determine a bi-level value (P xy ) for said object picture element, and difference computation means (109) for obtaining a bi-level error (E XY ) which is a difference between said corrected input level value and said bi-level value determined for said object picture element, and means (718) for generating said threshold value (TH), characterised in that it further comprises error computation means (700) for combining said threshold value (TH) with said bi-level error (E XY ) of said object picture element, to derive a compensated error (H Xy ); apportionment factor generating means (720) for generating apportionment factors for apportioning said compensated error among said set of picture elements which have not yet been processed and are positioned at the periphery of said object picture element; and error apportionment and updating means (710) for computing error apportionment values respectively corresponding to said set of picture elements which have not yet been processed and are positioned at the periphery of said object picture element, based on a said compensated error (H XY ) and said set of apportionment factors produced from said apportionment factor generating means, adding said error apportionment values to respective values of accumulated error which have been stored previously at locations in said error memory means respectively corresponding to said set of peripheral picture elements, and storing said respective addition results in said error memory means as updated accumulated error values. An image signal processing apparatus according to claim 1, wherein said error computation means comprises means (702) for generating a factor which is a predetermined function of said threshold value (TH), and for computing said compensated error (H XY ) based on said bi-level error of the object picture element and on said factor, in combination. An image signal processing apparatus according to claim 2, wherein said factor is derived by subtracting from said threshold value (TH) a value (R/2) which is equal to one-half of a maximum value of density level of said bi-level value (P XY ), and wherein said factor is added to said bi-level error to obtain said compensated error (H XY ).

Inventors: KUROSAWA TOSHIHARU, MARUYAMA YUJI, NAKAZATO KATSUO, TAKAHASHI KIYOSHI, TSUCHIYA HIROYOSHI, KUROSAWA, TOSHIHARU, MARUYAMA, YUJI, NAKAZATO, KATSUO, TAKAHASHI, KIYOSHI, TSUCHIYA, HIROYOSHI
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1987
Main classification: H04N1
IPC codes: H04N1