Color image processing apparatus

Abstract: There is disclosed a color image processing method and apparatus therefor, in which the input image data are converted into a color coordinate system represented by luminocity and hue, for example L*a*b* space. The colors reproducible on the output device, for example a printer, are also converted into this coordinate system. An average value is calculated over plural pixels in the vicinity of an object pixel to be digitized, and plural average values are then obtained by including the object pixel selected at each of the reproducible colors. The input image signal is digitized to the closest one of the plural average signal. The digitization error generated at the digitization is distributed to the succeeding pixels with weighted ratios. This method achieves faithful color reproduction, matching the colors reproducible on the recording or display device.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an image processing apparatus for receiving a color image in the form of digital signals and effecting a pseudo halftone processing to display said signals or convert said signals into recording signals. Related Background Art In a color image processing apparatus such as a digital color copying machine, a pseudo halftone processing has been conducted on the image data, obtained by reading an original image, for image display or image recording. For such pseudo halftone processing there are already known, for example, dither method and error diffusion (ED) method. For reproducing a color image with these methods, for example with a light emitting display such as a cathode ray tube, the input multi-value data of red, green and blue are subjected to pseudo halftone processing independently in the color spaces of red, green and blue. Also in case of using a thermal recording apparatus such as a thermal transfer printer, an ink jet recording apparatus or an electrostatic recording apparatus, the input multi-value data are generally transformed from the R, G, B-color coordinate system to the C, M, Y (K)-color coordinate system and are subjected to independent pseudo halftone processing in respective color spaces as explained above. However the pseudo halftone processing of density preserving type, such as the error diffusion method, is basically designed to conserve the density in a microspace in each color space, so that the color synthesized from the results of independent processings in three or four color spaces does not necessarily coincide with the color of the original image. Stated differently, each point on the recording sheet does not necessarily represent the color of the original input image. Particularly small black dots resulting from black color generation in the human skin color area give rise to an unnatural texture, thus resulting in the deterioration of the image quality. Also in case of image production with an apparatus utilizing the RGB color space and that utilizing the CMYK color space, there is required a color coordinate converting circuit from the RGB color space to the CMYK color space, or vice versa. Furthermore, in case of variation in the recording characteristics of a binary recording apparatus, the correction of so-called masking or undercolor removal coefficients requires an enormous amount of data processing which cannot be achieved inexpensively in a practical apparatus. Also the compression of redigitized data after pseudo halftone processing can only be made independently in each of four colors. A concern of the present invention is to provide a color image processing apparatus not associated with the drawbacks of the above-explained conventional methods. An embodiment of the present invention provides a novel color image processing apparatus for direction conversion from data in a color space represented by hue and luminocity into a color for representation or recording. Another embodiment of the present invention provides a color image processing apparatus capable of reproducing hues faithful to the input color image by pseudo halftone processing of input image data in a color space represented byu luminocity and hue, and also of providing an image of increased quality by correcting errors generated at the conversion to the color of representation. German Patent Specification No. DE-A-3636658 is concerned with the correction of variations between different CCDs. In this specification a constant which is used to separate data from the CCDs into R, G and B data is accordingly adjusted for each CCD. In accordance with the present invention there is provided color image processing apparatus as set out in claim 1. The present invention will be more readily understood from the following detailed description, which is to be taken in conjunction with the attached drawings, and which is given by way of example. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of a color image processing apparatus constituting an embodiment of the present invention; Figs. 2 and 3 are block diagrams of a halftone processing unit in the first embodiment; Fig. 4 is a chart showing the relationship between the representation colors used for recording or display and L*a*b*; Fig. 5 is a view showing reference pixels used in halftone processing; Fig. 6 is a view showing weighting coefficients in the determination of the average value; Figs. 7A and 7B are charts showing the relationship between the colors determined by halftone processing and the colors for recording or display; Figs. 8 and 9 are block diagram of a halftone process unit in a second embodiment; Fig. 10 is a block diagram of a halftone process unit of a third embodiment; Figs. 11 and 12 are block diagrams of a halftone process unit in a fourth embodiment; Fig. 13 is a chart showing the relationship between representation colors determined by halftone processing and recording colors; Fig. 14 is a chart showing the relationship between representation colors and L*a*b*; Figs. 15 and 16 are views showing the positions of error distribution; Fig. 17 is a view showing the weighting coefficients for determining the average value; Figs. 18 and 19 are block diagrams of a halftone process unit in a fifth embodiment; Fig. 20 is a chart showing the relationship between the representation colors and L*a*b*; Fig. 21 is a view showing an example of the weighting coefficients for determining the average value; Fig. 22 is a schematic block diagram of an image processing apparatus constituting a sixth embodiment; Fig. 23 is a block diagram of a re-digitizing unit in said sixth embodiment; Fig. 24 is a table for conversion from record/display colors into recording colors; Fig. 25 is a block diagram of a re-digitizing unit in said sixth embodiment; Fig. 26 is a chart showing recording characteristics of record/display colors; Fig. 27 is a chart showing data around the object pixel converted into recording color based on Fig. 26; Fig. 28 is a chart showing anticipated average values in case the object pixel is anticipated; Fig. 29 is a block diagram of the re-digitizing unit when the error diffusion method is employed in the sixth embodiment; Fig. 30 is a block diagram of a Gamut limiting unit in the sixth embodiment; and Fig. 31 is a chart of an example employing plural black recording materials. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Now the present invention will be clarified in detail by an embodiment therefor. In the following description there will be explained L*a*b* color coordinate data as an example of color coordinate data represented by luminocity and hues, but the present invention is also applicable to other color coordinate data such as L*u*v*, YIQ or Yuv system. Fig. 1 is a schematic block diagram of an image processing apparatus constituting an embodiment of the present invention. A color image reading unit 1, utilizing a CCD, converts the reflected light from an original image into electrical signals. Said CCD 1 converts the red, green and blue color components, obtained by respective color filters from the reflected light, into respective electrical signals. Thus obtained analog electrical signals are converted into digital signals by an A/D converter 2. The digital image data r, g, b are subjected to the correction of fluctuations among the CCD elements by a shading correction circuit 3. A color system conversion system 4 converts the entered data r, g, b into L*, a*, b* data, wherein L* represents luminocity while a* and b* represent hues, and L*, a* and b* constitute a color space capable of representing all the colors. An image correction unit 5 effects image data editing, including image sharpening on the L* signal such as edge emphasis, and color conversion, image enlargement or reduction on the a*b* space. A pseudo halftone process unit 6, featuring the present embodiment, receives the multi-value data represented by L*a*b* system as the input image signals and effects a pseudo halftone processing, based on data representing eight colors C, M, Y, K (black), R, G, B and W (white) reproducible on a recording unit 7, thereby sending binary recording signals C, M, Y and K to the recording unit 7. Now there will be explained in detail a first embodiment of the pseudo halftone process unit 6, with reference to block diagrams shown in Figs. 2 and 3. [1st embodiment] Referring to Fig. 2, a selection unit 62 selects, among 8 representation colors (3 bits) of M, Y, B, G, R, W and K, the closest one to the input image f (represented by L*a*b*), and the corresponding 3-bit signal to a data storage unit 60 and a record signal conversion unit 64. The record signal conversion unit 64 effects a table conversion of the selected color into independent 4-bit record signals of C, M, Y and K. On the other hand, the data storage unit 60 converts, based on 3-bit selection signals each representing one of the aforementioned 8 colors and retained for a one-line period, the representation color of each of several pixels around the object pixel into one of separately entered L*a*b* data of eight colors. An average value calculation unit 61 effects a weighted average calculation in the L*a*b* space from the already selected and determined data of representation color around the object pixel, and sends the obtained average values to the selection unit 62. The selection unit 62 determines the representation color of the object pixel in consideration of said average values. In the following the algorithm of this processing will be explained in detail, with reference to Fig. 3. Referring to Fig. 3, 3-bit color data (corresponding to C, M, Y, B, G, R, W or K) from the selection unit 620 are supplied to the line delay memory 600 and data conversion RAM's 602, 604 and 606. The data L*, a* and b* are respectively converted by said RAM's 602, 604 and 606. Similarly data L*, a* and b* delayed by a line in the memory 600 are respectively converted by RAM's 601, 603 and 605. The conversion data are provided and stored in advance, for example from an unrepresented CPU, as data of the output device connected thereto. In the present embodiment, the 8 representation colors are converted into L*a*b* data by a conversion table shown in Fig. 4. The data conversion by the RAM allows to reduce the bit width of the externally connected memory 600. In the following there will be given an explanation on thus converted data L*. The color data x (corresponding to one of the aforementioned 8 colors) selected by the selection unit 620 for the object pixel are converted into data L x * by the RAM 602, and stored for a pixel period in a flip-flop (F/F) 610-3. Similarly the color data of the preceding line are converted by the RAM 601 and respectively stored by a pixel period by F/F′s 610-1 and 610-2. Thus, when the object pixel is positioned at the input terminal of the F/F 610-3, the data of the pixels adjacent to the object pixels, as shown in Fig. 5 are positioned in the following manner that those of the immediately preceding pixel A are at the output terminal of the F/F 610-3, those of the pixel D in the preceding line at the output terminal of the F/F 610-2, and those of the pixels B, C respectively at the input and output terminals of the F/F 610-1. A weighted average L* calculation unit 613 calculates a weighted sum of the data L* of 4 pixels A, B, C and D shown in Fig. 5, by multiplying the weights shown in Fig. 6. It is to be noted that a weight 8/16 is also allotted to the object pixel, but, in the above-mentioned operation, an average mL* is calculated in the following manner on 4 pixels excluding the object pixel to be digitized: mL*(i,j) = (1 x L D * + 3 x L C * + 1 x L B * + 3 x L A *) Similar operations are simultaneously conducted also in the a*b* space, by a weighted average a* calculation unit 614 and a weighted average b* calculation unit 615 in the following manner: ma*(i,j) = (1 x a D * + 3 x a C * + 1 x a B * + 3 x a A *) mb*(i,j) = 1 x b D * + 3 x b C * + 1 x b B * + 3 x b A *) wherein, for example, L D *, a D * and b D * represent color data at the position of the pixel D, assuming values L D * = 60, a D * = -20 and b D * = -40 for example for cyan (C) color, according to the table shown in Fig. 4. In the following there will be explained the process of the selection unit 620, which receives said averages mL*, ma*, mb* and selects one of eight representation colors. Said selection unit 620, in anticipation for the cases where the object pixel is represented by the aforementioned 8 colors, calculates the anticipated average values mL x *, ma x *, mb x * including the object pixel, by adding L x *, a x *, b x * values for each of said 8 colors multiplied by a weight "8" (Fig. 6) to the values obtained in the weight average calculation units 613, 614 and 615. For example, following calculations are conducted if the object pixel is anticipated as cyan (C): mL C * ={mL*(i,j) + 8 x 60} x 1/16, ma C * = {ma*(i,j) - 8 x 20} x 1/16, mb C * = {mb*(i,j) - 8 x 40} x 1/16. Similarly, if the object pixel is anticipated as magenta (M): mL M * = { mL*(i,j) + 8 x 50 } x 1/16, ma M * = { ma*(i,j) + 8 x 70 } x 1/16, mb M * = { mb*(i,j) - 8 x 20 } x 1/16. In a similar manner, there are calculated mL Y *, ma Y *, mb Y * for anticipated yellow (Y), mL K *, ma K *, mb K * for anticipated black (K), mL R *, ma R *, mb R * for anticipated red (R), mL G *, ma G *, mb G * for anticipated green (G), mL B *, ma B *, mb B * for anticipated blue (B), and mL W *, ma W *, mb W * for anticipated white (W). Then the distance ΔE between the data L*, a*, b* of the object pixel f(i,j) and each of the above-mentioned 8 sets of average values in the following manner. For example, when the object pixel is anticipated as cyan, said distance ΔE C is determined as: ΔE C = (L* - mL C *) 2 + (a* - ma C *) 2 + (b* - mb C *) 2 . Similarly the distances ΔE M , ΔE Y , ΔE K , ΔE R , ΔE G , ΔE B and ΔE W for the remaining colors are determined. Then the minimum of said distances ΔE is determined according to the following equation: x = min<ΔE X >, x = C, M, Y, K, R, G, B or W. The selected color x for the object pixel is a color having minimum distance ΔE among these 8 colors. For example, if ΔE M is smallest among the distances ΔE for said 8 colors, the selection unit 620 selects the color M for the object pixel. Said selected color is supplied to the memory 600, and RAM's 602, 604, 606 for use in the halftone processing of subsequent pixels and also to a record signal decoding ROM 640 for conversion into a record signal. The record signal decode ROM 640 converts the selected color into a record color, according to a table shown in Fig. 7A. For example, a record color M is released in response to the selected color M from the selection unit 620, and record colors C and M in response to the selected color B. Fig. 7B shows a table to be used for converting the selected colors from the selection unit 620 into R, G, B data, in case a display unit based on R, G, B system is used as an output unit. As explained in the foregoing, the present embodiment can easily provide color data, by a table conversion, for the output unit of YMCK or RGB color system. Also in the present embodiment, it is possible to reduce the amount of processing while avoiding the deterioration in image quality, by reducing the bit width for the data a*, b* at the conversion from R, G, B data into L*, a*, b* data, because the hues are not affected appreciably by the bit width reduction of the a*, b* data for example from 8 bits to 6 bits. The above-explained process is repeated for the every entered image data L*, a*, b* whereby the pseudo halftone processing of a full-color image is completed. As explained in the foregoing, this 1st embodiment can reproduce an image more faithful to the original color image, by determining the record or representation color based on the input L*a*b* data, in comparison with the conventional case of independent determination of record color for each color. Besides a smooth color image can be reproduced, at the determination of the record color, by the use of pseudo halftone processing with approximation to the average value of L*, a*, b* of plural pixels around the object pixel. [2nd embodiment] A 2nd embodiment, to be explained with reference to Figs. 8 and 9, is to correct a color selection error ΔE, generated in the color selection of the 1st embodiment. Referring to Fig. 8, a selection unit 65 calculates the error generated at the color selection, in addition to the process in the 1st embodment. An error correction unit 63 corrects the L*a*b* data of the input image data accordingly, and the corrected input image data L f' *, a f' *, b f' * are supplied to said selection unit 65 for determining the representation color of the object pixel. More specifically, when the object pixel is determined as color x (= C, M, Y, K, R, G, B or W), the distance ΔE x to the input image data is given by: ΔE x = (L f' * - mL x *) 2 + (a f' * - ma x *) 2 + (b f' * - mb x *) 2 , and the errors ΔL*, Δa*, Δb* are given by: ΔL* = L f' * - mL x * Δa* = a f' * - ma x * Δb* = b f' * - mb x *. Said errors are respectively divided into two for generating data e1(ℓ, a, b) and e2(ℓ, a, b) for respectively correcting the data of a succeeding pixel position (i, j+1) and those of a pixel (i+1, j) adjacent in the succeeding line, in the following manner: e1(i,j+1) = (ΔL*/2, Δa*/2, Δb*/2), e2(i+1,j) = (ΔL* - ΔL*/2, Δa* - Δa*/2, Δb* - Δb*/2) Referring to Fig. 9, the error data e2 for correcting the pixel in the succeeding line are supplied to an error memory 634, and error data e2 (i, j+1) which were generated in the preceding line and delayed by a line in said memory are added, together with the presently generated error data el(i, j+1) for correcting the succeeding pixel, to the data L*, a*, b* in an adder 633. The error correction is completed by adding thus obtained results of addition to the input image data f(i, j+1) in an adder 632. Consequently, the corrected image data f'(i, j), obtained from an F/F 631, can be written as: f′(i, j) = f(i, j) + e1(i, j) + e2(i, j). The above-explained error correction is conducted on every input image data. Thus the present 2nd embodiment can provide a reproduced image which is more faithful to the original image and is smoother, by adopting the correction of error generated at the color selection, in addition to the processing in the 1st embodiment. [3rd embodiment] The foregoing 1st and 2nd embodiments are to effect pseudo halftone processing on the object pixel, based on "the already determined selected colors in the vicinity of the object pixel". A 3rd embodiment, shown in Fig. 10, is to "directly determine the record color at the object pixel position", by expanding the error correction area. At first a selection unit 621 determines a distance ΔE between the error-corrected input image data f'(i, j) to be explained later and each of the aforementioned 8 colors. For example, if the object pixel is anticipated as cyan color, said distance ΔE C can be determined in the following manner, from the L C *, a C *, b C * data for cyan color shown in Fig. 4: ΔE C = (L f' * - 60) 2 + (a f' * - (-20)) 2 + (b f' * - (-40)) 2 . Similarly the distance ΔE M for anticipated magenta color is: ΔE M = (L f' * - 50) 2 + (a f' * - 70) 2 + (b f' * - (-20)) 2 . There are also similarly determined ΔE Y , ΔE K , ΔE R , ΔE G , ΔE B and ΔE W Thus the selected color x is a color showing minimum distance ΔE x , as indicated by: x = min<ΔE x >, x = C, M, Y, K, R, G, B or W. The error correction is conducted as follows. For a selected color x, the selection errors ΔL*, Δa*, Δb* are given by: ΔL* = (L f' - L x *), Δa* = (a f' - a x *), Δb* = (b f' - b x *). These errors are distributed to 12 pixels, surrounding the object pixel; as shown in error correction units 635, 636, 637 shown in Fig. 10. Thus the correction data e ℓ *, e a *, e b * for the next pixel position (i, j+1) are given by the additions of ΔL* x 7/48; Δa* x 7/48 and Δb* x 7/48. In this manner the data e ℓ *, e a *, e b * for correcting the data of the next pixel are cumulative value of errors distributed from already selected 12 pixel positions, and the error correction is completed by the addition of said correction data to the input image data in adders 638, 639 and 641. Each of the error correction units 635, 636, 637 is provided with an error memory of a capacity of two lines. In the following 1st to 3rd embodiments, there is shown a selection from 8 colors based on binary recording of C, M, Y and K colors, but a multi-value pseudo halftone processing of high image quality is also possible by registering a larger number of representation colors in the form of L*a*b* data, if a multi-level recording is available for each color, as in electrophotographic recording with pulse width modulation, thermal recording with a thermal head, or ink jet recording with multiple dot recording utilizing inks of different densities. Also it will be readily understood that the apparatus functions as a printer, by the supply for example of a computer graphic image from the outside in the form of L*a*b* data to the input/output port of the image correction unit shown in Fig. 1, or of the R, G, B data to the input terminal of the color system conversion circuit. As explained in the foregoing, the 1st or 3rd embodiments are capable of reproducing colors faithful to the input image position, namely to the input color image, by a halftone processing of the input image data in a color space represented by luminocity and hue. Also there can be obtained an image of improved quality of correction of the error generated at the conversion to the recording or representation color. Furthermore, these embodiments allow faithful color representation regardless of the colors representable on the output device, thereby facilitating system construction. [4th embodiment] In the following there will be explained, with reference to Figs. 11 and 12, a 4th embodiment in which the error correction explained in the 2nd embodiment is conducted in adaptive manner. In Figs. 11 and 12, components other than a selection unit 72, an error correction unit 73 and a selection unit 720 are same as those in Figs. 8 and 9 and are therefore represented by same numbers. The selection unit 72 in,Fig. 11 selects, for each pixel, a representation color closest to the input image f, in consideration of the surrounding pixels (this operation being hereinafter called re-digitization). In the present embodiment, the recording device is composed of a printer capable of binary recording of four colors C, M, Y and K, so that the representation color for each pixel is one of eight colors C, M, Y, B (CM), G (CY), R (MY), W and K. The selected 8 colors are represented by 3-bit values (0 - 7) which are converted in the record signal conversion unit 64 into binary signals of C, M, Y and K. Fig. 13 shows the relationship between the re-digitized signal x and the record signal. Said re-digitized signal x is entered into the data memory unit 60, which retains the re-digitized data of pixels in a two-dimensional area around the object pixel which has just been re-digitized, and the average calculation unit 61 calculates the average image color from said data of plural pixels and enters said average image color into the aforementioned selection unit 72. Since the average calculation unit 61 effects calculation in the L*a*b* space, it converts the representation color based on the re-digitized data x retained in the data memory unit 60 into L*a*b* data. The error correction unit 73 receives the digitizing error generated at the re-digitization by the selection unit 72, and corrects the data of the surrounding pixels. Consequently the above-mentioned re-digitization is conducted on thus error-corrected input image signal. In the following the algorithm of the above-explained process will be explained in detail with reference to Fig. 12. Referring to Fig. 12, the re-digitized signal x is supplied to a memory 600 for a delay of about one line. Said signal and a re-digitized signal of the preceding line are supplied to input address terminals of RAM's 602, 601, 604, 603, 606 and 605, which, based on said re-digitized signals x, convert the representation color data corresponding to said signals x to L*a*b* color coordinate data. More detailedly, RAM's 601, 602 effect conversion from the representation colors x into L* data, RAM's 603, 604 into a* data and RAM's 605, 606 into b* data. In the present embodiment said conversions are conducted according to a table shown in Fig. 14. Among the L* x , a* x , b* x data converted from the re-digitized signals x, the data of 4 pixels adjacent to the object pixel in the L*, a* and b* spaces are positioned respectively at terminals of F/F's 610-1, 610-2, 610-3; F/F's 611-1, 611-2, 611-3; and F/F's 612-1, 612-2, 612-3. More specifically, the L* data L* A , L* B , L* C and L* D of pixels A, B, C and D adjacent to the object pixel, as shown in Fig. 5, are respectively positioned at the output of F/F 610-3, input and output of F/F 610-1, and output of F/F 610-2. Similarly the a* data a* A , a* B , a* C and a* D of said 4 pixels are positioned at the output of F/F 611-3, input and output of F/F 611-1, and output of F/F 611-2, and the b* data b* A , b* B , b* C and b* D of said 4 pixels are obtained at the output of F/F 612-3, input and output of F/F 612-1, and output of F/F 612-2. The weighted average calculation units 613, 614, 615 independently determine the average values mL*, ma* and mb* respectively in the L*, a* and b* spaces, by applying the weighting coefficients shown in Fig. 21 to said adjacent 4 pixels and the object pixel to be re-digitized now, in the following manner: mL* = 1 x L* D + 4 x L* C + 1 x L* B + 4 x L* A ma* = 1 x a* D + 4 x a* C + 1 x a* B + 4 x a* A mb* = 1 x b* D + 4 x b* C + 1 x b* B + 4 x b* A These average values mL*, ma*, mb* are supplied to the selection unit 720, and the calculation of average values is completed by anticipating the re-digitization of the object pixel with a weight "6" given to the object pixel position. More specifically, if the object pixel is anticipated as cyan color (x = 0), the average values mL* 0 , ma* 0 , mb* 0 are given by: mL* 0 = (mL* + 6 x L* 0 ) x 1/16, ma* 0 = (ma* + 6 x a* 0 ) x 1/16, mb* 0 = (mb* + 6 x b* 0 ) x 1/16. Similarly, the average values mL* x , ma* x , mb* x for an anticipated re-digitized color x are given by: mL* x = (mL* + 6 x L* x ) x 1/16, ma* x = (ma* + 6 x a* x ) x 1/16, mb* x = (mb* + 6 x b* x ) x 1/16. In this manner there are determined 8 sets of anticipated average values for the representable 8 colors. The selection unit 720 calculates the distances ΔE x 2 between said eight sets of anticipated average values and the error-corrected input image data f'(i, j) to be explained later, according to the following equation, and determines a value x showing the minimum distance as the re-digitized data: ΔE x 2 = (L* f' - mL* x ) 2 + (a* f' - ma* x ) 2 + (b* f' - mb* x ) 2 wherein L* f ' , a* f ' ,b* f ' are L*a*b* space data of f'(i, j); X ij = min(ΔE x 2 ). As the representation color (x = 0 - 7) determined as explained above and the input image f' are correlated by the minimum ΔE x 2 , the re-digitization errors ΔL*, Δa* and Δb* are defined as follows: ΔL* = L* f' - mL* x , Δa* = a* f' - ma* x , Δb* = b* f' - mb* x . In the following there will be given a detailed explanation on the correction for the above-mentioned re-digitization error. The above-mentioned error is basically corrected in two pixels, namely a pixel f(i, j+1) to be re-digitized next and a pixel f'(i+1, j) adjacent in the next line, but the amount of correction is adaptively limited as shown in the following, according to the generated error: ΔL* = ±αL if ΔL* > α L Δa* = ±α a if Δa* > α a Δb* = ±α b if Δb* > α b wherein α L , α a , α b are constants. The above-explained process prevents the blur of the re-digitized image in case of an abrupt change in the input image. More specifically, a large error between the average value and the input image occurs in an area of abrupt change of the input image, and such area is identified as an edge of the image and all the error is corrected to prevent the blur in the generated image. The above-mentioned re-digitization errors, ΔL*, Δa*, Δb* are distributed, as shown in Fig. 15, as a correction e1 to the next pixel position and a correction e2 to the pixel in the next line, in the following manner: e1 (i, j+1) = (ΔL*/2, Δa*/2, Δb*/2), e2 (i+1, j) = (ΔL* - ΔL*/2, Δa* - Δa*/2, Δb* - Δb*/2). The error correction e2 for the pixel of the next line is supplied to an error memory 634 shown in Fig. 12, and is also supplied therefrom to the preceding line to read the error e2 (i, j+1) already retained for a line period, which is added to the presently generated el (i, j+1) in an adder 633. The output of said adder represents the error correction for the next pixel f (i, j+1) and is added in an adder 632 to the input image data in the following manner: f'(i, j+1) = f (i, j+1) + e1 (i, j+1) + e2 (i, j+1). The above-mentioned error correction is conducted independently in the L*, a* and b* spaces in the weighted average calculation units 613, 614, 615. The error-corrected input image data f' (i, j+1) are supplied from the F/F 631 to the selection unit 720 in synchronization with the next pixel data clock signal, and are subjected to the re-digitization process explained above. The record signal decoding ROM 640 shown in Fig. 12 effects conversion from the re-digitized signal x to the binary record signals Cx, Mx, Yx, Kx according to a table shown in Fig. 13. In the following there will be explained variations of the error correction unit in the 4th embodiment. In the 4th embodiment, the error is distributed to two adjacent pixels, but an error distribution over a larger area for example with error distribution ratios shown in Fig. 16 allows to suppress the formation of unpleasant texture of low frequency in the re-digitized image. Also same effect can be attained by varying the error distribution ratio for each pixel in the following manner, utilizing a pseudo random number PN: e1 (i, j+1) = ( P 8 ΔL*, P 8 Δa*, P 8 Δb*), e2 (i+1, j) = (ΔL* - P 8 ΔL*, Δa* - P 8 Δa*, Δb* - P 8 Δb*), wherein P = 3 if PN = 1, or P = 5 if PN = 0. The 1-bit pseudo random number generator to be employed can be composed of a 1-bit shift register of about 25 stages, by the use of so-called M-series codes, for generating pseudo random numbers without periodicity in the processing of an image of A3-sized original image. Also in the 4th embodiment the blur of the re-digitized image is prevented by limiting the generated error at a predetermined value, but, for faithfully reproducing the edge information of the input image in the re-digitized image, it is most effective to suspend the error correction in the L* space representing the luminocity, as indicated by: ΔL* = 0, if ΔL* > β L , Δa* = ±α a , if Δa* > α a , Δb* = ±α b , if Δb* > α b wherein α a , α b and α L are constants. Also in these embodiments, re-digitization more faithful to the original image can be attained by selecting said constants α, β according to the input image, for example larger for an ordinary photographic image and smaller for a screen-toned image. It is furthermore possible to automatically vary said constants α, β by the microscopic features of the image, for example edge information, in the course of image reading. Furthermore, in the foregoing embodiment, the adaptive processing is conducted according to the errors ΔL*, Δa*, Δb* which are defined as the difference between the error-corrected input image signal and the anticipated average values, but the change in the input image can be more effectively reflected on the result by an adaptive processing on a newly defined difference δL* with respect to the input image signal f before error correction, in the following manner: δL* = L* f - mL* x , ΔL* = 0, if δL* > β L Δa* = ±α a , if Δa* > α a Δb* = ±α b , if Δb* > α b . Furthermore, in the 4th embodiment, the average value in any of the L*, a* and b* spaces is calculated from the data of already re-digitized four neighboring four pixels, but a re-digitized image more faithful to the original image can be obtained by selecting a larger area for average value calculation in the L* space than in the a* and b* spaces. Furthermore, the weighting coefficients in different pixel positions are not limited to those shown in the foregoing embodiments, and a better re-digitized image can be obtained if said coefficients are larger as the position is closer to the object pixel position and smaller as the position is farther. Furthermore, the foregoing 4th embodiment is to effect re-digitization into representative 8 colors of C, M, Y, K, R, G, B and W based on binary recording of four colors C, M, Y and K, but more faithful black color reproduction can be attained by re-digitization with 11 colors additionally including: CK = C + K, MK = M + K and YK = Y + K. In this case the conversion to the record signals is conducted by C = 1, K = 1 for CK; M = 1 K = 1 for MK; and Y = 1, K = 1 for YK. In this process, in an area close to black, the recording dots are less frequently recorded in a single color but can be re-digitized in dark gray with more faithful hue. Also for more faithful re-digitization of light gray in case of ink jet recording with inks of different densities or electrophotographic recording with pulse width energy modulation, there may be employed three-level black recording with an intermediate level WK with same L*a*b* values employing black ink of lower density, or WK = 0.5K attained with a half dot size, and the re-digitization may be conducted with 9 colors including such intermediate black level, in addition to the foregoing 8 colors. This method may be further expanded to C, M and Y to obtain re-digitized image of improved quality, through the increase in intermediate record/representation colors. As explained in the foregoing, the 4th embodiment determined the average values in L*, a* and b* spaces based on the already re-digitized data and on the anticipated re-digitization of the object pixel, determines the differences ΔE between said values and the input image signal, thus obtains a recording signal for each pixel by selecting a record color with smallest difference, and adaptively controls the distribution to the adjacent pixels of the error generated in the re-digitization, thereby faithfully reproducing any input image signals such as of halftone image or character image. Also said 4th embodiment, effecting halftone processing of the input image data in a color space represented by luminocity and hue, is capable of reproducing colors faithful to the input color image, and adaptively corrects the error generated in the conversion to the representation color, thereby providing an image of high quality without blur in the image. [5th embodiment] In the foregoing 1st to 4th embodiment, there is conducted pseudo halftone processing in the L*a*b* space. In the 5th embodiment, there is conducted pseudo halftone processing in an X 1/3 Y 1/3 Z 1/3 space. The circuit structure of the present 5th embodiment is same as shown in Fig. 1 and is therefore not explained, and the following description be concentrated on the pseudo halftone processing unit. Referring to Fig. 18, a selection unit 83 selects a representation color closest to the input image f for each pixel, in consideration of the surrounding situation (this operation being hereinafter called re-digitization). In the present embodiment there is employed a recording device capable of binary recording in four colors of C, M, Y and K, so that there can be selected 8 representation colors of C, M, Y, B (CM), G (CY), R (MY), W and K (black) for each pixel. Each selected color x is represented by a 3-bit value (0 - 7) and is converted into binary signals of C, M, Y and K in a record signal conversion unit 84. The relation between the re-digitized signals x and the record signals is same as shown in Fig. 13. Said re-digitized signal x is supplied to a data storage unit 80, which two-dimensionally retains the re-digitized data of pixels around the object pixel just subjected to the re-digitization. An average calculation unit 81 calculates the average image color from the data of said plural pixels, and supplies the obtained result to said selection unit 82. Since the calculation in the average calculation unit 81 is conducted in a (X) 1/3 (Y) 1/3 (Z) 1/3 space, the re-digitized data x stored in the data storage unit 80 are converted into (X) 1/3 (Y) 1/3 (Z) 1/3 data. An error correction unit 83 receives the digitization error generated at the re-digitization in the selection unit 82 and accordingly corrects the adjacent input pixel data. Consequently the aforementioned re-digitization is conducted on thus error-corrected input image signal. The algorithm of the above-explained process will be explained in detail with reference to Fig. 19. The re-digitized signal is supplied to a memory 800 for delay for about a line. Said signal and the re-digitized signal of the preceding line are supplied to input address ports of RAM's 802, 801, 804, 803, 806 and 805, which convert the representation color data indicated by the re-digitized signal x into (X) 1/3 (Y) 1/3 (Z) 1/3 color coordinate data. The (X) 1/3 (Y) 1/3 (Z) 1/3 coordinate is a space consisting of cubic roots of values of XYZ coordinate obtained by linear transformation from the RGB coordinate system, and shows substantial linearity to the density. The coordinate values in this space can be easily obtained from those in the L*a*b* space by the following equations: (Y) 1/3 = L* + 16 116 (X) 1/3 = a* 500 + (Y) 1/3 (Z) 1/3 = (Y) 1/3 - b* 200 wherein X, Y and Z: 0 - 1.0. The RAM's 801 and 802 effect conversion to (X) 1/3 data; 803 and 804 effect conversion to (Y) 1/3 data; and 805 and 806 effect conversion to (Z) 1/3 data. Fig. 20 shows the conversion table employed in the present 5th embodiment. A data conversion unit 842 composed of a similar RAM converts the representation color data L*a*b* from a printer into X 1/3 Y 1/3 Z 1/3 space data for the re-digitization judgement to be explained later. Among the (X) 1/3 (Y) 1/3 (Z) 1/3 data converted from the re-digitized signal x, the data of 4 pixels adjacent to the object pixel in each of the (X) 1/3 , (Y) 1/3 and (Z) 1/3 spaces are positioned respectively at the terminals of F/F's 810-1, 810-2, 810-3; F/F's 811-1, 811-2, 811-3; and F/F's 812-1, 812-2, 812-3. More specifically, the (X) 1/3 data (X) 1/3 / A, (X) 1/3 / B, (X) 1/3 / C and (X) 1/3 / D of the pixels A, B, C and D adjacent to the object pixel in Fig. 5 are respectively positioned at the output of F/F 810-3, input and output of F/F 810-1, and output of F/F 810-2. Similarly the (Y) 1/3 data (Y) 1/3 / A, (Y) 1/3 / B, (Y) 1/3 / C and (Y) 1/3 / D are positioned at the output of F/F 811-3, input and output of F/F 811-1 and output of F/F 811-2, and the (Z) 1/3 data (Z) 1/3 / A, (Z) 1/3 / B, (Z) 1/3 / C and (Z) 1/3 / D are positioned at the output of F/F 813-3, input and output of F/F 813-1, and output of F/F 813-2. Weighted average calculation units 813, 814, 815 independently determine the average values mX 1/3 , mY 1/3 , mZ 1/3 respectively in the (X) 1/3 , (Y) 1/3 , (Z) 1/3 spaces, by applying the weighting coefficients shown in Fig. 21 to said adjacent pixels and the object pixel position to be re-digitized now, in the following manner: mX 1/3 0 (mX 1/3 + 6 x X 1/3 0 ) x 1/16, mY 1/3 0 (mY 1/3 + 6 x Y 1/3 0 ) x 1/16, mZ 1/3 0 = (mZ 1/3 + 6 x Z 1/3 0 ) x 1/16. Similarly the average values for an anticipated re-digitized value x are given by: mX 1/3 x = (mX 1/3 + 6 x X 1/3 x ) x 1/16, mY 1/3 x = (mY 1/3 + 6 x Y 1/3 x ) x 1/16, mZ 1/3 x = (mZ 1/3 + 6 x Z 1/3 x ) x 1/16. In this manner there are determined 8 sets of anticipated average values for the representable 8 colors. The selection unit 820 calculates the distances ΔE 2 between said eight sets of anticipated average values and the error-corrected input image data f'(i, j) to be explained later, according to the following equation, and determines a value x showing the minimum distance as the re-digitized data: ΔE 2 = ( X 1/3 f' - mX 1/3 x ) 2 + ( Y 1/3 f' - mY 1/3 x ) 2 + ( Z 1/3 f' - mZ 1/3 x ) 2 X ij = min( E 2 x ). wherein X 1/3 / f', Y 1/3 / f' and Z 1/3 / f' are data in the (X) 1/3 (Y) 1/3 (Z) 1/3 coordinate system converted from the L*a*b* space data of f' (i, j) as explained before. As the representation color x (= 0 - 7) determined as explained above and the input image f' are correlated by the minimum ΔE 2 / x, the re-digitization erros ΔX 1/3 , ΔY 1/3 and ΔZ 1/3 are defined as follows: ΔX 1/3 = X 1/3 f' - mX 1/3 x ΔY 1/3 = Y 1/3 f' - mY 1/3 x , ΔZ 1/3 = Z 1/3 f' - mZ 1/3 x . In the following there will be given a detailed explanation on the correction for the above-explained re-digitization error. The above-mentioned error is basically corrected in two pixels, namely a pixel f(i, j+1) to be re-digitized next and a pixel f′ (i+1, j) adjacent in the next line, but the amount of correction is adaptively limited as shown in the following, according to the generated error: ΔX 1/3 = ±α X , if ΔX 1/3 > α X , ΔY 1/3 = ±α Y , if ΔY 1/3 > α Y , ΔZ 1/3 = ±α Z , if ΔZ 1/3 > α Z , wherein α X , α Y and α Z are constants. The above-explained process prevents the blur of the re-digitized image in case of an abrupt change in the input image. More specifically, a large error between the average value and the input image occurs in an area of abrupt change of the input image, and such area is identified as an edge of the image and all the error is corrected to prevent the blur in the generated image. The above-mentioned re-digitization errors ΔX 1/3 , ΔY 1/3 , ΔZ 1/3 are distributed, as shown in Fig. 15, as a correction e1 to the next pixel position and a correction e2 to the pixel in the next line, in the following manner: e1(i, j+1) = (ΔX 1/3 /2, ΔY 1/3 /2, ΔZ 1/3 /2), e2 (j+1, i) = (ΔX 1/3 - ΔX 1/3 2 , ΔY 1/3 - ΔY 1/3 2 , ΔZ 1/3 - ΔZ 1/3 2 . The error correction e2 for the pixel of the next line is supplied to an error memory 834 shown in Fig. 19, and is also supplied therefrom to the preceding line to read the error e2 (i, j+1) already retained for a line period, which is added to the presently generated el (i, j+1) in an adder 833. The output of said adder represents the error correction for the next pixel f (i, j+1) and is added in an adder 832 to the input image data in the following manner: f' (i, j+1) = f (i, j+1) + e1 (i, j+1) + e2 (i, j+1). The above-explained error correction is conducted independently in the respective spaces on the input image signals converted in the data conversion unit 841 from the L*a*b* spaces to the (X) 1/3 (Y) 1/3 (Z) 1/3 coordinate system. The error-corrected input image data f' (i, j+1) are supplied from the F/F 831 to the selection unit 820 in synchronization with the next pixel data clock signal, and are subjected to the re-digitization process explained above. The record signal decoding ROM 840 shown in Fig. 19 effects conversion from the re-digitized signal x to the binary record signals Cx, Yx, Mx, Kx according to the table shown in Fig. 13. In the following there will be explained variations of the error correction unit in the 5th embodiment. In the 5th embodiment, the error is distributed to two adjacent pixels, but an error distribution over a larger area for example with error distribution ratios shown in Fig. 16 allows to suppress the formation of unpleasant texture of low frequency in the re-digitized image. Also same effect can be attained by varying the error distribution ratio for each pixel in the following manner, utilizing a pseudo random number PN: e1 (i, j+1) = (ΔX 1/3 , ΔY 1/3 , ΔZ 1/3 ), e2 (j+1, i) = (ΔX 1/3 - P 8 ΔX 1/3 , ΔY 1/3 - P 8 ΔY 1/3 , ΔZ 1/3 - P 8 ΔZ 1/3 ), wherein P = 3 if PN = 1, or P = 5 if PN = 0. The 1-bit pseudo random number generator to be employed can be composed of a 1-bit shift register of about 25 stages, by the use of so-called M-series codes, for generating pseudo random numbers without periodicity in the processing of an image of A3-sized original image. Also in the 5th embodiment the blur of the re-digitized image is prevented by limiting the generated error at a predetermined value, but, for faithfully reproducing the edge information of the input imae in the re-digitized image, it is most effective to suspend the error correction according to the distance ΔE 2 between the input image data and the anticipated average value. The error ΔE 2 / x in the re-digitization into x is given by: Δ E 2 x = (ΔX 1/3 ) 2 + (ΔY 1/3 ) 2 + (ΔZ 1/3 ) 2 , and, ΔX 1/3 = 0, ΔY 1/3 = 0 and ΔZ 1/3 = 0 if ΔE 2 / x > β wherein β is a constant. Since ΔE 2 / x is dependent on the change of the input image, the re-digitization is conducted preferably according to the image change if it is abrupt, exceeding a constant β. Also as in the foregoing embodiment, the value β is preferably according to the image, larger for a continuous-tone image and smaller for a screen-toned or character image. Furthermore said value may be automatically regulated, adaptively according to the microscopic features, for example edge information, of the input image. Furthermore, said ΔE 2 / x is defined by the difference between the error-corrected input image signal and the anticipated average value, but the change in the input image can be more effectively reflected on the result by applying the above-explained error correction to a newly defined difference δE 2 with respect to the input image signal f before error correction, in the following manner: δE e x = ( X 1/3 f - mX 1/3 x ) 2 + ( Y 1/3 f - mY 1/3 x ) 2 + ( Z 1/3 f - mZ 1/3 x ) 2 , ΔX 1/3 = 0, ΔY 1/3 = 0, ΔZ 1/3 = 0 if E e x > β wherein β is a constant. Furthermore, the foregoing 5th embodiment is to effect re-digitization into representative 8 colors of C,M,Y,R,G,B,K and W based on binary recording four colors C, M, Y and K, but more faithful black color reproduction can be attained by re-digitization with 11 colors additionally including: CK = C + K, MK = M + K and YK = Y + K. In this case the conversion to the record signals is conducted by C = 1, K = 1 for CK; M = 1, K = 1 for MK, and Y = 1, K = 1 for YK. In this process, in an area close to black, the recording dots are less frequently recorded in a single color but can be re-digitized in dark gray with more faithful hue. Also for more faithful re-digitization of light gray in case of ink jet recording with inks of different densities or electrophotographic recording with pulse width energy modulation, there may be employed three-level black recording with an intermediate level WK = 0.5K, achievable with the same L*a*b* values employing black ink of lower density for the former recording or with a half dot size in the latter recording, and the re-digitization may be conducted with 9 colors including such intermediate black level, in addition to the foregoing 8 colors. This method may be further expanded to C, M and Y to obtain re-digitized image of improved quality, through the increase in intermediate record/representation colors. Also in said 5th embodiment, a representation color x of an anticipated average value having the shortest distance to the input image signal in the (X) 1/3 (Y) 1/3 (Z) 1/3 space is selected as the re-digitized value, but it is also possible to employ ΔE 2 / x in the L*a*b* space thereby obtaining uniform color differences in the re-digitization error. More specificially, the anticipated average values are transformed into the L*a*b* space in the following manner: m L * x = 116 mY 1/3 x - 16, ma * x = 500 ( mX 1/3 x - mY 1/3 x ), mb * x = 200( mY 1/3 x - mZ 1/3 x ), and ΔE 2 / x is determined from the values L * / f", a * / f' and b * / f' obtained by transformation of the error-corrected input image signal f' into the L*a*b* space, in the following manner: Δ E 2 x = ( L * f' - m L * x ) 2 + ( a * f' - m a * x ) 2 + ( b * f' - m b * x ) 2 = 116 2 (ΔY 1/3 ) 2 + 500 2 (ΔX 1/3 - ΔY 1/3 ) 2 + 200 2 (ΔY 1/3 - ΔZ 1/3 ) 2 , and a representation color x showing the minimum value is determined as the re-digitized value X ij of the object pixel as follows: X ij = min( ΔE 2 x ). The error correction is naturally conducted in the (X) 1/3 (Y) 1/3 (Z) 1/3 spaces. The 5th embodiment employs 4 pixels for reference, but this number is not limitative. Particularly when a weighting coefficient 16 is allotted to the object pixel position, a similarly satisfactory pseudo halftone processing is possible by expanding the above-mentioned reference area to 4 - 8 pixels. As explained in the foregoing, the 5th embodiment enables re-digitization faithful to the input image signal by determining the average values in the X 1/3 Y 1/3 Z 1/3 space based on the already re-digitized data and the anticipated re-digitization of the object pixel, determining the differences between said average values and the input image signals, selecting a recording color of the smallest difference thereby obtaining a record color for each pixel, and adaptively controlling the distribution of the re-digitization error to the neighboring pixels. Also the 5th embodiment, being capable of reproducing colors faithful to those of the original image, can reproduce fine-lined black characters in sharper black color, in comparison with the pseudo halftone-processed image obtained by four-color separation. As explained in the foregoing, the 5th embodiment effects halftone processing of the input image data in a color space represented by X 1/3 Y 1/3 Z 1/3 , thereby reproducing hues faithful to those of the input color image, and also effects correction on the error in the conversion to the representation color, thereby providing an image of high quality. [6th embodiment] In the following there will be explained a 6th embodiment for conducting digitization by correcting the input data according to the recording characteristics of the recording device. Fig. 22 is a schematic block diagram of an image processing apparatus of the present embodiment. Analog image signals, separated into R, G and B colors in a CCD 101, are respectively digitized into 8-bit digital signals in an A/D converter 102, then subjected to the correction of unevenness and filtering characteristics of the sensor 101 and an unrepresented imaging system by a shading correction unit 103, then converted into so-called NTSC r, g, b luminocity data, and further converted into density data c′, m′, y′ in a logarithmic conversion unit 104. In case of reading the recording characteristics, a memory 108 stores recording colors usable for recording each dot in a recording device 107 to be explained later, for example 8 colors red (R), green (G), blue (B), cyan (C); magenta (M), yellow (Y), black (K) and white (W), in the form of logarithmically converted r, g, b data. If such data are already available in the recording device 107, they may be entered from the recording device 107 to the memory 108. The density data, converted according to the above-mentioned recording characteristic data, are limited, in a Gamut limitation unit 105, to a color reproduction area. The c, m, y data subjected to said Gamut limitation are supplied to a re-digitization unit 106, and, for each point of input image data, a record color closest to the hue of the input image is selected from 8 available record colors. From thus selected color, the C, M, Y and K colors of 1 bit each are decoded and recorded on the recording device 107. In the following explained are the details of the re-digitization unit 106 mentioned above with reference to Fig. 23. In this circuit, 3-bit data digitized in the selective re-digitization unit 106 are decoded into 1-bit C, M, Y data in a record signal conversion unit 1064, and an average calculation unit 1061 determines a weighted average value in the vicinity of the object pixel, based on 1-bit c, m, y data. The relationship among these data are given in Fig. 24. There are obtained 8 weighted average values, corresponding to the 8 anticipated re-digitizations of the object pixel. Thus the selective re-digitization unit 1062 completes the re-digitization by selecting an anticipated value closest to the input data. At the same time, the difference or re-digitization error between the selected anticipated average value and the input data is determined in each of the c, m, y spaces, and is corrected in an error correction unit 1063. The above-mentioned weighted average values are calculated by replacing the plural data, obtained by re-digitization in 8 manners, with c, m, y multi-value data in the actual recording device 107, obtained from the memory 108. Now reference is made to Fig. 25 for further detailed explanation. A FIFO (first-in-first-out) memory 1610 for delaying re-digitized 3-bit image data by a line period, is connected, at the input and output terminals thereof, to independent weighted average calculations units 1614a - c for c, m and y colors. Thus the re-digitized data are converted into c, m, y multi-value data as the actual colors to be used in the recording device 107 by means of RAM's 1615a - c, then further delayed for several pixels by F/F's 1611a - c for example in case of cyan color, and weighted average values are obtained by the weighted average calculation units 1614a - c, based on the re-digitized data of 4 pixels adjacent to the object pixel. The recording characteristics employed in the present embodiment are shown in Fig. 26. The weighting coefficients for determining the average value in the object pixel * and adjacent pixels A - D shown in Fig. 5 are selected as 1/16 - 6/16 as shown in Fig. 21. In case of cyan color, the output of F/F 1611c, input and output of F/F 1611a, and output of F/F 1611b shown in Fig. 25 respectively correspond to the positions A, B, C and D. Thus the weighted average calculation unit 1614a executes multiplication-summation employing the weighting coefficients shown in Fig. 21, thereby obtaining 8 average values with anticipated re-digitization of the object pixel in 8 manners. For example, if the pixels A, B, C and D are re-digitized as cyan, white, yellow and white, the recording characteristics shown in Fig. 26 become those shown in Fig. 27, and the weighted average calculation units 1614a - c provide the average values m c , m m , m y of four pixels in the following manner: m c = (4 x 206 + 1 x 15 + 4 x 19 + 1 x 15) x 1/16 = 58, m m = (4 x 91 + 1 x 15 + 4 x 16 + 1 x 15) x 1/16 = 29, m y = (4 x 37 + 1 x 15 + 4 x 196 + 1 x 15) x 1/16 = 105. Then the selective re-digitization unit 1062 determines 8 sets of anticipated average values M C , M m , M y shown in Fig. 28, based on the above-mentioned average values m c , m m , m y and the weighting coefficient 6/16 for the object pixel. As an example, if the object pixel is anticipated as cyan, there are obtained following results from the data of Fig. 26, and anticipated data in Fig. 28 are similarly obtained: M c = m c + 206 x 6/16 = 135, M m = m m + 91 x 6/16 = 63, M y = m y + 37 x 6/16 = 119. The selective re-digitization unit 1062 effects comparison of the input data (more precisely error-corrected input data) with 8 sets of data shown in Fig. 25, by determining the distance Δd between the 8 sets of anticipated average values and the input data I c , I m , I y in the following manner, and determines a re-digitized color providing the minimum distance: Δd = (I c - M c ) 2 + (I m - M m ) 2 + (I y - M y ) 2 . For example if I c = 81, I m = 100 and I y = 140, said distance apparently becomes minimum for magenta color, so that the object pixel is re-digitized as magenta. The anticipated average values for magenta are different from the input data by differences E c , E m , E y , which are supplied as re-digitization errors to a distributor 1634. Said errors are represented as follows in the above-mentioned example: E c = 81 - 79 = 2, E m = 100 - 112 = -2, E y = 140 - 134 = 6. Said re-digitization errors are divided by a distributor 1634 into two parts, of which one is delayed for a line period in a line delay memory 1630, while the other is added in an adder 1631 to an error of the preceding line read from said memory 1630, and is synchronized with the next input data in an F/F 1632, thereby correcting the next pixel data. The above-mentioned error correction unit 1063 effects the above-mentioned processing independently for cyan magenta and yellow colors. The re-digitization of the entire image data is completed by the above-explained process for each of the input pixel data. In the following there will be explained the re-digitization unit 106 based on the error diffusion method, with reference to Fig. 29. A selective re-digitization unit 1162 receives the c, m, y input data after correction of the re-digitization error, and selects, among 8 sets of recording characteristic data shown in Fig. 26, supplied from a memory 108 shown in Fig. 22, a set showing smallest distance to the input data. In the above-mentioned example of input data if I c = 81, I m = 100 and I y = 140, if the object pixel is anticipated as cyan color, said distance Δd is given by: Δd = (206 - 81) 2 + (91 - 100) 2 + (37 - 140) 2 = 26315. Comparison is made with seven other anticipated cases, and the red color is identified to have the smallest distance. The result of re-digitization is decoded in a record signal conversion unit 1064, and is supplied to the recording device in the form of binary C, M, Y, K data as in the foregoing embodiment. On the other hand, the re-digitization errors: E c = 81 - 60 = 21, E m = 100 - 219 = -119, E y = 140 - 190 = -50, are supplied to error distribution units 1163 - 1165 which distribute and store said errors with illustrated ratios for the adjacent pixels, in respective error memories 1166 - 1168. The input image data of next pixel are corrected by thus distributed errors and errors distributed in the past, read from the memories and added in adders 1170 - 1173. The above-explained process is conducted for each pixel, thereby achieving re-digitization with faithful color reproduction to the input image, as in the foregoing embodiments. In the above-explained process, if the input image data exceeds the color reproduction area based on the recording characteristics, for example if data I c = I m = I y = 255 are entered in consecutively manner, the generated re-digitization error becomes always positive, since the anticipated average value is always smaller than said data. Consequently the re-digitization error continues to increase so that the process eventually becomes dispersing. Thus the Gamut limitation unit 105 of the present embodiment is provided to prevent such process dispersion. Fig. 30 is a block diagram of the Gamut limitation unit 105 in the present embodiment. RAM's 50 - 52 constitute a look-up table (LUT) prepared in advance according to the recording characteristics (Fig. 20), for data conversion in the following manner, in case of cyan color: C = C max for C' ≧ C max , C = C min for C' ≦ C min , C = C' in other cases. wherein C max and C min are respectively the maximum value 210 and the minimum value 15 for cyan data in Fig. 20. Similar principles are applicable to magenta and yellow data. In the foregoing embodiment, the data exceeding the reproducible color space are clamped by C max and C min , but it is also possible to transform the input data 0 - 255 into the range C min - C max in the following manner: C = C min + (C max - C min )/255 x C'. Also non-linear conversions with following algorithms can be easily achievable by the circuit shown in Fig. 30: C = f(C min , C max , C′). Though the above-explained process is conducted independently for each color, a more precise process can be conducted by detecting a point positioned outside of a body defined by 8 points, corresponding to 8 sets of data in Fig. 26, in a three-dimensional c, m, y space and determining a point on the closest surface of said body. Such process can be realized by employing a RAM receiving c′, m′, y′ data at the address ports and effecting conversion by a look-up table in said RAM. As explained in the foregoing, the present embodiment can achieve easily to the adaptation in the characteristic change in the recording device, by re-digitization with error correction based on hue data recorded by the actual recording device 107. For example, binary re-digitization can be realized by employing 6 colors obtained by the combinations of cyan, magenta and yellow, and black and white which is in this case the hue data of the recording sheet, recording these colors as color patterns, reading the data of these colors and storing then in the data memory 108. In the above-explained embodiment there are employed recording characteristic data with the single black recording material for black recording, but the color reproduction may be improved by the use of re-digitization of 11 colors including three sets of color data for K c consisting of K and C, K m consisting of K and M, and K y consisting of K and Y. A further improvement in the color reproduction can be achieved by re-digitization with 12 colors, through the addition of black data K cmy consisting of C, M and Y. In such case the decoding to the record signals is conducted according to Fig. 31. The above-explained embodiment is designed for binary re-digitization, but is also applicable to a case in which the recording in each color is achievable in 3 - 16 levels. For example, the embodiment shown in Fig. 25 can be expanded to 3 levels by changing the sum of the weighting coefficinets for average calculation from 1 to 1/2, selecting the re-digitization level from 0, 1 and 2 for each color, thereby providing 27 combinations, and selecting the object pixel from 27 anticipated levels. Such increase in the number of levels of re-digitization decreases the re-digitization error, thereby enabling re-digitiation faithful to the input image. The present invention may be applied to a system consisting of plural devices, or to an apparatus consisting solely of a device. Also it is applicable to a case in which a program is combined with a system or an apparatus. As explained in the foregoing, the sixth embodiment: (1) effects re-digitization with the actual color data reproducible by the recording device, thereby achieving re-digitization faithful to the input image; (2) effects re-digitization directly with the characteristics of the recording device, thereby achieving re-digitization faithful to the input image even in the presence of fluctuation in the characteristics of the recording device; and (3) controls the input image data according to the color characteristics reproducible in the recording device, thereby preventing the dispersion of the re-digitizing process. The present invention has been explained by the preferred embodiments thereof, but it is not limited by such embodiments and is subject to various modifications within the scope of the claims.

Claims: A color image processing apparatus comprising: input means (1-5) for inputting in pixel form color coordinate data of a color image; and color conversion means (6) for converting the input color coordinate data into color data suitable for output to reproduction means, characterised in that said color conversion means (6) further comprises, calculation means (61, 62) for calculating the distance between a color location in a color space represented by the input color coordinate data of a pixel and a color location in the same color space determined by a weighted average of the color coordinates of a plurality of pixels adjacent to said pixel and the color data, and selection means (62) for choosing the color data having the color location closest to the color location of the pixel for color conversion. An apparatus according to claim 1, wherein said input means (1-5) inputs L*a*b* data or X 1/3 Y 1/3 Z 1/3 data as the color coordinate data. An apparatus according to claim 2, wherein said color conversion means (6) converts the L*a*b* data or the X 1/3 Y 1/3 Z 1/3 data input by said input means into data of either C, M, Y, K color data or R, G, B and W color data. An apparatus according to any preceding claim, further comprising data conversion means (64) for converting the color data converted by said color conversion means (6) into output data to be used for an image recording or an image displaying. An apparatus according to claim 1, further comprising correction means (63) for correcting an error generated in the conversion process of said color conversion means. An apparatus according to claim 5, wherein said correction means (63) corrects all the error when it is smaller than a predetermined value, and corrects a predetermined amount of the error when it is larger than the predetermined value. An apparatus according to any preceding claim, further comprising Gamut limitation means (105) for preventing a diffusion of the color conversion process of said color conversion means.

Inventors: TANIOKA HIROSHI, TANIOKA, HIROSHI, TANIOKA, HIROSHI, CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1991
Main classification: H04N1
IPC codes: H04N1