Color conversion device

Abstract: It comprises: a region judging section for judging in which region in the three-dimensional color space the input value exists, or a representative points-dispersed axis selecting section for selecting the representative points-dispersed axis which becomes the nearby axis, in that case; a representative points selecting section for selecting representative points in the vicinity of the input value among representative points discretely arranged along the axis, respectively, within the selected representative points-dispersed axis; a look-up table (LUT) which stores coordinates of representative points and color correction data; and a linear interpolation section for performing color conversion by weighting based on the selected representative points.

Description: BACKGROUND OF THE INVENTION (1) Field of the Invention The present invention relates to a color image processing apparatus, in particular, relates to a color conversion device in a color image processing apparatus for obtaining the identical color reproducibility, in color scanners, color cameras, color hard copy devices, color image input devices, display devices, output devices and the like in which high-speed color adjustment and color correction are necessary. (2) Description of the Prior Art As the color conversion method in the field of color printing and color hard copy, there has been conventionally proposed a three-dimensional interpolation using a look-up table, which is disclosed in, for example, Japanese Patent Application Laid-open Sho 63 No. 162248. As shown in Fig. 1A, this is a method for performing color conversion, comprising the steps of dividing the three-dimensional color space into a plurality of unit cubes, setting a color correction value obtained by a calculation in advance to each lattice point of the cubic pattern, selecting a unit cube containing an input color, and using an output value at a plurality of apexes of the unit cube. In this example, it is characterized in that, as shown in Fig. 1B, the values of eight apexes of the unit cube are used for the interpolation processing, in which a correction value is obtained by designating an apex opposite to a point of a correction value to be determined and a volume in a space area of a rectangular parallelepiped formed at the input point as a weight coefficients at a point of the correction value to be determined. With the conventional color conversion method as described above, however, as the input color space is divided more fine, that is, as the distance between the lattice points becomes smaller, the accuracy of interpolation becomes high, but the lattice points increase. Hence, the memory capacity for storing the color correction value set at the lattice points increases, resulting in increase of processing time for the calculation and complexity in the hardware structure. Moreover, it is time-consuming to obtain the correction value itself to be stored. Furthermore, it is characterized in that the accuracy necessary for each axis in the normal three-dimensional color space is nonuniform, hence when the interpolation method is applied for the color conversion, it is preferable that the bit number of each axis in the table memory used for the interpolation be not uniform. If the total bit number is constant, high-quality interpolation of the color information becomes possible which suits the human's visual property without increasing the memory capacity, by taking nonuniform bit structure. However, with the conventional technique, since the basic unit of interpolation is a unit cube within the three-dimensional color space made by the input signal, there is a problem in that the interpolation taking the human's visual property into account cannot be performed. US-A-4 929 978 relates to an apparatus and method for generating a color correction table linking color values in an input color space D and an output color space X by printing color patches and scanning them to associate values in D and X space. US-A-5 311 332 relates to a colour correction method in which a first color space is divided into prisms and lattice points near to an input signal point are selected and interpolated. SUMMARY OF THE INVENTION Aspects of the invention are set out in the accompanying claims. BRIEF DESCRIPTION OF THE DRAWINGS Figs. 1A and 1B are schematic diagrams of a conventional arrangement example of representative points. Fig. 2 is a block diagram showing a schematic structure of a color conversion section according to the first embodiment. Fig. 3 is a schematic diagram showing the configuration of representative points in the LUT according to the first embodiment. Fig. 4 is a diagram corresponding to the LUT data according to the first embodiment. Figs. 5A and 5B are diagrams explaining the outline of the linear interpolation by means of nearby three points. Fig. 6 is a diagram explaining the outline of the linear interpolation on an axis. Fig. 7 is a schematic diagram showing the configuration of representative points in the LUT according to the second embodiment. Fig. 8 is a diagram corresponding to the LUT data according to the second embodiment. Fig. 9 is a schematic diagram showing the configuration of representative points in the LUT according to the third embodiment. Fig. 10 is a diagram corresponding to the LUT data according to the third embodiment. Fig. 11 is a block diagram showing a schematic structure of a color conversion section according to the sixth embodiment. Fig. 12 is a block diagram showing a schematic structure of a color conversion section according to the seventh embodiment. Fig. 13 is a block diagram showing a schematic structure of a color conversion section according to the eighth embodiment. Fig. 14 is a diagram explaining feet of normal obtained with respect to the nearby axes from the input point in the three-dimensional color space in the 8th embodiment. Fig. 15 is a block diagram showing a schematic structure of a color conversion section according to the 9th embodiment. Fig. 16 is a block diagram showing a schematic structure of a color conversion section according to the 10th embodiment. Fig. 17 is a schematic diagram showing the configuration of representative points in the LUT according to the 10th embodiment. Fig. 18 is a diagram corresponding to the LUT data according to the 10th embodiment. Fig. 19 is a diagram explaining the outline of the linear interpolation on an axis. Fig. 20 is a schematic diagram showing the configuration of representative points in the LUT according to the 11th embodiment. Fig. 21 is a diagram corresponding to the LUT data according to the 11th embodiment. Fig. 22 is a schematic diagram showing the configuration of representative points in the LUT according to the 12th embodiment. Fig. 23 is a diagram corresponding to the LUT data according to the 12th embodiment. Fig. 24 is a block diagram showing a schematic structure of a color conversion section according to an example. Fig. 25 is a schematic diagram showing the configuration of representative points in the LUT according to the example. Fig. 26 is a diagram corresponding to the LUT data according to the example. DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the color conversion device according to the present invention will now be described with reference to the accompanying drawings. [First embodiment] Fig. 2 is a block diagram showing a schematic structure of a color conversion processing section according to the first embodiment, which comprises a region judging section 101 for judging in which area the input value resides in the three-dimensional color space, a representative points selecting section 102 for selecting representative points arranged discretely on an axis, respectively, a look-up table (LUT) 103 for storing the coordinates of representative points and color correction data, and a linear interpolation section 104 for performing color conversion by means of weighting based on the selected representative points. Fig. 3 schematically shows a configuration of the representative points. In Fig. 3, the representative points are arranged discretely on four axes of C axis, M axis, Y axis and C=M=Y axis. Here, it is assumed that LUT 103 has color correction data as shown in Fig. 4 with respect to respective representative points, but the number of representative points and the configuration spacing are not limited thereto. The color correction data in Fig. 4 is determined according to the properties of devices to which the color conversion of the present embodiment is applied. The three-dimensional color space is divided into three regions depending upon which axis is included therein, when three axes are taken into account in order of propinquity to the input value and the distance among the four axes shown in Fig. 3. Each region is a triangular pyramid designating the origin 0 as an apex, and two axes among C axis, M axis and Y axis and C=M=Y axis as the three generatrices which is cut by a cube representing the color space, resulting in square pyramids 0A1A2A3A6, 0A4A5A1A6, and 0A3A7A4A6. A region judging section 101 judges that in which region among the above-mentioned regions the input value belongs according to the size relation of the three components of the input value. Each region includes three axes among the four axes shown in Fig. 3, and a representative point nearest to the input value is selected from each axis by a representative points selecting section 102. If it is assumed that, as shown in Fig. 5A, points P1 (C1, M1, Y1), P2 (C2, M2, Y2), and P3 (C3, M3, Y3) are selected as the nearby three points by the representative points selecting section 102, designating the input value as P (C, M, Y), the output value P' (C', M', Y') is given by the following expression: wherein, P'1 (C'1, M'1, Y'1), P'2 (C'2, M'2, Y'2), and P'3 (C'3, M'3, Y'3) represent color correction data of points P1, P2 and P3, respectively, as shown in Fig. 5B. In addition, when the input value P is on either axis among C axis, M axis, Y axis and C=M=Y axis, two points nearest to the input value are selected from the axis by the representative points selecting section 102, and the output value P' is determined by means of the linear interpolation using these two points. For example, if the input value P and points P1 and P2 are on the same axis, as shown in Fig. 6, points P1 and P2 are selected as two points nearest to the input value P, and the input value P divides the segment P1P2 into L2 and L1, the output value P' (C', M', Y') is given by the following expression: Moreover, when the input value exists on the CM plane, MY plane or YC plane, the representative points are respectively selected from two axes which are in the vicinity thereof, and the linear interpolation is performed by weighting. [Second embodiment] The second embodiment of the present invention will now be described. The schematic structure of this embodiment is shown in Fig. 2, as in the first embodiment, except that the number of axes for arranging representative points increases. The configuration of representative points in this embodiment is shown in Fig. 7. In Fig. 7, there are added three axes for arranging representative points, compared to Fig. 3. That is to say, representative points are discretely arranged on seven axes, C axis, M axis, Y axis, C=M=Y axis, C=M axis (Y=0), M=Y axis (C=0), and Y=C axis (M=0). Here, it is assumed that the LUT 103 has the color correction data as shown in Fig. 8, with respect to the respective coordinates of the representative points. The number of representative points and the configuration spacing are not limited thereto. The color correction data in Fig. 8 is determined according to the properties of devices to which the color conversion of the present invention is applied. The three-dimensional color space is divided into six regions depending upon which axis is included therein, when three axes are taken into account in order of propinquity to the input value and the distance among the seven axes shown in Fig. 7. Each region is a triangular pyramid designating the origin 0 as an apex, and two axes in the neighborhood among C axis, M axis, Y axis, C=M axis (Y=0), M=Y axis (C=0) and Y=C axis (M=0), and C=M=Y axis as the three generatrices. This results in triangular pyramids OA1A2A6, OA1A5A6, OA2A3A6, OA3A6A7, OA4A5A6, and OA4A6A7. The region judging section 101 in Fig. 2 judges that in which region among the above-mentioned six regions the input value belongs, and performs the color conversion processing in the same procedure as in the first embodiment. Moreover, when the input value exists on C=M plane, M=Y plane or Y=C plane, the representative points are respectively selected from two axes which are in the vicinity thereof, and the linear interpolation is performed by weighting. According to this embodiment, since the number of axes for arranging representative points of the LUT is increased, the color conversion becomes possible with higher accuracy. [Third embodiment] The third embodiment of the present invention will now be described. The schematic structure of this embodiment is shown in Fig. 2, as in the second embodiment, except that the number of axes for arranging representative points increases. The configuration of representative points in this embodiment is shown in Fig. 9. In Fig. 9, there are added three axes for arranging representative points, compared to Fig. 3. That is to say, representative points are discretely arranged on seven axes, in which three axes (axis being C=M=100, axis being M=Y=100, and axis being Y=C=100) are newly added which designate a point A6 (100, 100, 100) as a center and are orthogonal to each other. Here, it is assumed that the LUT 103 has the color correction data as shown in Fig. 10, with respect to the respective coordinates of the representative points. The number of representative points and the configuration spacing are not limited thereto. The color correction data in Fig. 10 is to be determined according to the properties of devices to which the color conversion of the present invention is applied. The three-dimensional color space is divided into nine regions depending upon which axis is included therein, when three axes are taken into account in order of propinquity to the input value and the distance among the seven axes shown in Fig. 9. The region judging section 101 in Fig. 2 judges that in which region among the above-mentioned nine regions the input value belongs, and performs the color conversion processing in the same procedure as in the second embodiment. According to this embodiment, since three axes for arranging representative points in the LUT are added, the accuracy of the color conversion is improved in the portion having high density. [Fourth embodiment] The fourth embodiment of the present invention will now be described. Though the color conversion accuracy of the image differs largely depending upon the configuration of representative points, since, in the first embodiment, the C=M=Y axis is always selected, by making the density of the data arrangement on the C=M=Y axis high, it becomes possible to perform the color conversion with high accuracy. [Fifth embodiment] The fifth embodiment of the present invention will now be described. Since the human eyes are not sensitive to the color difference in an area having a very high density, or in an area having a very low density, the conversion accuracy in these density area may be relatively low. Moreover, in the case of a natural image, the color data distribution in the three-dimensional color space tends to converge on a relatively medium density area. Therefore, by arranging more representative points in the medium density area in the three-dimensional color space, favorable color conversion becomes possible without increasing the memory volume. [Sixth embodiment] The sixth embodiment of the present invention will now be described. Fig. 11 shows a block diagram of this embodiment, which includes a LUT selecting section 401, as well as LUT1 (402), LUT2 (403) and LUT3 (404) which have different properties. The number of LUTs are not limited to 3. Users can adjust the hue of the output image according to their preference, by selecting a LUT using the LUT selecting section 401. [Seventh embodiment] The seventh embodiment of the present invention will now be described. Fig. 12 shows a block diagram of this embodiment, in which a frame memory 501 and a histogram generating section 502 are newly provided, and further includes LUT1 (504), LUT2 (505) and LUT3 (506) which have different properties. The number of LUTs are not limited to 3. For example, LUT1 has a high configuration density of representative points in the low density area, LUT2 has a high configuration density of representative points in the medium density area, and LUT3 has a high configuration density of representative points in the high density area. First, an input image is read into a frame memory 501 and a histogram of the image data is generated by a histogram generating section 502. Based on thus obtained histogram, when there is much distribution in the low density area, LUT1 is selected, when there is much distribution in the medium density area, LUT2 is selected, and when there is much distribution in the high density area, LUT3 is selected. As described above, by automatically selecting the LUT suitable for the input image, more preferable color conversion becomes possible. [Eighth embodiment] The eighth embodiment of the present invention will now be described. Fig. 13 shows a block diagram of this embodiment. First, when a region where the input point exists is decided by a region judging section 101, three axes near the input point are obtained. Next, a normal is drawn from the input point to the nearby axis, respectively, as shown in Fig. 14, by a section for searching a foot of normal 601. Points H1, H2 and H3 are feet of normal when a normal is drawn from the input point P to the nearby three axes. Then, the color correction data at these points H1, H2 and H3 is obtained by dividing the axis at two representative points, respectively, located in the same axes with these points and on both sides of these points, by a new representative points generating section 605. When the color correction data is obtained at the foot of normal, as described above, the color conversion processing is performed with the same procedure as in the first embodiment by means of the linear interpolation using the data. The present invention can generate data nearer to the input point and use the data for the linear interpolation, hence the color conversion with high accuracy becomes possible. [Ninth embodiment] The ninth embodiment of the present invention will now be described. Fig. 15 shows a block diagram of this embodiment. In this embodiment, representative points are not discretely arranged on the axis, but a numerical expression is provided for the color correction for every axis. Therefore, no LUT is necessary. When a region where the input point exists is obtained by the region judging section 101, three axes near the input point are obtained. Then, a normal is drawn from the input point to the nearby axis, respectively, as shown in Fig. 14, by a section for searching a foot of normal 601, thus three feet of normal are obtained. Here, since a numerical expression for the color conversion is set for each axis, the color conversion data at the coordinates value at the foot of normal obtained beforehand is obtained by a conversion data generating section 602. Thus, the color conversion data at three points in the vicinity thereof are obtained, respectively, and by using the data, the color conversion processing is performed with the same procedure as in the first embodiment by means of the linear interpolation. With this embodiment, since no LUT is necessary, it is possible to greatly reduce the memory capacity. With the above-mentioned embodiments, it is confirmed by the subjective evaluation that in the color printer, it is possible to perform the color conversion of the same level as the conventional color conversion with a less volume of operation, which is the characteristic of these embodiments. With these embodiments, the color conversion is not limited to color printers, but can be applied to various input devices and image output devices, for example, in the case of performing the color conversion in scanners and CRT monitors. [10th embodiment] Fig. 16 shows a block diagram showing a schematic structure of a color conversion section according to the 10th embodiment, which comprises a representative points-dispersed axis selecting section 101A which judges in which region in the three-dimensional color space the input value exists and selects a representative points-dispersed axis which becomes the nearby axis in this case; a representative points selecting section 102 for selecting representative points which are in the vicinity of the input value among representative points discretely arranged along respective axes within the selected representative points-dispersed axis; a look-up table (LUT) 103 which stores the coordinates of the representative points and the color correction data, and a linear interpolation section 104 which performs the color conversion by weighting based on the selected representative points. Here, the details are explained using the CMY space as the three-dimensional color space, but the same applies to the RGB space. Fig. 17 schematically shows the representative points-dispersed axis and the configuration of representative points. As shown in Fig. 17, the three-dimensional color space is a rectangular coordinates system obtained by three axes which designate the origin as a center and are orthogonal to each other, that is, C axis, M axis and Y axis. In this space is formed a cube composed of apexes having the following coordinates: A0 (0, 0, 0), A1 (100, 0, 0), A2 (100, 100, 0), A3 (0, 100, 0), A4, (0, 0, 100), A5 (100, 0, 100), A6 (100, 100, 100), and A7 (0, 100, 100). Here, the C axis passes through each apex A0 - A1, the M axis passes through each apex A0 - A3, the Y axis passes through each apex A0 - A4, and the above coordinates are the coordinates component of the C axis, M axis and Y axis in this order. Additionally, a line passing through A0 - A6 is set as an axis. In this linear axis, coordinates on the line (Xa, Xb, Xc) satisfies the condition of Xa=Xb=Xc. Therefore, this linear axis is referred to as a C=M=Y axis. In Fig. 17, representative points are grouped for every axis of C axis, M axis, Y axis, C=M=Y axis, and discretely arranged at the endpoint of these four axes (including the origin) and in the vicinity of the axis. However, the configuration of representative points is an irregular configuration such that in the three-dimensional color space, on a line connecting a certain representative point and the origin, no other representative point exists. Here, it is assumed that the LUT 103 has the color correction data as shown in Fig. 18 with respect to respective representative points, but the number and the configuration spacing of representative points are not limited thereto. The color correction data of Fig. 18 is to be determined according to the properties of devices to which the color conversion of the present embodiment is applied. The three-dimensional color space is divided into three regions depending upon which axis is included therein, when the axis groups are taken into account in order of propinquity to the input value and the distance among the four axis groups shown in Fig. 17. Each region is a triangular pyramid designating the origin 0 as an apex, and two axes among C axis group, M axis group and Y axis group and C=M=Y axis group as the three generatrices which is cut by a cube representing the color space, resulting in square pyramids 0A1A2A3A6, 0A4A5A1A6, and 0A3A7A4A6. A representative points-dispersed axis selecting section 101A judges that in which region among the above-mentioned three regions the input value belongs according to the size relation of the three components of the input value, and selects three axis groups which are in the vicinity thereof. Each region is ruled by a triangular pyramid which designates the three axes as the generatrix among the four axes shown in Fig. 17, and the three axis groups to be targeted are determined depending upon the triangular pyramid which contains the input value. For example, when the input color signal has a percentage of (C, M, Y) = (60%, 40%, 30%), the input value is contained in the square pyramid OA1A2A3A6 in Fig. 17, and the nearest axis groups to be targeted become the C axis group, M axis group, and C=M=Y axis group. Then, among these three nearest axis groups in which representative points are irregularly arranged, a representative point nearest to the input signal value is selected one each for every axis group, in total three representative points are selected by the representative points selecting section 102. The representative points are discretely arranged for each axis group, and the distance between the input point and the representative point is determined for every axis group by means of the least squares, and the representative point having the shortest distance is designated as the nearest point in that axis group. As shown in Fig. 5A, if it is assumed that the input value is designated as P (C, M, Y), and points P1 (C1, M1, Y1), P2 (C2, M2, Y2) and P3 (C3, M3, Y3) are selected as the points in the vicinity of the input value, and when they are expressed by a vector, OP = α OP 1 + β OP 2 + γ OP 3 ( α, β and γ are arbitrary) wherein, if it is assumed that P'1 (C'1, M'1, Y'1), P'2 (C'2, M'2, Y'2) and P'3 (C'3, M'3, Y'3) are, as shown in Fig. 5B (described above), the color correction data of respective points P1, P2 and P3, the output value P' (C', M', Y') are given by the following expression: OP ' = α OP ' 1 + β OP ' 2 + γ OP ' 3 When α, β and γ are eliminated from (3) and (4), and C', M' and Y' are developed: wherein, when the input value P is on either axis of the C axis, M axis, Y axis or C=M=Y axis, the output value P' is obtained by the linear interpolation using two points, one is the origin, and the other is a representative point at the apex of that axis. For example, as shown in Fig. 19, if it is assumed that the input value P is on a certain axis, and a line connecting the origin 0 and an apex of that axis P1 (C1, M1, Y1) is divided into L2 and L1, the output value P' (C', M', Y') is given by the following expression: Furthermore, when the input value P is in the vicinity of the C axis, M axis, Y axis or C=M=Y axis, representative points nearest to the input value are selected by the representative points selecting section 102 among the axis groups, and the linear interpolation is performed in the same manner. When the input value exists on the CM plane, MY plane or YC plane, the representative points are respectively selected from two axes which are in the vicinity thereof, and the linear interpolation is performed by weighting. [11th embodiment] The 11th embodiment of the present invention will now be described. The schematic structure of this embodiment is shown in Fig. 16, as in the 10th embodiment, except that the number of axes for arranging representative points in the vicinity of the axis increases. The configuration of representative points in this embodiment is shown in Fig. 20. In Fig. 20, there are added three axis groups for arranging representative points in the vicinity of the axis, as described below, compared to Fig. 17. That is to say, lines passing through A0-A2, A0-A7, A0-A5 are further set as the axis. In these linear axes, the coordinates (Xa, Xb, Xc) on the line satisfy the condition of Xa=Xb, Xc=0, Xb=Xc, and Xa=0, Xc=Xa , Xb=0. Therefore, hereinafter these linear axes are referred to as C=M axis (Y=0), M=Y axis (C=0), and Y=C axis (M=0). Representative points are discretely arranged at the endpoints (on eight apexes on the three-dimensional cube) of seven axes of C axis, M axis, Y axis, C=M=Y axis, C=M axis (Y=0), M=Y axis (C=0), and Y=C axis (M=0), and in the vicinity of these seven axes, so that no other representative point exists on a line connecting a certain representative point and the origin. Here, it is assumed that the LUT 103 has the color correction data as shown in Fig. 21, with respect to the respective coordinates of the representative points. The number of representative points and the configuration spacing are not limited thereto. The color correction data in Fig. 21 is determined according to the properties of devices to which the color conversion of the present invention is applied. The three-dimensional color space is divided into six regions depending upon which axis is included therein, when three axes are taken into account in order of propinquity to the input value and the distance among the seven axes shown in Fig. 20. Each region is a triangular pyramid designating the origin 0 as an apex, and two nearby axes among C axis, M axis, Y axis, C=M axis (Y=0), M=Y axis (C=0), and Y=C axis (M=0), and C=M=Y axis as the three generatrices. This results in triangular pyramids OA1A2A6, OA1A5A6, OA2A3A6, OA3A6A7, OA4A5A6, and OA4A6A7. The representative points-dispersed axis selecting section 101A in Fig. 16 judges that in which region among the above-mentioned six regions the input value belongs, and when the triangular pyramid belonging thereto is determined, three representative points-dispersed axes to be targeted are determined to select the nearby point. The representative points selecting section 102 selects three points nearest to the input value among these three representative points-dispersed axis groups. For example, if the input color signal has a percentage of (C, M, Y) = (80%, 20%, 30%), the input value is contained in the triangular pyramid OA1A2A6 of Fig. 20, and the nearby axis groups to be targeted will be C axis group, C=M axis group and C=M=Y axis group. Then, from these three nearby axis groups on which representative points are arranged irregularly, a representative point nearest to the input signal value is selected for every axis group, three in total, by the representative points selecting section 102. The representative points are discretely arranged for each axis group, and the distance between the input point and the representative point is determined for every axis group by means of the least squares, and the representative point having the shortest distance is designated as the nearest point in that axis group. As described above, after three points in the vicinity of the input signal value are selected, the color conversion processing is performed by means of the linear interpolation in the same manner as in the 10th embodiment. Since the number of axes for arranging representative points in the LUT increases, the color conversion having higher accuracy becomes possible. [12th embodiment] The 12th embodiment of the present invention will now be described. The schematic structure of this embodiment is shown in Fig. 16, as in the 10th embodiment, except that the number of axes for arranging representative points are increased. The configuration of representative points in this embodiment is shown in Fig. 22. In Fig. 22, there are added three axes for arranging representative points in the vicinity thereof, compared to Fig. 16. That is to say, lines passing through A6-A2, A6-A7, A6-A5 are further set as an axis. These linear axes pass the apex A6 of the above-mentioned three-dimensional cube where three components in the coordinates take the largest value, and the coordinates (Xa, Xb, Xc) on the line satisfy the condition of Xa=Xb=100, Xb=Xc=100, and Xc=Xa=100, respectively. Therefore, hereinafter these linear axes are referred to as C=M=100 axis, M=Y=100 axis, and Y=C=100 axis. Representative points are discretely arranged as the largest point at the endpoints (on eight apexes on the three-dimensional cube) of seven axes, in which three axes (C=M=100 axis, M=Y=100 axis and Y=C=100 axis) designating a new point A6 (100%, 100%, 100%) as the center and being orthogonal to each other are added, and in the vicinity of these seven axes. With regard to representative points in the vicinity of these newly added three axes, they are so arranged that no other representative point exists on a line connecting a certain representative point and A6, in respective axis groups within the three-dimensional color space. Here, it is assumed that the LUT 103 has the color correction data as shown in Fig. 23, with respect to the respective coordinates of the representative points. Moreover, the number of representative points and the configuration spacing are not limited thereto. The color correction data in Fig. 23 is determined according to the properties of devices to which the color conversion of the present embodiment is applied. First, three axes which are in the vicinity of the input value are selected by the representative points nearby axis-selecting section 101A. The axis groups in the vicinity of the input value within the three-dimensional color space are divided into six spaces, respectively, according to the size relation of the input value among seven axis groups shown in Fig. 22, and are determined as the generatrix of a triangular pyramid which are divided and contains the input value. For example, when the input color signal has a percentage of (C, M, Y) = (80%, 20%, 30%), the input value is contained in the triangular pyramid OA1A2A6 in Fig. 22, and the nearest axis groups to be targeted become the C axis group, C=M=100 axis group, and C=M=Y axis group. Then, among these three nearest axis groups in which representative points are irregularly arranged, a representative point nearest to the input signal value is selected, respectively, for every axis group, in total three representative points are selected by the representative points selecting section 102. The representative points are discretely arranged for each axis group, and the distance between the input point and the representative point is determined for every axis group by means of the least squares, and the representative point having the shortest distance is designated as the nearest point in that axis group. As described above, when three representative points in the vicinity of the input signal value are selected, the color conversion is performed by means of the linear interpolation in the same manner as in the 10th embodiment. In this embodiment, by adding the above-mentioned three axes on which representative points in the LUT are arranged in the vicinity thereof, the accuracy in the color conversion can be improved in a low brightness area. [13th Embodiment] The 13th embodiment of the present invention will now be described. Though the accuracy in the color conversion of an image largely differs depending upon the configuration of representative points, in the 10th embodiment, since C=M=Y axis is always to be selected, by increasing the configuration density of data in the vicinity of the C=M=Y axis, the color conversion with higher accuracy becomes possible. [14th Embodiment] The 14th embodiment of the present invention will now be described. In a region where the brightness is very high, or in a region where the brightness is very low, the human eyes are not so sensitive to the difference of the chroma of colors, hence the conversion accuracy in these brightness regions may be relatively low. Moreover, in the case of natural image, the color data distribution in the three-dimensional color space tends to converge on a relatively medium brightness area. Hence, by arranging more representative points in the medium brightness area in the three-dimensional color space, favorable color conversion becomes possible without increasing the memory volume. Example A further example will now be described. Fig. 24 is a block diagram showing a schematic structure of a color conversion section, which comprises a nearby plane judging section 201 for judging which three planes among six planes constituting a cube in the three-dimensional color space the input value is close to, a representative points selecting section 202 for selecting a representative point one each in the judged three planes which becomes nearest to the input signal value among representative points arranged discretely on the planes, a look-up table (LUT) 203 for storing the coordinates of representative points and the color correction data, and a linear interpolation section 204 for performing the color conversion by weighting based on the selected representative points. Fig. 25 schematically shows the dispersion of representative points. In Fig. 25, representative points are discretely arranged at eight apexes and six planes of the three-dimensional cube. Here, it is assumed that the LUT 103 has the color correction data as shown in Fig. 26, but the number of representative points and the configuration spacing are not limited thereto. The color correction data in Fig. 26 is to be determined according to the properties of devices to which the color conversion is applied. First, a three-dimensional cube is formed, and three planes which are in the vicinity of the input value are selected according to the size relation of three components of the input value among six planes in which representative points are discretely arranged, by the nearby plane-judging section 201. For example, when the input color signal has a percentage of (C, M, Y) = (60%, 40%, 30%), the input value is in the vicinity of three planes of the CM plane (Y=0), CYplane (M=0) and MY plane (C=100), in Fig. 25. At this time, the plane from which representative points are to be selected are limited to the above-mentioned three planes. Then, among these three planes in which representative points are irregularly arranged, a representative point nearest to the input signal value is selected one each for every plane, in total three representative points are selected by the representative points selecting section 202. The representative points are discretely arranged on each plane, and the distance between the input point and the representative point is determined for every plane by means of the least squares, and the representative point having the shortest distance is designated as the nearest point in that plane. As described above, a representative point which becomes nearest to the input point is selected one each, in total three, from respective three planes, and the color conversion value is obtained by means of the linear interpolation using these three points in the same manner as in the 10th embodiment. When the input value P is on either axis of C axis, M axis, Y axis or C=M=Y axis, the output value P' is obtained by means of the linear interpolation using the origin and the apex of that axis, in the same manner as in the 10th embodiment. With the above-mentioned embodiments, it is confirmed by the subjective evaluation that in the color printer, it is possible to perform the color conversion of the same level as the conventional color conversion with a less volume of operation, which is the characteristic of these embodiments. With these embodiments, the color conversion is not limited to color printers, but can be applied to various input devices and image output devices, for example, in the case of performing the color conversion in scanners and CRT monitors. As described above, according to the color conversion device of an embodiment of the present invention, representative points are discretely arranged on respective axes in the three-dimensional color space in advance, and the color conversion can be performed with a necessary minimum LUT. Hence, the memory capacity can be reduced, and the color conversion with high accuracy can be performed only by 3 × 3 matrix operation and with a small LUT, hence the effect of reducing the operation volume and the circuit size is quite noticeable. By increasing the number of representative points, the accuracy in the color conversion can be improved. By arranging the representative points up to the high density area, the accuracy in the color conversion can be improved in the high density area. If representative points on the Xa=Xb=Xc axis are always included at the time of region division, by increasing the configuration density of representative points on this axis, the accuracy in the color conversion can be improved. As there is no need of arranging representative points with the same spacing on an axis, the configuration of representative points can be freely changed, and representative points in the three-dimensional color space can be arranged, taking the human's visual property into account, hence the look-up table can be used effectively. Additionally, by partially concentering the configuration of representative points, the color reproducibility can be improved without increasing the memory capacity. Furthermore, users can adjust the hue of the output image according to their preference, by selecting a suitable LUT among a plurality of LUTs. By selecting a LUT having different conversion property depending upon the input image, the color conversion suitable for the properties of the input image can be performed. By newly generating the point data nearest to the input point on the axis from the nearby two representative points on the same axis by means of internal division, the color conversion can be performed with high accuracy. By setting a numerical expression for the color correction instead of the LUT, it is possible not having a memory for the LUT data. By irregularly arranging representative points which store the color correction data in the vicinity of axes in the three-dimensional color space, discontinuity in the color conversion can be eliminated, and the color conversion can be performed with only a necessary minimum LUT, hence reduction of the operation volume and the memory capacity becomes possible. By adding three axes in which representative points in the LUT are arranged in the vinicity of a nearby axis, representative points are arranged up to the low brightness area, hence the accuracy in the color conversion can be improved in the low brightness area. At the time of interpolation, representative points in the vicinity of the Xa=Xb=Xc axis are likely to be selected, and by increasing the configuration density of representative points in the vicinity of this axis, the accuracy in the color conversion can be improved. By arranging more representative points in the medium brightness area, the color producibility can be improved without increasing the memory capacity. By arranging representative points on a plane, the freedom of configuration of representative points increases, and representative points in the three-dimensional color space can be arranged, taking the human's visual property into account, hence reduction of the operation volume and the memory capacity used for the search of nearby points can be realized, representative points used as a LUT can be easily set, and the look-up table can be used effectively.

Claims: A color conversion device comprising a region judging section (101) for setting a total of N+3 axes in a first three-dimensional color space with three axes orthogonal to each other and having a common origin, and N additional axes, wherein N is an integer greater than zero for providing a predetermined multiplicity of discrete representative points on said N+3 axes, and for determining by distance in which of a plurality of regions in said first three-dimensional color space an input color signal value belongs, each of said regions being bounded by three of said N+3 axes; a representative points selecting section (102) for selecting a representative point near said input color signal value on each of the three axes constituting the boundary of the determined region; and an interpolation section (104) for color converting said input color signal value into coordinates in a second three-dimensional color space using said three representative points. A color conversion device comprising a representative points-dispersed axis selecting section (101A) for setting a total of N+3 axes in a first three-dimensional color space, with at least three axes orthogonal to each other and having a common origin, and N additional lines, wherein N is an integer greater than zero for providing a predetermined multiplicity of discrete representative points in the vicinity of said N+3 axes, and for determining by distance in which of a plurality of regions in said first three-dimensional color space an input color signal value belongs, each of said regions being bounded by three of said N+3 axes; a representative points selecting section (102) for obtaining three representative points by selecting representative points nearest to said input color signal value from the representative points-dispersed axes bounding the determined region; and an interpolation section (104) for color converting said input color signal value into coordinates in a second three-dimensional color space using said three representative points. A color conversion device as claimed in claim 2 wherein the representative points are arranged so that there is no other representative point on a line connecting a representative point and the origin, and sets of representative points are divided into groups per unit of each set axis. A color conversion device as claimed in any preceding claim comprising a look-up table (103) for indicating coordinates in the second three-dimensional color space corresponding to said representative points. A color conversion device as claimed in any preceding claim comprising a plurality of look-up tables (402-404) for indicating coordinates in said second three-dimensional color space corresponding to said representative points; and a look-up table selecting section (401) for enabling a user to select a desired one of said plurality of look-up tables. A color conversion device as claimed in any one of claims 1 to 4 comprising a plurality of look-up tables (504-506) for indicating coordinates in said second three-dimensional color space corresponding to said representative points; and a histogram forming section (502) for reading a color density value of an input image, wherein one of said plurality of look-up tables is automatically selected in accordance with the statistical distribution of the input image. A color conversion device as claimed in any one of claims 4 to 6 wherein the or each look-up table (103, 402-404, 504-506) stores color correction data for color conversion. A color conversion device as claimed in claim 1 comprising means (602) storing a numerical expression set for each axis for color conversion. A color conversion device as claimed in any preceding claim wherein, where coordinates determined by said three orthogonal axes are designated as (Xa,Xb,Xc), one of said additional axes is a straight line satisfying the coordinates Xa=Xb=Xc. A color conversion device as claimed in claim 9 wherein the density of representative points for the axis satisfying the coordinates Xa=Xb=Xc is greater than the densities for representative points on other axes. A color conversion device as claimed in any preceding claim wherein, where coordinates determined by said three orthogonal axes are designated as (Xa,Xb,Xc), three of said additional axes are straight lines satisfying the conditions Xa=Xb and Xc=0, Xb=Xc and Xa=0, and Xc=Xa and Xb=0. A color conversion device as claimed in any preceding claim dependent on claim 1 wherein said N additional axes comprise three lines passing through coordinates of the largest three components in said first three-dimensional color space. A color conversion device as claimed in claim 12 wherein said added three lines are parallel to said three orthogonal lines. A color conversion device as claimed in any preceding claim wherein when said first three-dimensional color space has low, medium and high density areas, the density of representative points is greater for said medium density area than in said high and low density areas. A color conversion device as claimed in any preceding claim dependent on claim 1 where three new representative points are set at a foot of a normal drawn from three axes corresponding to said input color signal value, wherein the axes are selected so that distance from said input color value is found to be in order of propinquity, and wherein coordinates in said second three-dimensional color apace to which said new representative points are converted are determined using two representative points arranged on both sides on the same axis as said new representative points. A color conversion device according to any preceding claim dependent on claim 2 or claim 3 wherein, when coordinates determined by said three orthogonal axes are designated as (Xa,Xb,Xc) three of said N additional lines pass through the coordinates where three components of the coordinates in said first three-dimensional color space have the largest value which satisfy the condition Xa=Xb, Xb=Xc and Xc=Xa. A colour conversion device according to any preceding claim wherein said three boundary axes are non-parallel. A color conversion device as claimed in any preceding claim where said interpolation section (204) performs color correction with a linear interpolation method using weighting based on said three representative points. A method of converting input color values between three-dimensional color spaces comprising setting a total of N+3 axes in a first color space with three axes orthogonal to each other and a common origin; providing a predetermined multiplicity of discrete representative points on said N+3 axes; and determining in which of a plurality of regions formed from division of the first three-dimensional color space and having three of said axes as boundaries, an input color signal value belongs; selecting a representative point on each of the three axes constituting the boundary of the determined region; and performing color conversion of said input color signal value based on said three representative points. A method of converting input color values between three-dimensional color spaces comprising: setting a total of N+3 axes in a first color space with three axes orthogonal to each other and a common origin; providing a predetermined multiplicity of discrete representative points in the vicinity of said N+3 axes; dividing sets of representative points into groups; selecting a group of three representative points-dispersed axes in the vicinity of an input signal values, and selecting three representative points nearest said input color signal values from the representative points-dispersed axes in said group; and performing color conversion of said input color signal value based on said three representative points.

Inventors: KATOUGI TERUMITSU, NOMURA TOSHIO, KATOUGI, TERUMITSU, NOMURA, TOSHIO
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1998
Main classification: H04N1
IPC codes: H04N1