Abstract:
A metthod of generating a set of half-tone screens for color printing using a digital computer and an x-y plotter, including the steps of generating and storing a separate and unique screen function matrix for each of the half-tone screens, each matrix comprising a set of light intensity level values in increments going from zero to a maximum, the sequence of numbers being a predetermined pattern that is different for each matrix, gnerating and storing a picture matrix of values representing the pixel portions and desired levels of color intensity of each basic color at the positions in the picture to be printed, creating each screen by dividing each screen area into a plurality of cells, each cell being formed as a binary matrix of elemental areas that are selectively either clear or opaque, assigning one of said converted numerical values from each of said basic colors from said set to each of said cells in the corresponding screens being created; and setting the binary values for the elemental areas within a cell by comparing the converted intensity level value for the particular basic color with each of the values in the associated screen function matrix, the binary value for each elemental area being set to one value or the other depending on whether the intensity level value is greater or less than the compared value stored in the cell function matrix. The screens are positioned to superimpose the basic colors over each other in partially overlapping fashion at the same screen angle. The spots of the color screens are shifted rectilinearly from each other.

Description:
This is a continuation-in-part of application Ser. No. 320,072, filed Mar. 7, 1989, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     The present invention is directed to a method and apparatus for making color prints and more particularly for making half-tone screens for use in color printing. 
     In the conventional half-tone color reproduction process, an original color print or transparency is scanned by a photosensitive device that senses the variations in light intensity at each of the three primary color frequencies, namely, red, blue, and green. The average light intensity level for each primary color for each incremental area (pixel) of the scanned original is quantized and stored digitally. Alternatively, the digital values for red, green, and blue could be from other sources, such as by a programmed computer. This data is then processed to convert the values to the equivalent light intensity levels required to produce the same color from the three primary pigment colors, cyan, magenta, and yellow. It is also desirable to introduce a &#34;black&#34; component in addition to the three basic colors in the processed output data. 
     A set of four screens are produced, using a suitable plotter, from these four sets of values. Each screen, called a half-tone screen, is in the form of a grid. Depending on the printing process, the grid may be in the form of physical openings or in the form of clear areas of a photographic negative. In the half-tone process, the ratio of the area of each opening or clear area to the surrounding opaque area is determined by the required color intensity for the particular pixel of the reproduced image. Each screen is then used to lay down a grid pattern of dots of the associated one of the three primary colors on the color print reproduction. The resulting color print is a reproduction of the original but composed of certain patterns of four dots of varying size. The human eye integrates these dot patterns into the various color tones and detail of the original. 
     One problem with the superposition of multiple grids is the resulting formation of interference bands or patterns, known as the Moire effect. This effect is present whenever sets of parallel lines are superimposed at relative angles to each other. Where the sets of lines cross, they reinforce each other, producing dark bands in the picture. To minimize this effect in the color printing half-tone process, one technique is to place the superimposed grids at precise angles relative to each other, namely, 0 degrees for yellow, +15 degrees for cyan, -15 degrees for magenta, and +45 degrees for black. This solution and ways of implementing grid angle control are discussed in U.S. Pat. Nos. 4,456,924 and 4,499,489. One problem with this technique is that a small deviation from these precise angles produces a noticeable Moire effect. The Moire effect is also minimized if screens are aligned at the same angle. However, this approach has not been considered practical since, when using the same screen geometry, any slight variation in lateral displacement changes the amount of overlap of the dots and this in turn changes the ratio of white area to color area, resulting in noticeable changes in color reproduction. 
     SUMMARY OF THE INVENTION 
     The present invention is directed to an improved method of producing half-tone screens for color reproductions. The screens do not require relative angular rotation to avoid the Moire effect. Instead, a rectilinear transposition of successive halftone screens is used to produce the color reproduction. The shape and relative position of dots in the different separations are chosen to minimize color shifts due to variations in registration at the printing stage. More accurate conversion from the RGB colors to the cyan, magenta, yellow, and black is possible due to a more regular pattern of superposition. In the past this conversion has required a geometrical analysis that is complex and uses some simplifying assumptions and approximations that introduce some deterioration of color quality. The present invention reduces the computational steps required to process the color data. 
     These and other advantages of the present invention are achieved, in brief, by first, for example, optically scanning the color original and measuring the light intensity in a sequence of pixel areas for each of the three primary color frequencies, or otherwise deriving color video data such as by graphic computations of a computer. Using a digital computer, the intensity levels for each pixel are then converted into a set of numerical values representing the corresponding intensity levels for each of the basic colors to be printed, for example, cyan, magenta, yellow, and black. A different screen function matrix is generated and stored in the computer memory for each of the four color screens being created for use in the color reproduction. Each screen function matrix comprises at least one set of all possible numerical intensity level values for the associated color. However, the pattern or positioning of the values within each matrix differs for each color in a predetermined manner. 
     Using a suitable x-y plotter, for example, each screen is created by dividing the screen area into a plurality of cells, each cell corresponding to one half-tone period. Each cell is formed by the plotter as a binary matrix of elemental areas, the plotter creating each elemental area in one of two states, e.g., clear or opaque. The screen function matrices have the same dimensions, i.e., numbers of elements, as the cell matrices, so that each elemental area in a cell has a corresponding intensity level value in the screen function matrix. Each cell of a picture screen is mapped to one or more particular pixel areas of the picture being reproduced. The binary state for each elemental area within a cell is determined by comparing the corresponding intensity level value in the screen function matrix with the stored intensity level values derived from the associated pixel areas. The color reproduction is created from the half-tone screens by positioning the screens during printing to superimpose the color areas of the screens over each other in partially overlapping fashion at the same screen angle. As a result of the arrangement of the screen function matrices, the spot centers of the cells of each screen are shifted rectilinearly with respect to the spot centers of the cells of the other screens. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     For a better understanding of the invention, reference should be made to the accompanying drawings, wherein: 
     FIG. 1 is a block diagram of an embodiment of the invention; 
     FIG. 2 is a diagram showing the form of the data generated by the scanner from an original color picture being reproduced; 
     FIG. 3 is a diagram showing the form of the data after conversion for printing; 
     FIG. 4 is a diagram of screen cell as formed by the plotter; 
     FIGS. 5A-D are sets of diagrams showing examples of the four screen function matrices; 
     FIGS. 6-9 are diagrams of screen cell patterns for each basic color at four different color intensities; 
     FIG. 10 is a diagram showing the superimposed color positions; and 
     FIGS. 11 through 14 are diagrams of a mosaic of adjacent cells of cyan, black, yellow, and magenta screens, respectively, at a color intensity level of 12.5%. 
    
    
     DETAILED DESCRIPTION 
     Referring to FIG.1 in detail, the numeral 10 indicates generally a scanner for receiving the original color picture that is to be reproduced. The original may be a color photograph, for example, either a print or transparency. The scanner may be of any well-known optical scanning device in which the picture is traversed in a raster type pattern by a photosensitive element that detects the level of reflected or transmitted light for each of the primary colors, red, green, and blue. These detected light intensity levels are converted to three electrical analog signals which are connected to an analog-to-digital (A/D) converter 12. In addition the scanner 10 generates two signals x and y which define the pixel position and the scanning line respectively of the scanning element as it moves relative to the picture. The A/D converter 12 is synchronized with the pixel position signal x so that a digital output is generated with each predetermined incremental advance of the scanning element. Thus, the picture is converted by the scanner 10 and A/D converter 12 into a series of picture elements (pixels), the average light intensity in each pixel for each of the three basic colors being a digital value, preferably on a scale of 0 to 1. While a scanner has been shown, the invention is not limited to any particular method of generating the digital color image data. For example, graphical information generated by a computer may be the source of the color image data. 
     The three digitized red, green, and blue output signals R, G and B, together with x and y position signals, are inputted to a digital computer 14. The computer stores the data in memory as a picture matrix, shown by the diagram of FIG. 2. The positions X m ,Y n  in the stored picture matrix correspond to the pixel positions of the scanned original. The three intensity level values R, G, and B for each pixel are stored in the corresponding position in the picture matrix. 
     Once the data for the original picture is stored in the picture matrix, the computer processes the data to convert it to an equivalent set of intensity values for the primary printing colors cyan, magenta, and yellow. The mathematics for this conversion process is well known. See for example &#34;Principles of Color Reproduction&#34; by J.A.C. Yule, Wiley &amp; Sons, 1967, Chapters 10 and 11. At the same time a fourth set of values for black are also preferably computed. The resulting data is stored in a print matrix, as shown in FIG.3, the four intensity level values C, M, Y, and K for each pixel being stored in the corresponding position x, y in the print matrix. 
     The print matrix data is used by the computer to provide control information to a plotter 16 which creates the four half-tone screens 18 required to make the color prints. The plotter is a conventional high resolution x-y plotter. Depending on the type of screen, the plotter printing element or stylus may be a laser beam, an ink jet, or other device capable of producing, on command, a contrasting dot in an elemental area on whatever medium the screen is being formed. The stylus can be positioned by x-y coordinate digital input signals at any selected incremental area within the plotting range. The screens may take a variety of forms depending on the particular printing process employed, such as a photographic negative. Once created, the screens are used in a conventional printer 20 to produce a color image on display surfaces such as sheets of paper or photographic color prints. 
     The command signal for the stylus and the position control signals for the plotter are produced by the computer in the following manner. Referring to FIG. 4, the screen 18 being created is divided logically into cells 22, each cell corresponding to one half-tone period of the screen. The cell size (CS) depends on the definition of the printing process. For example, printing on newsprint provides relatively poor definition and therefore the size of a cell can be relatively large. The cell size is also limited by the elemental size (ES) of the plotter stylus. The more plotter dots within a cell, the better the color range of the reproduced prints. If the cell size is the same as the size of an elemental area (element size), for example, no half-tones can be reproduced. Preferably the cell size should be at least eight times the elemental area so that one cell includes sixty-four elemental areas. A plotter dot or elemental area, indicated at 24, has a physical dimension ES that is fixed by the minimum spacing resolution of the particular plotter used. The cell size CS is an integral multiple n of the plotter elemental area size ES. Each cell therefore consists of an n×n binary matrix of elemental areas or plotter dots 24. In the example shown, n=8. 
     According to the present invention, the plotter is controlled by the computer to lay down a unique pattern of dots within each cell for each of the four half-tone screens needed to print a reproduction. The pattern varies from cell to cell to satisfy the half-tone or color intensity level requirement of each cell. At the same time the patterns are designed to minimize overlap of individual colors when the screens are superimposed. To this end, the computer stores a set of four screen function matrices 26. The dimensions of these matrices correspond to the dimensions of the cell matrix, namely, an n×n matrix. Each position in the screen function matrices, therefore, has a corresponding plotter dot (elemental area) position 24 in a cell. The computer stores a different value at each position in a screen function matrix, taken from a set of values representing all the levels of color intensity on a scale of 0 to 1. The number of increments into which the intensity scale is divided is equal to the number of positions in the matrix, namely, n×n. Referring to FIGS. 5A-D, four screen function matrices 26 are shown by way of example, one for each of the four basic colors, cyan, magenta, yellow, and black. In the figures, the numbers of the positions of each increment on the intensity scale are shown in place of the actual intensity level values. 
     Once the screen function matrices are computed and stored, the computer controls the plotter to advance the stylus from one elemental area to the next in a predetermined sequence. At each position, the computer issues a binary control signal to the stylus to either activate the stylus or not. The binary control signal is set by comparing the required color intensity level value for the particular half-tone period or cell as derived from the print matrix (see FIG. 3), with the intensity level value stored in the screen function matrix for the particular stylus position (elemental area) within the cell. For example, only if the required color intensity level is greater than the value derived from the screen function matrix will the computer activate the stylus to form a dot (or not activate the stylus depending on the particular printing process). FIGS. 6-9 show the plotted dots in a cell for each color at four different levels of color intensity. 
     Every cell has at least one pixel of the scanned original, as stored in the computer, associated with it. There does not have to be any one-to-one correspondence between the pixels and the cells, although this special case simplifies an understanding of the invention. Mapping between the pixels and the cells is controlled by the computer so that a pixel color intensity level value is assigned to each elemental area of the plotter. The same pixel value need not be assigned to every elemental area within a cell. Thus the mapping may vary depending on the relative size of the printed picture relative to the size of the original. For example, if a large magnification of picture size is required, it is obvious that a single pixel of the original picture may be used to control the color intensity of a number of cells or half-tone periods. The number of pixels generated by the scanning process is to a degree independent of the number of cells in the printing process, the number of pixels being determined by the size (SS) of each pixel relative to the size of the original being scanned. Thus, as shown in FIG. 4, the cell boundaries do not necessarily coincide with the pixel boundaries, so that one cell may involve the intensity values from more than one of a group of adjacent pixels or one cell may involve the intensity values from one pixel with a rectilinear shift between pixel boundaries and cell boundaries. Alternatively, the intensity value of a single pixel may be used to control the plotter in more than one cell. 
     Referring again to FIG. 5, a set of screen function matrices for the four colors, cyan, magenta, yellow, and black, is shown for a cell formed, for example, as an 8×8 binary matrix of plotter elemental areas. As noted, the dimensions of the binary matrix are fixed by the ratio of the required cell size to the size of the elemental area produced by the particular plotter. The intensity level numbers stored in each matrix are arranged in a predetermined pattern of positions which produce unique color patterns in the screen cells. The predetermined positional patterns are different for each matrix, as illustrated in FIGS. 5A through 5D. FIGS. 6-9 illustrate the color patterns generated for each of the four colors at each of four color intensity levels, namely, at 12.5%, 37.5%, 50% and 81.8% color intensity, respectively. 
     The relationship between the screen function matrices for the four colors may be expressed as follows. Let V 1  (i,j) be the basic matrix for cyan, with i,j=0,1, . . . n. Assuming n is an integral multiple of four, then 
     
         (black) V.sub.4 (i,j)=V.sub.1 (i, (j+n/2) mod n) 
    
     
         (magenta) V.sub.2 (i,j)=V.sub.1 ((i+n/4) mod n, (j+n/4) mod n) 
    
     
         (yellow) V3 (i,j)=V.sub.2 (i, (j+n/2) mod n) 
    
     where &#34;mod n&#34; stands for modulo n. If n is not a multiple of four, analogous transformations become more complex in their mathematical definitions. 
     A significant aspect of the present invention is that not only do the screen function matrices produce different patterns for each color, each cell for each color has two distinct and separate color areas, i.e., spots and these two color areas are located differently for each of the four colors. In the preferred embodiment shown, the arrangement of numbers in the screen function matrix shown in FIG. 5A for the color cyan produces two color areas in a screen cell (see FIGS. 6-9) that are approximately centered in two diagonal quadrants of the cell, while the arrangement of numbers in the screen function matrix shown in FIG. 5D for black produces two color areas approximately centered in the other two diagonal quadrants of the cell. The numbers in the function screen matrices for magenta and yellow respectively approximately center two color areas respectively at the centers of two adjacent boundaries of the cell, and at the center and one corner of the cell. To produce the half-tone color image, printer 20 positions the four screens 18 in registration with each other vis-a-vis the display surface, e.g., sheet of paper or photographic color print film. Accordingly, the individual elements and corresponding cells of all four screens and, thus, the screen function matrices of all four colors, are aligned with each other as their color separation images are transferred to the display surface. For example, in the screen function matrices, position 25 in FIG. 5A corresponds to position 60 in FIG. 5B, position 7 in FIG. 5C, and position 36 in FIG. 5D. In other words, the screens are all positioned during printing so the color areas thereof are superimposed on the display surface at the same angle to produce the four color, half-tone image, and the color areas appear on the display surface in partially overlapping fashion, i.e., the color areas produced by the different screens overlap at large color intensity levels. When the color areas produced by the screens are superimposed, the centers of the color areas for all four basic colors are arranged in the pattern shown in FIG. 10. The centers of the two color areas are called hereafter &#34;spot centers&#34; because as the color intensity level increases, the spots grow in size from the centers until they eventually merge to form a single spot above a 50% color intensity level. As illustrated, the spot centers are arranged in non-overlapping fashion as far as possible from each other to minimize the overlap of the superimposed colors at higher color intensity levels; the vertical and horizontal distance between adjacent spot centers is less than the diagonal distance between spot centers. The spot centers for cyan, magenta, yellow, and black are represented in the drawing, respectively, as squares, triangles, circles, and hexagons to distinguish them from each other. As used herein, the term &#34;dot&#34; refers to one colored elemental area. In this sense, the cell patterns of FIGS. 6 to 9 are made up of dots. The term &#34;spot&#34; refers to the collection of contiguous dots that form a color screen pixel. 
     It will be noted that, with increasing color intensity, the pattern of numbers in the screen function matrices produces expanding areas of color in the cells by causing additional contiguous elemental areas to be added to each of the two color areas. In the case of magenta and yellow, because the color areas are centered on the boundary of the cell, the color areas expand into the adjacent cells so more than two color areas lie within the boundaries of the cell. FIG. 10 shows a mosaic of cells of the four superimposed screens, and the boundaries of one of the cells within a square outline 30. The center of the color areas for cyan and yellow are located at equally-spaced interspersed positions along a first diagonal A, while centers of the color areas for magenta and black are located at equally-spaced interspersed positions along a second parallel diagonal B parallel. Diagonals A and B are equally spaced throughout the superimposed screens. (The centers of the color areas could also be viewed as being located along parallel diagonals that are orthogonal to diagonals A and B.) This arrangement insures the maximum spacing and minimum overlap between the color spots produced by the four screens. While a diagonal orientation, i.e., 45 degrees to the horizontal of the color dots is preferred for best visual results, arrangement for the lines A and B at other angles is equally possible. In any case, the screens are positioned during printing so the spots on the display surface transferred from the four screens are superimposed on each other at the same angle and the spot centers of all the colors are therefore arranged at the same angle, as illustrated in FIG. 10. In the preceding discussion, the primary printing colors have been assigned to specific screen matrices by way of example. In practice, this assignment can be arbitrarily changed. 
     FIGS. 11 through 15 represent a mosaic of adjacent cells of cyan, black, yellow, and magenta screens, respectively, at a color intensity level of 12.5%. As illustrated, all the spots for magenta and half the spots for yellow cross cell boundaries. By comparing the cell boundaries in FIGS. 11 and 12, it is apparent that, in effect, the spot centers of the black screen are shifted horizontally 50% from the cell spacing relative to the spot centers of the cyan screen. (Alternatively, they can be viewed as shifted vertically 50%.) By comparing the cell boundaries in FIGS. 12 and 13, it is apparent that, in effect, the spot centers of the yellow screen are shifted horizontally 25% and vertically 25% for the cell spacing relative to the spot centers of the black screen. By comparing the cell boundaries in FIGS. 12 and 14, it is apparent that, in effect, the spot centers of the magenta screen are shifted horizontally 25% and vertically 25% from the cell spacing relative to the spot centers of the black screen, but in the opposite direction from the yellow screen. By comparing the cell boundaries in FIGS. 13 and 14, it is apparent that, in effect, the spot centers of the magenta screen are shifted horizontally 50% from the cell spacing relative to the spot centers of the yellow screen. (Alternatively, they can e viewed as shifted vertically 50%). 
     Attached hereto as Appendix A is a source code listing of a program in &#34;C&#34; language and as Appendix B a source code listing of a program in POSTSCRIPT language for execuation with POSTSCRIPT that may be installed in computer 14 to perform the described operations. ##SPC1##