This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2016-223408 filed Nov. 16, 2016.
(i) Technical Field
Exemplary embodiments of the present invention relate to an image control device, a patch chart, and a non-transitory computer readable medium.
(ii) Related Art
In order to ascertain an input and output characteristic model of an image forming device, it is known that a patch chart constituted by multiple patches is used.
The input and output characteristic model is defined by the relationship between input color signals (for example, RGB values) and output colors (for example, Lab values). The RGB values selected at equal intervals in an RGB color space which is a color space of the input color signals are currently used as patch data items corresponding to the patches. Incidentally, the patch data items arranged at equal intervals in the RGB color space are irregularly arranged in a CIELab color space to which colorimetric values belong.
Thus, particularly in a case where the number of patch data items is small, the accuracy of a complementary operation based on the colorimetric values is deteriorated, and thus, the accuracy of the input and output characteristic model created by the complementary operation is also deteriorated. This technical problem is improved to some extent by increasing the number of patch data items. However, due to the increase in the number of patch data items, more effort in performing colorimetry is required, and it takes a long time to generate the input and output characteristic model.
According to an aspect of the present invention, there is provided an image control device including: a reception unit that receives patch chart data items arranged such that the patch data items corresponding to multiple patches belonging to a same hue, among multiple patches constituting a patch chart, are positioned only in any of grid points of grid lines which divide a lightness axis and a saturation axis which define a hue plane corresponding to the hue at equal intervals; and a controller that outputs the patch chart data items to an image forming unit which forms the patch chart on a recording material if an output operation of the patch chart is received.
Exemplary embodiment(s) of the present invention will be described in detail based on the following figures, wherein:
Hereinafter, an exemplary embodiment of the present invention will be described in detail with reference to the accompanying drawings.
Patch Chart
The patch data items 7 are image data items constituted by specific colors corresponding to individual patches 3. The patch data items 7 are provided as data items in an RGB color space which is an orthogonal coordinate system to the image forming device.
Equivalent patch data items 5 are color data items in a color space defined by hue (H), saturation (S), and lightness (L), and are used for determining the patch data items 7 and creating an input and output characteristic model 11 in the present exemplary embodiment. In the exemplary embodiment of the present invention, it is assumed that an index indicating brightness is called lightness (L). Accordingly, the lightness (L) in the exemplary embodiment of the present invention includes value. Accordingly, the color space defined by the hue (H), the saturation (S), and the lightness (L) includes a so-called HSL color space or a so-called HSV color space.
The HSL color space defined by the hue (H), the saturation (S), and the lightness (L) is a device-dependent color space similarly to the RGB color space. Accordingly, the color space defined by the hue (H), the saturation (S), and the lightness (L) is in a one-to-one correspondence with the RGB color space. Thus, it is easy to calculate a color value in the other color space from a color value in one color space.
Colorimetric values 9 which are colorimetric results of the patches 3 are color data items in a device-independent CIELab color space (hereinafter, referred to as a Lab color space) expressed by the lightness (L) and two complementary color dimensions (a and b). As stated above, the Lab color space and the color space expressed by the lightness (L), the hue (H), and the saturation (S) have a similar structure. Thus, actual measurement values (colorimetric values 9) of color data items regularly arranged in the color space defined by the hue (H), the saturation (S), and the lightness (L) are likely to be regularly arranged in the Lab color space.
In the present exemplary embodiment, the arrangement of the equivalent patch data items 5 is determined such that the equivalent patch data items have regularity in the color space defined by the hue (H), the saturation (S), or the lightness (L), and the patch data items 7 corresponding to the equivalent patch data items 5 are provided to the image forming device. That is, in the present exemplary embodiment, the arrangement of the equivalent patch data items 5 is determined for determining the patch data items 7. A specific arrangement example of the equivalent patch data items 5 will be described below.
In
Regularity of Arrangement of Equivalent Patch Data Items
Next, regularity of the arrangement of the equivalent patch data items 5 in the color space defined by the hue (H), the saturation (S), and the lightness (L) will be described. Hereinafter, the HSL color space and the HSV color space which are examples of the color space defined by the hue (H), the saturation (S), and the lightness (L) will be described.
Case of HSL Color Space
There are restrictions on the number of patches 3 constituting the patch chart 1. In the present exemplary embodiment, the multiple patches 3 arranged in the patch chart 1 are provided from twelve basic colors.
In the case of
In the example of
Arrangement Example of Equivalent Patch Data Items
Hereinafter, an arrangement example of the equivalent patch data items 5 in a case where the color space defined by the hue (H), the saturation (S), and the lightness (L) is the HSL color space will be described.
Arrangement Example 1
Arrangement Example 2
The RGB patch data items 7 corresponding to the equivalent patch data items 5 that satisfy the arrangement thereof are also equivalent to an example of the patch chart data items arranged so as to be positioned only in any of grid points of grid lines which divide the axes of the lightness (L) and the saturation (S) that define the hue plane 21 in the HSL color space at equal intervals. In the case of Arrangement Example 2, the equivalent patch data items 5 are densely arranged near a gray color of which a color change is likely to be perceived in terms of human perception. As a result, even though the number of equivalent patch data items 5 is small (that is, even though the number of patch data items 7 is small), the accuracy of the complementary operation and the accuracy of the input and output characteristic model are improved.
Arrangement Example 3
Now, the arrangement of the equivalent patch data items 5 focusing on the outside edge of the hue plane 21 will be described.
The arrangement shown in
The RGB patch data items 7 corresponding to the equivalent patch data items 5 that satisfy the arrangement thereof are equivalent to an example of patch chart data items arranged only in any of grid points of grid lines which divide the axes of the lightness (L) and the saturation (S) that define the hue plane 21 at equal intervals in the corresponding hue plane 21 in the HSL color space. In the case of Arrangement Example 3, the accuracy of the complementary operation and the accuracy of the input and output characteristic model in the outside edge of the hue plane 21 are also improved. Arrangement Example 3 is an example in which a part of Arrangement example 2 is focused on.
Arrangement Example 4
In the aforementioned arrangement examples, the arrangement examples employed in twelve hue planes 21 have been described. Thus, the twelve hue planes 21 may adopt any one of Arrangement Examples 1 to 3 or another arrangement example that satisfies regularity. At least two of the twelve hue planes 21 may adopt the same arrangement structure, and all the hue planes 21 may adopt the same arrangement structure.
Case of HSV Color Space
In the HSV color space, multiple patches 3 constituting the patch chart 1 are also prepared for twelve basic colors. In
In the case of the hue plane 21 shown in
In this example, it is also considered that the hue plane 21 is divided at equal intervals in the value-axis direction and the saturation-axis direction. If the axis directions are divided at equal intervals, the number of divided lines in the value axis and the number of divided lines in the saturation axis may be different. In a case where the number of divided lines in the saturation axis is different from that in the lightness axis, a case where the equivalent patch data items 5 are arranged only in any of vertices of the geometric shapes that satisfy the division condition means that the equivalent patch data items have regularity.
In the example of
In the example of
Incidentally, the HSV color space may be represented in another model form.
In the HSV color space, multiple patches 3 constituting the patch chart 1 are also prepared for twelve basic colors. In
The hue plane 21 shown in
In this example, it is also considered that the hue plane 21 is divided at equal intervals in the value-axis direction and the saturation-axis direction. In the example of
In the example of
In the example of
Number of Divided Lines on Hue Planes
Although the present exemplary embodiment has a feature that regularly arranges the equivalent patch data items 5 on the hue planes 21 in the HSL color space or the HSV color space, there are restrictions on the number of divided lines in the saturation axis and the number of divided lines in the lightness axis constituting the hue plane 21 in terms of the arrangement of the patches 3.
Initially, the minimum number of divided lines in the saturation axis and the lightness axis constituting one hue plane 21 is 2. Next, the maximum value of the number of divided lines along each axis direction will be examined. Here, a case where the hue plane is divided into N along the saturation axis and the lightness axis is examined. In the case of
If it is considered that M number of hue planes 21 are prepared, the number of vertices present in M number of hue planes 21 is given by MN (N+1)/2. For example, in the case of M=12, the number of vertices is 12×36=432. Finally, if (N+1) number of vertices are added as the vertices in the lightness axis, a total of vertices is given by MN(N+1)/2+(N+1). In the case of the above-described example, since the number of vertices in the lightness axis is 9, the total number of vertices is 432+9=441.
For example, the patch chart 1 constituted by as many patches 3 as 441 vertices are printed on paper by the printing device.
That is, the maximum number of patches 3 arranged in the area in which the patch chart is able to be disposed is 1426 (=31×46). That is, the number of vertices is necessary to satisfy the following expression.
MN(N+1)/2+(N+1)≤1426 Expression 1
M and N that satisfy this expression are estimated. The minimum number of hue planes 21 is 6. Thus, if M=6, Expression 1 is transformed to the following expression.
3N(N+1)+(N+1)≤1426 Expression 2
If Expression 2 is arranged, N≤21. That is, if it is considered that the number of patches 3 to be arranged on the paper has restrictions, the number of divided lines in the axes is 2 to 21. Of course, the number of divided lines is limited to a case of the above-described condition, and the number of divided lines is different depending on a size of the printing paper or a dimension of the margin.
Image Forming Device
The controller 110 functions as a so-called computer, and is constituted by a central processing unit (CPU) 111, a read-only memory (ROM) 112, and a random-access memory (RAM) 113. The controller 110 is an example of a control unit. The ROM 112 stores a program to be executed by the CPU 111. The CPU 111 reads the program stored in the ROM 112, and executes the program by using the RAM 113 as a work area. The units of the image forming device 100 are controlled by executing the program. For example, the forming of the image on a paper surface and the generation of the read image are controlled.
The storage 114 is constituted by a hard disk device or a storage device such as a semiconductor memory. As stated above, the storage 114 stores the patch chart data items which are the RGB patch data items 7 regularly arranged on the hue plane 21 in the HSL color space or the HSV color space. The patch chart data items may be read from an external storage medium (for example, a Universal Serial Bus (USB) memory) or through a communication unit when the patch chart 1 is printed. The patch chart data items may be previously stored in the storage 114. In both cases, the patch chart data items pass through a reception unit. The storage 114, the communication unit 119, and the bus 122 are an example of the reception unit of the patch chart data items.
The display 115 is a display device that displays various images by executing a program (including operating system or firmware). For example, the display 115 is constituted by a liquid crystal display panel or an organic electroluminescence (EL) display panel. The operation reception unit 116 is a device that receives an operation from the user, and is constituted, for example, by a button, a switch, or a touch panel. In the present exemplary embodiment, the operation reception unit 116 is used for receiving an output operation of the patch chart 1.
The image reading unit 117 is a so-called scanner device. The image reading unit 117 is an example of a colorimetry unit used in colorimetry of the patch chart 1 printed on the paper, that is, in colorimetry of the patches 3. The colorimetric values 9 acquired by the image reading unit 117 are output as color data items in the Lab color space to the characteristic model generation unit 121. The image reading unit 117 may be integrally provided on a top surface of the device, or may be used while being pulled out of a main member like a hand scanner.
For example, the image forming unit 118 is a print engine that forms an image on the paper which is an example of the recording material, and is an example of an image forming unit. For example, the communication unit 119 is constituted by a reading device such as an external memory or a local area network (LAN) interface. In a case where image data corresponding to the patch chart data item is input from the outside, the communication unit 119 is used. For example, the image processing unit 120 is constituted by a dedicated processor that performs image processing such as color correction or gradation correction on the image data.
The characteristic model generation unit 121 generates a correspondence table 200 (
As mentioned above, the equivalent patch data items 5 are arranged in the grid points specified by the grid lines that divide twelve hue planes 21 in the HSL color space into eight along the saturation axis and the lightness axis. Accordingly, the correspondence table 200 shown in
For reference, an example in which the RGB values (patch data items 7) are acquired from the regularly arranged HSL values (equivalent patch data items 5) is described. Initially, a maximum value mx and a minimum value mn are calculated by Expression 3 and Expression 4.
mx=L+S/2 Expression 3
mn=L−S/2 Expression 4
Subsequently, a classification H0 of the hue (H) and a ratio H1 within the division are calculated by Expression 5 and Expression 6. Here, the hue (H) is given as a value which is equal to or greater than 0 and is less than 6.
H0=int(H) Expression 5
H1=H−H0 Expression 6
Here, a function int is a function that truncates a decimal pint of the hue (H).
As for each classification H0, an intermediate value md is calculated as follows.
When H0=0, 2, or 4: md=mn+(mx−mn)H1
When H0=1, 3, or 5: md=mx−(mx−mn)H1
When H=−1: md=mn
With above, if mx, mn, and md are calculated, the R value, the B value, and the G value are given as follows.
When H0=0: (R, G, B)=(mx, md, mn)
When H0=1: (R, G, B)=(md, mx, mn)
When H0=2: (R, G, B)=(mn, mx, md)
When H0=3: (R, G, B)=(mn, md, mx)
When H0=4: (R, G, B)=(md, mn, mx)
When H0=5: (R, G, B)=(mx, mn, md)
When H0=−1: (R, G, B)=(mn, mn, mn)
For example, in a case where (H, S, L)=(3.5, 20, 70), mx=80, mn=60, and H0=3. In this case, md is 70 (=80−(80−60)×0.5). Thus, (R, G, B)=(60, 70, 80).
In a case where the RGB patch data items 7 acquired in this manner are provided from the outside, all the equivalent patch data items 5 used in the conversion may be provided. Here, in a case where only the RGB patch data items 7 are provided, the characteristic model generation unit 121 calculates the equivalent patch data items 5 in the HSL color space corresponding to the RGB patch data items 7 by using the known arithmetic expression, and stores the calculated equivalent patch data items in the correspondence table 200.
For reference, an example of a conversion expression in which the HSL values (equivalent patch data items 5) are acquired from the RGB values (patch data items 7) is described. Initially, the relationship between the R value, the G value, and the B value in magnitude is calculated by Expression 7 to Expression 9.
mx=max(R,G,B) Expression 7
mn=min(R,G,B) Expression 8
md=mid(R,G,B)=R+G+B−mx−mn Expression 9
In this case, the saturation (S) and the lightness (L) are given by Expression 10 and Expression 11.
S=mx−mn Expression 10
L=(mx+mn)/2 Expression 11
The hue (H) is given by Expression 12.
H=H0+H1 Expression 12
Here, H0 is a value determined for six classifications determined by the relationship between the R value, the G value, and the B value in magnitude, and is given as follows.
When R≥G≥B: H0=0
When G>R>B: H0=1
When G≥B≥R: H0=2
When B>G>R: H0=3
When B≥R≥G: H0=4
When R>B>G: H0=5
For example, a case where R=G=Bis handled as a special case, and it is assumed that H0=−1. H1 given as the ratio within the classification is given as follows depending on a value of H0.
When H0 is 0, 2, or 4: H1=(md−mn)/(mx−mn)
When H0 is 1, 3, or 5: H1=(mx−md)/(mx−mn)
When H0 is −1: H1=0
For example, in a case where (R, G, B)=(60, 70, 80), mx=80, mn=60, and md=70. Accordingly, the saturation (S) is 20, and the lightness (L) is 70. H0=3, and H1=0.5 (=(80−70)/(80−60)). Thus, the hue (H) is 3.5.
The characteristic model generation unit 121 inserts the colorimetric values 9 of the patch chart 1 read by the image reading unit 117 into corresponding portions of the correspondence table 200 (
For reference, an example of a method of acquiring the approximate expression (relational expression) is described. In the following description, the gradation values of the saturation axis (S-axis) and the lightness axis (L-axis) that define a certain hue plane 21 are described as x and y. Initially, if the L value in the Lab color space is expressed by a cubic polynomial expression of x and y, Expression 13 is acquired. L0 to L9 are undetermined coefficients.
Here, the undetermined coefficients L0 to L9 of the polynomial expression of Expression 13 are calculated by a least squares method. In a squared error U given in Expression 14, L^ (^ is notation on L in Expression 14) is an L component of the colorimetric value 9. xk and yk to which a variable k is assigned correspond to the saturation values and the lightness values of 441 equivalent patch data items 5.
Subsequently, a partial derivative of the squared error U is performed, and a value thereof is 0.
If Expression 15 is arranged, a matrix P and a vector Q are determined, and a simultaneous equation for the undetermined coefficients L0 to L9 is acquired.
Here, Pij and Qi are given as follows.
Similarly to Expression 13, if the a value in the Lab color space is expressed by a cubic polynomial expression of x and y, Expression 17 is acquired.
In this case, a simultaneous equation for undetermined coefficients a0 to a9 is acquired by Expression 18.
Here, Ri is given as follows.
Similarly, if the b value in the Lab color space is expressed by a cubic polynomial expression of x and y, Expression 19 is acquired.
In this case, a simultaneous equation for undetermined coefficients b0 to b9 is given by Expression 20.
Here, Si is given as follows.
Thus, if Expression 16, Expression 18, and Expression 20 are arranged, Expression 21 is acquired.
Here, if an inverse matrix of a common coefficient matrix P multiplies both sides, the undetermined coefficients L0 to L9 of Expression 13, the undetermined coefficients a0 to a9 of Expression 17, and the undetermined coefficients b0 to b9 of Expression 19 are acquired at a time. If the undetermined coefficients are calculated, three approximate expressions (relational expressions) for calculating the L value, the a value, and the b value are acquired from the HSL values. Although the above description has been described using the inverse matrix, Gaussian elimination is used in actual calculation. Since these values are positively symmetric, Cholesky decomposition may be used.
If the correspondence table 200 is completed by the colorimetry of the patch chart 1, the characteristic model generation unit 121 performs a process of generating an input and output characteristic model by using the equivalent patch data items 5.
If the HSL values corresponding to the RGB values constituting the multidimensional input correspondence table (color conversion table) are calculated, the HSL values are substituted for the approximate expressions (relational expressions) given by Expression 13, Expression 17, and Expression 19, and the calculated values are overwritten in the Lab values of the input and output characteristic model 210. Since the calculated values are overwritten and stored, the Lab values present in the correspondence table 200 shown in
Generation Process of Input and Output Characteristic Model
Hereinafter, a procedure of processes performed by the image forming device 100 will be described.
Initially, the controller 110 receives an output of the patch chart 1 through the operation reception unit 116 (step 101). The controller 110 reads the patch chart data items received by the reception unit from the storage 114, and outputs the read patch chart data items to the image forming unit 118 (steps 102 and 103). The patch chart 1 on which the patches 3 corresponding to specific colors different from each other are arranged is printed on the paper by performing this process.
Thereafter, the user arranges the printed patch chart 1 in a predetermined position of the image reading unit 117, and instructs that colorimetry is to be started through the operation reception unit 116. If a colorimetry starting instruction is received, the controller 110 measures colors of the patches 3 constituting the patch chart 1 through the image reading unit 117 (step 104). The colorimetric results are supplied to the characteristic model generation unit 121 from the image reading unit 117.
Subsequently, the controller 110 instructs the characteristic model generation unit 121 to generate the input and output characteristic model 210 (step 105). As stated above, the characteristic model generation unit 121 that receives a generation instruction of the input and output characteristic model 210 initially completes the correspondence table 200 shown in
As described above, in the present exemplary embodiment, since the patch data items 7 that define the colors of the patches 3 constituting the patch chart 1 are selected so as to have regularity on the hue planes 21 in the color space defined by the hue (H), the lightness (L), and the saturation (S), even in a case where a smaller number of patch data items 7 are used, the complementary operation and the input and output characteristic model 210 are acquired with high accuracy unlike a case where the patch data items 7 are selected so as to have regularity in the RGB color space.
Another Exemplary Embodiment
Although the exemplary embodiment of the present invention has been described, a technical scope of the present invention is not limited to the scope described in the aforementioned embodiment. It is apparent from the description of claims that various changes or modifications of the aforementioned embodiment may be made without departing from the technical scope of the present invention.
The foregoing description of the exemplary embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2016-223408 | Nov 2016 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20100271673 | Ohkawa | Oct 2010 | A1 |
20170359487 | Andersen | Dec 2017 | A1 |
20180198958 | Yoshida | Jul 2018 | A1 |
Number | Date | Country |
---|---|---|
2006-086828 | Mar 2006 | JP |
Number | Date | Country | |
---|---|---|---|
20180139357 A1 | May 2018 | US |