AU678798B2 - Colour conversion apparatus - Google Patents

Colour conversion apparatus Download PDF

Info

Publication number
AU678798B2
AU678798B2 AU57672/94A AU5767294A AU678798B2 AU 678798 B2 AU678798 B2 AU 678798B2 AU 57672/94 A AU57672/94 A AU 57672/94A AU 5767294 A AU5767294 A AU 5767294A AU 678798 B2 AU678798 B2 AU 678798B2
Authority
AU
Australia
Prior art keywords
colour
output
intervals
colour space
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
AU57672/94A
Other versions
AU5767294A (en
Inventor
James Robert Metcalfe
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Information Systems Research Australia Pty Ltd
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Information Systems Research Australia Pty Ltd, Canon Inc filed Critical Canon Information Systems Research Australia Pty Ltd
Priority to AU57672/94A priority Critical patent/AU678798B2/en
Publication of AU5767294A publication Critical patent/AU5767294A/en
Assigned to CANON KABUSHIKI KAISHA, CANON INFORMATION SYSTEMS RESEARCH AUSTRALIA PTY LTD reassignment CANON KABUSHIKI KAISHA Alteration of Name(s) of Applicant(s) under S113 Assignors: CANON INC., CANON INFORMATION SYSTEMS RESEARCH AUSTRALIA PTY LTD
Application granted granted Critical
Publication of AU678798B2 publication Critical patent/AU678798B2/en
Assigned to CANON KABUSHIKI KAISHA reassignment CANON KABUSHIKI KAISHA Alteration of Name(s) in Register under S187 Assignors: CANON INFORMATION SYSTEMS RESEARCH AUSTRALIA PTY LTD, CANON KABUSHIKI KAISHA
Anticipated expiration legal-status Critical
Expired legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

-1- COLOUR CONVERSION APPARATUS The present invention relates to the display of colour images on a display device and in particular, the display of colour images by a colour printing device.
Background of the Invention Background art will now be described with reference to the following drawings in which: Fig. 1 illustrates an ideal colour relationship; and Fig. 2 illustrates a more realistic colour relationship which occurs in practice.
Images are normally displayed by a CRT type display using an additive format such as the Red, Green, Blue (RGB) format. In this format, separate colour information is provided for each of the Red, Green and Blue primary colours and when displayed together, they form any desired colour to be displayed.
However, when it is desired to print out a colour representation of the image displayed by a colour display, a subtractive colour format is generally used. One such subtractive format is the Cyan, Magenta, Yellow and Black (CMYK) format. Such a subtractive format is commonly used in colour printing devices and in particular is used in the Canon CLC500 colour laser copier/printer manufactured by Canon Inc.
Referring now to Fig. 1 there is shown an ideal colour relationship. In theory the relationship between additive colours and subtractive colours is simple, as Cyan, Magenta 20 and Yellow are simply the complementary colours to Red, Green and Blue respectively.
hey can be expressed by: C=1-R; (EQ 1) M= 1 G; and (EQ 2) Y= 1 (EQ 3) 25 Black is a function of all three additive primaries as follows: K rR gG bB. (EQ 4) where r, g, and b are co-efficients determined by relative human perception of red, S" green and blue.
Referring now to Fig. 2 there is shown a more realistic colour relationship which occurs in practice. In practice the above equations are inadequate and the amount of c;yan for example is a complex non-linear equation that depends on the amo. of red, green, and blue. Non-linear transfer functions in the printing mechanism require a non-linear transfer function during conversion between the two colour formats. Fig. 1 shows the ideal curve for (say) cyan. whereas the curve shown in Fig. 2 is that required by the printer.
(Page+l 8)(262906)(CFP00205) ir I One method for performing colour correction In accordance with the arrangement shown in Fig. 2 would be to use a number of programmable read only memories (PROM's) to perform a lookup of each possible input point and a preprogrammed function similar to that shown in Fig. 2.
However this solutior, nas a number of disadvantages. Namely: it may require a large amount of board space due to the number of support chips required by the PROMs; (ii) it requires a large amount of power where high speed PROMs are used; and (iii) it requires a large amount of storage space, with one value stored for each possible primary colour value with say 8 bits for each colour of red, green and b.'ne and each mapping producing 8 bits of output, the total storage space would be 2 8 x 2 8 x 2 8 being over 16 Mbytes for each colour pass.
Another method is to use matrix multiplication to calculate a linear approximation to the required value, however, this also has a number of disadvantages, such as: the resulting quality of linear blends between colouis is too low for computer generated graphics; and (ii) any errors introduced by the colour conversion process are quite noticeable in areas of gradual blend between colours. This is particularly bad in luma ramps from black to white, where false colours appear. "Banding" effects are exaggerated by any printer that fails to use the full level information provided by the primary colour input level values.
Such printers are in common use.
Se It is an object of the present invention to substantially overcome, or ameliorate at least one of the aforementioned difficulties with the prior art.
Summary of the Invention In accordance with one aspect of the present invention, there is provided a method e* for converting an input image in an input colour space to an output image in an output colour space, each of said images comprising a plurality of pixels comprised of primary i' colour components of the respective colour space, said method comprising the steps of: dividing at least one primary colour of said output colour space into a number of output colour space intervals, determining corresponding input colour space intervals from said output colour space intervals, using the endpoints of said corresponding input colour space intervals as interpolation points, determining, for each pixel in the input image, the closest interpolation points, and (Page- I 8)(262906)(CFPOO205)
I
interpolating between said interpolation points to derive a component of an output pixel value in said output colour space.
Preferably, the interpolating step further includes determining a distance measure of the output pix-el component from at least one of said closest interpolation points by means of a lookup table. Also preferably, the output colour space intervals vary in length dediending on the behaviour of the transfer function between the two colour spaces.
In accordance with another aspect of the present iivention, there is provided a method of determining the endpoints of an interpolation interval for use in conversion of an input image in an input colour space to an output image in an output colour space, said method comprising the steps of: dividing at least one primary colour of said input colour space into a numbr of intervals, storing the endpoints of said intervals, resolving said intervals into a multitude of groups, with adjacent intervals being resolved into different groups, determining which of said groups comprises a selected one of said intervals having a preselected pixel of said image, and retrieving said endpoints of said selected one interval using an offset addressing variable between each one of the groups.
20 Brief Description of the Drawings A preferred embodiment of the present invention will now be described with reference to the accompanying drawings in which: Fig. 3 illustrates a colour processing system incorporating the preferred embodiment of the present invention; Fig. 4 illustrates the basic structure ofa colour conversion apparatus of the preferred Sembodiment; Fig. 5 illustrates the normal colour conversion process of Fig. 2; Fig. 6 illustrates an enlarged portion of Fig. Fig. 7 illustrates the colour conversion process of the red interval RAM of Fig. 4 Fig. 8 illustrates an enlarged portion of Fig. 7 Fig. 9 illustrates the process of finding a sample colour point within a 3-dimensional colour space; Fig. 10 illustrates an example ofinterpolaticon of a point within a cube; Fig. 11 illustrates an example illustrating the process of address remapping carried out by the colour conversion RAM; (Page+ 1 8)(262906)(CFP00205) Fig. 12 illustrates further example showing redundancy removal; Fig. 13 illustrates a further example showing redundancy removal; Fig. 14 illustrates the colour conversion RAM; Fig. 15 illustrates the interpolation processor; Fig. 16 illustrates the internal structure of an interpolation processing element; Fig. 17 illustrates the near white correction unit; Fig. 18 illustrates an example of 2x2 dithering; Fig. 19 illustrates the near black correction unit; and Fig. 20 illustrates text detection using vertical edge scanning.
Detailed Description of the Preferred Embodiment Referring now to Fig. 3, a colour conversion apparatus 2 of the preferred embodiment is designed to form part of a colour image processing system 1 similar to that set out in Australian Patent Application No. 81782/91 of 16 August 1991 (Attorney Ref: (Page+2)(1 86264)(CFP 013AU)). However, applications of the present embodiment are not limited thereto.
Fig. 3 shows a simplified block diagram of the colour image processing system lused in a typical application, and configured to operate on a standard computer system. The colour conversion apparatus 2 interacts with two main subsystems: The first is a processor subsystem 60, which includes in particular a processor 20 memory 61. Colour conversion tables required for each colour pass are established in the processor memory 61. The colour image processing system 1 loads the colour conversion .table required for each colour pass M, Y or K) at the beginning of a conversion pass.
These can be loaded either via normal write cycles to the processor memory 6lor under control of a DMA master controller 64. Adjunct to the processor subsystem 60 is a compositing memory 62 and a corresponding compositing bus 63.
The second is a printer subsystem 8. The C,M,Y or K value resulting from interpolating the colour conversion table by the colour conversion apparatus 2 will be output to the printer subsystem 8 by the colour conversion apparatus 2.
Processor input/output to and from the colour conversion apparatus 2 is performed by processor bus interface subsystem 3 via a processor bus 4 in synchronization with the processor clock. I/O to and from the printer subsystem 8 is synchronized with the pixel clock of the relevant printer subsystem. An example printer subsystem 8 for use with the preferred embodiment of the present invention is Canon's CLC500 colour printer.
Referring now to Fig. 4 there is shown the basic structure of a colour conversion apparatus of the preferred embodiment (Page+ 1 8)(262906)(CFP00205) m~I n The modules in colour conversion apparatus 2 form a processing pipeline which accept a stream of RGB pixel data from the compositing bus 63 and pass it along the processing pipeline to generate the appropriate colour conversion data for output to the printer interface.
Interface of the colour conversion apparatus 2 to the processor bus 4 is controlled by the processor bus interface subsystem 3. The processor bus interface subsystem 3 interfaces the processor bus 4 to an internal register bus 5 for register read and write cycles, and processor DMA accesses to internal RAM within the colour conversion apparatus 2.
Configuration and control of colour conversion apparatus 2 is achieved by reading and writing internal configuration and control registers 6 of the colour conversion apparatus 2 which generates control information 7 from those registers for the colour conversion apparatus 2.
Each of the internal memories are dual ported (not necessarily physically but functionally by means of the processor mode bit in the configuration and control registers with a port assigned to the execution pipeline of the colour conversion apparatus 2 and a port assigned to the register bus 5. The port assigned to the register bus 5 is used for the loading of each internal memory before each colour pass of the printer subsystem 8.
Three distinct operations are performed by colour conversion apparatus 2, those being colour conversion, near--white correction performed by a near white correction unit 20 35, and text detect edge enhancement performed by a near black correction unit 36. The resulting output data 9 is the RGB to CMYK colour conversion required by the relevant printing device.
The output data 9 can be returned back to the compositing memory 62 by an arrangement of bi-directional buffers A non-uniform colour space conversion interval RAM 11 is advantageously provided to improve the colour conversion process. The non-uniform colour space conversion interval RAM 11 comprises separate interval RAM's 12, 13, 14 which are loaded for each colour pass and each provide a one to one transformation mapping for each of the Red, Green and Blue channels of input.
Referring now to Fig. 4 to Fig. 7, the operation of the red interval RAM 12 will now he described, with the green interval RAM 13 and blue interval RAM 14 operating in a corresponding manner.
As will be further described below, so as to reduce the amount of storage required by the colour conversion apparatus 2, methods of interpolation are used to derive the final output colour. A basic explanation of the interpolation process will be described in relation (Page+ I 8)(262906)(CFP00205) to one colour, the interpolation being carried out, for example, between two derived cyan values derived from the graph of Fig. 2.
Referring to Fig. 5 and Fig. 6, an example of a first method of interpolation of values.
In this method, it is desired to determine the cyan component of a red input data point 18.
In order to do this, the scale of red values is broken up into a number of predefined substantially equal intervals and the closest two of these intervals is used for the interpolation process. Hence a lower red reference point 19 and an upper red reference point 20 are determined, their corresponding first cyan value 22 and second cyan value 23 are determined and these two points are used as interpolation points in order to determine a final interpolated value 24.
However, as can be seen from Fig. 6, there can be substantial inaccuracies in certain intervals between the final interpolated value 24 and the required cyan value 25. Thereby outputing incorrect results, especially where the red to cyan curve is not well behaved. This means that the interpolation process can have a high degree of accuracy in some intervals and a substantially lower degree of accuracy in other intervals.
In Fig. 7 and Fig. 8, a more ideal form of interpolation between cyan values 21 whereby the interpolation point, are judiciously placed so as to minimize the error between the final interpolated value 24 ad the required cyan val'ue The placement of interpo' tion points can be determined by the nature of the 20 particular conversion curve, with a high number of points placed around points around areas of the curve that arec not well behaved. In this case, the interpolation intervals are substantially shorter where the rate of change of the gradient of the curve is greatest (i.e.
not well behaved). In particular, the length of the output colour space intervals between the interpolation points is shorter at and about locations where the transfer function undergoes a relatively rapid change in slope. Further, the length of the output colour space intervals is adjusted so that the magnitude of the change in slope of the transfer function between adjacent ones of the output colour space intervals is less than a predetermined value.
A red interval RAM 12 is responsible for rescaling or remapping the set of input points of Fig. 5 to Fig. 7. This has the effect of shortening the distance between interpolation points in each badly behaved area of colour conversion curve 28 and lengthening the distance between interpolation points in each well behaved area of the colour conversion curve 29. A well behaved portion of the curve being one that has a substantially linear relationship between input red values and output cyan values.
In colour conversion apparatus 2 of the preferred embodiment, the red axis is divided into 15 intervals, giving 16 interval endpoints, and the non-uniform colour space (Page+ I )(262906)(CFP00205) conversion interval RAM 11 accepts 24-bit RGB pixel information in the form of 8-bits for each of the red input 30, green input 31 and blue input 32. Each interval RAM 12, 13, 14 performs the abovementioned interval determination and outputs a 4 bit key corresponding to the division of each input colour into one of 16 intervals. The 4-bit key is derived from an analysis of the behaviour of the transfer curve for the particular the printer subsystem 8, and is pre-loaded into the non-uniform colour space conversion interval RAM 11. These 4 bit interval key values are concatenated together to form a 12-bit address for accessing a colour conversion RAM 33. The 12-bit address is used by the colour conversion RAM 33 to determine the eight vertices of a cube in RGB space which encloses the input pixel.
The non-uniform colour space conversion interval RAM 11 can be viewed as a three array of 8-bit data with the red index changing most frequently, followed by the green index and then the blue index (For example, for simulation in the C programming language, this would be declared as char Color Table[blue] [green][red], where red, green and blue are in the range 0 to 15). The red interval RAM 12 contains 256 4-bit interval values at addresses 0xl000 to OxlOFF. The green interval RAM 13 contains 256 4-bit interval values at addresses 0x1100 to Oxl IFF. The blue interval RAM 14 contains 256 4bit interval values at addresses 0x1200 to Oxl2FF. Data is ordered from lowest interval to highest interval.
Referring now to Fig. 9, there is shown the method of determining the relevant toner amount used in the next step of the conversion process carried out by the colour conversion RAM 33. The colour conversion RAM 33 is loaded with the appropriate output colour space primary colour lookup table by the processor bus interface subsystem 3 via the register bus 5 before each colour pass of the printer (CMYK) to contain 4096 colour conversion values at addresses 0x0000 to OxOFFF. The 12-bit address from the nonuniform colour space conversion interval RAM 11 is used to select eight of the 4096 values as the vertices of the cube.
This process is used by the preferred embodiment to minimize the storage requirements. For example, assuming that each primary colour has 256 (8-bits) possible levels of input, a lookup table for every combination of R, G, and B would require 16 Mbytes (256 x 256 x 256) for each of the CMY and K pass. A large lookup table can be simulated by interpolating between eight points forming a cube around the R,G,B position derived from the non-uniform colour space conversion interval RAM 11. Using the three lots of four bits output from each interval RAM 12, 13, 14 and interpolating between the endpoints of the enclosing cube, only 4 kilobytes (16 x 16 x 16) of cube lookup space is required within the colour conversion RAM 33.
(Page+ l 8)(262906)(CFP00205) Fig. 9 shows an example of how the colour conversion RAM 33 and interpolation processor 16 are used to find a toner value which is a function of R, G and B. First the lookup table finds the "cube" of eight (RGB) points which surround the exact point (either CMY or K) required. In this example the values output from the interval RAMs 12, 13, 14 are (in hexadecimal) 5, 3, and 1, these values are shown in Fig. 9 to select the appropriate enclosing cube. Fig. 10 shows the selected cube. In our example the comer C(0,0,0) represents the value of the toner intensity for (say) cyan when the interval RAM output values for R, G and B are 5, 3 and 1 respectively. Similarl, the comer C100 represents the value of the toner intensity for cyan when the values for R, G and B of the interval RAM's 12, 13, 14 are 6, 3 and 1 (respectively).
At the pixel output rate for common colour printers, the colour conversion data would have to be updated approximately every 75 nanoseconds In order to obtain the eight vertices, eight reads from a single RAM lookup table would be required. This is not practicable within the required time constraint. The colour conversion RAM 33 is implemented as eight RAMs one for each vertex of the enclosing cube. To save storing duplicate data values in the vertex RAMs, a hardware address remapping scheme is implemented.
Referring now to Fig. 11 there is shown an example illustrating the process of address remapping carried out by the colour conversion RAM. This example illustrates the i 20 case of one-dimensional interpolation of a function that has been sampled at sixteen points with two RAMs being used to store the endpoints of the interpolation interval.
i The even end points of the interpolation intervals are assigned to the first RAM and the odd grid points to the second RAM. Given a four-bit address (A3-AO) which will select one of the fifteen interpolation intervals, only three address bits are necessary to select one of eight endpoints stored in each RAM. The addresses for the RAM containing the 'odd' endpoints will be the three most significant bits of the four bit address (A3A2A1). The addresses for the RAM containing the 'even' endpoints will be the three most significant bits, with the least significant bit added to this three bit address A3A2A1+AO).
Referring to the example in Fig. 11 which it can be shown that the first even_RAM will contain the values corresponding to points {0,2,4,6,8,10,12,14} and the odd_RAM contains the values corresponding to the points {1,3,5,7,9,11,13,15}. Sequencing through the interpolation intervals, it can be shown that the corresponding RAM addresses will be etc. So for the interpolation processor 16 which requires its input as a sequence of {left, right} endpoints, it is only needed to perform a swap on the (Page+ I 8)(262906)(CFP00205) I I data outputs whenever the least significant bit (LSB) of the interpolation interval address is set, to have the data in the required format.
Fig. 12 shows, that by using the above mentioned process in three dimensions only every second cube (in each direction) is required to store all points in the RGB space, thereby avoiding duplicated storage of individual points. Fig. 13 shows the three dimensional process of Fig. 12 with only the red direction shown for clarity. Only values for cube0 37 and cube2 38 are stored in the colour conversion RAM 33. If the point of interest falls in cube0, the "normal" interpolation direction is from RGBO to R'BGO. If, however, the point A lies in cubel, the RGB corner value is taken from cube2 and the R'GB corner value is taken from cube0. In this case, the interpolation direction along the red axis is reversed to effectively "swap" the two corner values. This can be done by complementing the red LSBs used in looking up the fractional RAM 15 which form part of the first stage of interpolators and will be described more fully below.
Each of the eight comers are stored in separate RAMs. Each RAM is addressed differently in order to access the correct cube. The colour conversion RAM outputs 52 are fed to the interpolation processor 16.
Referring now to Fig. 14 there is shown the colour conversion RAM, which must output a sequence of {left, right} endpoints. Taking the example of a red input value 39 from the red interval RAM 12, for even RAMs 40, 42, 44, 46, the value of the red interval 20 RAM 12 is used directly to look up the relevant vertex value. In order to determine the address value for the odd value RAMs 40, 42, 44, 46 the lowest bit 48 is taken and added "by adder 50 to the upper 3 bits 49 to give the odd RAM address 51.
Returning now to Fig. 4, a fractional F.AM 15 is provided which is reloaded by the processor bus interface subsystem 3 for each colour printer pass. The fractional RAM 15 is loaded with values corresponding to the fraction of the interval that each colour value lies on the red axis of Fig. 7. For example, if the red input data point 18 lies one third between the lower red reference point 19 and the upper red reference point 20 then the fractional RAM 15 will output an 8 bit value corresponding to this position. The fractional RAM outputs 8 bits for each colour represented by (ul,u2,u3) to the interpolation processor 16.
Each component of the RGB pixel data passes through a fractional RAM 15 which S provides a 8-bit interpolation fraction amount. The co-ordinate triplet is passed onto the interpolation processor 16 for further processing In Fig. 15 an example of interpolation of a point within a cube is shown in which seven interpolators are used to find the final value. The first four interpolate along the R axis (using the R interpolation fraction) to find the colour conversion values at points Al, A2, A3 and (Page f i 8)(262906)(CFP00205) A4. The next two interpolate along the G axis between Al and A2 to find B1 and between A3 and A4 to find B2. The final interpolator interpolates along the B axis to find the point C which forms the final interpolated value 24 Hence, for a point (ul,u2,u3) for which it is desired to know the interpolated function value C(ul,u2,u3), the following series of linear interpolations is carried out: Al C(ul,0,0) (1-ul)*C000 ul*C100 (EQ A2 C(ul,0,l)= (1-ul)*C001 ul*C101 (EQ 6) A3 C(ul,l,0) (1-ul)*C010 ul*Cl 10 (EQ 7) A4 C(ul,,l1) (-ul)*C011 ul*C11 (EQ 8) B1 C(ul,u2,0) (1-u2)*A1 u2*A3 (EQ 9) B2 C(ul,u2,1) (1-u2)*A2 u2*A4 (EQ C =C(ul,u2,u3) (1-u3)*B 1 u3*B2 (EQ 11) where the coordinates within the interpolation cell are normalized to range from 0 to 1.
The result of the tri-linear interpolation computation give the relevant cyan, magenta, S.yellow or black component. This 8-bit data is used as the input for near-white correction, the next operation of the colour conversion apparatus 2 S. 20 It must be appreciated that, when output colour space interpolation intervals are determined, it is possible for corresponding intervals to be of different lengths, and accordingly the eight vertices do not define a cube, but rather an arbitrary volume.
However each of the volumes are contiguous and fill the entire colour space. Also the remapping from one colour space to the other does not necessarily involve re-mapping to a similarly shaped volume. Throughout this specification "cubes" are used for convenience of description and for ease of visualisation of the embodiments.
Fig. 15 shows the structure of the interpolation processor 16 of Fig. 4. The interpolation processor 16 takes the colour conversion RAM outputs 52 C000 to C111 for points located at the eight vertices of a data point's enclosing cube and the interval swap signals 53 swap_R, swap_G and swap_B. As mentioned previously, the interval swap signals 53 are derived from the least significant bit of respective colour outputs from the non-uniform colour space conversion interval RAM 11 for each colour. Using the three interpolation fractions generated by the fractional RAM 15, the interpolator processor implements the multidimensional interpolation equations outlined above via a series of (Page+ 8)(262906)(CFP00205)
I-
-11 interpolation processing elements 34 to calculate the required colour conversion values as given in Equation 11.
Referring now to Fig. 16 there is shown the internal structure of each interpolation processing element 34. Each interpolation processing element 34 implements a onedimensional interpolation equation: f(xi) f(x0) f(x0))*(xi x0)/ (xl x0)) (EQ 12) As mentioned previously it is sometimes necessary to swap the interval inputs around. This is implemented by swap unit 54 under the control of a swap signal For the first pass of the interpolation-tree, the end-points of the interpolation f(xl), f(x0) are the vertices of the enclosing cube determined by the colour conversion RAM outputs 52. The fractional terms (xi-x0)/(xl-x0) supplied by the fractional RAM represent an 8-bit fractional amount normalised between 0 and 1) to interpolate to reach the f(xi) value.
Referring now to Fig. 17, there is shown the structure of the near white correction unit 35. The upper 4 bits of colour conversion data 70 output of the interpolation processor 16 are used for input to a zero detection unit 71 which is used to detect possible near white values and outputs a multiplexor selection signal 72 which is used by multiplexor 74 to select the lower four bits of output.
20 The near white correction unit 35 uses the process of dithering for values in the range of intensities from 0 to OxOF to increase the perceived dynamic range on the printed output.
In the process of dithering an image, the decision to intensify a particular output location is made dependent on the desired intensity S(x,y) at that particular point and on a Spredetermined dither matrix value D(ij). To display the required point at it is necessary to generate i= x modulo n (EQ 13) j =y modulo n (EQ 14) Then, if S(x,y) D(ij), the point at O(x,y) is intensified, otherwise it is not.
Referring now to Fig. 18, there is shown an example of the dithering process using a 2 x 2 dither matrix values 75. The input matrix values 76 containing and dither matrix values 75 having locations D(ij), are used in conjunction with the above intensification rule to produce output matrix values 77 O(x,y) with 0 corresponding to those points that are not intensified, and 1 corresponding to those points that are intensified.
Hence, input position S(0,0) with a value of 0, will be compared with D(0,0) which has a (Page+ 8)(262906)(CFP00205) -12value 0 also, and the comparison determination is not satisfied, so the point 0(0,0) will not be intensified. Input element S(2,3) with a value of 3, will be matched with dither matrix element D(0,1) since 2 modulo 2=0 and 3 modulo 2=1. D(0,1) has a value 2, so the output element 0(2,3) is intensified and so on.
The above example is a sample operation of a dither matrix of size 2x2 elements, for a o i or off output. In the preferred embodiment of the present invention, a dither matrix of size 16 x 16 is used.
The near white correction unit 35 takes the output from the interpolation processor 16 and dithers points with an intensity that is less than or equal to a near white threshold, OxOF. If the upper 4 bits of colour conversion data 70 correspond to a vlue greater than the near white threshold, the zero detection unit 71 outputs a multiplexor selection signal 72 such causes the multiplexor 74 to pass the input data unhindered. Otherwise, the zero detection unit 71 output causes the output to be the value provided by the comparison unit 78. The lower 4 bits of input data 73 from the interpolation processor 16 is input to a comparison unit 78 which tests if this data is greater than the dither matrix value fetched from a dither matrix RAM 79. If it exceeds the dither threshold then the near white threshold value is output from a register within the comparison unit 78.
The value output from dither matrix RAM 79 is determined by input index values that are themselves constructed from a 4 bit pixel counter 80 and a 4 bit line counter 81.
20 These counters are maintained to track a pixel's position in the dither matrix.
The 4 bit line counter 81 can be reset at a frame start by a FSYNC signal 82 and counts LSYNC signal 83 pulses. The 4 bit pixel counter 80 can be reset at the line start by *the LSYNC signal 83 and will count PIXCLK 84 pulses.
The near white correction unit 35 provides a near white output 85 having it's four most significant bi:s obtained from the upper 4 bits of colour conversion data 70 output from the interpolation processor 16, and it's four least significant bits obtained from an output of the multiplexor 74.
The near black correction unit 36 aims to sharpen up the edges of text by detecting the transition from black to white or vice versa. When an edge is detected, instead of printing a black made up of, for example, the Cyan, Magenta, Yellow and Black that it would normally comprise, a substantial portion of a single black colour is printed. This has the effect of hiding colour registration errors and removing excess toner around fine black text.
The single colour black is actually a four colour black but with a substantial amount of "under zolour removal" (UCR). When a black edge is detected the output is limited to (Page 1 8)(262906)(CFP00205) AfflllPi CL 13printing a register value within the near black correction unit 36. This register is loaded with a value representing 100% output for the black pass, and say 20% for the other passes.
Hence there will be 80% UCR which has been found to produce better results than 100% UCR which tends to produce results that appear too 'thin' when fine lines of text are printed.
Referring now to Fig. 19, the structure of the near black correction unit 36 is shown.
The RGB input pixels 88 from the compositing bus 63 are input to a latch and delay unit 87, to be delayed so they are synchronized with colour conversion data obtained from the near white output 85 previously derived from the interpolation processor 16. The near black correct, on unit 3 6 detects the case of a black input pixel. If the input pixel is not ulack then multiplexor 90 passes the colour conversion data of the near white output 85 (i.e.
from the previous pipeline stage) unchanged from its input to its output.
If the current input pixel is black, a near black control unit 92 tests the pixel's immediate neighbours for whiteness. If either of the neighbours are white then the near black control unit 92 considers that it has detected an edge and activates the multiplexor via multiplexor control signal 93 which then selects the contents of a deep black register 91 rather than the near white output In order to provide some tolerance to noise in the input signal white values are •0 .considered to be in the range ofR,G,B values being OxFF-OxFE and black values are set in 20 the range 0x00-0x01. This allows for least significant bit errors during compositing operations prior to colour conversion.
The near black correction unit 36 processor scans a line for the case of a black to white or white to black transition. This enables the detection of horizontal edges. If a system requires the detection of vertical edges then it will be necessary to scan from line to line. Two status signals, a white detect signal 94 and a black detect signal 95 are provided for use for the optional detection of edges in a vertical scanning direction.
Referring now to Fig. 20, there is shown an embodiment of a vertical edge detection system, which is ancillary to the colour conversion apparatus 2. One line of colour conversion data comprising the output data 9 is stored in a data line store 96, being the line that is to be colour corrected for text edges. A first line of status information is stored in a first status information store 97, and a second line of status information is stored in a second stat's information store 98, the store 98 corresponding to the line being written to thedat i line store 96, and the store 97 to the line previously in the data line store 96. The third line of status information is current status information 99 and comes directly from the colour conver-ion apparatus 2 (see Fig. 17).
(Page+ 18)(262906)(CFP00205) pa~;, 14- An edge determination logic unit 100 performs the same function as that performed in the near black correction unit 36 in that an edge determination logic unit output signal 131 is high when the output of the second status information store 98 indicates a black pixel, and either the output of the first status information store 97 or the current status information 99 indicates a white pixel. When such a condition occurs a multiplexor 103 outputs the value stored in another deep black register 102 otherwise the colour data from the data line store 96 is output. The deep black register 102 is reloaded via an RBUS input 104, derived from the register bus 5, at each colour data pass of the printer device.
The foregoing describes only a number of embodiments of the present invention, modifications, obvious to those skilled in the art, can be made thereto without departing from the scope of the present invention.
*3O* 35 (Page+ 1 8)(262906)(CFP00205)

Claims (14)

  1. 2. A method as claimed in claim 1 wherein the interpolating step further includes determining a distance measure of said output pixel component from at least one of said *closest interpolation points by means of a lookup table. S
  2. 3. A method as claimed in claim lor 2 wherein a relationship between the two colour spaces is defined by a transfer function and the output colour space intervals vary in length depending on the behaviour of the transfer function. 25 4. A method as claimed in claim 3 wherein the length of the output colour space intervals is shorter at and about locations where the transfer function undergoes a relatively rapid changes in slope. A method as claimed in claim 4 wherein the length of said output colour space intervals is adjusted so that the magnitude of the change in slope of the transfer function between adjacent ones rcf said output colour space intervals is less than a predetermined value.
  3. 6. A method as claimed in claim 5 wherein each primary colour of the output colour space is divided into a corresponding number of said output colour space intervals, lage+18 262h906 CFP00205AU [oAcisrA\pate±\pNg c+I 81262906dc.1rIl 1 -16- whereby corresponding intervals for each said primary colour of the input colour space define a volume of output pixels which are interpolated to provide a corresponding output pixel component.
  4. 7. A method as claimed in claim 6 wherein the output colour space is configured for display by means of a printing system and said output colour space intervals are predetermined based on a transfer characteristic of the printing system.
  5. 8. A method as claimed in any one of the preceding claims comprising the further step of detecting amongst said output pixels those output pixels having a value near white and altering same to extend a dynamic range of all said output pixels.
  6. 9. A method as claimed in claim 8 wherein said altering involves dithering said those pixels over a range of pixel values. A method as claimed in any one of the preceding claims comprising the further step of detecting amongst said output pixels those pixels having a value near black and *forcing the value of selected ones of said those pixels to black. 20 11. A method as claimed in any one of the preceding claims wherein each of the mtethod steps are repeated for each primary colour component of said output colour space
  7. 12. Colour conversion apparatus for converting an input image in an input colour space to an output image in an output colour space, each of said images comprising a 25 plurality of pixels comprised of primary colour components of the respective colour space, said apparatus comprising interval means for dividing each primary colour component of said input colour space into a plurality of input intervals corresponding to intervals predetermined for a primary colour component of said output colour space and identifying endpoints of said input intervals as interpolation points, mapping means for mapping each pixel of said input image to a closest one of said interpolation points, and an interpolation processor for interpolating between said interpolation points to determine a component of an output pixel values in said output colour space. 2906 Ci'(00205Al) 906 k ro:\cisN\ 1-ngc4ApagI+ I ]262906dcfri 1 r L1I
  8. 17- 13. Colour conversion apparatus as claimed in claim 12 wherein said mapping means comprises a lookup table for determining a distance measure of said output pixel component from at least one of said closest interpolation points. 14. Colour conversion apparatus as claimed in claim 13 wherein a relationship between the two colour spaces is defined by a transfer function and the output colour space intervals vary in length depending on the behaviour of the transfer function. Colour conversion apparatus as claimed in claim 14 wherein the length of the output colour space intervals is shorter at and about locations where the transfer function undergoes a relatively rapid change in slope. 16. Colour conversion apparatus as claimed in claim 15 wherein the length of said output colour space intervals is adjusted so that the magnitude of the change in slope of the transfer function between adjacenc ones of said output colour space intervals is less than a predetermined value. *o o co 17. Colour conversion apparatus as claimed in claim 16 wherein each prim-y colour of the output colour space is divided into a corresponding number of said output 20 colour space intervals, whereby corresponding intervals for each said primary colour of the input colour space define a volume of output pixels which are interpolated to provide a corresponding output pixel component.
  9. 18. Colour conversion apparatus as claimed in claim 17 wherein the output colour space is configured for display by means of a printing system and said output colour space intervals are predetermined based on a transfer characteristic of the printing system.
  10. 19. Colour conversion apparatus as claimed in claim 18 wherein said volume of input pixels has vertices defined by said endpoints, said mapping means mapping said vertices to corresponding vertices of a volume of primin:y colour components of said output pixels. Colour conversion apparatus as claimed in claim 19 wherein said volume of primary colour components of said output pixels is provided to said mapping means as a ,further lookup table, said further lookup table being changed for each primary colour k (7 'Io) Ni 1 ~629)0(6 (C'F1 00205AU [o:\cisra\page+\paige+ 181262906dc,frin I -18- component of said output colour space, and said interpolator processor interpolating the corresponding output pixel component from values in said further lookup table mapped to by said corresponding vertices.
  11. 21. A method for converting an input image in an input colour space to an output image in an output colour space substantially as described herein with reference to Figs. 3 to 20 of the drawings.
  12. 22. Colour conversion apparatus for converting an input image in an input colour space to an output image in an output colour space substantially as described herein with reference Figs. 3 to 20 of the drawings.
  13. 23. A method as claimed in any one of claims 1 to 11, wherein said input colour space has a first set of primary colour components and said output colur space has a second set of primary colour components different from the first set.
  14. 24. Colour conversion apparatus as claimed in any one of claims 12 to 20, wherein said input colour space has a first set of primary colour components and said output colur spacehas a second set of primary colour components different from the first set Dated this SEVENTH day of APRIL 1997 Canon Information Systems Research Australia Pty Ltd 25 Canon Kabushiki Kaisha Patent Attorneys for the Applicants Spruson Ferguson ('TP00205AI [o:\cisr\pagc+\page+I 8]262906dt. Cr ABSTRACT COLOUR CONVERSTON APPARATUS A colour conversion apparatus is disclosed maps image data from a input colour space (RGB) to an output colour space (CMYK). A transfer function between the colour spaces is known relevant to the appropriate display medium printer and this is divided into intervals (22,23,24 Fig.7,8) for interpolating between the colour spaces. The intervals vary in length depending on the behaviour of the transfer function with the intervals being shorter where the transfer function is not well behaved rapid change in slope). Interpolation is performed over each interval based on a mapping a volume of input pixel data (8 points of RGB) to a corresponding volume of a component of output pixel data 8 points of C, C000, C001, C010 etc.) Interpolation is performed between those points to derive an output pixel colour component value. The process is repeated for each primary colour component of the output colour space to produce composite output pixels. Near-white and near-black colour correction is also disclosed. o a 2Fig.s 4,7, 11 o C (Page+ I 8)(262906)(CFP00205) I
AU57672/94A 1993-03-08 1994-03-08 Colour conversion apparatus Expired AU678798B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU57672/94A AU678798B2 (en) 1993-03-08 1994-03-08 Colour conversion apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
AUPL7675 1993-03-08
AUPL767593 1993-03-08
AU57672/94A AU678798B2 (en) 1993-03-08 1994-03-08 Colour conversion apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
AU37489/97A Division AU3748997A (en) 1993-03-08 1997-09-10 Colour conversion apparatus

Publications (2)

Publication Number Publication Date
AU5767294A AU5767294A (en) 1994-09-15
AU678798B2 true AU678798B2 (en) 1997-06-12

Family

ID=25631711

Family Applications (1)

Application Number Title Priority Date Filing Date
AU57672/94A Expired AU678798B2 (en) 1993-03-08 1994-03-08 Colour conversion apparatus

Country Status (1)

Country Link
AU (1) AU678798B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2050751A (en) * 1979-05-30 1981-01-07 Crosfield Electronics Ltd Image-reproduction apparatus
US5018008A (en) * 1988-08-11 1991-05-21 Dainippon Screen Mfg. Co. Ltd. Method of and appartus for setting color separation
US5057931A (en) * 1989-08-19 1991-10-15 Yamatoya & Co., Ltd. Tonal conversion method of pictures for producing reproduced pictures free of color-fog

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2050751A (en) * 1979-05-30 1981-01-07 Crosfield Electronics Ltd Image-reproduction apparatus
US5018008A (en) * 1988-08-11 1991-05-21 Dainippon Screen Mfg. Co. Ltd. Method of and appartus for setting color separation
US5057931A (en) * 1989-08-19 1991-10-15 Yamatoya & Co., Ltd. Tonal conversion method of pictures for producing reproduced pictures free of color-fog

Also Published As

Publication number Publication date
AU5767294A (en) 1994-09-15

Similar Documents

Publication Publication Date Title
US5809181A (en) Color conversion apparatus
US4334240A (en) Interpolation methods and apparatus
US4819193A (en) Gradation processing method for color images
US4477833A (en) Method of color conversion with improved interpolation
US4992861A (en) Color image reproduction apparatus having a digitally operated look-up table constructed by means of a least squares algorithm
CA1241277A (en) Digital color-image transformation
US4603348A (en) Method for composing addresses of a memory
US4941039A (en) Color image reproduction apparatus having a least squares look-up table augmented by smoothing
US4314274A (en) Digital color correction method
US5684981A (en) Memory organization and method for multiple variable digital data transformation
EP0272655A2 (en) Method and apparatus for generating look-up table data
JPH0371863A (en) Page buffer system for electronic gray scale color printer
US5479272A (en) Color gradation correction system of combination of looking-up table and interpolation and method thereof
EP0822708B1 (en) Apparatus for generating interpolator input data
US4866514A (en) Image processing having a second set of look-up-tables (LUTS) for generating error value signals
US20020067848A1 (en) Principal axis look-up for color correction
EP1221812A2 (en) Fast interpolation of large color lookup tables
GB2053619A (en) Improvements in Interpolation Methods and Apparatus
EP0426809B1 (en) Page buffer for an electronic gray-scale color printer
US4607340A (en) Line smoothing circuit for graphic display units
JPH07203234A (en) Color picture converter
US5666437A (en) Apparatus for routing interpolator input data by performing a selective two's complement based on sets of lower and higher order bits of input data
US5764862A (en) Near white color correction
AU678798B2 (en) Colour conversion apparatus
US5450532A (en) Cache memory system for a color ink jet printer

Legal Events

Date Code Title Description
PC Assignment registered

Owner name: CANON KABUSHIKI KAISHA

Free format text: FORMER OWNER WAS: CANON KABUSHIKI KAISHA, CANON INFORMATION SYSTEMS RESEARCH AUSTRALIA PTY LIMITED