Improvements in or relating to electronic graphic systems

Abstract: A graphic system for producing printed images. The signals representing the image are produced as CMY printing colour component signals and transformed to RGB signals for display on a monitor. The transformation circuit is a matrix of arithmetic circuits including look up tables. The system can also be conditioned so that RGB signals are first produced and these transformed to CMY.

Description: The invention relates to a transforming circuit for an electronic graphic system. In our British Patent Applications No. GB-A-2089625 and GB-A-2140257 an electronic graphic system is described in which painting of a colour picture can be simulated by electronic means. The system includes a so-called palette store for signal components representing a range of colours, and a stylus/touch tablet device by which the artist can designate points or strokes on the picture. The artist selects signal components representing a desired colour from the palette, and moves the stylus to points on the touch tablet corresponding to points on the picture to which the selected colour is to be applied. The stylus/touch tablet device generates signal representing the brush stamps at points designated by the stylus and these signals are translated into addresses in a frame store for video signals, the signals representing the colour being written in the said addresses. The artist may also adjust the intensity of the signals applied to the frame store. By selecting different colours and intensities for different brush stamps or strokes designated on the touch tablet, the artist can build up in the picture store a sequence of video signals representing a desired picture and this picture can be viewed on a TV type colour monitor. It can also, if desired, be transmitted by television or reproduced in some other way, as by colour printing on paper in response to the stored signals. The picture can be created with the definition needed for its end use, e.g. television or printing. Printing the picture would normally involve the use of cyan, magenta and yellow (CMY) printing inks which are respectively red-absorbing (cyan), green-absorbing (magenta) and blue-absorbing (yellow). The cyan ink is applied to the paper by printing plates formed with dots which vary in size as a function of the amount of red light to be reflected from the paper. The magenta and yellow inks similarly vary the reflections of green and blue light. As distinct from this colour printing, on the image displayed on a TV type monitor, the colour of any picture point is determined by the proportion of red, green and blue (RGB) light produced by the respective phosphors. The relationship between the TV monitor colours RGB and the dot areas on the different printing plates is non-linear and there is also a substantial range of colours which can be displayed by the monitor but which cannot be reproduced by the usual printing inks. Therefore the picture created by the artist, when reproduced by printing, may not correspond as closely as would be desirable to that displayed during the creation of the picture. In published European Patent Specification No. EP-A-0177146 there is described a system for electronically retouching an image. The system comprises a disc store for storing colour component image signals derived, say, by scanning a colour print. Signals derived from the store are applied to a monitor via a colour converter which converts the printing colour component signals to monitor format colour component signals, namely red, green and blue components. The image is displayed on a monitor portion of the screen. Digital printing colour component values representing a spectrum of colours are stored in a separate memory and these values, converted by the colour converter, can be displayed as a spectrum of colours in a window portion of the monitor screen. The operator is able to modify the displayed spectrum of colours in the window portion and whilst observing the image in the monitor portion, select one of the colours in the displayed spectrum. The operator can then replace the colour component image signals in a part of the image stored in the disc store by colour component image signals of the selected spectrum colour. This specification does not, however, deal with the systems for simulating the painting of colour pictures by electronic means in which the artist depends on being able to continuously observe the effect of this work as it progresses. British Patent Application No. GB-A-2106350 discloses a method of correcting colour print signals and for converting the colour print signals to colour display signals for display of the image represented thereby on a monitor. The present invention provides a transforming circuit for an electronic graphic system for transforming signals in a first colour format comprising a plurality of first colour components into signals in a second colour format comprising a plurality of second colour components, the circuit being characterised by a matrix of arithmetic units, which matrix provides a row of such units for signals for each colour components input in said first format and provides a column of such units for signals for each colour component output in said second format, each of said arithmetic units being arranged to convert a respective colour component signal in said first format to a contributing signal representing a contribution to one of the colour component signals in said second colour format, the arithmetic units in each column cooperating such that the contributing signals therefrom are summed to produce the respective signals in said second colour format. In an embodiment of the invention, to be described in greater detail hereinafter, the transforming circuit comprises a matrix of n x n arithmetic units, where n > 3, means inputting to each n > 3 row of the matrix signals representing one colour in a set of primary colours, and means for adding the outputs column by column to produce the desired transformed signals. Each arithmetic unit includes a look up table which can be used to load the respective unit with a coefficient and/or a function (for example logarithm) of the input. For example, on transforming from CMY to RGB, multiplying transforms are required, and these are achieved by converting the inputs to logarithms, adding the logarithms, multiplied by respective coefficients in the arithmetic units, and converting the resultants to anti-logarithms. The transforming circuit is suitable for use in combination with an electronic graphic system comprising storing means providing a plurality of storage locations for storing in said first colour format respective picture point signals which together represent an image; defining means for defining colours as signals in said first colour format; user operable designating means for designating picture points in said image and for selecting a colour to be defined by said defining means; and processing means responsive to operation of said designating means for modifying signals at designated points with the signals defining the selected colour. It should be appreciated that whilst in the following description the transforming circuit is described as transforming from CMY to RGB, it can perform other transformations, for example the inverse transform RGB to CMY, or linear transforms such as RGB to YUV as used in television systems. The transforming circuit may also be conditioned by suitably loading the arithmetic units to transmit the input straight through, without transformation. The system may be such as to produce three printing signals for determining dot areas for the respective printing plates for cyan (C), magenta (M) and yellow (Y) printing inks, whilst the transforming circuit is arranged to transform these signals to RGB signal for the monitor. This allows the artist to paint directly in CMY and store such data at maximum precision. The above and further features of the invention are set forth with particularity in the appended claims which together with advantages thereof should become clearer from consideration of the following detailed description of embodiments of the invention given with reference to the accompanying drawings in which: Fig. 1 is a block diagram of one example of a graphic system embodying the invention; Fig. 2 is a block diagram of a second example of a graphic system embodying the invention; and Fig. 3 is a block diagram of a transforming matrix embodying the invention and included in the systems illustrated in Figures 1 and 2. Referring to Figure 1 of the drawings, the graphic system illustrated is shown in schematic form and references 1 and 2 denote the touch tablet and stylus which the artist uses to create the picture. As the artist moves the stylus 1 over the touch tablet, a signal representing pressure on the stylus is applied via a path 3 to a signal processing circuit 4. Signals representing the co-ordinates on the touch tablet of successive positions of the stylus as it moves are applied via a path 5 to the processor 4. Reference 6 represents a palette store, which can be used by the artist to select the colour which he wishes to have applied to points on the picture designated by the stylus on the touch tablet. When a colour is selected, voltages representing the components of the colour (at a predetermined amplitude) are applied to the processor via path 7. The processor 4 is of the kind described in our British Patent Applications Nos. GB-A-2089625 and GB-A-2140257 and will not be described in detail in this specification. It is sufficient to say that, as the artist designates points on the picture he is creating, using the stylus and touch tablet, the component signals representing the selected colour, provided by the palette store 6 are applied to addresses corresponding to the designated points in three colour planes of a frame store 8. When the component signals are applied to a particular address in the store 8, they are blended with any previous colour component signals which may be already stored at the address, as described in our aforesaid patents, the previous signal being read back to the processor via path 9 to take part in the blending process. Reading and writing are controlled from the processing circuit 4 via the path 10. Before blending the component signals from the palette store 6 with the previous signals from the store 8, the amplitude of the component signals and thus the blending may be modified by the pressure signal from the stylus 2. The component signals may also be selectively controlled in amplitude to represent the distributing power of the 'brush', as described in our aforesaid patents. It will be appreciated that the colour signals are in digital form, so that the stores 6 and 8 and the processing circuit 4 are digital circuits. As shown in Fig. 1 signals read from the store 8, are applied to a switching circuit 20 which is also connected to receive signals from print scanner means 21. The circuit 20 has one output to mechanism 22 for producing printing plates for respectively the C, M and Y inks of a colour printing processor. It has another output of three component signals which leads to a transforming matrix 23, the outputs of which go to TV monitor 24 and also to disc store 25 or other long term storage means. The matrix 23 is set up to transform CMY inputs to RGB inputs. During the creation of the picture by the artist the signals written in the frame store 8 are read continuously sequentially and applied by the switching circuit 20 to the matrix 23 and after transformation from CMY to RGB are applied to the monitor 24, where the artist can monitor the effect of his painting as it proceeds. After the creation of the picture is complete, to print the picture, the switching circuit is arranged to feed the component signals from the different frame stores to the dot printing mechanism to control the formation of dots in the printing plates for respectively CMY inks. The picture is ultimately printed by superimposed printing with the different inks using the respective plates. It must be understood that the store 8 will have sufficient storage locations for the definition needed in picture, and the processing circuit must also operate with adequate definition. In an alternative embodiment shown in Fig. 2 frame store 8 can also receive an input from scanner 21, which may for example be a HDTV camera, and disc store 25. Components which are common to both the Fig. 1 and Fig. 2 embodiments are denoted by the same reference numbers. These signals and those produced in the processing circuit may be any suitable colour component signals such as RGB, or the cyan, magenta and yellow of the printing process. Dependent on the type of signals in frame store 8 and the output for these signals the signals are read from the frame store and transformed in matrix 23. After transformation the signals are switched by switch 20 to the output required. The outputs are the monitor 24, the output plotter 11 and the frame store 8. If the signals are to be displayed on the monitor they should be RGB signals and the signals to output plotter 11 should be C, M, Y. Considering the case when the signals stored in frame store 8 are C, M, Y colour component signals and the artist wishes to monitor the effect of his painting as it proceeds. Matrix control 12 ensures that the matrix acts to transform the C, M, Y signals to R, G, B signals and switch 20 switches the output of the matrix to the monitor. When the creation of the picture is complete and when printing is desired the matrix control 12 sends a control signal to the matrix which then acts to allow the C, M, Y signals to pass through without transformation. Switch 20 switches the output to plotter 11 which may be of any known type either continuous tone or half tone. When RGB or other signals are used the matrix will, prior to printing, transform these signals to C, M, Y. The feedback from the matrix to frame store 8 allows the contents of the store to be transformed from one type of signal to another and to be re-stored as the transformed signal. The signal in the store can be transferred to the disc store 25. As an example of the use of the feedback path, if the signals were stored in frame store 8 as C, M, Y signals and the disc store was to be used to store RGB signals then the signals could be read from the frame store, transformed in matrix 23 and written back into the frame store before being transferred to the disc store 25. It must be understood that the store 8 will have sufficient storage locations for the definition needed in picture, and the processing circuit must also operate with adequate definition. By virtue of the provision of the matrix 23 the colours which are produced by the printing inks correspond very closely to those observed by the artist on the monitor 24 during the creation of the picture. The artist is thus allowed to paint directly in CMY without knowing it, and the CMY data is produced at maximum resolution. The component signals stored in the palette store 6 will have the effect of CMY components when selected by the artist, and he can observe the colour represented by a particular choice of component signals on the monitor 24. This colour would in general differ from that produced if the component signals are used as RGB signals. A suitable form of the transform matrix 23 is shown in Figure 3. It comprises a 3 x 3 matrix of arithmetic units represented by the functional notation f.cr f.mr etc. The units of the matrix as shown in Fig. 3 have 8 bits in and 12 bits out but this is not mandatory and look up tables for storing a range of co-efficients by which the input or a function of the input can be multiplied. In the present example, the look up tables are arranged to store the logarithms of possible inputs. The same input is applied to each of the three units in a row and in these cases the input come respectively from the colour component planes of the store 8. The outputs of the arithmetic units are added column by column as indicated and are fed out via output arithmetic units f.r f.g f.b respectively. The output units allow the user to scale the 3 x 3 tables to give maximum accuracy compatible with overflow possibilities and then scaling the results with appropriate rounding off and zero effect. In one mode of operation of the graphic system described above, the matrix 23 is as stated set up to transform CMY to RGB. The theoretical transforms between CMY and the TV monitor RGB is: R percentage = 100 - C percentage G percentage = 100 - M percentage B percentage = 100 - Y percentage In practice the inks conform much less closely to the ideal than TV monitor colours. The matrix is therefore set up to convert the ink dot areas, assumed proportional to the signals stored in the frame store 8 when the picture is complete, to the monitor RGB signals which will give the same effect as the inks when applied. Thus, in principle, the artist unknowingly compensates for the imperfection of the inks whilst creating the signal voltages. The setting up is based on the assumption, in the case of red, that red reflection from the picture is given by: (inverted cyan dot) a.cr multiplied by (inverted magenta dot) a.mr multiplied by (inverted yellow dot) a.yr and similarly for green and blue reflection. It is to be understood that: inverted dot % = 100 - dot % The co-efficients a for each transform lie in the range 0 to 1 and are determined empirically by measuring monitor voltages for coloured wedges of measured dot area. To determine the co-efficients the monitor inputs are modified to give a match to the printed result, matched visually or by photometric measurement. The matrix 23 produces the appropriate transform by operation in the logarithmic domain in the arithmetic units, adding the outputs in columns and taking the antilogarithms of the results. Allowance may be made for the fact that inks are not perfect absorbers, i.e. 100% dot area does not give zero reflection. Such allowance may be made be reducing the range of ink dot areas, say from 0% to 95% by putting in a gain change in the ink values and the corresponding RGB values. Furthermore it is convenient to separate the basic colour transformation needed to set ink primaries right from the transformation needed to get neutral greys to stay neutral. To achieve this result, all co-efficients a.cr etc. are normalised so that equal CMY gives equal RGB whilst adjusting the co-efficients to give the right ink primaries on the monitor. Also, different gradations are put in the middle range of RG and B to give the empirically observed off-neutral grey scale when CMY are equal. The system illustrated in Figure 1 or Figure 2 allows the picture created by the artist and stored in the store 8 to be transferred to the long term store 25. Signals from the scanner 21 can be similarly transferred. Since the transfer in each case, as represented, takes place via the matrix 23, the picture is stored in RGB. If subsequently it is required to transfer the picture back to the dot forming mechanism 22, it should be passed again through the matrix 23, set up however to produce the inverse transform RGB to CMY. In yet another alternative mode of operation the matrix 23 can be set up to be transparent, so that the graphic system would 'paint' in RGB, for example, if required for HDTV operation. For other modes of operation the matrix may be set up to produce linear transforms, such as YUV (Y = luminance) to RGB or vice versa. A wide selection of operational modes can be achieved by suitable arrangement of the switching circuit 23 in correction with the Components 8, 21, 22, 23 and 25. When producing inverse transforms such as RGB to CMY, the transformation may produce 'illegal' values of CMY representing colours outside the gamut of the printing primaries. To reduce this effect the matrix may be set to limit the outputs when such illegal values are liable to arise. Having thus described the invention by reference to the embodiments it is to be understood that the embodiments are exemplary only and that modifications may be made without departure from the scope of the invention as set forth in the appended claims.

Claims: A transforming circuit for an electronic graphic system for transforming signals in a first colour format comprising a plurality of first colour components (C,M,Y) into signals in a second colour format comprising a plurality of second colour components (R,G,B), the circuit being characterised by a matrix (23) of arithmetic units (f.cr-f.yb), which matrix provides a row of such units (e.g. f.cr, f.cg, f.cb) for signals for each colour component input (e.g. C) in said first format and provides a column of such units (e.g. f.cr, f.mr, f.yr) for signals for each colour component output (e.g. R) in said second format, each of said arithmetic units being arranged to convert a respective colour component signal in said first format to a contributing signal representing a contribution to one of the colour component signals in said second colour format, the arithmetic units in each column cooperating such that the contributing signals therefrom are summed to produce the respective signals in said second colour format. A transforming circuit as claimed in claim 1, wherein each of said arithmetic units comprises a look up table. A transforming circuit as claimed in claim 1 or 2, wherein the arithmetic units are arranged to produce the contributing signals as a logarithmic function of the respective signals in said first colour format. A transforming circuit as claimed in claim 3, arranged to determine respective antilogarithms of the sum of the contributing signals thereby to produce said signals in said second format. A transforming circuit as claimed in any preceding claim, further comprising a matrix controller (12) for conditioning the arithmetic units to effect different predetermined transformations between said first and said second colour formats. A transforming circuit as claimed in any preceding claim wherein said first format comprises subtractive colour components suitable for use in printing (C,M,Y) and said second format comprises additive colour components suitable for use in displaying said colours on a monitor (R,G,B). A transforming circuit as claimed in any of claims 1 to 5, wherein said second format comprises luminance and chrominance components suitable for use in a monitor. A transforming circuit as claimed in any preceding claim, wherein each column in the matrix comprises an output arithmetic unit (f.r; f.g; f.b) for scaling the respective signals in said second colour format. A transforming circuit as claimed in any preceding claim, in combination with an electronic graphic system comprising: storing means (8) providing a plurality of storage locations for storing in said first colour format respective picture point signals which together represent an image; defining means (6) for defining colours as signals in said first colour format; user operable designating means (1, 2) for designating picture points in said image and for selecting a colour to be defined by said defining means; and processing means (4) responsive to operation of said designating means for modifying signals stored in said storing means at locations corresponding to points designated by said designating means, the processing means modifying at designated points signals with the signals defining the selected colour. A transforming circuit as claimed in claim 9, further comprising selecting means (20) connected to receive signals from said storing means for selectively outputting the same to said transforming circuit. A transforming circuit as claimed in claim 9 or 10, further comprising a monitor (24) connected to said transforming circuit for display of the image represented by said signals in said second colour format. A transforming circuit as claimed in claim 10 or 11, further comprising a printing device (11) connected to the selecting means selectively to receive signals therefrom for printing of the image represented by signals in said first colour format. A transforming circuit as claimed in claim 10, 11 or 12, wherein said selecting means is arranged selectively to receive signals from said transforming circuit for storage in said storage means.

Inventors: LONG ROBERT JAMES, STAPLETON ALAN LEWIS, LONG, ROBERT JAMES, STAPLETON, ALAN LEWIS
Applicants: QUANTEL LTD, QUANTEL LIMITED
Application year: 1987
Main classification: G06F15
IPC codes: G06F3, H04N1, G06T11, G09G5, B41J2, G09G1