Image improvement after facsimile reception

Abstract: A facsimile printer in which sets of one or two pels contiguous to longer lines of such pels are reduced or eliminated. When reduced, the reduced pels are positioned contiguous to the longer line and are extended one pel on each side where the longer line exists. This reduces scanner errors and significantly improves images. Gray effects from dithering are not significantly affected when the pels are reduced and spread. When the image is graphic or otherwise more random than text scanned in the line and column direction, the correction may be deactivated.

Description: This invention relates to the printing of images scanned at a distant location and transmitted over a communication link to a receiving printer, broadly termed facsimile. Such images are degraded by the scanning process. This invention relates to such applications in which the image is digitized as a bit map at least at the printing station. Such bit maps include bits of information which constitute errors introduced by the scanning. Facsimile systems are now well known, and this invention may be employed with any such system in which the final printing is defined by a bit map and in which the bit map may be modified before printing in accordance with this invention. Modification of bit maps before printing is now well established, both for printers operating from highly accurate bit map data and for facsimile receivers. The modification is to eliminate the stairstep appearance of diagonal lines which results from printing which is applied to fill in certain bit locations and to leave the remaining bit locations entirely blank. Commercially, this modification is often described as enhancing the resolution of the printer. U.S. Patents No. 4,437,122 to Walsh et al and 4,975,785 to Kantor are representative of such enhancement of resolution in printers. U.S. Patents No. 5,060,082 to Matsumoto et al and 5,117,294 to Yano show such enhancement of resolution in facsimile receivers. This invention modifies the bit map of an image to correct errors. U.S. Patent No. 4,646,355 to Petrick et al teaches modification of such a bit map to remove small dots and voids. U.S. Patent No. 5,153,748 to Moyer is to the removal of gaps in such images. U.S. Patent No. 5,151,794 to Kumagai teaches modification of such a bit map by determining a medium value for a group of pels. According to one aspect, the invention provides an imaging apparatus (1) for receiving image data subject to degradation and produce a visual image-based on said image data, said apparatus comprising examining means (17) for examining a bit map of said data, said bit map having lines corresponding to lines of text and lines corresponding to columns of text, correcting means (17) for correcting said bit map in response to the content of said examining means and producing means (5,7,9) for producing said visual image from said corrected bit map, characterised in that: said correcting means is adapted to identify sets of either one or two contiguous pels of the same significance, said sets being either in a horizontal line and contiguous with a horizontal line of pels of the same significance extending at least one pel on at least one side of said set, or being in a vertical line and contiguous with a vertical line of pels of the same significance extending at least one pel on at least one side of said set, said sets being otherwise surrounded by pels of the other significance, and in that said correcting means is adpated either to replace substantially all said sets with pels of the other significance, or to reduce said sets in the same significance, said reduced pels being located substantially contiguous with said horizontal or vertical line with which said set is contiguous. According to another aspect, the invention provides a method of receiving image data subject to degradation and producing a visual image based on said image data, comprising the steps of: examining a bit map of said data, said bit map having lines corresponding to lines of text and lines corresponding to columns of text, and correcting said bit map in response to said examining step and producing a visual image from said corrected bit map, characterised in that said correcting step further comprises the steps of: identifying sets of either one or two contiguous pels of the same significance, said sets being either in a horizontal line and contiguous with a horizontal line of pels of the same significance extending at least one pel on at least one side of said set, or being in a vertical line and contiguous with a vertical line of pels of the same significance extending at least one pel on at least one side of said set, said sets being otherwise surrounded by pels of the other significance, and either replacing substantially all said sets with pels of the other significance, or reducing said sets in the same significance, said reduced pels being located substantially contiguous with said horizontal or vertical line with which said set is contiguous. A facsimile printer employing the invention which prints bit mapped images in resolutions typically at least generally as fine as about 203 horizontal by 98 vertical pels per inch (80 by 39 pels per cm) is modified by logic which eliminates any one and two image pels in a horizontal or vertical line of text in which those pels are bounded by pels in an adjoining line which extends to at least one pel on either side of the one and two pels. Background (non-image) pels may be changed to image pels under the same criterion in applications where incorrect background pels are noticeable. Where the facsimile printer has the capability to print dots or slices spaced closer than the resolution of the bit map, preferably, instead of completely eliminating the one and two pels, they are treated as smaller pels contiguous to the image pels to which they adjoined in the bit map and, further, such smaller pels are preferably spread one pel on each side having image pels in the contiguous line. To achieve this, a neighborhood of pels surrounding each pel is examined by suitable logic, as is common for enhancement of resolution. Accordingly, the foregoing logic can be incorporated into logic to enhance resolution, thereby avoiding a first operation to add or eliminate an image signal at a pel, which is then followed by a second operation in which that pel is modified or not to practice enhancement of resolution. Conversely, the foregoing logic may be independent of enhancement of resolution and is beneficially practiced in printing without enhancement of resolution. Absence of enhanced resolution in printing is less significant as a function of the fineness of resolution of the data bit map. Thus, where basic printing is at resolution finer than 600 x 600 dots per inch (236 x 236 dots per cm), enhancement of resolution may not be important, but restoring or improving the bit map in accordance with this invention remains important. This invention need not significantly interfere with accurate reproduction of dither patterns typically used to create shades of gray. Dither patterns are clusters of dots separated by background which the human eye integrates to perceive shades of gray. Such cluster patterns are not frequently those responded to by the criteria of this invention. Where pels are not removed but are made smaller and spread horizontally, the perceived gray is relatively unchanged because the surface area of the cluster is relatively unchanged. The facsimile printer of this invention preferably can be brought to a second operating mode status under external control to disable this invention. This permits graphic data which may be in any form to be received and printed without modification and also permits the printer to act on data from internally stored fonts or other source which is considered highly accurate. Also, since this invention presumes scanning of the image received in the line and column direction of text, where scanning was at an angle, this invention can be disabled. An embodiment of the invention will now be described by way of example only and with reference to the accompanying drawings, in which: Fig. 1 is illustrative of a facsimile receiver in accordance with this invention, Fig. 2 is illustrative of a data bit map for the letter T having errors to be corrected, Fig. 3 is illustrative of the bit map of Fig. 2 when the correction is made by reducing and spreading the pels, Figs. 4-9 are illustrative of the neighborhoods for which examination results in a set of two image pels being changed to white pels or reduced to one-half size with contiguous pels being added at one-half size, Figs. 10-13 are illustrative of the neighborhoods for which examination results in a single image pel being changed to a white pel or reduced to one-half size with contiguous pels being added at one-half size, Fig. 14 shows as example of logic directly similar for vertical lines, and Fig. 15 is illustrative of the reduction and spreading, rather than the elimination, of changed image pels. Page information is received by the facsimile receiver 1 over a telephone line 3 or other communications link. Receiver 1 contains the imaging apparatus of any suitable printer. Preferably receiver 1 has printer capabilities to print from raster images by electrophotographic methods, as shown illustratively in Fig. 1, including an optical system 5 operative on photoconductor drum 7. Drum 7 transfers image defined by optical system 5 at transfer station 9 to paper 11. The image is fixed, typically by heat, at fixing station 13, and the finished printed page is delivered to output tray 15. Data processor 17 in receiver 1 controls the printing operation as is now highly conventional in electronic printers. Information received on line 3, as well as information created internally, is stored electronically in memory 19 and accessed and used by data processor 17. Data received by receiver 1 very commonly was created at a distant station by scanning a printed page or other imaged page with a scanner. The scanner typically is operated digitally in that it has small light sensors positioned to receive light from a given area of an image, corresponding in size to a data pel, the scanner is then rendered inactive, and moved one pel length and again activated. Scanners are often physically a line of such light sensors, with the output from each received being read out electronically as one line in a data bit map. The scanner very commonly traverses the image scanned oriented in the direction of a line of text and in the direction of a column of text. Significant inaccuracies are interjected by such scanners since a sensor may be over an image area which is partially filled or may be influenced by the image characteristics of surrounding areas. In an extreme, illustrative case the sensor may be just one half over the start of a black image and the scanner may be designed to respond to 50% black. But, of course, the scanner is subject to variations from design within certain tolerances, as is all devices. The sensor may respond to the 50% black image as white, while the adjoining sensor, also over 50% black, responds as black. Similarly, surrounding areas may influence the scanner and a sensor theoretically over white may show black when near a corner formed by black image. As a scanner traverses text oriented to observe in lines parallel with lines of text and with columns of text, typical scanner errors are found to be one or two contiguous pels just prior to or just after a full line of pels. This is independent of resolution of the scanner. Accordingly, the image data transmitted to receiver 1 may have a number of such errors. This data constitutes or is formed into a binary bit map in which a 1 or zero is assigned to each pel of an approximately 203 horizontal by 98 vertical dots per inch (80 by 39 dots per cm) or finer resolution data bit map. The following discussion assumes a 200 x 200 dots per inch (79 x 79 dots per cm) bit map as illustrative. The horizontal direction of the bit map is in the line direction of text and the vertical direction of the bit map is in the column direction of text. In accordance with this invention, this bit map is corrected to significantly improve text images printed. Fig. 2 illustrates the letter T for such a bit map with lines inside the T suggesting pels in a bit map. Corresponding memory locations for those pels would contain a binary 1 for each place shown as a square to indicate black (binary 1, as distinguished from binary zero, being arbitrarily assigned to imaged pels). The T has two contiguous pels 21 at the upper left in a horizontal line with white on each side and black below. The T has one pel 22 at the upper end of its cross with white on both sides and black below. The T has one pel 23 at the middle left in a vertical line with white above and below. The T has one pel 25 near the corner where the horizontal bar of the T crosses the vertical bar of the T which is contiguous to that horizontal bar (this is a typical place for an error pel as the high percentage of surrounding black may influence the sensor; where such an error pel is at the junction of the black corner, this tends to slightly round the image and is tolerable). The T has one pel 27 at a lower end of its cross with white on both sides and black above. In accordance with this invention the two pels 21 in the bit map are changed to 0 (for white) or reduced; the one pel 22 is changed to 0 (for white) or reduced; the one pel 23 in the bit map is changed to 0 (for white) or reduced, the one pel 25 is changed to 0 (for white) or reduced, and the one pel 27 is changed to 0 (for white) or reduced. Pels 21 are reduced or are changed to white because they are black pels in a horizontal line of two pels having black pels in the contiguous horizontal line which extends on both sides of pels 21. Pel 22 is reduced or changed to white because it is contiguous with a horizontal line of black pels which extends on one side of pel 22. Pel 23 is reduced or changed to white because it is contiguous with a vertical line of black pels which extends on both sides of pel 23. Pel 25 is reduced or changed to white because it is also contiguous with a vertical line of black pels which extends on both sides of pel 25. Pel 27 is reduced or changed to white because it is contiguous with a horizontal line of black pels which extends on one side of pel 27. It will be noted that, where the pel is changed rather than reduced, this corrected pel map, which is used for printing, remains in 200 by 200 dots per inch (79 by 79 dots per cm) resolution. Reduction of the pels is preferred when receiver 1 can print in resolution finer than that of the pel map. In that circumstance the reduced pel is printed as a smaller pel (typically one-half full pel size), adjoining the contiguous line which is the basis for reducing the pel and, preferably, one one-half size pel is added on each side of the original pel or pels being changed where the adjoining line has an image pel. This is a recognition that the modified pels are created by the proximity of black during scanning so that printing black on the side toward black may be more accurate than changing the pel to white. Fig. 3 is illustrative of such changes for the bit map of Fig. 2, with the "spread" pel having the number of the pel or pels upon which they are based preceded by "S". (Thus, the set 21 of two pels is the basis for set S21 of four half-size pels). If the printing mechanism of receiver 1 has enhancement of resolution, the actual printing for each pel may be modified to print in subareas of the full pel. That further improves image quality, but that is in addition to and not required for the improvement of image achieved by the correction of bit map errors as just described. Letters in text not having horizontal or vertical lines normally have few errors from scanning. Accordingly, the criterion of this invention does not involve diagonal lines. Figs. 4-14 illustrate the neighborhood of pels examined to determine that the center pel should be changed in accordance with this invention. The X's signify "Don't Care" in the logic of this invention. The pels are stored in memory 19 under control of data processor 17 so that the content of all contiguous pels to the center pel is readily accessed. Although only a 5 by 5 pel neighborhood is needed to practice the preferred embodiment of this invention, a 9 by 9 neighborhood is shown since this neighborhood is examined for enhancement of resolution. Figs. 4-9 are directed to the two pels 21 being changed or reduced. Enhancement of resolution techniques would not eliminate or drastically reduce pels 21. Although enhancement of resolution might modify the pels 21 and adjoining white pels to smooth the abrupt, stairstep appearance, it would be expected to ignore pels 22, 23, 25 and 27 of Fig. 2 since they might constitute fine detail such as serifs on small characters. The two black pels 21 are reduced or changed to white in accordance with this invention in sequence as each of the two pels 21 becomes the center pel (circled in Figs. 4-9) in the neighborhood as illustrated in Figs. 4-9. Although data processor 17 can be programmed to perform this function, preferably this is done by combinational logic (not shown) driven by data processor 17 as that is much faster. Such logic incorporates both the correction of error pels in accordance with this invention and the enhancement or resolution where that is also performed. The logic is simply built to provide the enhancement output which would occur if the center pel were originally of the black or white status to which it is conceptually corrected in accordance with this invention. Enhancement of resolution will not be disclosed in detail. It is now found in commercial printers and shown in various patents and publications, several of which are cited under the heading "Background of this Invention" and forms no necessary part of this invention. Since the criterion of this invention involves only a few configurations, it may be readily incorporated into the logic used for enhancement of resolution. Where the pattern applied to Fig. 4 is the same as logic shown in Fig. 4, a one-pel output buffer for optical system 5 has written to it the modulation required to achieve a one-half size pel if the mode is to reduce the pels. (If the mode is to eliminate black pels, the modulation would be to write white). The pel significance in the memory applied to the neighborhood logic is not changed as the pels advance through different positions. The pel neighborhood is then advanced right to left by one pel. Fig. 5 shows logic which detects the pattern. In response to this logic the output buffer has for the new center pel of pels 21 modulation for one-half size pel or white pel written to it. The pel neighborhood is then advanced right to left by one pel. Fig. 6 shows the logic which detects this pattern. If the mode is to eliminate black pels, the Fig. 6 logic is not incorporated into the overall logic. In the reduce and spread mode, in response to this logic the output buffer has for the new center pel, which is immediately next to pels 21, the modulation for a one-half size pel written to it. The Fig. 7 logic is not used if the mode is to eliminate black pels. Fig. 7 shows the two bit patterns of pels 21 as it appears in the neighborhood logic immediately before that shown in Fig. 4 and the logic which detects this pattern. In the reduce and spread mode, in response to this logic the output buffer has for the center pel, which is immediately prior to pels 21, the modulation for a one-half size pel written to it. Fig. 8 shows logic employed which achieves the same result as Fig. 4 with respect to pels 21, but which is required where the two pels are above the last two pels on the right end of a longer horizontal line. Fig. 9 shows logic employed which achieves the same result as Fig. 5 with respect to pels 21, but which is also required where the two pels are above the right last two pels on a longer horizontal line. Figs. 10-13 illustrates a neighborhood for examination as described with respect to Figs. 4-9 in which a single black pel 30 is changed because it has white on both sides and is contiguous to a line of two black pels 32. Where the pattern applied to Fig. 10 is the same as the logic shown in Fig. 10, the output buffer for the center pel 30 has written to it one-half size pel modulation if the mode is to reduce the pels or white modulation if the mode is to eliminate black. The pel significance in the memory applied to the neighborhood logic is not changed as the pels advance through different positions. The pel neighborhood is then advanced right to left by one pel. Fig. 11 shows the new pattern applied and the logic which detects this pattern. If the mode is to eliminate black pels, the Fig. 11 logic is not incorporated into the overall logic. In the reduce and spread mode, in response to this logic the output buffer has for the new center pel, which is immediately next to pel 30, the modulation for a one-half size pel is written to it. The Fig. 12 logic is not used if the mode is to eliminate black pels. Fig. 13 shows the bit 30 as it appears when there are black pels 34 at its left and below, and the logic which detects this pattern. In the reduce and spread mode, in response to this logic the output buffer has for the center pel, which is immediately prior to pel 30, modulation for a one-half size pel written to it. Fig. 13 shows logic employed to detect a single pel above the last pel on right of the longer lower line of pels 34 (similarly, the Fig. 10 logic detected such a pel when it is above the last pel on the left of a longer line of pels 32.) Fig. 14 shows logic to detect a set of two pels on the left in vertical configuration. The Fig. 14 logic is identical to that of Fig. 4 rotated 90 degrees. The logic for error pels on the left and right side of vertical lines and on the bottom of horizontal line and on the bottom of horizontal line are direct rotations of the logic shown and therefore are not further illustrated. The pel map moves through the neighborhood from right to left as described, so information for vertically adjoining pels is not read to the output buffer until after the amount of pels constituting a full line have been sent to the output buffer. This, however, does not influence the logic of this invention as described. In the reduce and spread mode, the printing mechanism prints at twice the resolution of the bit map. Alternatively, printing of reduced pels can be achieved by modulation where the optical system 5 can print in segments capable of control to print multiple dots or slices in one pel area. In the vertical implementation at twice the resolution a one-half width dot adjoining the next black dot is written in the two corresponding lines of the output buffer. To achieve this, the bit information is passed through the neighborhood logic twice. In the horizontal implementation at twice the resolution a one-half height dot is written in the line adjoining the next black dot and a white dot is written in the other of the two corresponding lines of the output buffer. (Thus, in the Figs. 4-9 implementation, the higher line receives white modulation and the lower line receives black modulation.) To achieve this, the bit information is passed through the neighborhood logic twice. (Where the printing is at the same resolution, a single pass through the neighborhood logic is required and each bit is modulated to achieve the visual effect of the desired size. A very thin slice in the middle of a pel can give the visual effect of a reduced-size pel in the horizontal direction.) Figs. 15 is illustrative of the pels 21 as printed being reduced and spread rather than changed to white. In Fig. 15 the locations of the original pels 21 is labeled 21a to indicate the reduced size, the reduced pel added on one side is labeled 21b and the pel added on the other side is labeled 21c. These are the final pels as printed and are not changed by any contemplated resolution enhancement. White pels can be changed or reduced according to the same criterion as black pels, with "lines" in the criterion being lines of white pels. However, this is not generally important for white pels since black or other imaging material spreads somewhat during application and is generally more apparent than the background color. Either by operation of a control panel switch 20 (Fig. 1) or by control codes in the data received on line 3, the facsimile receiver 1 has the capability of disabling this invention (such disabling would be by a single logical entry into the combinational logic discussed; the status of receiver 1 is still one which prints based on the bit map, which in this status is not corrected in accordance with this invention). When disabled, graphic information received on line 3 which is expected to have angles not found in textual characters can be directly responded to. Also, receiver 1 can print from internal data known to be accurate, such as stored fonts, or otherwise print as a local printer rather than from data received from a distant station on line 3. This invention may be disabled also when material received has been scanned on a diagonal rather than in the line and column directions of text in the material. This invention need not necessarily be disabled to protect dither patterns as dither patterns do not closely correspond to the criterion of this invention. When the reduced and spread modification is employed, virtually all dither gray levels are substantially preserved. Where the receiver 1 operates in much finer resolution, such as 600 by 600 dots per inch (236 by 236 dots per cm), correction criterion need not be changed, since scanning errors are still typically in groups of one and two pels.

Claims: An imaging apparatus (1) for receiving image data subject to degradation and producing a visual image based on said image data, said apparatus comprising examining means (17) for examining a bit map of said data, said bit map having lines corresponding to lines of text and lines corresponding to columns of text, correcting means (17) for correcting said bit map in response to the content of said examining means and producing means (5,7,9) for producing said visual image from said corrected bit map, characterised in that: said correcting means is adapted to identify sets of either one or two contiguous pels of the same significance, said sets being either in a horizontal line and contiguous with a horizontal line of pels of the same significance extending at least one pel on at least one side of said set, or being in a vertical line and contiguous with a vertical line of pels of the same significance extending at least one pel on at least one side of said set, said sets being otherwise surrounded by pels of the other significance, and in that said correcting means is adapted either to replace substantially all said sets with pels of the other significance, or to reduce said sets in the same significance, said reduced pels being located substantially contiguous with said horizontal or vertical line with which said set is contiguous. The imaging apparatus as in claim 1 in which said imaging apparatus (1) comprises means (3,19) for receiving said image data from a distant point. The imaging apparatus as in claim 1 or 2 also comprising control means (20) for bringing said imaging apparatus to a first status in which said visual image is produced from said corrected bit map and for bringing said imaging apparatus to a second status in which said visual image is produced from said bit map not corrected by said correcting means. The imaging apparatus as in claim 1, 2 or 3 in which substantially all of said pels which are replaced or reduced are reduced and one such reduced pel is added on either side of said reduced pels contiguous with the line with which said set is contiguous. The imaging apparatus as preceding claim in which said examining means (17) is adapted to examine said bit map of said data in resolution of at least as fine as about 203 by 98 dots per inch (80 by 39 dots per cm). The imaging apparatus as in any preceding claim in which said received image is digitally scanned data. A method of receiving image data subject to degradation and producing a visual image based on said image data, comprising the steps of: examining a bit map of said data, said bit map having lines corresponding to lines of text and lines corresponding to columns of text, and correcting said bit map in response to said examining step and producing a visual image from said corrected bit map, characterised in that said correcting step further comprises the steps of: identifying sets of either one or two contiguous pels of the same significance, said sets being either in a horizontal line and contiguous with a horizontal line of pels of the same significance extending at least one pel on at least one side of said set, or being in a vertical line and contiguous with a vertical line of pels of the same significance extending at least one pel on at least one side of said set, said sets being otherwise surrounded by pels of the other significance, and either replacing substantially all said sets with pels of the other significance, or reducing said sets in the same significance, said reduced pels being located substantially contiguous with said horizontal or vertical line with which said set is contiguous.

Inventors: OVERALL GARY SCOTT, WRIGHT PHILIP BYRON, OVERALL, GARY SCOTT, WRIGHT, PHILIP BYRON
Applicants: LEXMARK INT INC, LEXMARK INTERNATIONAL, INC.
Application year: 1994
Main classification: H04N1
IPC codes: H04N1, G06T5