Method and apparatus for improving bit-images

Abstract: A method and apparatus are shown for improving bit-image quality in video display terminals and xerographic processors. In one embodiment, each scan line of a source image is ANDed with the scan line above to remove half-bits and thin halftones. In other embodiments, entire blocks of data are processed by bit- block transfer operations, such as ANDing a copy of the source image with a copy of itself shifted by one bit. Also, a source image can be compared to a shifted copy of itself to locate diagonal lines in order to place gray pixels near these lines.

Description: The present invention relates to a method and an apparatus for improving bit-images in printing and video display devices, and more particularly to a method and an apparatus for thinning bitmap images with parallel bit-block transfer operations. Previously, there have been several methods disclosed to improve bit-image quality. For example, in United States Patent US-A-4,517,604 to Lasher et al., a method for reducing line width variations in bilevel video images is described. In this method, print element (pel) data is scanned into two arrays. The first array is scanned row by row to identify any black or white pel runs. White or black pels in the second array are overwritten with gray pels as a function of the pel runs identified in the first array. The method is then repeated column by column. The resulting second array will have reduced line width variations than in the first array. In United States Patent US-A-4,531,120 to Brownwell, Jr. et al., a method for superposing one graphic pattern on another is described. A computer is programmed to produce contoured intermediate arrays for a dominant graphic. These arrays are used to mask the array of an inferior graphic to produce a partial array. The partial array is DOT ORed with the dominant graphic to produce superposed graphics separated by a background space contoured to the dominant graphic. In United States Patent US-A-4,688,031 to Haggerty, a method of converting color images to monochromatic images is described. In this method, the original background of a character is transformed into a monochromatic color pattern mask and the foreground is transformed into a dark field if the background color is white, or the foreground is transformed into a white field if the background color is dark. In United States Patent US-A-4,780,711 to Doumas, an assumed boundary lines method is shown. In this method, an array of pixels in an image is selected and compared to a plurality of predetermined pixel array patterns. When a match is found, an assumed contour line is determined running through the array. The intensity of the center pixel of the array is chosen based on the angle of the assumed line through the array. In United States Patent US-A-4,851,825 to Naiman, a grayscale character generator and method is shown. A master array is convolved with a filter array to determine the placement of gray pixels. The placement of a gray pixel in a certain area is determined by analyzing pixel data around this area using rectangular windows. A method for the removal of jagged edges in diagonal lines is a process called spatial filtering. In this process, a processor is used to simulate a flying spot scanner. This type of scanner employs a moving spot of light that passes over a document and detects the intensity of the light reflected from the document. As an alternative, the source image can be effectively resampled with each bit in the output being the average value of the area illuminated by a "spot" at a given time. The "spot" is simulated by a spatial filter which comprises a set of values for each bit of the filter. These values can be either identical or computed according to a weighting function. The filter is overlaid on the image at different areas. At each step, an output value is computed from the weighted average of the bits under the filter. This output value is then used to form a new bitmap for output to a device such as a xerographic processor. A problem with this method is that in font processing, for example, the spatial filtering may modify vertical and horizontal lines in characters. Raster scan output devices such as CRTs and printers print vertical and horizontal lines without aliasing, thus modifying these lines may cause a degradation of quality. One of the deficiencies of the aforementioned methods and devices for improving bit-image quality is the amount of processing time and effort required for implementation. Another deficiency in previous methods is their complexity. An object of the present invention is to strive to overcome the aforementioned deficiencies in previous bit-image quality improvement methods and devices. Accordingly, the present invention provides a method for improving bit-image quality in xerographic and video display devices, including generating a source image comprising bit-image data in an image generation unit, characterised by transmitting said source image to a processor as a series of binary data for each successive scan line of the source image; pre-storing in a first shift register in said processor all "on" binary digits, said shift register comprising a series of successive memory locations equal in number to one raster width, whereby each datum bit appearing at an input of said shift register is shifted through each of said successive memory locations to an output of said shift register, each bit in the bit stream received from the image generation unit 7 is shifted into the shift register and ANDed in a logical AND gate with the bit being shifted out of the shift register, said logical AND comparison forming an output binary datum; transmitting said output binary datum to a raster output scanner and converting said output binary datum to an output signal for an output device; and displaying said output signal at said output device. In another aspect of the present invention there is provided an apparatus for improving bit-image quality in xerographic and video display devices, including an image generation unit for generating a source image comprising bit-image data characterised by transmitting means for transmitting said source image to a processor as a series of binary data for each successive scan line of the source image, storing means for pre-storing in a first shift register in said processor all "on" binary digits, said shift register comprising a series of successive memory locations equal in number to one raster width, whereby each bit appearing at an input of said shift register is shifted through each of said successive memory locations to an output of said shift register, means for shifting each bit in the bit stream received from the image generation unit into the shift register and performing a logical AND comparison in a logical AND gate with the bit being shifted out of said first shift register, said logical AND comparison forming an output binary datum, transmitting means for transmitting said output binary datum to a raster output scanner and converting said output binary datum to an output signal for an output device; and display means for displaying said output signal at said output device. Alternatively, subsequent scan lines can be shifted into a second shift register and logically ANDed with the contents of the first shift register. Furthermore, a third shift register can be added so that a bit is not turned off if the bit above and the three adjacent bits below the bit are all off, thus preventing the removal of horizontal lines having the width of a single bit. The process repeats itself until the entire source image has been processed. The resulting image is transmitted as it is being processed to a video display terminal or raster output scanner which converts the resulting image to output signals for an output device such as a xerographic processor. For thinning lines and removing half-bits, the aforementioned method can be modified by first storing at least a portion of the source image in a first memory buffer and logically ANDing that image with a copy of the source image that has been shifted (e.g. one bit to the right, or one bit down). In a different method, the source image can be copied into a second memory buffer. The image in the second buffer is then inverted, shifted one bit upward, ANDed with the source image, and stored in the second memory buffer. The image in the second memory buffer is then shifted to the right one bit, ANDed with the source image, and stored in the second memory buffer. The image in the second memory buffer is then shifted to the left one bit, ANDed with the source image, and stored in the second memory buffer. Finally, the images in the first and second memory buffer are ORed together and transmitted to the raster output scanner. Another method for improving bit-image quality is by detecting diagonal lines and placing gray pixels in adjacent bits. The source image is stored in a first memory buffer, where each pixel in the buffer represents either an on or an off value. The source image is copied into a second memory buffer and a multi-bit per pixel output buffer. Then the image in the first memory buffer is shifted to the right and upward by one bit, ANDed with the image in the second memory buffer and stored in the second memory buffer. The image in the second memory buffer is shifted to the left one bit and ORed with the image in the output memory buffer. If a bit is on in the first memory buffer and its corresponding bit is on in the second memory buffer, then the bit in the first memory buffer remains on. If a bit is off in the first memory buffer and on in the second memory buffer, then the bit in the first memory buffer is changed to an intermediate value. The image in the second memory buffer is shifted one bit downward and to the right and ORed with the image in the output memory buffer. This process anti-aliases diagonals that run from the bottom left to the top right of the source image. The process can then be repeated to anti-alias diagonals that run from the bottom left to the top left of the source image. The present invention has the advantage of correcting bit- images quickly. Also the method of the present invention is simple in nature and can be easily implemented in an image processing system. The present invention will be described further, by way of example, with reference to the accompanying drawings, in which:- Fig. 1 is a block diagram of the image processing system constructed in accordance with an embodiment of the present invention; Fig. 2 is a circuit diagram of a device for ANDing two successive scan lines of an image; Fig. 3 is a graphical representation of the comparison of adjacent bits in a source image according to an embodiment of the present invention; Figs. 4a to e are prints of bitmaps processed with a method in accordance with an embodiment of the present invention; Figs. 5a to d are actual prints of bitmaps and bitmaps themselves for write-black printers; and Figs. 6a to e are graphical representations of bit-images and the logic operations performed on them according to an embodiment of the present invention. Referring to Fig. 1, an image processing system in accordance with an embodiment of the present invention is shown. This system comprises an electronic subsystem ESS 1 and an image output terminal IOT 3, which are common components of an output device such as a xerographic printer. The ESS 1, which is also known as an image processing system, includes an image generation unit 7 coupled to a user interface 5 and a font library unit 9. The image generation unit 7 receives from the user interface 5, or from a memory device, image data encoded in ASCII or any of a variety of coding schemes. This image can be either text or graphics data. The image generation unit 7 converts this image data into binary pixel data in accordance with the appropriate font selected from the font library unit 9. In this embodiment, the image generation unit 7 will generate one bit for each picture element (pixel), therefore, each pixel can be either on or off. The generated image is sent in the form of a bit stream to the IOT 3. The IOT 3 includes a processor 11, a gray-writing raster output scanner or ROS 13, and a bit-image output device, which is a xerographic processor 15, in this embodiment. The output device could also be a video display terminal. The processor 11 is coupled to the image generation unit 7 of the ESS 1. The processor 11 receives the bit stream from the image generation unit 7 and modifies this bit stream by either converting one bit per pixel data to multiple bit per pixel data (for gray writing output devices) and/or correcting bit-errors in the source image. Many fonts add half-bits to vertical and horizontal lines in characters by alternating on and off bits along a line edge. These half-bits tend to blend when printed making vertical and horizontal lines appear wider by one-half the width of a bit. A common problem for write-black xerographic bit-image output devices using write-white fonts is the distinct output of half-bits on line edges (i.e. the half-bits tend not to blend together giving the vertical and horizontal lines a jagged appearance). In write-black printers using write-black fonts, half-bitting can make vertical and horizontal lines too thick. By removing half- bits completely in the processor 11, these errors can be corrected. To perform this procedure the processor 11 includes, generally, a scan line shift register and an AND gate. The sole shift register is first pre-loaded with all on bits and has one memory for each pixel of a scan line. Each bit in the bit stream received from the image generation unit 7 is shifted into the sole shift register and ANDed in a logical AND gate with the bit being shifted out of the shift register. The circuit is shown generally in Fig. 2. When a bit is received from the image generation unit 7, it is ANDed with the bit appearing one raster scan line above it in the source image. This results in a thinning of the image as well as half-bit removal and produces significant improvements in the perceived quality of write-white fonts printed on write-black printers. This method can be modified by including two shift registers of the same length coupled in series. The outputs of each shift register are ANDed together, achieving the same result. Furthermore, This method can be performed in software by using the BITBLT (bit-block transfer) instruction, which will be discussed later. A draw back of the aforementioned circuit is that horizontal lines having a width of a single bit are deleted. To overcome this drawback three scan line shift registers can be used labeled PREV, CUR, and NEXT as shown in Fig. 3a. The PREV register is first pre-loaded with all on bits. Then, the first scan line of bit data from the image generation unit 7 is shifted into the CUR register. The next scan line of bit data is shifted into the NEXT register. Each pixel in the CUR register is ANDed with the corresponding bit in the PREV register. If the bit in CUR is on and the corresponding bit in PREV is off, then the CUR bit is only turned off if the three bits adjacent to the CUR bit in the NEXT register are all off. The configuration of the bits is shown generally in Fig. 3b. Continuously, scan line data is shifted into the NEXT register while the data shifted out of NEXT is shifted into the CUR register. Data shifted out of the CUR register is shifted into the PREV register and the data shifted out of the PREV register is discarded. This method is repeated for each scan line of the source image. After the last scan line has been shifted into the NEXT register, off bits are then shifted into this register, so that the last scan line in CUR can be processed correctly. This process has good results with halftones, causing an overall lightening of the perceived density of the bit-image while preserving the overall tone balance. Referring to Fig. 4a, a sample 300 spi bitmap of a halftoned photograph is shown. In Fig. 4b, the same bitmap is shown after being processed in accordance with the embodiment of the present invention. In Fig. 4c, an actual print is shown of the bitmap of Fig. 4a on a write-white printer. In Fig. 4d, an actual print is shown of the bitmap in Fig. 4a on a write- black printer, and Fig. 4e shows an actual print of the bitmap of Fig.4b on a write-black printer. Write-black printers have the characteristic of enlarging printed pixels compared to write-white printers. Referring to Fig. 5a, a print of the "/" and "0" characters is shown from a write-black printer using a write-white font. In Fig. 5b, a print of the same characters is shown from a write-white printer. The characters in Fig. 5a are noticeably thicker than the characters of Fig. 5b. Also, half-bits in Fig. 5a are quite pronounced. In Fig. 5a, the thickening of lines in the horizontal and vertical direction is noticeably different, specifically, there is a 15 to 20 percent increase in thickness in the horizontal direction and approximately a 1 percent increase in thickness in the vertical direction. In a method in accordance with an embodiment of the present invention, write-white font characters with half-bitting in write-black printers can be corrected. The entire process comprises two calls of the BITBLT (bit-block transfer) instruction which is common in all Xerox D Series computers and other commercially available graphics microprocessors such as the Texas Instruments 34010. The code, in Interlisp-D syntax is as follows: (BITBL T I 0 0 I 0 1 NIL NIL' INVERT' ERASE) The original or source image bitmap should be placed in the I buffer. The BITBLT instruction shifts the bitmap in I one pixel vertically upward and logically ANDs the shifted bitmap in I with itself. The resulting bitmap is placed in I. As seen in Fig. 5c, the bitmap on the right is the result of processing the bitmap on the left using the aforementioned BITBLT instruction. The half-bits appearing along the left and right vertical edges of the character have been removed. Also, the diagonal lines of the character have been reduced in width by one bit. These effects are readily seen in Fig. 5d, which shows the printed characters of the bitmaps of Fig. 5c on a write-black printer. This method slightly reduces the character height and preserves the angles of the diagonal strokes of the character. If additional vertical thinning is desired or if the write- white font does not include half-bitting, the following BITBLT instruction can be performed: (BITBLT I 0 0 I 1 0 NILNIL' INVERT' ERASE) These types of instructions can be used in many different xerographic processors, image-editing workstations, or in electronic reprographic (ER) machines. Because of the simplicity of the procedure, it can be used in relatively small-scale computational devices. The present method works independently of the size of the bitmap and does not require a look-up table or pattern matching. It does, however, require a memory buffer equal in size to the image being processed. If such an amount of memory is not available, the source image can be processed in pieces. The aforementioned method will eliminate horizontal lines having the width of a single bit. To correct this problem the following procedure may be used: (BITBLTI00J) (BITBLTJ 0 0 J 0 1 NIL NIL 'INPUT 'ERASE) (BITBLTJ 0 0 J 1 0 NIL NIL 'INVERT 'ERASE) (BITBLTJ 1 0 J 0 0 NIL NIL 'INVERT 'ERASE) The first BITBLT instruction copies the source image that is stored in I into a temporary buffer J. In the second BITBLT instruction, the bitmap in J is shifted vertically upward by one bit, inverted and ANDed with the original bitmap in J. The resulting image in J includes only edge bits. The third BITBLT instruction shifts the bitmap in J to the right by one bit and ANDs it with the prior contents of J. This removes most of the vertical edge bits in J. In the fourth BITBLT instruction, the bitmap in J is shifted one bit to the left and ANDed with the previous contents of J. This removes any remaining vertical edge bits in J. Now only the single bit horizontal lines in the source image are stored in J. The bitmap in I is processed as mentioned before in reference to Figs. 5c-d. The contents of J can now be ORed with the contents of I, thus restoring any single bit horizontal lines that were removed during the processing of the bitmap in I. A side-effect of the aforementioned process is that the two bits at either end of the horizontal line will be removed. To correct this, the fourth BITBLT routine above can be deleted which will possibly leave extraneous vertical edge bits in the bitmap. Alternatively, a similar type of logic used to identify horizontal lines can be applied to find and extract single isolated bits and horizontal bit pairs. Another problem in bitmap-images for binary output devices is the representation of diagonal lines. An embodiment of the present invention utilizes the BITBLT instruction for adding gray picture elements (pixels) to images for printing on gray writing printers. Referring to Fig. 6a, a simple 2 X 2 bitmap, called I, is shown. The bits in the bitmap are labeled A-D. Any of the bits may be on or off, thus the bitmap could contain a diagonal edge. In accordance with an embodiment of the present invention, to correct the jagged appearance of a diagonal line, any bit that is off in I should be turned to an intermediate value between on and off (i.e. gray) when the two four-connected neighbors of that bit are both on. For example, if A were off and B and C were on, then A should be made gray. The on/off state of D would not effect the changing of A. The method for converting off bits near diagonal lines to gray bits will be described in reference to Figs. 6b to e. First, a copy of I is stored into J as shown in Fig. 6b. All off bits in I represent white pixels while all on bits represent black pixels. As seen in Fig. 6c, the result of this operation is the ANDing of bits B and C in I and placing the result in the lower left bit of J (shown as a "*"). Then, J is shifted to the left by one bit and ORed with I. As seen in Fig. 6d, this operation results in adding gray to bit A of l. If bit A is on, then ORing it with a gray bit leaves A on (i.e. black). If the A bit is off, then ORing this bit with a gray bit changes the bit to gray. Next, J is shifted downward one bit and to the right one bit and ORed with I. As seen in Fig. 6e, this operation results in adding gray to bit D in I. As a result of these steps, if B and C are both on, then A and D will be made gray (if originally white). These steps are then repeated for determining whether B and C should be made gray. Briefly, I is copied into J, and J is shifted one bit to the left and one bit up. I and J are ANDed with the result being placed in J. J is then shifted one bit to the right and ORed with I which results in adding gray to bit B. Then, J is shifted down one bit and to the left one bit and ORed with I which results in adding gray to bit C. If A and D are both on, then B and C will be made gray (if originally white). It should be kept in mind that the use of a 2 X 2 bitmap in the present embodiment is merely a simple representation of a much larger bitmap. If sufficient memory is available, the entire bitmap can be processed simultaneously using the method in accordance with an embodiment of the present invention. Since this method is inherently parallel, it can be implemented in a parallel computer by subdividing the image. Furthermore, the present method could be expanded to provide for multiple gray levels in a bit-image. A sample program, written in Interlisp-D, for adding gray pixels to diagonal lines in accordance with an embodiment of the present invention is listed in the Appendix. An alternative to spatial filtering by integration is geometric filtering. In this approach, the source image is still scanned by a filter, however, the contents of the filter at any given time are treated as the left-hand side of a potentially arbitrary replacement rule. In other words, for any given pattern being considered, the user may specify exactly what bit, or combination of bits should be placed in the output image to achieve the desired effect. This process can be implemented very efficiently in software on machines with hardware or microcode support for block memory transfers (e.g. BITBLT). This process can also be implemented directly into hardware. The above is a detailed description of a particular embodiment of the invention. The full scope of the invention is set out in the claims that follow.

Claims: A method for improving bit-image quality in xerographic and video display devices, including generating a source image comprising bit-image data in an image generation unit (7), characterised by transmitting said source image to a processor (11) as a series of binary data for each successive scan line of the source image; pre-storing in a first shift register in said processor (11) all "on" binary digits, said shift register comprising a series of successive memory locations equal in number to one raster width, whereby each bit appearing at an input of said shift register is shifted through each of said successive memory locations to an output of said shift register, each bit in the bit stream received from the image generation unit (7) is shifted into the shift register and ANDed in a logical AND gate with the bit being shifted out of the shift register, said logical AND comparison forming an output binary datum; transmitting said output binary datum to a raster output scanner (13) and converting said output binary datum to an output signal for an output device; and displaying said output signal at said output device. A method as claimed in claim 1, characterised in that data received from said image generation unit (7) is shifted into a second shift register and the binary datum being shifted out of said second shift register is shifted into said first shift register and performing a logical AND comparison between the binary datum being shifted out said first shift register and said second shift register. A method as claimed in claim 1, characterised in that a second shift register is preloaded with the data for the first scan line of the source image and subsequent data is shifted into a third shift register, whereby each binary datum being shifted out of said third register is shifted into said second shift register and each binary datum shifted out of said second shift register is shifted into said first shift register, and each binary datum in said second shift register is logically compared to a corresponding bit in said first shift register and three corresponding adjacent bits in said third shift register, such that an "on" bit in said second shift register is turned "off" unless said corresponding bit in said first shift register and the three adjacent bits to said "on" bit in said third shift register are all "off". A method for improving bit-image quality in xerographic and video display devices, including generating a source image comprising bit-image data in an image generation unit (7), characterised by transmitting said source image to a processor (11) as a series of binary data for each successive scan line of the source image; storing at least a part of said source image in said processor in a first memory buffer; copying the image data stored in said first memory buffer into a second memory buffer; shifting the image data in said second memory buffer; performing a logical AND comparison between the image data in said first memory buffer and said second memory buffer and forming an output image; transmitting said output image to a raster output scanner (13) and converting said output image to a series of output signals for an output device; and displaying said output signals at said output device. A method as claimed in claim 4, characterised in that in said shifting step, the image data is shifted one bit upward. A method as claimed in claim 4, characterised in that in said shifting step, the image data is shifted one bit to the right. A method as claimed in claim 4, characterised in that in said shifting step, the bit image in the second memory buffer is shifted one bit upward, further comprising: inverting the bit image in said second memory buffer after said shifting step; performing a logical AND comparison between the image data in said first memory buffer and said second memory buffer and forming a first resulting image, and storing said first resulting image in said second memory buffer; shifting the image in the second memory buffer one bit to the right; performing a logical AND comparison between the image data in said first memory buffer and said second memory buffer and forming a second resulting image, and storing said second resulting image in said second memory buffer; shifting the image in the second memory buffer one bit to the left; and performing a logical AND comparison between the image data in said first memory buffer and said second memory buffer and forming a third resulting image, and storing said third resulting image in said second memory buffer; and performing a logical OR comparison between the image data in said first memory buffer and said second memory buffer and forming said output image. A method as claimed in claim 4, further comprising storing in said first memory buffer at least an on, an off, and an intermediate value; copying the image data stored in said first memory buffer into the second memory buffer, said second memory buffer storing at least "on" and "off" values; shifting the image data stored in said second memory buffer one bit to the right and one bit upward; performing a logical AND comparison between the data stored in the first memory buffer and the data stored in the second memory buffer and forming a first resulting image, and storing said first resulting image in said second memory buffer; shifting the image data stored in the second memory buffer one bit to the left; performing a logical OR comparison between the image data in said first memory buffer and said second memory buffer and forming a second resulting image, and storing said second resulting image in said first memory buffer, whereby if a bit is "on" in said first memory buffer and its corresponding bit in said second memory buffer is "on" then said bit in said first memory buffer remains "on" and if a bit is "off" in said first memory buffer and its corresponding bit in said second memory buffer is "on" then said bit in said first memory is changed to an intermediate value; shifting the image data stored in the second memory buffer one bit to the right and one bit downward; performing a logical OR comparison between the image data in said first memory buffer and said second memory buffer and forming a third resulting image, and storing said third resulting image in said second memory buffer, whereby if a bit is "on" in said first memory buffer and its corresponding bit in said second memory buffer is "on" then said bit in said first memory buffer remains "on", and if a bit is "off" in said first memory buffer and its corresponding bit in said second memory buffer is "on" then said bit in said first memory is changed to an intermediate value; transmitting said image of said first memory buffer to a raster output scanner (13) and converting said image to a series of output signals for an output device; and displaying said output signals at said output device. A method as claimed in claim 8, characterised by copying the image data stored in said first memory buffer into a second memory buffer; shifting the image data stored in said second memory buffer one bit to the left and one bit upward; performing a logical AND comparison between the data stored in the first memory buffer and the data stored in the second memory buffer and forming a first resulting image, and storing said first resulting image in said first memory buffer; shifting the image data stored in the second memory buffer one bit to the right; performing a logical dR comparison between the image data in said first memory buffer and said second memory buffer and forming a second resulting image, and storing said second resulting image in said first memory buffer, whereby if a bit is "on" in said first memory buffer and its corresponding bit in said second memory buffer is "on" then said bit in said first memory buffer remains "on", and if a bit is "off" in said first memory buffer and its corresponding bit in said second memory buffer is "on" then said bit in said first memory is changed to an intermediate value; shifting the image data stored in the second memory buffer one bit to the left and one bit downward; performing a logical OR comparison between the image data in said first memory buffer and said second memory buffer and forming a third resulting image, and storing said third resulting image in said second memory buffer, whereby if a bit is "on" in said first memory buffer and its corresponding bit in said second memory buffer is "on" then said bit in said first memory buffer remains "on", and if a bit is "off" in said first memory buffer and its corresponding bit in said second memory buffer is "on" then said bit in said first memory is changed to an intermediate value. An apparatus for improving bit-image quality in xerographic and video display devices, including an image generation unit (7) for generating a source image comprising bit-image data characterised by transmitting means for transmitting said source image to a processor (11) as a series of binary data for each successive scan line of the source image, storing means for pre-storing in a first shift register in said processor (11) all "on" binary digits, said shift register comprising a series of successive memory locations equal in number to one raster width, whereby each bit appearing at an input of said shift register is shifted through each of said successive memory locations to an output of said shift register, means for shifting each bit in the bit stream received from the image generation unit (7) into the shift register and performing a logical AND comparison in a logical AND gate with the bit being shifted out of said first shift register, said logical AND comparison forming an output binary datum, transmitting means for transmitting said output binary datum to a raster output scanner and converting said output binary datum to an output signal for an output device; and display means for displaying said output signal at said output device. An apparatus for improving bit-image quality in xerographic and video display devices, including an image generating unit (17) for generating a source image comprising bit-image data, characterised by transmitting means for transmitting said source image to a processor (11) as a series of binary data for each successive scan line of source image, storing means for storing at least a part of said source image in said processor (11) in a first memory buffer; means for copying the image data stored in said first memory buffer into a second memory buffer; means for shifting the image data in said second memory buffer; means for performing a logical AND comparison between the image data in said first memory buffer and said second memory buffer and forming an output image; means for transmitting said output image to a raster output scanner (13) and converting said output image to a series of output signals for an output device; and display means for displaying said output signals at said output device. An apparatus as claimed in claim 11, wherein said first memory buffer stores at least an "on", an "off", and an intermediate value; means for copying the image data stored in said first memory buffer into the second memory buffer, said second memory buffer storing at least "on" and "off" values; means for shifting the image data stored in said second memory buffer one bit to the right and one bit upward; means for performing a logical AND comparison between the data stored in the first memory buffer and the data stored in the second memory buffer and forming a first resulting image, and storing said first resulting image in said second memory buffer; means for shifting the image data stored in the second memory buffer one bit to the left; means for performing a logical OR comparison between the image data in said first memory buffer and said second memory buffer and forming a second resulting image, and storing said second resulting image in said first memory buffer, whereby if a bit is "on" in said first memory buffer and its corresponding bit in said second memory buffer is "on" then said bit in said first memory is changed to an intermediate value; means for shifting the image data stored in the second memory buffer one bit to the right and one bit downward; means for performing a logical OR comparison between the image data in said first memory buffer and said second memory buffer and forming a third resulting image, and storing said third resulting image in said second memory buffer, whereby if a bit is "on" in said first memory buffer and its corresponding bit in said second memory buffer is "on" then said bit in said first memory buffer remains "on", and if a bit is "off" in said first memory and its corresponding bit in said second memory buffer is "on", then said bit in said first memory is changed to an intermediate value; transmitting means for transmitting said image of said first memory buffer to a raster output scanner and converting said image to a series of output signals for an output device; and display means for displaying said output signals at said output device.

Inventors: DENBER MICHEL J, JANKOWSKI HENRY P, DENBER, MICHEL J., JANKOWSKI, HENRY P.
Applicants: XEROX CORP, XEROX CORPORATION
Application year: 1991
Main classification: H04N5
IPC codes: G09G5, G06T5, H04N1