Image processing apparatus and method

Abstract: An object of the present invention is to sufficiently show the effects of color correction in view of the characteristic of an output device even if an image processing setting of the output device is changed, and to always obtain the optimal output image even if the characteristic of the output device changes. In order to achieve the above object, a color chart is output from an image output based on data generated in an image processing apparatus, and a color correction parameter best-suited to color correction in view of the type and characteristic of an output device is generated in a color correction parameter generator based on data obtained by reading the color chart from a reader, and stored in a storage. A device setting value at the output of the color chart is stored in another storage. In image output, a color corrector and an image processor are automatically adjusted to be best-suited to color correction by using a pair of the stored color correction parameter and the stored device setting value, and then, color correction and image processing are carried out.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to a color image processing apparatus and method, and more particularly, to a color image processing apparatus and method which enables an output device, such as a color facsimile machine, color printer or color copier, to produce optimal output corresponding to color image information. Description of the Related Art A well-known type of color image processing apparatus with an output device for outputting color image information, such as a personal computer and a color printer, has the configuration shown in Fig. 6, and outputs images according to the following procedure. A color document is read by a document reader 1 and stored as color image information (R, G and B color signals) in a color image information storage 2. The color image information read from the color image information storage 2 is subjected by a color corrector 11 to color correction best-suited to an output device (for example, a color printer) in view of the characteristic of an image output 5, and converted into C, M and Y color signals. A device setter 12 makes a setting for image processing of an image processor 4 inherent in the output device based on setting values for ink density control and dither pattern selection in binarization which are set by a device setting operator (not shown) in a main body of the output device. After that, the C, M and Y color signals are subjected to image processing, such as ink density control and binarization, by the image processor 4 for performing image processing inherent in the output device to be converted into C', M' and Y' color signals. The C', M' and Y' color signals are printed out on paper by the image output 5. The increased level of function of such output device allows more settings inherent therein, such as fine adjustment and switching of image processing. As setting examples of image processing performed in the output device, ink density control and dither pattern switching in binarization are performed. However, in the above-mentioned conventional color image processing apparatus, the color correction in view of the characteristic of the output device normally adapts to only a characteristic in a certain specific setting of the output device. For example, in a case in which five ink density settings are possible and error diffusion or dither patterning can be selected for binarization in image processing performed in the output device, and color correction can show the best effect by using error diffusion at an ink density level of 3, if the ink density level is set at 1, a generally low-density image is output, if the ink density level is set at 5, a generally high-density image is output, and if dither patterning is selected for binarization, an output image loses its optimal gradation. As described above, if the image processing setting condition of the output device itself is changed in the conventional color image processing apparatus, the effects of color correction in view of the characteristic of the output device are not sufficiently obtained. As a result, the user is required in color image output to verify in advance whether proper settings have been made for color correction in view of the characteristic of the output device. Furthermore, in the conventional color image processing apparatus, only one preset color correction is possible for one output device. Therefore, even if various settings, such as ink density control and dither pattern switching for binarization, can be made in image processing performed in the output device, it is impossible to sufficiently make use of the effects of the settings. Furthermore, if changes of the output device with time and the like prevent optimal output in preselected colour correction, there is no countermeasure to take against the changes. JP-A-3129971 discloses an image processing apparatus in which masking coefficient and binarisation parameters are stored so as to correspond with an output device. Colour correction is performed with a masking coefficient and a binarisation parameter in accordance with the selected output device. US-A-4929978 discloses a colour correction method applicable to a colour copier. A set of colour patches with different sample colours is printed. The patches are then scanned and analysed to obtain colour patch input values. These are then analysed to generate a colour correction table. In accordance with one aspect of the present invention there is provided an image processing apparatus as set out in claim 1. In accordance with a further aspect of the present invention there is provided an image processing method as set out in claim 6. Other aspects and features of the present invention will become clear upon reading the following description of the preferred embodiments. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing the configuration of an embodiment of the present invention; Fig. 2 is a flow chart showing a colour correction parameter generating procedure in the embodiment of the present invention; Fig. 3 is a flow chart showing an image output processing procedure in the embodiment of the present invention; Fig. 4 is a block diagram of a colour corrector in the embodiment of the present invention; Fig. 5 is a block diagram of an image processor in the embodiment of the present invention; and Fig. 6 is a block diagram showing the configuration of a conventional colour image processing system. DESCRIPTION OF THE PREFERRED EMBODIMENTS A detailed description of preferred embodiments of the present invention will now be given in conjunction with the accompanying drawings. Fig. 1 shows a general configuration of a color image processing apparatus 110 according to an embodiment of the present invention. Referring to Fig. 1, numeral 11 denotes an external interface for inputting color image information from a host computer 100 to the color image processing apparatus 110. The color image processing apparatus 110 comprises a document reader (color scanner) 1 for reading a color document and generating color image information, a color image information storage 2 for storing input, such as a photographic image of the color document read from the document reader 1 and a computer graphics (CG) image generated by computer through a monitor and input from the external interface 11, as color image information (R, G and B color signals), a color corrector 3 for subjecting the color image information read from the color image information storage 2 to color correction best-suited to an output device in view of the characteristics of an image output 5, an image processor 4 for performing image processing inherent in the output device, such as ink density control and dither pattern switching in binarization, and the image output (color printer) 5 for outputting an image on a recording medium, such as paper, corresponding to the color image information color-corrected by the color corrector 3 and processed by the image processor 4. As the image output 5, for example, an ink-jet printer mechanism or a color electrophotographic mechanism may be used. A device setter 6 sets conditions of the above image processing performed by the image processor 4 in accordance with a device setting value set by a device setting operator in a main body of the output device (for example, although not shown, keys on a keyboard, buttons on a control panel or a CD-ROM card) and a device setting value stored in a setting condition storage 7. The setting condition storage 7 stores the device setting value of the image processor 4 to make the color corrector 3 perform color correction best suited to the output device in view of the characteristics of the image output 5, and can store a plurality of such device setting values. Numerals 8, 9 and 10 respectively denote a color correction parameter generator, a color correction parameter storage and a pattern generator. The pattern generator 10 generates data on a color chart for color correction parameter generation in C, M and Y signals, and outputs the signals to the image processor 4. The color correction parameter generator 8 makes the image output 5 output the color chart generated by the pattern generator 10, makes the document reader 1 read the color chart, and generates color correction parameters needed for the color corrector 3 to perform color correction best-suited to the output device in view of the characteristics of the image output 5, based on obtained color chart read data and color chart output data. The color correction parameter storage 9 stores the color correction parameters generated by the color correction parameter generator 8. The color correction parameters are respectively paired with the above device setting values, and the same number of color correction parameters as that of the device setting values are stored in the color correction parameter storage 9. The configuration of the color corrector 3 is shown in Fig. 4. A log converter 41 converts RGB data output from the color image information storage 2 into C o M o Y o data, and an image output characteristic corrector 42 outputs CMY data obtained by correction in accordance with the output characteristic of the image output 5 in the image processing set based on the parameters from the color correction parameter storage 9. The image output characteristic corrector 42 performs, for example, masking using a 3 × 3 matrix computation or gradation correction. The configuration of the image processor 4 is shown in Fig. 5. A density controller 51 performs density control on the CMY data, which is corrected by the color corrector 3 in accordance with the output characteristic of the image output device 5, according to the parameters set by the device setter 6. The density is controlled by γ corrections corresponding to respective C, M and Y colors. A binarizer 52 binarizes C N , M N and Y N data obtained by the density control by using dither patterns set by the device setter 6. The above-mentioned devices are controlled by a CPU 12 by using a RAM 14 as a work memory according to programs stored in a ROM 13. A color correction parameter generating procedure in the embodiment using the configuration shown in Fig. 1 will now be described with reference to a flowchart of Fig. 2. A main processing routine is started in response to a command to generate color correction parameters. First, color chart output data is generated by the pattern generator 10, subjected to necessary image processing by the image processor 4, and printed out on paper or the like as a color chart from the image output 5 (Step S101). Since no color correction is made to the color chart output from the image output 5, both the image processing characteristic of the image processor 4 and the characteristic of the image output 5 are reflected in the color chart. The output color chart is read and converted into color chart read data by the document reader 1, and transmitted to the color correction parameter generator 8 (Step S102). The color correction parameter generator 8 transmits a control signal Q to the device setter 6 on receipt of the color chart read data. In response to the control signal Q, the device setter 6 stores, in the setting condition storage 7, an image processing setting of the image processor 4 when this color chart is output (Step S103). Based on the received color chart read data and color chart output data, the color correction parameter generator 8 generates color correction parameters for color correction best-suited to the output device in view of the characteristic of the image output 5 in the image processing setting of the image processor 4 when the color chart is output (Step S104). The color correction parameters generated by the color correction parameter generator 8 are stored in the color correction parameter storage 9 (Step S105). The color correction parameters and the device setting values are respectively stored in the color correction parameter storage 9 and the device setter 6 in correspondence with each other. The above procedure allows device setting conditions, which are fit for the color corrector 3 to perform color correction according to color correction parameters, to be stored in the setting condition storage 7 when the color correction parameters are generated. A plurality of pais of color correction parameters and device setting values can be stored by repeating the above procedure several times on arbitrary device setting conditions. When the image processor 4 can perform a plurality of image processes and independently set device setting values for the image processes, color correction parameters are generated corresponding to the plurality of device setting values. In other words, color correction parameters are generated corresponding to the device setting values of the density controller 51 and the device setting values of the binarizer 52 set according to directions from the user. If no directions are given from the user in image processing, default values are automatically set. It is preferable that the operation shown in Fig. 2 be performed not only at shipment of the apparatus, but periodically or freely, for example, at replacement of the image output 5 and maintenance of the output device, or when required by the user. A color image output procedure in the embodiment using the configuration shown in Fig. 1 will now be described with reference to a flowchart shown in Fig. 3. A main processing routine is started in response to an image output start command. A color document is read by the document reader 1, and the read data is temporarily stored in the image information storage 2 as color image information (R, G and B color signals) (Step S1). When one of the color correction parameters generated by the above-mentioned color correction parameter generation process is selected according to the device setting made through the operating portion by the user (or one of the parameters is preselected by the user), control is directed to one of branches A, B and C in Fig. 3 according to the selection (Step S2). Subsequently, the color image information read from the image information storage 2 is subjected to color correction, which is best-suited to the output device in view of the characteristic of the image input 5 in the color corrector 3 according to the color correction parameter selected from the color correction parameter storage 9 in Step S2, and converted into C, M and Y color signals. At this time, a control signal P identifying the selected color correction parameter is transmitted from the color corrector 3 to the device setter 6 (Step S3, S4 or S5). The device setter 6 reads the device setting value corresponding to the color correction parameter selected in Step S2 from the setting condition storage 7 with reference to the control signal P (Step S6, S7 or S8), and sets image processing of the image processor 4 inherent in the output device according to the read device setting value (Step S9). Image processing, such as ink density control and binarization, set by the device setter 6 is applied on the C, M and Y color signals in the image processor 4 for carrying out image processing inherent in the output device, by which the C, M and Y signals are converted into C', M' and Y' color signals (Step S10). These C', M' and Y' color signals are supplied to the image output 5, which prints out a color image on paper (or cloth or a plastic sheet) (Step S11). As described above, in this embodiment, color correction parameters best-suited to color correction in view of the type and characteristic of the output device are generated based on the output color chart and stored in the color correction parameter storage 9. Furthermore, device setting conditions best-suited to the color correction are set and stored in the setting condition storage 7. The output device is automatically adjusted to one of the device setting conditions best-suited to the present color correction based on such stored data. Therefore, an image can be automatically output in the best condition for the present color correction. Furthermore, when the color correction parameters are generated, the device setting conditions fit for color correction using the color correction parameters are stored in the setting condition storage 7, by which color correction is allowed to be performed in view of the device characteristic on an arbitrary device setting condition. [Other Embodiments] Although R, G and B color signals are output from the color image information storage 2 and C', M' and Y' color signals are input to the image output 5 in the above embodiment, there is no special reason for limiting signals to such signals. These color signals may be replaced with color signals respectively depending on the characteristics of the output device. Similarly, although the color signals are converted from R, G and B into C, M and Y in the color corrector 3, other color signals may be used if color correction is performed in view of the type and characteristics of the output device. Furthermore, although data on a color chart required to generate the color correction parameters is generated by the pattern generator 10 in the above embodiment, the data may be previously stored in a predetermined area of the color image information storage 2, and a color chart for generating the color correction parameters may be printed out from the image output 5 by using the stored data. Although color correction is performed according to the color correction parameters generated by the color correction parameter generator 8 in the above embodiment, similar effects to those of the above embodiment can be obtained in the present invention by previously storing a plurality of color correction parameters and a plurality of device setting values respectively in predetermined memories, sequentially pairing the color correction parameters and the device setting values based on the color chart read data and the image processing setting at color chart output, and then selectively using one of the pairs according to the selection of color correction by the user, that is, the selection of the color correction parameter by the user to carry out color correction and image processing. Furthermore, although color correction and image processing are carried out according to the color correction parameter selected by the user at the color image output (Step S2) in the above embodiment, similar effects can be obtained by performing color correction and image processing using one of the color correction parameters which is automatically selected based on the device setting value selected by the user. The binarizer 52 in the above embodiment may switch between, for example, the dither method and the error diffusion method. The image processor 4 may switch between other kinds of image processes, for example, a single color mode and a full-color mode, or a YMC three-color recording mode and a YMCK four-color recording mode. The present invention may be applied to a system constituted by a plurality of devices, or one apparatus comprising one such device. The pattern generator 10 may hold a plurality of color chart data corresponding to image processes, for example, color chart data for binarization and color chart data for density control. Needless to say, the present invention may be applied to a case in which the system or the apparatus is provided with a program for carrying out the present invention. The image output of the present invention may be applied to a head for jetting droplets by film boiling with heat energy, and a recording method using such head. The above-mentioned image processing is not limited to ink density control and dither patterning in binarization, and may be related to, for example, the control of the process amount, such as charging voltage, in electrophotography. As described above, the above embodiments take the following effects. (1) If the image processing setting condition of an output device itself is changed, it is possible to sufficiently show the effects of color correction in view of the characteristics of the output device. As a result, the user can obtain an optimal color output image without any need to verify in advance whether the device setting is suitable for color correction in view of the characteristics of the output device. (2) Since color correction parameters can be generated according to the device setting conditions, it is possible to sufficiently make use of the device settings. Furthermore, even if the characteristics of the output device vary with time, color correction can be always performed in view of the characteristics of the device suitable for the output device setting, thereby always obtaining an optimal output image.

Claims: An image processing apparatus comprising: image generation means (10) for generating test colour image data; setting means (6) for setting a binarizing method and colour adjusting condition; binarizing means (4) for binarizing colour image data in accordance with the binarizing method set by said setting means (6); colour adjusting means (4, Fig 5-51) for adjusting colour based on the colour adjusting condition set by the setting means (6); output means (5) for outputting an image binarized by said binarizing means (4); input means (1) for inputting colour image data representing said image; generation means (8) for generating a colour correction factor based upon the input colour image data to account for the effect of said binarizing method and said colour adjusting condition set by said setting means and the output characteristics of said output means (5); memory means (9) for storing a plurality of colour correction factors generated by the generation means, each colour correction factor being associated with a particular combination of binarizing method and colour adjusting condition; and colour correction means (3) for performing colour correction on input colour image data using the colour correction factor stored in said memory means (9) and associated with the binarizing method and the colour adjusting condition set by said setting means (6). An image processing apparatus according to claim 1 or 2, wherein said colour correction means (3) is adapted to perform a matrix computation. An image processing apparatus according to claim 1 or 2, wherein said binarizing method comprises a method of applying a dither pattern. An image processing apparatus according to claim 1 or 2, wherein said binarizing method comprises an error diffusion method. An image processing apparatus according to any preceding claim, wherein said setting means (6) is adapted to set said binarizing method and said colour adjusting condition based on a manual instruction. An image processing method comprising: generating test colour image data; binarizing said test colour image data in accordance with a binarizing method set by a setting means (6) of an image processing apparatus; adjusting colour based on a colour adjusting condition set by the setting means (6); outputting an image from said image processing apparatus binarized in accordance with said binarizing method; inputting color image data representing said image output by said image processing apparatus; generating a colour correction factor to account for the effect of said binarizing method and said colour adjusting condition set by said setting means and the output characteristics of said image processing apparatus based upon said color image data representing said image output by said image processing apparatus; storing said colour correction factor in memory means (9) of said image processing apparatus in association with said set binarizing method and colour adjusting condition; and performing colour correction on image data input into said image processing apparatus using a stored colour correction factor associated with the binarizing method and colour adjusting condition set by the setting means of said image processor.

Inventors: MORI HIROSHI, MORI, HIROSHI
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1995
Main classification: H04N1
IPC codes: G06T5, G06T1, H04N1, B41J2