REPRODUCTION OF COLOURED IMAGES

Abstract: A method and apparatus for reproducing a coloured orignal image represented by first signals defining the colour content of pixels of the original image in terms of a first set of colour components (C, M, Y). The coloured original image is reproduced using at least two separations representing respective colour components (C₁, M₁, Y₁; C₂, M₂, Y₂) of a second set which is different from the first set. The colour components (C₁, M₁, Y₁; C₂, M₂, Y₂) of the second set are ranked in order of similarity to each pixel (C p , M p , Y p ) and a value is selected for the highest ranked colour component (C₂, M₂, Y₂) for which each of the first set of colour component values (C, M, Y) defining said selected colour component (C₂, M₂, Y₂) does not exceed the corresponding pixel values. The pixel values are then adjusted to take account of the select value of the colour component (C₂ , M₂, Y₂) of the second set. The process is then repeated for each of the remaining colour components (C₁, M₁, Y₁) of the second set in the order of ranking.

Description: The invention relates to methods and apparatus for reproducing coloured images. Colour printing is normally carried out by making a set of individual black and white colour separation transparencies, each having density values corresponding to the values in the original of the colour component which the separation represents. It is customary to produce colour separations from the red, green and blue components and to use these to make colour printers which are used to print images in cyan, magenta and yellow respectively, these colours being complementary to the red, blue and green of the filters. Colour correction is carried out before the colour printers are produced to compensate for various process non-linearities and also for the fact that the cyan, magenta and yellow printer inks are not exactly complementary in colour to the red, green and blue filters. It is sometimes required, in the printing of the final image, to include one or more inks of different colours (non-process inks) from the colour components used to represent pixels of the original image. An example of such a special colour is brown. In EP-A-0184289 we describe a method and apparatus for producing a colour separation for a colour component other than those used to define an original image. When this process is extended to the extraction of two or more special colours from an image, the same special colour is always extracted first up to a certain limit followed by the next colour. In certain circumstances, this can suffer from certain drawbacks. For example, with a CMY image with a predominantly red area, if brown was extracted first, then brown would be extracted from the green areas also leaving a large residual CMY. Similarly if green (another special colour) was extracted first, then green would be extracted from brown areas leaving a large residual CMY. In accordance with one aspect of the present invention a method of reproducing a coloured original image represented by first signals, defining the colour content of pixels of the original image in terms of a first set of colour components, in which at least two separations are prepared representing respective colour components of a second set different from the first set the method comprising for each pixel of the original image the steps of i) ranking the colour components of the second set in order of similarity to the pixel of the original image; ii) selecting a dot size value for the highest ranked colour component of the second set for which each of the first set of colour component values defining said selected colour component does not exceed the corresponding pixel values; iii) extracting the selected colour component values (C₂, M₂, Y₂) of the second set from the pixel values; and, iv) repeating steps ii) and iii) for each of the remaining colour components of the second set in the order of ranking. In accordance with a second aspect of the present invention apparatus for reproducing a coloured original image represented by first signals defining the colour content of pixels of the original image in terms of a first set of colour components, the coloured original image being reproduced using at least two separations representing respective colour components of a second set different from the first set comprises means for ranking the colour components of the second set in order of similarity to each pixel of the original image; means responsive to the values of each pixel to select a dot size value for each ranked colour component in turn for which each of the first set of colour component values defining the corresponding ranked colour component does not exceed the corresponding pixel values of the original image; and means for extracting for each colour component of the second set in order of ranking the selected colour component values of the second set from the pixel values. With this invention, a much more flexible system is proposed in which the colour component of the second set which is removed first from a pixel is selected in accordance with its similarity with the pixel. Thus, in the example given above, where the special colours concerned are brown and green, the brown component would be removed or extracted first in brown areas and the green component in green areas. Further advantages of the method are that it minimises the inks required, which results in cost savings, while better image quality is obtained since the ink used will be better matched to the colour being reproduced than hitherto. Typically, the first set of colour components will comprise cyan, magenta, and yellow and possibly also black. The method may further comprise an initial step of storing values defining at least the characteristic elements of curves which respectively represent the colour components of the second set in terms of colour component values of the first set. There is a large variety of ways in which the similarity between a pixel colour and the special colours could be determined. In one simple example, a decision tree may be generated based on the relative proportions of the different colour components of the first set in each pixel. In a more sophisticated arrangement where there are two colour components in the second set, step ii) may comprise determining the proportions of each colour component of the second set to extract from the pixel values by constructing a triangle in colour space whose apices are defined by respectively the pixel colour and the closest matches of the two colour components of the second set to the pixel colour, the proportions being defined by the lengths of the portions of a line joining the apices defined by the colour components of the second set divided by a perpendicular dropped from the other apex. The closest match of each component of this may be achieved by determining the composition of the colour component which, when extracted from the original pixel colour, causes one of the pixel colour components to fall to zero. The ranking of the colours may be achieved by comparing the distances in colour space to the pixel position of each special colour component. Ideally the ranking should be done in a uniform perceptual colour space in which equal distances corespond to an equal perceptual change. In some cases, it may be desirable after extracting the second colours to determine to which second colour the residual pixel colour is most similar, and extracting that second colour until a pixel colour component is zero. In order that the invention may be better understood, some examples of methods and apparatus according to the invention will now be described with reference to the accompanying drawings, in which:- Figure 1 shows curves of yellow, magenta, and cyan values corresponding to different values of a special colour separation; Figure 2 is a block diagram of one example of apparatus for carrying out the invention; Figure 3 illustrates a decision tree for use by the apparatus shown in Figure 2; Figure 4 illustrates a colour cube; and, Figure 5 illustrates an alternative method for determining the proportions of special colours to be used. The special colour shown in Figure 1 is a brown which, for a 50% brown dot size, is defined by 30% yellow, 20% magenta, and 15% cyan. As shown by the curves, these percentage values are not maintained throughout the range of brown dot sizes (0-100%). The reason for this is that inks are not simply additive, colour intensity varies non-linearly with ink thickness and dot percentage is not linear with density. Values representing the curves shown in Figure 1 (or at least characteristic elements of these curves) are stored for each special colour for comparison with the yellow, magenta and cyan values obtained for each pixel of the coloured image to be reproduced. One example of the method and apparatus will now be described with reference to Figures 2 and 3. Consider an original image pixel having values C:90%, M:70%, and Y:30%. It is assumed that the special colours are green and red respectively. Initially signals representing the colour component values of the pixel are fed to a comparator 1 which compares the colour component values of the incoming pixel to determine the component with the highest value. In this example, the component is cyan. In accordance with the decision tree of Figure 3, this guides the decision along an arm 2 of the tree. The next highest colour component is determined which, in this case, is magenta and in accordance with the decision tree, this guides the decision along a subsidiary arm 3. Thus the decision tree indicates that in this example 100% of special colour 1 (green) may be extracted and 0% of special colour 2 (red). This decision is passed from the comparator to a special colour store 4 in which curves similar to those in Figure 1 are contained. Typically, the store 4 may be in the form of a look-up table which is addressed by the signal from the comparator 1. Cyan, magenta and yellow values corresponding to 100% of special colour 1 are fed to a subtractor circuit 5 which then subtracts these values from the original pixel values which are also fed to the subtractor 5. In addition, a special colour signal is fed to a special colour additivity correction circuit 6. The residual colour component values of the pixel are fed to an additivity correction circuit 7 which corrects these values in a conventional manner and then the values are fed back to the subtractor circuit 5 to enable a further special colour separation to be generated corresponding to special colour 2. Of course, in the present example, since the decision tree indicated that 0% of special colour 2 was appropriate, no further change occurs and the original output signals from the additivity correction circuit 7 will constitute the final colour component values. The signals from the correction circuits 6,7 can then be used to control an exposing laser beam in a conventional way to generate the colour separations. Although in the present example the original pixel is represented by just three colour components, in other examples the pixel ontent may be represented by four colour components: cyan, magenta, yellow and black. If the decision tree led to one of the intermediate combinations such as 75% special colour 1 and 25% special colour 2 then the comparator 1 would address a different portion of the special colour store 4 in order to extract colour component values corresponding to 75% special colour 1 and up to 25% special colour 2 in turn. The method described in connection with Figure 3 provides a relatively coarse selection for the colour components. An alternative method for determining the proportions of each special colour to use will now be described with reference to Figures 4 and 5. Figure 4 illustrates a colour cube whose axes correspond to the percentages of cyan, magenta, and yellow respectively. Other conventional forms of colour cube could also be used, for example a colour cube where the axes represent luminance, saturation and hue. In this method the location of the closest or exact match of special colour 1, defined by a point with coordinates C₁, M₁, Y₁, and special colour 2 defined by a point having coordinates C₂, M₂, Y₂, is determined. This is achieved by successively extracting equal increments of special colour 1 (0%, 1% etc) in terms of the cyan, magenta and yellow components from the pixel colour, until a first one of the pixel colour components falls to zero. The cyan, magenta and yellow values of that form of the special colour 1 then define the point C₁, M₁, Y₁. This process is repeated to determine the point C₂, M₂, Y₂. The incoming pixel is represented by a point having coordinates C p , M p , Y p . A plane is then constructed in colour space which passes through these three points which define a triangle with sides x, w₁, w₂ (Figure 5). A perpendicular is dropped from the pixel point to the line joining the two special colour points and then the lengths of the two sections of the line with length x are then determined (x₁, x₂) using Pythagoras theorem. This gives: The proportions (P₁, P₂) of special colour 1 and special colour 2 to extract are then given by P₁ = x₂/(x₁ + x₂) P₂ = x₁/(x₁ + x₂) Consider the following example in which the original pixel components and exact matches of the special colours have the following values as set out in Table 1 below. C M Y % Special Colour Special Colour 1 25 28 20 34 Special Colour 2 0 18 70 56 Pixel 25 70 70 In this example, special colour 1 represents a dark brown, special colour 2 a warm yellow, and the pixel is a brownish-red. The values of x, w₁, w₂ are determined using the formulae above which, in this example, yield: x₁ = 36.6 x₂ = 20.2 p₁ = 0.355 p₂ = 0.645 Since P₂ > P₁, special colour 2 should be extracted first, up to a value determined by the exact match percentage (56%) multiplied by the proportion of special colour 2 to be extracted i.e, 56 x 0.645 = 36%. This corresponds to cyan, magenta and yellow components to be extracted of C:0%, M:11%, Y:40%. After extraction (and ignoring non-linear effects), this leaves residual pixel colour components of C:25%, M:59%, Y:30% which is then extracted into special colour 1. Having extracted the two special colours, it may be that two of the process colour components of the residual pixel colour are non-zero. In general the smaller of these quantities can be ignored leading to the generation of three colour separations corresponding to the two special colours and the remaining process colour.

Claims: A method of reproducing a coloured original image represented by first signals, defining the colour content of pixels of the original image in terms of a first set of colour components (C, M, Y), in which at least two separations are prepared representing respective colour components (special colour 1; special colour 2) of a second set different from the first set the method comprising for each pixel (C p , M p , Y p ) of the original image the steps of: i) ranking the colour components (special colour 1; special colour 2) of the second set in order of similarity to the pixel of the original image (C p , M p , Y p ); ii) selecting a dot size value for the highest ranked colour component (special colour 2) of the second set for which each of the first set of colour component values (C, M, Y) defining said selected colour component (C₂, M₂, Y₂) does not exceed the corresponding pixel values (C p , M p , Y p ); iii) extracting the selected colour component values (special colour 2; C₂, M₂, Y₂) of the second set from the pixel values; and, iv) repeating steps ii) and iii) for each of the remaining colour components (special colour 1) of the second set in the order of ranking. A method according to claim 1, further comprising an initial step of storing dot size values defining at least the characteristic elements of curves (C br , M br , Y br ) which respectively represent the colour components (C₁, M₁, Y₁;C₂, M₂, Y₂) of the second set in terms of colour component values of the first set (C, M, Y). A method according to claim 1 or claim 2, in which there are two colour components (special colour 1; special colour 2) in the second set, step (ii) comprising determining the proportions (P₁, P₂) of each colour component (special colour 1; special colour 2) of the second set to extract from the pixel values (C p , M p , Y p ) by constructing a triangle in colour space whose apices are defined by respectively the pixel colour (C p , M p , Y p ) and the closest matches of the two colour components (special colour 1; special colour 2) of the second set to the pixel colour (C p , M p , Y p ), the proportions (P₁, P₂) being defined by the lengths (X₁, X₂) of the portions of a line (X) joining the apices defined by the colour component values (C₁, M₁, Y₁; C₂, M₂, Y₂) of the second set divided by a perpendicular (Z) dropped from the other apex (C p , M p , Y p ). A method according to claim 3, wherein the closest match of each component is achieved by determining the composition of the colour component values (C₁, M₁, Y₁; C₂, M₂, Y₂) which, when extracted from the original pixel colour (C p , M p , Y p ), causes one of the pixel colour components (C p , M p , Y p ) to fall to zero. A method according to any of the preceding claims, wherein the ranking of the colours is achieved by comparing the distances (X₁, X₂) in colour space to the pixel position of each special colour component values (C₁, M₁, Y₁; C₂, M₂, Y₂). A method according to any of the preceding claims, further comprising after extracting the second colour (special colour 1), determining to which second colour value (C₁, M₁ or Y₁) the residual pixel colour (C, M, Y) is most similar, and extracting that second colour value (C₁, M₁ Y₁) until a pixel colour component (C p , M p , Y p ) is zero. Apparatus for reproducing a coloured original image represented by first signals defining the colour content of pixels of the original image in terms of a first set of colour components (C, M, Y), the coloured original image being reproduced using at least two separations representing respective colour components (special colour 1; special colour 2) of a second set different from the first set, the apparatus comprising means (1) for ranking the colour components (special colour 1; special colour 2) of the second set in order of similarity to each pixel of the original image (C p , M p , Y p ); means (1) responsive to the values of each pixel to select a dot size value for each ranked colour component (special colour 1; special colour 2) in turn for which each of the first set of colour component values (C₁, M₁, Y₁; C₂, M₂, Y₂) defining the corresponding ranked colour component (special colour 1; special colour 2) does not exceed the corresponding pixel values of the original image (C p , M p , Y p ); and means (5) for extracting for each colour component of the second set (special colour 1; special colour 2) in order of ranking the selected colour component values (C₂, M₂, Y₂) of the second set from the pixel values (C p , M p , Y p ). Apparatus according to claim 7, further comprising means (4) for storing dot size values defining at least the characteristic elements of curves (C br , M br , Y br ) which respectively represent the colour components (C₁, M₁, Y₁; C₂, M₂, Y₂) of the second set in terms of colour components values of the first set (C, M, Y). Apparatus according to claim 7 or claim 8, in which there are two colour components (special colour 1; special colour 2) in the second set, wherein the means (1) responsive to the values of each pixel comprises means to determine the proportions (P₁, P₂) of each colour component (special colour 1; special colour 2) of the second set to extract from the pixel values (C p , M p , Y p ) by constructing a triangle in colour space whose apices are defined by respectively the pixel colour (C p , M p , Y p ) and the closest matches of the two colour components (special colour 1; special colour 2) of the second set to the pixel colour (C p , M p , Y p ), the proportions (P₁, P₂) defined by the lengths (X₁, X₂) of the portions of a line (X) joining the apices defined by the colour component values (C₁, M₁, Y₁; C₂, M₂, Y₂) of the second set divided by a perpendicular (Z) dropped from the other apex (C p , M p , Y p ).

Inventors: REED, ALASTAIR, STANSFIELD, PETER WILLIAM
Applicants: CROSFIELD ELECTRONICS LIMITED
Application year: 1988
Main classification: H04N1
IPC codes: H04N1, G03F3, G06T1