JP2019118089A - Color conversion method, color conversion program, and color conversion device - Google Patents

Color conversion method, color conversion program, and color conversion device Download PDF

Info

Publication number
JP2019118089A
JP2019118089A JP2017252712A JP2017252712A JP2019118089A JP 2019118089 A JP2019118089 A JP 2019118089A JP 2017252712 A JP2017252712 A JP 2017252712A JP 2017252712 A JP2017252712 A JP 2017252712A JP 2019118089 A JP2019118089 A JP 2019118089A
Authority
JP
Japan
Prior art keywords
color conversion
grid
conversion table
point group
lattice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017252712A
Other languages
Japanese (ja)
Inventor
輝 西沢
Teru Nishizawa
輝 西沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2017252712A priority Critical patent/JP2019118089A/en
Publication of JP2019118089A publication Critical patent/JP2019118089A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a color conversion method, a color conversion program, and a color conversion device that can improve reproducibility of colors.SOLUTION: In a color conversion method including a color conversion table creation step of creating a color conversion table for converting colors, and a color conversion step of converting colors by using the color conversion table created in the color conversion table creation step, the color conversion table creation step is a step in which creating the color conversion table only with a specific cubic lattice point group as a specific group of cubic lattice points (S622) and creating the color conversion table by adding a non-cubic lattice point group that is not a group of cubic lattice points to the specific cubic lattice point group (S624 or S625) can be switched to each other.SELECTED DRAWING: Figure 33

Description

本発明は、色を変換するための色変換テーブルを使用して色を変換する色変換方法、色変換プログラムおよび色変換装置に関する。   The present invention relates to a color conversion method, a color conversion program, and a color conversion device for converting color using a color conversion table for color conversion.

従来、入力されたRGB形式の画像データを色変換テーブルを利用してCMYK形式の画像データに変換した後、このCMYK形式の画像データに基づいて印刷を実行する画像形成装置が知られている(例えば、特許文献1参照。)。   Conventionally, there is known an image forming apparatus that converts input image data in RGB format into image data in CMYK format using a color conversion table, and then executes printing based on the image data in CMYK format ( See, for example, Patent Document 1).

従来の色変換テーブルとしては、図40に示すように、色変換前の格子点の配置が立方格子状であるものが多い。そして、色変換前の格子点の配置が立方格子状である色変換テーブルにおいて、立方格子の1辺当たりの格子点の数は、格子点の情報を記憶するメモリーの容量次第で選択されることが可能であるが、通例、必要とする出力画像の品質の精度や、画像形成装置に掛けられる部品コストなどが考慮され決定される。色変換前の格子点の配置が立方格子状である色変換テーブルに必要な格子点の数は、立方格子の1辺当たりの格子点の数をNとした場合、N^3個となり、Nの増加に伴いNの3乗に比例して増加する。   As a conventional color conversion table, as shown in FIG. 40, there are many cases in which the arrangement of grid points before color conversion is a cubic grid. And, in the color conversion table in which the arrangement of lattice points before color conversion is cubic lattice, the number of lattice points per side of the cubic lattice is selected depending on the capacity of the memory for storing the information of the lattice points In general, the accuracy of the required quality of the output image, the cost of parts applied to the image forming apparatus, etc. are considered and determined. The number of lattice points required for a color conversion table in which the arrangement of lattice points before color conversion is a cubic lattice is N ^ 3, where N is the number of lattice points per side of the cubic lattice. Increases in proportion to the cube of N with the increase of.

特開2015−088968号公報Unexamined-Japanese-Patent No. 2015-088968

しかしながら、色変換前の格子点の配置が立方格子状である場合、画像形成装置の部品コストが制限されている条件下において、画像形成装置による出力画像の品質の精度を十分に確保することができていないことがあるという問題がある。   However, when the arrangement of grid points before color conversion is a cubic grid, under the condition that the cost of parts of the image forming apparatus is limited, sufficient accuracy of the quality of the output image by the image forming apparatus can be ensured. There is a problem that there is something that can not be done.

RGB空間と、CMYK空間とは、色域の形状が異なっており、その上、両者の関係は非線形にあることが多い。そのため、色変換テーブルの格子点間の中間データを線形補間によって算出する場合、格子点の数が多いほど、格子点同士の間隔が小さいので、実際の中間データと、補間によって算出した中間データとの誤差を少なくすることができる。すなわち、色変換テーブルの格子点の数が多いほど、画像形成装置による出力画像の品質の精度が高くなる。   The RGB space and the CMYK space differ in the shape of the color gamut, and furthermore, the relationship between the two is often non-linear. Therefore, when calculating intermediate data between grid points of the color conversion table by linear interpolation, the larger the number of grid points, the smaller the distance between the grid points. Therefore, actual intermediate data and intermediate data calculated by interpolation are used. The error of can be reduced. That is, as the number of lattice points in the color conversion table is larger, the accuracy of the quality of the output image by the image forming apparatus is higher.

格子点の情報を記憶するメモリーの容量の上限は、画像形成装置に掛けられる部品コストに応じて定まる。そして、色変換テーブルの格子点の数の上限は、格子点の情報を記憶するメモリーの容量の上限に応じて定まる。以下、格子点の情報を記憶するメモリーの容量の上限に応じて定まる格子点の数の上限をSmaxと言う。上述したように、色変換前の格子点の配置が立方格子状である色変換テーブルに必要な格子点の数は、N^3個となるが、これがSmaxと一致することは少ない。そのため、色変換前の格子点の配置が立方格子状である色変換テーブルの1辺当たりの格子点の数Nの上限Nmaxは、次の式のように、Smaxの3乗根を越えない整数に設定される。
Nmax = Floor [ Smax^(1/3) ]
The upper limit of the capacity of the memory for storing lattice point information is determined according to the cost of parts applied to the image forming apparatus. The upper limit of the number of lattice points in the color conversion table is determined according to the upper limit of the capacity of the memory storing the information of the lattice points. Hereinafter, the upper limit of the number of grid points determined according to the upper limit of the capacity of the memory storing the grid point information is referred to as Smax. As described above, although the number of lattice points required for the color conversion table in which the arrangement of lattice points before color conversion is a cubic lattice is N ^ 3, it hardly coincides with Smax. Therefore, the upper limit Nmax of the number N of grid points per side of the color conversion table in which the arrangement of grid points before color conversion is a cubic grid is an integer not exceeding the cube root of Smax, as in the following equation Set to
Nmax = Floor [Smax ^ (1/3)]

例えば、部品コスト的にSmaxが1200である場合、色変換前の格子点の配置が立方格子状である色変換テーブルのNmaxは、次の式のように、10となる。
Nmax = Floor [ 1200^(1/3) ] = 10
For example, when Smax is 1200 in terms of parts cost, Nmax of the color conversion table in which the arrangement of lattice points before color conversion is a cubic lattice is 10 as in the following equation.
Nmax = Floor [1200 ^ (1/3)] = 10

ここで、色変換前の格子点の配置が立方格子状である色変換テーブルの格子点の数の上限は、Nmaxの3乗である。そのため、Nmaxが10である場合、色変換前の格子点の配置が立方格子状である色変換テーブルの格子点の数の上限は、1000となる。   Here, the upper limit of the number of lattice points of the color conversion table in which the arrangement of lattice points before color conversion is cubic lattice is the cube of Nmax. Therefore, when Nmax is 10, the upper limit of the number of lattice points of the color conversion table in which the arrangement of lattice points before color conversion is cubic lattice is 1000.

したがって、格子点の情報を記憶するメモリーは、1200 - 1000 = 200 個分の格子点に相当する容量が使用されないことになる。そのため、色変換前の格子点の配置が立方格子状である色変換テーブルを使用する場合は、格子点の情報を記憶するメモリーに最大限の数の格子点の情報を記憶させる場合と比較して、画像形成装置による出力画像の品質の精度が低くなる。   Therefore, the memory for storing the grid point information will not use the capacity equivalent to 1200-1000 = 200 grid points. Therefore, when using a color conversion table in which the arrangement of grid points before color conversion is a cubic grid, comparison with the case where maximum number of grid point information is stored in a memory storing grid point information Therefore, the accuracy of the quality of the output image by the image forming apparatus is reduced.

そこで、本発明は、色の再現性を向上することができる色変換方法、色変換プログラムおよび色変換装置を提供することを目的とする。   Then, this invention aims at providing the color conversion method, the color conversion program, and the color conversion apparatus which can improve the reproducibility of a color.

本発明の色変換方法は、色を変換するための色変換テーブルを生成する色変換テーブル生成ステップと、前記色変換テーブル生成ステップによって生成された前記色変換テーブルを使用して色を変換する色変換ステップとを備え、前記色変換テーブル生成ステップは、立方格子点の特定の群としての特定立方格子点群のみで前記色変換テーブルを生成することと、立方格子点の群ではない非立方格子点群を前記特定立方格子点群に追加して前記色変換テーブルを生成することとを切り換え可能なステップであることを特徴とする。   The color conversion method according to the present invention includes a color conversion table generation step of generating a color conversion table for color conversion, and a color conversion method using the color conversion table generated by the color conversion table generation step. Generating the color conversion table using only a specific cubic lattice point group as a specific group of cubic lattice points, and a non-cubic lattice that is not a cubic lattice point group. It is characterized in that it is possible to switch between adding a point group to the specific cubic lattice point group and generating the color conversion table.

この構成により、本発明の色変換方法は、特定立方格子点群に非立方格子点群を追加して色変換テーブルを生成する場合に、特定立方格子点群のみで色変換テーブルを生成する場合と比較して、格子点の情報を記憶するメモリーの容量が制限されている条件下において、色変換テーブルにおける格子点の数を増やすことができるので、色の再現性を向上することができる。また、本発明の色変換方法は、特定立方格子点群のみで色変換テーブルを生成する場合に、特定立方格子点群に非立方格子点群を追加して色変換テーブルを生成する場合と比較して、立方格子点群のみで生成された色変換テーブルを想定して用意されている機能やアプリケーションの利用を容易化することができる。   With this configuration, when the color conversion method of the present invention generates a color conversion table by adding a non-cubic lattice point group to a specific cubic lattice point group, the color conversion table is generated using only the specific cubic lattice point group As compared with the above, the number of lattice points in the color conversion table can be increased under the condition that the capacity of the memory for storing the information of lattice points is limited, so that the color reproducibility can be improved. Further, the color conversion method of the present invention is compared to the case where a color conversion table is generated by adding a non-cubic grid point group to a specific cubic grid point group when generating a color conversion table using only a specific cubic grid point group. Thus, it is possible to facilitate the use of the functions and applications prepared on the assumption of the color conversion table generated only by the cubic grid point group.

本発明の色変換方法において、前記色変換テーブル生成ステップは、自然画像用の格子点群と、非自然画像用の格子点群とを前記非立方格子点群として切り換え可能なステップであっても良い。   In the color conversion method according to the present invention, the color conversion table generation step may be a step which can switch a lattice point group for a natural image and a lattice point group for a non-natural image as the non-cubic lattice point group. good.

この構成により、本発明の色変換方法は、特定立方格子点群に自然画像用の格子点群を追加して色変換テーブルを生成することと、特定立方格子点群に非自然画像用の格子点群を追加して色変換テーブルを生成することとを切り換え可能であるので、色の変換の対象の画像に適した色変換テーブルによって色を変換することができ、色の再現性を向上することができる。   According to this configuration, the color conversion method of the present invention adds a grid point group for a natural image to a specific cubic grid point group to generate a color conversion table, and a grid for a non-natural image on a specific cubic grid point group. Since it is possible to switch between adding a point cloud and generating a color conversion table, colors can be converted by the color conversion table suitable for the image to be converted, and color reproducibility is improved. be able to.

本発明の色変換方法において、前記色変換テーブル生成ステップは、前記自然画像用の格子点群と、前記非自然画像用の格子点群とを、前記色変換ステップによる色の変換の対象の画像に基づいて、前記非立方格子点群として切り換え可能なステップであっても良い。   In the color conversion method according to the present invention, the color conversion table generation step includes the lattice point group for the natural image and the lattice point group for the non-natural image as an image of a color conversion target in the color conversion step. The step may be switchable as the non-cubic lattice point group based on

この構成により、本発明の色変換方法は、特定立方格子点群に自然画像用の格子点群を追加して色変換テーブルを生成することと、特定立方格子点群に非自然画像用の格子点群を追加して色変換テーブルを生成することとを、色の変換の対象の画像に基づいて切り換え可能であるので、利便性を向上することができる。   According to this configuration, the color conversion method of the present invention adds a grid point group for a natural image to a specific cubic grid point group to generate a color conversion table, and a grid for a non-natural image on a specific cubic grid point group. Since it is possible to switch between adding a point group and generating a color conversion table based on an image of a color conversion target, convenience can be improved.

本発明の色変換プログラムは、色を変換するための色変換テーブルを生成する色変換テーブル生成手段と、前記色変換テーブル生成手段によって生成された前記色変換テーブルを使用して色を変換する色変換手段とをコンピューターに実現させ、前記色変換テーブル生成手段は、立方格子点の特定の群としての特定立方格子点群のみで前記色変換テーブルを生成することと、立方格子点の群ではない非立方格子点群を前記特定立方格子点群に追加して前記色変換テーブルを生成することとを切り換え可能であることを特徴とする。   A color conversion program according to the present invention includes color conversion table generation means for generating a color conversion table for color conversion, and color conversion using the color conversion table generated by the color conversion table generation means. Making a computer implement conversion means, said color conversion table generation means generating said color conversion table only with a specific cubic lattice point group as a specific group of cubic lattice points, and not a cubic lattice point group It is possible to switch between adding a non-cubic lattice point group to the specific cubic lattice point group to generate the color conversion table.

この構成により、本発明の色変換プログラムを実行するコンピューターは、特定立方格子点群に非立方格子点群を追加して色変換テーブルを生成する場合に、特定立方格子点群のみで色変換テーブルを生成する場合と比較して、格子点の情報を記憶するメモリーの容量が制限されている条件下において、色変換テーブルにおける格子点の数を増やすことができるので、色の再現性を向上することができる。また、本発明の色変換プログラムを実行するコンピューターは、特定立方格子点群のみで色変換テーブルを生成する場合に、特定立方格子点群に非立方格子点群を追加して色変換テーブルを生成する場合と比較して、立方格子点群のみで生成された色変換テーブルを想定して用意されている機能やアプリケーションの利用を容易化することができる。   According to this configuration, when a computer executing the color conversion program of the present invention adds a non-cubic lattice point group to a specific cubic lattice point group to generate a color conversion table, the color conversion table is generated using only the specific cubic lattice point group. Since the number of grid points in the color conversion table can be increased under the condition that the capacity of the memory for storing grid point information is limited as compared with the case of generating the color reproducibility, color reproducibility is improved. be able to. In addition, when a computer that executes the color conversion program of the present invention generates a color conversion table using only a specific cubic lattice point group, a non-cubic lattice point group is added to the specific cubic lattice point group to generate a color conversion table As compared with the case where it does, the utilization of the function and application which are prepared supposing the color conversion table generated only with cubic lattice point group can be facilitated.

本発明の色変換装置は、色を変換するための色変換テーブルを生成する色変換テーブル生成手段と、前記色変換テーブル生成手段によって生成された前記色変換テーブルを使用して色を変換する色変換手段とを備え、前記色変換テーブル生成手段は、立方格子点の特定の群としての特定立方格子点群のみで前記色変換テーブルを生成することと、立方格子点の群ではない非立方格子点群を前記特定立方格子点群に追加して前記色変換テーブルを生成することとを切り換え可能であることを特徴とする。   The color conversion device according to the present invention converts a color using color conversion table generation means for generating a color conversion table for converting colors, and the color conversion table generated by the color conversion table generation means. Generating the color conversion table using only a specific cubic lattice point group as a specific group of cubic lattice points, and a non-cubic lattice that is not a group of cubic lattice points. It is possible to switch between adding a point group to the specific cubic lattice point group and generating the color conversion table.

この構成により、本発明の色変換装置は、特定立方格子点群に非立方格子点群を追加して色変換テーブルを生成する場合に、特定立方格子点群のみで色変換テーブルを生成する場合と比較して、格子点の情報を記憶するメモリーの容量が制限されている条件下において、色変換テーブルにおける格子点の数を増やすことができるので、色の再現性を向上することができる。また、本発明の色変換装置は、特定立方格子点群のみで色変換テーブルを生成する場合に、特定立方格子点群に非立方格子点群を追加して色変換テーブルを生成する場合と比較して、立方格子点群のみで生成された色変換テーブルを想定して用意されている機能やアプリケーションの利用を容易化することができる。   With this configuration, when the color conversion device of the present invention generates a color conversion table by adding a non-cubic lattice point group to a specific cubic lattice point group, the color conversion table is generated using only the specific cubic lattice point group As compared with the above, the number of lattice points in the color conversion table can be increased under the condition that the capacity of the memory for storing the information of lattice points is limited, so that the color reproducibility can be improved. The color conversion device of the present invention is also compared to the case where a color conversion table is generated by adding a non-cubic grid point group to a specific cubic grid point group when generating a color conversion table using only a specific cubic grid point group. Thus, it is possible to facilitate the use of the functions and applications prepared on the assumption of the color conversion table generated only by the cubic grid point group.

本発明の色変換方法、色変換プログラムおよび色変換装置は、色の再現性を向上することができる。   The color conversion method, the color conversion program, and the color conversion apparatus of the present invention can improve color reproducibility.

本発明の一実施の形態に係る色変換テーブル生成装置のブロック図である。It is a block diagram of a color conversion table generation device concerning a 1 embodiment of the present invention. 図1に示す色変換テーブル生成装置によって生成された色変換テーブルを記憶しているMFPのブロック図である。FIG. 6 is a block diagram of an MFP storing a color conversion table generated by the color conversion table generation device shown in FIG. 1; 色変換テーブルを生成する場合の図1に示す色変換テーブル生成装置の動作のフローチャートである。It is a flowchart of operation | movement of the color conversion table production | generation apparatus shown in FIG. 1 in the case of producing | generating a color conversion table. 図3に示す格子点群生成処理のフローチャートである。It is a flowchart of the lattice point group generation process shown in FIG. (a)図1に示す色変換テーブル生成装置によって生成される、1辺の格子点の数が6個である立方格子点群の斜視図である。 (b)白の点から黒の点に向かう方向に観察した場合の図5(a)に示す立方格子点群の斜視図である。(A) It is a perspective view of the cubic lattice point group which the number of lattice points of 1 side produced | generated by the color conversion table production | generation apparatus shown in FIG. 1 is six. (B) It is a perspective view of the cubic lattice point group shown to Fig.5 (a) at the time of observing in the direction which goes to a black point from a white point. 図4に示す自然画像用格子点群生成処理のフローチャートである。5 is a flowchart of a natural image lattice point group generation process shown in FIG. 4; 図6に示す重要格子点生成処理のフローチャートである。It is a flowchart of important lattice point generation processing shown in FIG. 図7に示すグレー軸上格子点生成処理において格子点が生成されるグレー軸を示す図である。It is a figure which shows the gray axis by which a grid point is produced | generated in the gray on-axis grid point production | generation process shown in FIG. グレー軸上において等間隔に格子点を生成する場合の図7に示すグレー軸上格子点生成処理のフローチャートである。FIG. 8 is a flow chart of gray on-axis grid point generation processing shown in FIG. 7 in the case of generating grid points at equal intervals on the gray axis; FIG. van der Corput列の項を座標とする格子点を生成する場合の図7に示すグレー軸上格子点生成処理のフローチャートである。It is a flowchart of a gray on-axis grid point generation process shown in FIG. 7 in the case of generating a grid point having coordinates of a term of van der Corput column. 図7に示す最外殻上格子点生成処理のフローチャートである。It is a flowchart of the outermost shell upper lattice point generation process shown in FIG. 図11に示す角間線分上格子点生成処理のフローチャートである。FIG. 12 is a flowchart of inter-corner line segment grid point generation processing shown in FIG. 11; FIG. 図12に示す最大彩度線分上格子点生成処理において格子点が生成される最大彩度の線分を示す図である。It is a figure which shows the line segment of the largest saturation in which a lattice point is produced | generated in the largest saturation line segment upper lattice point production | generation process shown in FIG. 最大彩度の線分上において等間隔に格子点を生成する場合の図12に示す最大彩度線分上格子点生成処理のフローチャートである。FIG. 13 is a flowchart of maximum saturation line segment upper lattice point generation processing shown in FIG. 12 in the case of generating lattice points at equal intervals on the maximum saturation line segment; FIG. van der Corput列の項を一部の座標とする格子点を生成する場合の図12に示す最大彩度線分上格子点生成処理のフローチャートである。FIG. 13 is a flowchart of a maximum saturation line segment grid point generation process shown in FIG. 12 in the case of generating a grid point in which a coordinate of the van der Corput column is a part of coordinates. 図12に示すスカイライン上格子点生成処理において格子点が生成されるスカイラインを示す図である。It is a figure which shows the skyline by which a grid point is produced | generated in the on-skyline grid point production | generation process shown in FIG. スカイライン上において等間隔に格子点を生成する場合の図12に示すスカイライン上格子点生成処理のフローチャートである。FIG. 13 is a flowchart of on-skyline grid point generation processing shown in FIG. 12 in the case of generating grid points at equal intervals on the skyline. van der Corput列の項を一部の座標とする格子点を生成する場合の図12に示すスカイライン上格子点生成処理のフローチャートである。FIG. 13 is a flowchart of on-skyline grid point generation processing shown in FIG. 12 in the case of generating a grid point whose partial coordinates are terms of van der Corput column; FIG. 図12に示すボトムライン上格子点生成処理において格子点が生成されるボトムラインを示す図である。It is a figure which shows the bottom line in which a lattice point is produced | generated in the bottom line top lattice point production | generation process shown in FIG. ボトムライン上において等間隔に格子点を生成する場合の図12に示すボトムライン上格子点生成処理のフローチャートである。13 is a flowchart of a bottom line on-grid point generation process shown in FIG. 12 in the case of generating grid points at equal intervals on the bottom line. van der Corput列の項を一部の座標とする格子点を生成する場合の図12に示すボトムライン上格子点生成処理のフローチャートである。FIG. 13 is a flowchart of a bottom line on-grid point generation process shown in FIG. 12 in the case of generating a grid point whose partial coordinates are terms of the van der Corput column. 最外殻面上において等間隔に格子点を生成する場合の図11に示す最外殻面上格子点生成処理のフローチャートである。It is a flowchart of the outermost shell surface lattice point generation process shown in FIG. 11 in the case of generating lattice points at equal intervals on the outermost shell surface. 2種類のvan der Corput列同士の同一の順番の項を一部の座標とする格子点を生成する場合の図11に示す最外殻面上格子点生成処理のフローチャートである。FIG. 12 is a flowchart of outermost shell on-plane grid point generation processing shown in FIG. 11 in the case of generating grid points in which the coordinate of the same order of two types of van der Corput sequences is taken as a part of coordinates. 図6に示す色域内部格子点生成処理のフローチャートである。FIG. 7 is a flowchart of color gamut internal grid point generation processing shown in FIG. 6; FIG. 図6に示す格子点割振処理のフローチャートである。It is a flowchart of the lattice point allocation process shown in FIG. (a)図4に示す自然画像用格子点群生成処理において生成される格子点群の一例の斜視図である。 (b)白の点から黒の点に向かう方向に観察した場合の図26(a)に示す格子点群の斜視図である。(A) It is a perspective view of an example of the lattice point group produced | generated in the lattice point group production | generation process for natural images shown in FIG. (B) It is a perspective view of the lattice point group shown to Fig.26 (a) at the time of observing in the direction which goes to a black point from a white point. (a)図4に示す非自然画像用格子点群生成処理において生成される格子点群の一例の斜視図である。 (b)白の点から黒の点に向かう方向に観察した場合の図27(a)に示す格子点群の斜視図である。(A) It is a perspective view of an example of the lattice point group produced | generated in the lattice point group production | generation process for non-natural images shown in FIG. (B) It is a perspective view of the lattice point group shown to Fig.27 (a) at the time of observing in the direction which goes to a black point from a white point. 図2に示すMFPによって実行される色変換工程の一般的な変換ステップのフローチャートである。5 is a flow chart of the general conversion steps of the color conversion process performed by the MFP shown in FIG. 図28に示す変換ステップを単段ステップにした場合のフローチャートである。It is a flowchart at the time of making the conversion step shown in FIG. 28 into a single step. 図28に示す変換ステップの生成に使用される、「入力デバイスの色空間JCH in」を出力する色変換工程を示すフローチャートである。It is a flowchart which shows the color conversion process which outputs "color space JCH in of an input device" used for production | generation of the conversion step shown in FIG. 図28に示す変換ステップの生成に使用される、「出力デバイスの色空間JCH out」を出力する色変換工程を示すフローチャートである。FIG. 29 is a flow chart showing a color conversion process of outputting “color space JCH out of output device” used to generate the conversion step shown in FIG. 28. 印刷を実行する場合の図2に示すMFPの動作のフローチャートである。5 is a flowchart of the operation of the MFP shown in FIG. 2 when printing is performed. 図32に示す使用色変換テーブル生成処理のフローチャートである。It is a flowchart of a use color conversion table production | generation process shown in FIG. (a)図33に示すS624において決定された格子点群の一例の斜視図である。 (b)白の点から黒の点に向かう方向に観察した場合の図34(a)に示す格子点群の斜視図である。(A) It is a perspective view of an example of the lattice point group determined in S624 shown in FIG. (B) It is a perspective view of the lattice point group shown to Fig.34 (a) at the time of observing in the direction which goes to a black point from a white point. (a)図33に示すS625において決定された格子点群の一例の斜視図である。 (b)白の点から黒の点に向かう方向に観察した場合の図35(a)に示す格子点群の斜視図である。(A) It is a perspective view of an example of the lattice point group determined in S625 shown in FIG. (B) It is a perspective view of the lattice point group shown to Fig.35 (a) at the time of observing in the direction which goes to a black point from a white point. 図32に示す色変換処理のフローチャートである。It is a flowchart of the color conversion process shown in FIG. 図36に示す対応関係検索処理のフローチャートである。It is a flowchart of the correspondence search process shown in FIG. 図37に示す内挿処理のフローチャートである。It is a flowchart of the interpolation process shown in FIG. 図38に示す包含四面体検索処理のフローチャートである。FIG. 39 is a flowchart of included tetrahedron search processing shown in FIG. 38. FIG. 従来の色変換テーブルを示す図である。It is a figure which shows the conventional color conversion table.

以下、本発明の一実施の形態について、図面を用いて説明する。   Hereinafter, an embodiment of the present invention will be described using the drawings.

まず、本実施の形態に係る色変換テーブル生成装置の構成について説明する。   First, the configuration of the color conversion table generation device according to the present embodiment will be described.

図1は、本実施の形態に係る色変換テーブル生成装置10のブロック図である。図2は、色変換テーブル生成装置10によって生成された色変換テーブルを記憶しているMFP(Multifunction Peripheral)20のブロック図である。   FIG. 1 is a block diagram of a color conversion table generation apparatus 10 according to the present embodiment. FIG. 2 is a block diagram of an MFP (Multifunction Peripheral) 20 storing the color conversion table generated by the color conversion table generation device 10.

図1に示すように、色変換テーブル生成装置10は、種々の操作が入力されるマウスやキーボードなどの入力デバイスである操作部11と、種々の情報を表示するLCD(Liquid Crystal Display)などの表示デバイスである表示部12と、LAN(Local Area Network)、インターネットなどのネットワーク経由で外部の装置と通信を行う通信デバイスである通信部13と、プログラムおよび各種のデータを記憶しているHDD(Hard Disk Drive)などの記憶デバイスである記憶部14と、色変換テーブル生成装置10全体を制御する制御部15とを備えている。色変換テーブル生成装置10は、例えばPC(Personal Computer)などのコンピューターによって構成されている。   As shown in FIG. 1, the color conversion table generation device 10 includes an operation unit 11 which is an input device such as a mouse and a keyboard to which various operations are input, and an LCD (Liquid Crystal Display) which displays various information. A display unit 12 that is a display device, a communication unit 13 that is a communication device that communicates with an external device via a network such as a LAN (Local Area Network) or the Internet, an HDD that stores programs and various data A storage unit 14 that is a storage device such as a hard disk drive) and a control unit 15 that controls the entire color conversion table generation device 10 are provided. The color conversion table generation device 10 is configured by, for example, a computer such as a PC (Personal Computer).

記憶部14は、RGB色空間の色をCMYK色空間の色に変換するために立方格子点群によって生成された色変換テーブルとしての立方格子点色変換テーブル14aと、立方格子点色変換テーブル14aに追加するための、自然画像用の色変換テーブルとしての自然画像用追加テーブル14bと、立方格子点色変換テーブル14aに追加するための、非自然画像用の色変換テーブルとしての非自然画像用追加テーブル14cとを記憶することができる。   The storage unit 14 includes a cubic grid point color conversion table 14a as a color conversion table generated by a cubic grid point group to convert colors in the RGB color space to colors in the CMYK color space, and a cubic grid point color conversion table 14a. Table for natural images as a color conversion table for natural images, and a non-natural image as a color conversion table for non-natural images to be added to the cubic grid point color conversion table 14a An additional table 14c can be stored.

制御部15は、例えば、CPU(Central Processing Unit)と、プログラムおよび各種のデータを予め記憶しているROM(Read Only Memory)と、制御部15のCPUの作業領域として用いられるRAM(Random Access Memory)とを備えている。制御部15のCPUは、制御部15のROMまたは記憶部14に記憶されているプログラムを実行するようになっている。   The control unit 15 includes, for example, a central processing unit (CPU), a read only memory (ROM) storing programs and various data in advance, and a random access memory (RAM) used as a work area of the CPU of the control unit 15. And). The CPU of the control unit 15 is configured to execute a program stored in the ROM of the control unit 15 or the storage unit 14.

次に、図2に示すMFP20の構成について説明する。   Next, the configuration of MFP 20 shown in FIG. 2 will be described.

図2は、本実施の形態に係る色変換装置としてのMFP20のブロック図である。   FIG. 2 is a block diagram of MFP 20 as a color conversion apparatus according to the present embodiment.

図2に示すように、MFP20は、種々の操作が入力されるボタンなどの入力デバイスである操作部21と、種々の情報を表示するLCDなどの表示デバイスである表示部22と、画像を読み取る読取デバイスであるスキャナー23と、用紙などの記録媒体に印刷を実行する印刷デバイスであるプリンター24と、図示していない外部のファクシミリ装置と公衆電話回線などの通信回線経由でファックス通信を行うファックスデバイスであるファックス通信部25と、LAN、インターネットなどのネットワーク経由で外部の装置と通信を行う通信デバイスである通信部26と、各種のデータを記憶している半導体メモリー、HDDなどの記憶デバイスである記憶部27と、MFP20全体を制御する制御部28とを備えている。   As shown in FIG. 2, the MFP 20 reads an image, an operation unit 21 which is an input device such as a button to which various operations are input, a display unit 22 which is a display device such as an LCD to display various information, A scanner 23 that is a reading device, a printer 24 that is a printing device that executes printing on a recording medium such as paper, and a fax device that performs fax communication via a communication line such as an external facsimile machine (not shown) and a public telephone line And a communication unit 26 which is a communication device for communicating with an external apparatus via a network such as a LAN or the Internet, a semiconductor memory storing various data, a storage device such as an HDD, etc. A storage unit 27 and a control unit 28 that controls the entire MFP 20 are provided.

記憶部27は、RGB色空間の色をCMYK色空間の色に変換するために立方格子点群によって生成された色変換テーブルとしての立方格子点色変換テーブル27aと、立方格子点色変換テーブル27aに追加するための、自然画像用の色変換テーブルとしての自然画像用追加テーブル27bと、立方格子点色変換テーブル27aに追加するための、非自然画像用の色変換テーブルとしての非自然画像用追加テーブル27cとを記憶することができる。   The storage unit 27 is a cubic grid point color conversion table 27a as a color conversion table generated by a cubic grid point group to convert colors in the RGB color space to colors in the CMYK color space, and a cubic grid point color conversion table 27a. Table for natural images as a color conversion table for natural images, and a non-natural image as a color conversion table for non-natural images to be added to cubic grid point color conversion table 27a An additional table 27c can be stored.

記憶部27は、RGB形式の入力画像をCMYK形式の出力画像に変換するための色変換プログラム27dを記憶している。色変換プログラム27dは、MFP20の製造段階でMFP20にインストールされていても良いし、USB(Universal Serial Bus)メモリーなどの外部の記憶媒体からMFP20に追加でインストールされても良いし、ネットワーク上からMFP20に追加でインストールされても良い。   The storage unit 27 stores a color conversion program 27 d for converting an RGB-format input image into a CMYK-format output image. The color conversion program 27d may be installed in the MFP 20 at the manufacturing stage of the MFP 20, or may be additionally installed in the MFP 20 from an external storage medium such as a USB (Universal Serial Bus) memory, or from the network 20 It may be installed additionally.

記憶部27は、立方格子点色変換テーブル27aに含まれる格子点群に、自然画像用追加テーブル27bおよび非自然画像用追加テーブル27cのいずれか一方に含まれる格子点群を追加した色変換テーブルを生成するか否かを示す格子点追加有無情報27eを記憶することができる。   The storage unit 27 is a color conversion table in which a grid point group included in any one of the natural image addition table 27b and the non-natural image addition table 27c is added to the grid point group included in the cubic grid point color conversion table 27a. Can be stored as lattice point addition / presence information 27e indicating whether to generate.

制御部28は、例えば、CPUと、プログラムおよび各種のデータを記憶しているROMと、制御部28のCPUの作業領域として用いられるRAMとを備えている。制御部28のCPUは、制御部28のROMまたは記憶部27に記憶されているプログラムを実行する。すなわち、MFP20は、コンピューターである。   The control unit 28 includes, for example, a CPU, a ROM storing programs and various data, and a RAM used as a work area of the CPU of the control unit 28. The CPU of the control unit 28 executes a program stored in the ROM of the control unit 28 or the storage unit 27. That is, the MFP 20 is a computer.

制御部28は、記憶部14に記憶されている色変換プログラム27dを実行することによって、RGB形式の入力画像をCMYK形式の出力画像に変換する色変換手段28aと、色変換テーブルを生成する色変換テーブル生成手段28bとを実現する。   The control unit 28 executes a color conversion program 27 d stored in the storage unit 14 to convert color images of RGB format into output images of CMYK format, and colors to generate a color conversion table. And conversion table generation means 28b.

次に、色変換テーブル生成装置10の動作について説明する。   Next, the operation of the color conversion table generation device 10 will be described.

図3は、立方格子点色変換テーブル14a、自然画像用追加テーブル14bおよび非自然画像用追加テーブル14cを生成する場合の色変換テーブル生成装置10の動作のフローチャートである。   FIG. 3 is a flowchart of the operation of the color conversion table generation device 10 in the case of generating the cubic grid point color conversion table 14a, the natural image addition table 14b and the non-natural image addition table 14c.

図3に示すように、制御部15は、立方格子点色変換テーブル14a、自然画像用追加テーブル14bおよび非自然画像用追加テーブル14cにおける色変換前の格子点の群を生成する格子点群生成処理を実行する(S101)。   As shown in FIG. 3, the control unit 15 generates grid point group groups for generating grid points before color conversion in the cubic grid point color conversion table 14a, the natural image additional table 14b, and the non-natural image additional table 14c. A process is performed (S101).

図4は、図3に示す格子点群生成処理のフローチャートである。   FIG. 4 is a flowchart of the lattice point group generation process shown in FIG.

図4に示すように、制御部15は、MFP20の記憶部27の容量的に色変換テーブル用に割り当て可能な格子点の最大数Smaxを得る(S121)。   As shown in FIG. 4, the control unit 15 obtains the maximum number Smax of lattice points that can be allocated for the color conversion table in terms of capacity of the storage unit 27 of the MFP 20 (S121).

次いで、制御部15は、S121において得られた最大数Smaxを超えない範囲で、立方格子点の群を、立方格子点色変換テーブル14aの格子点群として生成する(S122)。   Next, the control unit 15 generates a group of cubic lattice points as a lattice point group of the cubic lattice point color conversion table 14a within a range not exceeding the maximum number Smax obtained in S121 (S122).

なお、S122において制御部15によって生成される格子点群は、例えば、最大数Smaxが300である場合に、1辺の格子点の数が6個であるとき、数1および図5に示すような格子点群となる。図5(a)は、1辺の格子点の数が6個である立方格子点群の斜視図である。図5(b)は、白(white){1,1,1}の点から黒(black){0,0,0}の点に向かう方向に観察した場合の図5(a)に示す立方格子点群の斜視図である。数1および図5に示す立方格子点群は、6個×6個×6個、すなわち216個の格子点の群である。最大数Smaxが300である場合に、立方格子点色変換テーブル14aの格子点が216個であるとき、自然画像用追加テーブル14bおよび非自然画像用追加テーブル14cの格子点は、それぞれ、最大で84個である。

Figure 2019118089
Note that the lattice point group generated by the control unit 15 in S122 is, for example, as shown in Equation 1 and FIG. 5 when the number of lattice points on one side is six when the maximum number Smax is 300. It becomes a good grid point group. FIG. 5A is a perspective view of a cubic lattice point group in which the number of lattice points on one side is six. FIG. 5 (b) shows the cube shown in FIG. 5 (a) when observed from the point of white {1, 1, 1} to the point of black {0, 0, 0}. It is a perspective view of a lattice point group. The cubic lattice point group shown in Equation 1 and FIG. 5 is a group of 6 × 6 × 6, ie, 216 lattice points. When the maximum number Smax is 300 and the number of lattice points of the cubic lattice point color conversion table 14a is 216, the lattice points of the natural image additional table 14b and the non-natural image additional table 14c are respectively at maximum It is 84 pieces.
Figure 2019118089

また、S122において制御部15によって生成される格子点群は、例えば、最大数Smaxが300である場合に、1辺の格子点の数が5個であるとき、数2に示すような格子点群となる。数2に示す立方格子点群は、5個×5個×5個、すなわち125個の格子点の群である。最大数Smaxが300である場合に、立方格子点色変換テーブル14aの格子点が125個であるとき、自然画像用追加テーブル14bおよび非自然画像用追加テーブル14cの格子点は、それぞれ、最大で175個である。

Figure 2019118089
Further, the lattice point group generated by the control unit 15 in S122 is, for example, a lattice point as shown in Equation 2 when the number of lattice points on one side is five when the maximum number Smax is 300. It becomes a group. The cubic lattice point group shown in Equation 2 is a group of 5 × 5 × 5, ie, 125 lattice points. When the maximum number Smax is 300 and the number of lattice points of the cubic lattice point color conversion table 14a is 125, the lattice points of the natural image additional table 14b and the non-natural image additional table 14c are respectively at maximum It is 175 pieces.
Figure 2019118089

図4に示すように、制御部15は、S122の処理が終了すると、自然画像用追加テーブル14b用の格子点群を生成するための自然画像用格子点群生成処理を実行する(S123)。   As shown in FIG. 4, when the process of S122 is completed, the control unit 15 executes a natural image lattice point group generation process for generating a lattice point group for the natural image additional table 14b (S123).

図6は、図4に示す自然画像用格子点群生成処理のフローチャートである。   FIG. 6 is a flowchart of the natural image lattice point group generation process shown in FIG.

図6に示すように、制御部15は、RGB色空間においてグレー軸上に存在し白および黒のいずれでもない格子点としてのグレー軸上格子点と、RGB色空間において最外殻上に存在し8つの角のいずれでもない格子点としての最外殻上格子点との少なくともいずれかの格子点(以下「重要格子点」という。)を、自然画像用追加テーブル14bの格子点群の一部として生成する重要格子点生成処理を実行する(S141)。   As shown in FIG. 6, the control unit 15 exists on the gray axis grid point as a grid point existing on the gray axis and not white or black in the RGB color space, and on the outermost shell in the RGB color space One or more lattice points (hereinafter referred to as "important lattice points") with the lattice points on the outermost shell as lattice points that do not have any of eight corners (hereinafter referred to as "important lattice points") The important grid point generation process generated as a part is executed (S141).

なお、最外殻上格子点には、RGB色空間において8つの角のいずれか2つの角の間の線分上に存在する格子点としての角間線分上格子点と、RGB色空間において最外殻の面、すなわち、r=0の面、r=1の面、g=0の面、g=1の面、b=0の面、および、b=1の面の上に存在する格子点としての最外殻面上格子点とが存在する。   Note that the grid point on the line segment between the corners as a grid point existing on the line segment between any two corners of the eight corners in the RGB color space is the grid point on the outermost shell, and the grid point in the RGB color space A lattice present on the surface of the outer shell, that is, the surface of r = 0, the surface of r = 1, the surface of g = 0, the surface of g = 1, the surface of b = 0, and the surface of b = 1 There is an outermost shell lattice point as a point.

角間線分上格子点には、最大彩度の線分、すなわち、red−yellowの間の線分、yellow−greenの間の線分、green−cyanの間の線分、cyan−blueの間の線分、blue−magentaの間の線分、および、magenta−redの間の線分の上の格子点が存在する。また、角間線分上格子点には、白(white)および1次色の間の線分、すなわち、white−redの間の線分、white−greenの間の線分、および、white−blueの間の線分の上の格子点と、白および2次色の間の線分、すなわち、white−cyanの間の線分、white−magentaの間の線分、および、white−yellowの間の線分の上の格子点とが存在する。また、角間線分上格子点には、黒(black)および1次色の間の線分、すなわち、black−redの間の線分、black−greenの間の線分、および、black−blueの間の線分の上の格子点と、黒および2次色の間の線分、すなわち、black−cyanの間の線分、black−magentaの間の線分、および、black−yellowの間の線分の上の格子点が存在する。   In the inter-corner line segment grid point, a line segment of maximum saturation, ie, a line segment between red and yellow, a line segment between yellow and green, a line segment between green and cyan, between cyan and blue There is a grid point on the line segment of, the line segment between blue-magenta, and the line segment between magenta-red. In addition, a line segment between white and primary colors, that is, a line segment between white-red, a line segment between white-green, and white-blue Between the grid point on the line segment between and the line segment between white and secondary color, that is, the line segment between white-cyan, the line segment between white-magenta, and between white-yellow There are grid points on the line segment of. In addition, a line segment between black and a primary color, that is, a line segment between black-red, a line segment between black-green, and black-blue Between the grid point on the line segment between and the line segment between black and secondary color, ie, the line segment between black and cyan, the line segment between black and magenta, and the line between black and yellow There are grid points on the line segment of.

図7は、図6に示す重要格子点生成処理のフローチャートである。   FIG. 7 is a flowchart of the important grid point generation process shown in FIG.

図7に示すように、制御部15は、自然画像用追加テーブル14bの設計者によって決定された、グレー軸上格子点の必要数を、グレー軸上格子点の数Caとして決定する(S161)。   As shown in FIG. 7, the control unit 15 determines the necessary number of on-gray on-axis grid points determined by the designer of the natural image additional table 14b as the number on-gray on-axis lattice points Ca (S161) .

次いで、制御部15は、グレー軸上格子点を自然画像用追加テーブル14bの格子点群の一部として生成するグレー軸上格子点生成処理を実行する(S162)。なお、制御部15は、グレー軸上格子点生成処理において、S122において生成された格子点と重複する格子点を生成しない。   Next, the control unit 15 executes a gray on-axis grid point generation process that generates a gray on-axis grid point as part of the grid point group of the natural image addition table 14b (S162). Note that the control unit 15 does not generate a grid point that overlaps with the grid point generated in S122 in the on-gray-axis grid point generation process.

図8は、図7に示すグレー軸上格子点生成処理において格子点が生成されるグレー軸を示す図である。   FIG. 8 is a diagram showing gray axes at which grid points are generated in the on-gray grid point generation process shown in FIG. 7.

図7に示すグレー軸上格子点生成処理においては、図8において太線で示すグレー軸上の格子点、すなわち、グレー軸上格子点が生成される。   In the on-gray on-axis lattice point generation process shown in FIG. 7, on-gray on-axis lattice points shown by thick lines in FIG. 8, that is, on-gray on-axis lattice points are generated.

グレー軸上格子点の生成方法としては、例えば、グレー軸上において等間隔に、すなわち、線形な位置に格子点を生成する方法、グレー軸上において非線形な位置に格子点を生成する方法、van der Corput列の項を座標とする格子点を生成する方法など、様々な方法が採用されることが可能である。   As a method of generating the on-gray grid points, for example, a method of generating grid points at equal intervals on the gray axis, that is, linear positions, a method of generating grid points at non-linear positions on the gray axis, van Various methods may be employed, such as a method of generating a grid point whose coordinates are terms in the column of the Der Corput column.

図9は、グレー軸上において等間隔に格子点を生成する場合の図7に示すグレー軸上格子点生成処理のフローチャートである。   FIG. 9 is a flowchart of the on-gray grid point generation process shown in FIG. 7 in the case of generating grid points at equal intervals on the gray axis.

図9に示すように、制御部15は、0から1までの範囲を(Ca+1)で等分する数値の列を求め(S181)、S181において求めた列から0および1を除外した列を求める(S182)。   As shown in FIG. 9, the control unit 15 obtains a string of numerical values equally dividing the range from 0 to 1 by (Ca + 1) (S181), and obtains a string excluding 0 and 1 from the string obtained in S181. (S182).

次いで、制御部15は、S182において求めた列の同一の項の数値をRGB色空間の各チャンネルに代入することによって、グレー軸上格子点を求める(S183)。   Next, the control unit 15 substitutes the numerical value of the same term of the column determined in S182 into each channel of the RGB color space to determine a grid point on the gray axis (S183).

例えば、制御部15は、グレー軸上格子点の数Caが3である場合、0から1までの範囲を(Ca+1)、すなわち、4で等分する数値の列として0、1/4、2/4、3/4、1をS181において求め、1/4、2/4、3/4をS182において求める。したがって、制御部15は、{r,g,b}がそれぞれ数3に示す値である格子点をS183において求める。

Figure 2019118089
For example, when the number Ca of grid points on the gray axis is 3, the control unit 15 sets the range from 0 to 1 to (Ca + 1), that is, 0, 1/4, 2 as a string of numerical values equally divided by 4. / 4, 3/4, 1 are determined in S181, and 1/4, 2/4, 3/4 are determined in S182. Therefore, the control unit 15 obtains lattice points in which {r, g, b} are values shown in Equation 3 in S183.
Figure 2019118089

制御部15は、S183の処理の後、S183において求めたグレー軸上格子点の群を、自然画像用追加テーブル14bの格子点群の一部として生成して(S184)、図9に示すグレー軸上格子点生成処理を終了する。   After the process of S183, the control unit 15 generates the group of on-gray axis lattice points obtained in S183 as a part of the lattice point group of the natural image additional table 14b (S184), and the gray shown in FIG. End the on-axis grid point generation process.

図10は、van der Corput列の項を座標とする格子点を生成する場合の図7に示すグレー軸上格子点生成処理のフローチャートである。   FIG. 10 is a flowchart of the on-gray grid point generation process shown in FIG. 7 in the case of generating a grid point having coordinates of a term of van der Corput column.

図10に示すように、制御部15は、グレー軸上格子点の数Caと項数が同数であって、基底が2以上の正の整数であるvan der Corput列を生成する(S201)。なお、van der Corput列は、各項の数が0より大きく1より小さくなる数列である。   As shown in FIG. 10, the control unit 15 generates a van der Corput sequence having the same number of terms and the number Ca of on-gray axis lattice points, and the base being a positive integer of 2 or more (S201). The van der Corput sequence is a sequence in which the number of each term is greater than zero and smaller than one.

次いで、制御部15は、S201において生成されたvan der Corput列の同一の項の数値をRGB色空間の各チャンネルに代入することによって、グレー軸上格子点を求める(S202)。   Next, the control unit 15 substitutes the numerical value of the same term of the van der Corput sequence generated in S201 into each channel of the RGB color space to obtain a grid point on the gray axis (S202).

例えば、グレー軸上格子点の数Caが16である場合、基底が2のとき、S201において生成されるvan der Corput列は、数4に示すようになり、S202において求められるグレー軸上格子点は、数5に示すようになる。また、グレー軸上格子点の数Caが16である場合、基底が3のとき、S201において生成されるvan der Corput列は、数6に示すようになり、S202において求められるグレー軸上格子点は、数7に示すようになる。

Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089
For example, when the number Ca of on-gray grid points is 16, if the basis is 2, the van der Corput sequence generated in S201 is as shown in Expression 4, and the on-gray grid points obtained in S202 Becomes as shown in equation 5. When the number Ca of on-gray-axis grid points is 16, if the basis is 3, the van der Corput row generated in S201 is as shown in Eq. 6, and the on-gray-axis grid points obtained in S202 Is as shown in Equation 7.
Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089

制御部15は、S202の処理の後、S202において求めたグレー軸上格子点の群を、自然画像用追加テーブル14bの格子点群の一部として生成して(S203)、図10に示すグレー軸上格子点生成処理を終了する。   After the process of S202, the control unit 15 generates the group of on-gray axis lattice points obtained in S202 as a part of the lattice point group of the natural image additional table 14b (S203), and the gray shown in FIG. End the on-axis grid point generation process.

図7に示すように、制御部15は、S162のグレー軸上格子点生成処理が終了すると、最外殻上格子点を自然画像用追加テーブル14bの格子点群の一部として生成する最外殻上格子点生成処理を実行する(S163)。   As shown in FIG. 7, when the gray-on-grid point generation process in S162 is completed, the control unit 15 generates the outermost on-shell grid point as a part of the grid point group of the natural image addition table 14b. An on-shell grid point generation process is executed (S163).

図11は、図7に示す最外殻上格子点生成処理のフローチャートである。   FIG. 11 is a flowchart of the outermost shell grid point generation process shown in FIG. 7.

図11に示すように、制御部15は、最外殻上格子点のうち角間線分上格子点を自然画像用追加テーブル14bの格子点群の一部として生成する角間線分上格子点生成処理を実行する(S221)。   As illustrated in FIG. 11, the control unit 15 generates an inter-corner line grid point generation that generates an inter-corner line grid point lattice point among the outermost shell grid points as a part of the grid point group of the natural image additional table 14 b. The process is executed (S221).

図12は、図11に示す角間線分上格子点生成処理のフローチャートである。   FIG. 12 is a flowchart of the inter-corner line segment lattice point generation process shown in FIG.

図12に示すように、制御部15は、自然画像用追加テーブル14bの設計者によって決定された、最大彩度の線分上の格子点の必要数を、最大彩度の線分上の格子点の数Cbとして決定する(S241)。   As shown in FIG. 12, the control unit 15 determines the required number of grid points on the line segment of maximum saturation, determined by the designer of the natural image additional table 14b, The number of points Cb is determined (S241).

次いで、制御部15は、角間線分上格子点のうち、最大彩度の線分上の格子点を自然画像用追加テーブル14bの格子点群の一部として生成する最大彩度線分上格子点生成処理を実行する(S242)。なお、制御部15は、最大彩度線分上格子点生成処理において、S122において生成された格子点と重複する格子点を生成しない。   Next, the control unit 15 generates a grid point on the maximum saturation line segment that generates a grid point on the line segment of maximum saturation among the grid points on the line segment between corners as a part of the grid point group of the natural image additional table 14b. A point generation process is executed (S242). Note that the control unit 15 does not generate grid points that overlap with the grid points generated in S122 in the maximum saturation line segment upper lattice point generation process.

図13は、図12に示す最大彩度線分上格子点生成処理において格子点が生成される最大彩度の線分を示す図である。   FIG. 13 is a diagram showing a line segment of maximum saturation at which lattice points are generated in the maximum saturation line segment upper lattice point generation process shown in FIG.

図12に示す最大彩度線分上格子点生成処理においては、図13において太線で示す最大彩度の線分上の格子点が生成される。   In the maximum saturation line segment upper lattice point generation process shown in FIG. 12, lattice points on the line segment of maximum saturation indicated by thick lines in FIG. 13 are generated.

最大彩度の線分上の格子点の生成方法としては、例えば、最大彩度の線分上において等間隔に、すなわち、線形な位置に格子点を生成する方法、最大彩度の線分上において非線形な位置に格子点を生成する方法、van der Corput列の項を一部の座標とする格子点を生成する方法など、様々な方法が採用されることが可能である。   As a method of generating grid points on a line segment of maximum saturation, for example, a method of generating grid points at equal intervals on a line segment of maximum saturation, that is, linear positions, on a line segment of maximum saturation Various methods can be employed, such as a method of generating grid points at nonlinear positions in, and a method of generating grid points whose partial coordinates are terms in the van der Corput column.

図14は、最大彩度の線分上において等間隔に格子点を生成する場合の図12に示す最大彩度線分上格子点生成処理のフローチャートである。   FIG. 14 is a flowchart of maximum saturation line segment upper lattice point generation processing shown in FIG. 12 in the case of generating lattice points at equal intervals on the maximum saturation line segment.

図14に示すように、制御部15は、0から1までの範囲を(Cb/6+1)で等分する数値の列を求め(S261)、S261において求めた列から0および1を除外した列を求める(S262)。   As shown in FIG. 14, the control unit 15 obtains a string of numerical values equally dividing the range from 0 to 1 by (Cb / 6 + 1) (S261), and excludes 0 and 1 from the string obtained in S261. (S262).

次いで、制御部15は、S262において求めた列を使用して、最大彩度の各線分上において等間隔に配置される格子点を求める(S263)。   Next, the control unit 15 uses grids obtained in S262 to obtain lattice points arranged at equal intervals on each line segment of maximum saturation (S263).

例えば、制御部15は、数Cbが18である場合、0から1までの範囲を(Cb/6+1)、すなわち、4で等分する数値の列として0、1/4、2/4、3/4、1をS261において求め、1/4、2/4、3/4をS262において求める。そして、制御部15は、red:{1,0,0}と、yellow:{1,1,0}とを結ぶred−yellowの間の線分上において等間隔に配置される格子点として、{r,g,b}がそれぞれ数8に示す値である格子点をS263において求める。制御部15は、yellow−greenの間の線分、green−cyanの間の線分、cyan−blueの間の線分、blue−magentaの間の線分、および、magenta−redの間の線分の上の格子点についても、red−yellowの間の線分上の格子点と同様にS263において求める。

Figure 2019118089
For example, when the number Cb is 18, the control unit 15 sets the range from 0 to 1 to (Cb / 6 + 1), that is, 0, 1/4, 2/4, 3 as a string of numerical values equally divided by 4. / 4, 1 are determined in S261, and 1/4, 2/4, 3/4 are determined in S262. Then, the control unit 15 sets lattice points arranged at equal intervals on a line segment between red: {1, 0, 0} and yellow: {1, 1, 0} connecting red-yellow, Lattice points whose values {r, g, b} are shown in equation 8 are determined in S263. The control unit 15 sets a line segment between yellow and green, a line segment between green and cyan, a line segment between cyan and blue, a line segment between blue and magenta, and a line between magenta and red. The grid points on the minute are also determined in S263 in the same manner as the grid points on the line segment between red and yellow.
Figure 2019118089

制御部15は、S263の処理の後、S263において求めた、最大彩度の線分上の格子点の群を、自然画像用追加テーブル14bの格子点群の一部として生成して(S264)、図14に示す最大彩度線分上格子点生成処理を終了する。   After the process of S263, the control unit 15 generates the group of lattice points on the line segment of maximum saturation obtained in S263 as a part of the lattice point group of the natural image additional table 14b (S264) The grid point generation process on the maximum saturation line segment shown in FIG. 14 ends.

図15は、van der Corput列の項を一部の座標とする格子点を生成する場合の図12に示す最大彩度線分上格子点生成処理のフローチャートである。   FIG. 15 is a flowchart of the maximum saturation line segment on-grid point generation process shown in FIG. 12 in the case of generating a grid point whose partial coordinates are terms of the van der Corput column.

図15に示すように、制御部15は、最大彩度の線分上の格子点の数Cbを6で割った商と項数が同数であって、基底が2以上の正の整数であるvan der Corput列を生成する(S281)。   As shown in FIG. 15, the control unit 15 has the same number as the quotient obtained by dividing the number Cb of lattice points on the line segment of maximum saturation by 6 and the number of terms is the same number, and the base is a positive integer of 2 or more. The van der Corput column is generated (S281).

次いで、制御部15は、S281において生成されたvan der Corput列を使用して、最大彩度の各線分上の格子点を求める(S282)。   Next, the control unit 15 obtains grid points on each line segment of maximum saturation using the van der Corput sequence generated in S281 (S282).

例えば、最大彩度の線分上の格子点の数Cbが24である場合、基底が2のとき、S281において生成されるvan der Corput列は、数9に示すようになり、S282において求められる、red−yellowの間の線分上の格子点は、数10に示すようになる。制御部15は、yellow−greenの間の線分、green−cyanの間の線分、cyan−blueの間の線分、blue−magentaの間の線分、および、magenta−redの間の線分の上の格子点についても、red−yellowの間の線分上の格子点と同様にS282において求める。

Figure 2019118089
Figure 2019118089
For example, when the number Cb of lattice points on the line segment of maximum saturation is 24, when the basis is 2, the van der Corput sequence generated in S281 becomes as shown in Equation 9, and is obtained in S282 , Grid points on the line segment between red and yellow are as shown in equation 10. The control unit 15 sets a line segment between yellow and green, a line segment between green and cyan, a line segment between cyan and blue, a line segment between blue and magenta, and a line between magenta and red. The grid points on the minute are also determined at S 282 similarly to the grid points on the line segment between red and yellow.
Figure 2019118089
Figure 2019118089

制御部15は、S282の処理の後、S282において求めた、最大彩度の線分上の格子点の群を、自然画像用追加テーブル14bの格子点群の一部として生成して(S283)、図15に示す最大彩度線分上格子点生成処理を終了する。   After the processing of S282, the control unit 15 generates the group of lattice points on the line segment of maximum saturation obtained in S282 as a part of the lattice point group of the natural image additional table 14b (S283). The maximum saturation line segment upper lattice point generation process shown in FIG. 15 ends.

図12に示すように、制御部15は、S242の最大彩度線分上格子点生成処理が終了すると、自然画像用追加テーブル14bの設計者によって決定された、白と、1次色および2次色との間の線分(以下「スカイライン(skyline)」という。)上の格子点の必要数を、スカイライン上の格子点の数Ccとして決定する(S243)。   As shown in FIG. 12, when the maximum saturation line segment upper lattice point generation process of S 242 is completed, the control unit 15 determines white, the primary color, and 2 determined by the designer of the natural image additional table 14 b. The necessary number of grid points on a line segment between the next color and the next color (hereinafter referred to as "skyline") is determined as the number Cc of grid points on the skyline (S243).

次いで、制御部15は、角間線分上格子点のうち、スカイライン上の格子点を自然画像用追加テーブル14bの格子点群の一部として生成するスカイライン上格子点生成処理を実行する(S244)。なお、制御部15は、スカイライン上格子点生成処理において、S122において生成された格子点と重複する格子点を生成しない。   Next, the control unit 15 executes an on-skyline grid point generation process of generating grid points on the skyline as a part of the grid point group of the natural image addition table 14b among the on-square line point grid points (S244) . Note that the control unit 15 does not generate grid points that overlap the grid points generated in S122 in the on-skyline grid point generation process.

図16は、図12に示すスカイライン上格子点生成処理において格子点が生成されるスカイラインを示す図である。   FIG. 16 is a diagram showing a skyline in which grid points are generated in the on-skyline grid point generation process shown in FIG. 12.

図12に示すスカイライン上格子点生成処理においては、図16において太線で示すスカイライン上の格子点が生成される。   In the on-skyline lattice point generation process shown in FIG. 12, lattice points on the skyline shown by thick lines in FIG. 16 are generated.

スカイライン上の格子点の生成方法としては、例えば、スカイライン上において等間隔に、すなわち、線形な位置に格子点を生成する方法、スカイライン上において非線形な位置に格子点を生成する方法、van der Corput列の項を一部の座標とする格子点を生成する方法など、様々な方法が採用されることが可能である。   As a method of generating grid points on the skyline, for example, a method of generating grid points at equal intervals on the skyline, that is, at linear positions, a method of generating grid points at nonlinear positions on the skyline, van der Corput Various methods may be employed, such as generating grid points whose column coordinates are part of the coordinates.

図17は、スカイライン上において等間隔に格子点を生成する場合の図12に示すスカイライン上格子点生成処理のフローチャートである。   FIG. 17 is a flowchart of on-skyline grid point generation processing shown in FIG. 12 in the case of generating grid points at equal intervals on the skyline.

図17に示すように、制御部15は、0から1までの範囲を(Cc/6+1)で等分する数値の列を求め(S301)、S301において求めた列から0および1を除外した列を求める(S302)。   As shown in FIG. 17, the control unit 15 obtains a sequence of numerical values equally dividing the range from 0 to 1 by (Cc / 6 + 1) (S301), and removes 0 and 1 from the sequence obtained in S301. Are determined (S302).

次いで、制御部15は、S302において求めた列を使用して、各スカイライン上において等間隔に配置される格子点を求める(S303)。   Next, the control unit 15 uses grids obtained in S302 to obtain grid points arranged at equal intervals on each skyline (S303).

例えば、制御部15は、数Ccが12である場合、0から1までの範囲を(Cc/6+1)、すなわち、3で等分する数値の列として0、1/3、2/3、1をS301において求め、1/3、2/3をS302において求める。そして、制御部15は、white:{1,1,1}と、red:{1,0,0}とを結ぶwhite−redの間の線分上において等間隔に配置される格子点として、{r,g,b}がそれぞれ数11に示す値である格子点をS303において求める。制御部15は、white−greenの間の線分、white−blueの間の線分、white−cyanの間の線分、white−magentaの間の線分、および、white−yellowの間の線分の上の格子点についても、white−redの間の線分上の格子点と同様にS303において求める。

Figure 2019118089
For example, when the number Cc is 12, the control unit 15 sets the range from 0 to 1 to (Cc / 6 + 1), that is, 0, 1/3, 2/3, 1 as a string of numerical values equally divided by 3. Are determined in S301, and 1/3 and 2/3 are determined in S302. Then, the control unit 15 sets grid points arranged at equal intervals on a line segment between white: {1, 1, 1} and red: {1, 0, 0}, and white-red. Lattice points whose values {r, g, b} are shown in Equation 11 are determined in S303. The control unit 15 is a line segment between white-green, a line segment between white-blue, a line segment between white-cyan, a line segment between white-magenta, and a line between white-yellow. The grid points on the minute are also obtained in S303 similarly to the grid points on the line segment between white and red.
Figure 2019118089

制御部15は、S303の処理の後、S303において求めた、スカイライン上の格子点の群を、自然画像用追加テーブル14bの格子点群の一部として生成して(S304)、図17に示すスカイライン上格子点生成処理を終了する。   After the process of S303, the control unit 15 generates the group of lattice points on the skyline obtained in S303 as a part of the lattice point group of the natural image addition table 14b (S304), as shown in FIG. Finish the on-skyline grid point generation process.

図18は、van der Corput列の項を一部の座標とする格子点を生成する場合の図12に示すスカイライン上格子点生成処理のフローチャートである。   FIG. 18 is a flow chart of the on-skyline grid point generation process shown in FIG. 12 in the case of generating a grid point whose partial coordinates are terms of the van der Corput column.

図18に示すように、制御部15は、スカイライン上の格子点の数Ccを6で割った商と項数が同数であって、基底が2以上の正の整数であるvan der Corput列を生成する(S321)。   As shown in FIG. 18, the control unit 15 has the same number of terms and the quotient of dividing the number Cc of grid points on the skyline by 6, and the base is a positive integer of 2 or more. It generates (S321).

次いで、制御部15は、S321において生成されたvan der Corput列を使用して、各スカイライン上の格子点を求める(S322)。   Next, the control unit 15 obtains grid points on each skyline using the van der Corput row generated in S321 (S322).

例えば、スカイライン上の格子点の数Ccが18である場合、基底が2のとき、S321において生成されるvan der Corput列は、数12に示すようになり、S322において求められる、white−redの間の線分上の格子点は、数13に示すようになる。制御部15は、white−greenの間の線分、white−blueの間の線分、white−cyanの間の線分、white−magentaの間の線分、および、white−yellowの間の線分の上の格子点についても、white−redの間の線分上の格子点と同様にS322において求める。

Figure 2019118089
Figure 2019118089
For example, if the number Cc of grid points on the skyline is 18, when the basis is 2, the van der Corput sequence generated in S321 becomes as shown in Equation 12, and is obtained in S322, white-red The grid points on the line segment between are as shown in Equation 13. The control unit 15 is a line segment between white-green, a line segment between white-blue, a line segment between white-cyan, a line segment between white-magenta, and a line between white-yellow. The grid points on the minute are also determined in S322 similarly to the grid points on the line segment between white and red.
Figure 2019118089
Figure 2019118089

制御部15は、S322の処理の後、S322において求めた、スカイライン上の格子点の群を、自然画像用追加テーブル14bの格子点群の一部として生成して(S323)、図18に示すスカイライン上格子点生成処理を終了する。   After the process of S322, the control unit 15 generates the group of lattice points on the skyline obtained in S322 as a part of the lattice point group of the natural image addition table 14b (S323), as shown in FIG. Finish the on-skyline grid point generation process.

図12に示すように、制御部15は、S244のスカイライン上格子点生成処理が終了すると、自然画像用追加テーブル14bの設計者によって決定された、黒と、1次色および2次色との間の線分(以下「ボトムライン(bottomline)」という。)上の格子点の必要数を、ボトムライン上の格子点の数Cdとして決定する(S245)。   As shown in FIG. 12, when the on-skyline grid point generation process of S244 is completed, the control unit 15 determines the black and the primary and secondary colors determined by the designer of the natural image additional table 14b. The required number of grid points on the line segment between them (hereinafter referred to as "bottom line") is determined as the number Cd of grid points on the bottom line (S245).

次いで、制御部15は、角間線分上格子点のうち、ボトムライン上の格子点を自然画像用追加テーブル14bの格子点群の一部として生成するボトムライン上格子点生成処理を実行する(S246)。なお、制御部15は、ボトムライン上格子点生成処理において、S122において生成された格子点と重複する格子点を生成しない。   Next, the control unit 15 performs bottom-bottom on-grid point generation processing that generates grid points on the bottom line among inter-corner line segments on top grid points as part of the grid point group of the natural image addition table 14b S246). Note that the control unit 15 does not generate grid points that overlap with the grid points generated in S122 in the bottom line grid point generation process.

図19は、図12に示すボトムライン上格子点生成処理において格子点が生成されるボトムラインを示す図である。   FIG. 19 is a diagram showing a bottom line on which grid points are generated in the bottom line on-bottom grid point generation process shown in FIG. 12.

図12に示すボトムライン上格子点生成処理においては、図19において太線で示すボトムライン上の格子点が生成される。   In the bottom line on-grid point generation process shown in FIG. 12, grid points on the bottom line indicated by thick lines in FIG. 19 are generated.

ボトムライン上の格子点の生成方法としては、例えば、ボトムライン上において等間隔に、すなわち、線形な位置に格子点を生成する方法、ボトムライン上において非線形な位置に格子点を生成する方法、van der Corput列の項を一部の座標とする格子点を生成する方法など、様々な方法が採用されることが可能である。   As a method of generating grid points on the bottom line, for example, a method of generating grid points at equal intervals on the bottom line, that is, linear positions, a method of generating grid points at nonlinear positions on the bottom line, Various methods can be adopted, such as a method of generating a grid point whose partial coordinates are terms of van der Corput sequence.

図20は、ボトムライン上において等間隔に格子点を生成する場合の図12に示すボトムライン上格子点生成処理のフローチャートである。   FIG. 20 is a flowchart of a process of generating grid points on the bottom line shown in FIG. 12 in the case of generating grid points at equal intervals on the bottom line.

図20に示すように、制御部15は、0から1までの範囲を(Cd/6+1)で等分する数値の列を求め(S341)、S341において求めた列から0および1を除外した列を求める(S342)。   As shown in FIG. 20, the control unit 15 obtains a string of numerical values obtained by equally dividing the range from 0 to 1 by (Cd / 6 + 1) (S341), and a string obtained by excluding 0 and 1 from the string obtained in S341. (S342).

次いで、制御部15は、S342において求めた列を使用して、各ボトムライン上において等間隔に配置される格子点を求める(S343)。   Next, the control unit 15 uses grids obtained in S342 to obtain lattice points equally spaced on each bottom line (S343).

例えば、制御部15は、数Cdが12である場合、0から1までの範囲を(Cd/6+1)、すなわち、3で等分する数値の列として0、1/3、2/3、1をS341において求め、1/3、2/3をS342において求める。そして、制御部15は、black:{0,0,0}と、red:{1,0,0}とを結ぶblack−redの間の線分上において等間隔に配置される格子点として、{r,g,b}がそれぞれ数14に示す値である格子点をS343において求める。制御部15は、black−greenの間の線分、black−blueの間の線分、black−cyanの間の線分、black−magentaの間の線分、および、black−yellowの間の線分の上の格子点についても、black−redの間の線分上の格子点と同様にS343において求める。

Figure 2019118089
For example, when the number Cd is 12, the control unit 15 sets the range from 0 to 1 to (Cd / 6 + 1), that is, 0, 1/3, 2/3, 1 as a string of numerical values equally divided by 3. Are determined in S341, and 1/3 and 2/3 are determined in S342. Then, the control unit 15 sets grid points arranged at equal intervals on a line segment between black: {0, 0, 0} and red: {1, 0, 0} and black-red, The lattice points whose values {r, g, b} are shown in Equation 14 are determined in S343. The control unit 15 sets a line segment between black and green, a line segment between black and blue, a line segment between black and cyan, a line segment between black and magenta, and a line between black and yellow. The grid points on the minute are also obtained in S343 similarly to the grid points on the line segment between black and red.
Figure 2019118089

制御部15は、S343の処理の後、S343において求めた、ボトムライン上の格子点の群を、自然画像用追加テーブル14bの格子点群の一部として生成して(S344)、図20に示すボトムライン上格子点生成処理を終了する。   After the process of S343, the control unit 15 generates the group of lattice points on the bottom line obtained in S343 as a part of the lattice point group of the natural image addition table 14b (S344). The bottom line on-grid point generation process shown is ended.

図21は、van der Corput列の項を一部の座標とする格子点を生成する場合の図12に示すボトムライン上格子点生成処理のフローチャートである。   FIG. 21 is a flowchart of the bottom line on-grid-point generation process shown in FIG. 12 in the case of generating a grid point whose partial coordinates are terms of the van der Corput column.

図21に示すように、制御部15は、ボトムライン上の格子点の数Cdを6で割った商と項数が同数であって、基底が2以上の正の整数であるvan der Corput列を生成する(S361)。   As shown in FIG. 21, the control unit 15 has the same number as the quotient obtained by dividing the number Cd of lattice points on the bottom line by 6 and the number of terms is the same number, and the base is a positive integer of 2 or more. Are generated (S361).

次いで、制御部15は、S361において生成されたvan der Corput列を使用して、各ボトムライン上の格子点を求める(S362)。   Next, the control unit 15 obtains lattice points on each bottom line using the van der Corput row generated in S361 (S362).

例えば、ボトムライン上の格子点の数Cdが18である場合、基底が2のとき、S361において生成されるvan der Corput列は、数12に示すようになり、S362において求められる、black−redの間の線分上の格子点は、数15に示すようになる。制御部15は、black−greenの間の線分、black−blueの間の線分、black−cyanの間の線分、black−magentaの間の線分、および、black−yellowの間の線分の上の格子点についても、black−redの間の線分上の格子点と同様にS362において求める。

Figure 2019118089
For example, when the number Cd of grid points on the bottom line is 18, when the basis is 2, the van der Corput sequence generated in S361 becomes as shown in Equation 12, and is determined in S362, black-red The grid points on the line segment between are as shown in Equation 15. The control unit 15 sets a line segment between black and green, a line segment between black and blue, a line segment between black and cyan, a line segment between black and magenta, and a line between black and yellow. The grid points on the minute are also obtained in S362 similarly to the grid points on the line segment between black and red.
Figure 2019118089

制御部15は、S362の処理の後、S362において求めた、ボトムライン上の格子点の群を、自然画像用追加テーブル14bの格子点群の一部として生成して(S363)、図21に示すボトムライン上格子点生成処理を終了する。   After the process of S362, the control unit 15 generates the group of lattice points on the bottom line obtained in S362 as a part of the lattice point group of the natural image addition table 14b (S363). The bottom line on-grid point generation process shown is ended.

図12に示すように、制御部15は、S246のボトムライン上格子点生成処理が終了すると、図12に示す角間線分上格子点生成処理を終了する。   As shown in FIG. 12, when the bottom line on-grid point generation process at S246 is completed, the control unit 15 ends the on-square line point on-grid point generation process shown in FIG.

図11に示すように、制御部15は、S221の角間線分上格子点生成処理が終了すると、自然画像用追加テーブル14bの設計者によって決定された、最外殻面上の格子点の必要数を、最外殻面上の格子点の数Ceとして決定する(S222)。   As shown in FIG. 11, when the inter-square line grid point generation processing in S221 is completed, the control unit 15 needs the grid points on the outermost shell surface determined by the designer of the natural image additional table 14b. The number is determined as the number Ce of lattice points on the outermost shell surface (S222).

次いで、制御部15は、最外殻上格子点のうち最外殻面上格子点を自然画像用追加テーブル14bの格子点群の一部として生成する最外殻面上格子点生成処理を実行する(S223)。なお、制御部15は、最外殻面上格子点生成処理において、S122において生成された格子点と重複する格子点を生成しない。   Next, the control unit 15 executes an outermost shell upper lattice point generation process of generating an outermost shell upper lattice point among the outermost shell upper lattice points as a part of the lattice point group of the natural image additional table 14b. (S223). Note that the control unit 15 does not generate grid points that overlap with the grid points generated in S122 in the outermost shell surface lattice point generation processing.

最外殻面上格子点の生成方法としては、例えば、最外殻面上において等間隔に、すなわち、線形な位置に格子点を生成する方法、最外殻面上において非線形な位置に格子点を生成する方法、2種類のvan der Corput列同士の同一の順番の項を一部の座標とする格子点を生成する方法など、様々な方法が採用されることが可能である。   As a method of generating the outermost shell surface lattice points, for example, a method of generating lattice points at equal intervals on the outermost shell surface, that is, linear positions, lattice points at the nonlinear position on the outermost shell surface A variety of methods can be adopted, such as a method of generating H.sub.x, and a method of generating lattice points whose partial coordinates are terms in the same order of two van der Corput sequences.

図22は、最外殻面上において等間隔に格子点を生成する場合の図11に示す最外殻面上格子点生成処理のフローチャートである。   FIG. 22 is a flowchart of the outermost shell surface lattice point generation process shown in FIG. 11 in the case of generating lattice points at equal intervals on the outermost shell surface.

図22に示すように、制御部15は、0から1までの範囲を((Ce/6)^(1/2)+1)で等分する数値の列を求め(S381)、S381において求めた列から0および1を除外した列を求める(S382)。   As shown in FIG. 22, the control unit 15 obtains a string of numerical values equally dividing the range from 0 to 1 by ((Ce / 6) ^ (1/2) +1) (S 381), and obtains in S 381 A row excluding 0 and 1 from the row is determined (S 382).

次いで、制御部15は、S382において求めた列を使用して、各最外殻面上において等間隔に配置される格子点を求める(S383)。   Next, the control unit 15 uses grids obtained in S382 to obtain lattice points arranged at equal intervals on each outermost shell surface (S383).

例えば、制御部15は、数Ceが54である場合、0から1までの範囲を((Ce/6)^(1/2)+1)、すなわち、4で等分する数値の列として0、1/4、1/2、3/4、1をS381において求め、1/4、1/2、3/4をS382において求める。そして、制御部15は、r=0の面上において等間隔に配置される格子点として、{r,g,b}がそれぞれ数16に示す値である格子点をS383において求める。制御部15は、r=1の面、g=0の面、g=1の面、b=0の面、および、b=1の面の上の格子点についても、r=0の面上の格子点と同様にS383において求める。

Figure 2019118089
For example, when the number Ce is 54, the control unit 15 sets the range from 0 to 1 to ((Ce / 6) ^ (1/2) +1), that is, 0 as a series of numerical values equally divided by 4. 1/4, 1/2, 3/4, 1 are determined in S381, and 1/4, 1/2, 3/4 are determined in S382. Then, in step S383, the control unit 15 obtains lattice points whose values {r, g, b} are shown in Equation 16 as lattice points arranged at equal intervals on the plane of r = 0. The control unit 15 sets the r = 1 plane, the g = 0 plane, the g = 1 plane, the b = 0 plane, and the lattice points on the b = 1 plane also on the r = 0 plane. It obtains in S383 similarly to the grid point of.
Figure 2019118089

なお、白および1次色の間の線分上の格子点、黒および2次色の間の線分上の格子点については、それぞれ、S244のスカイライン上格子点生成処理、S246のボトムライン上格子点生成処理において生成するので、S383において求める格子点から除外しても良い。   The grid point on the line segment between white and primary color and the grid point on the line segment between black and secondary color are on the skyline grid point generation process in S244 and on the bottom line in S246, respectively. As it is generated in the lattice point generation process, it may be excluded from the lattice points obtained in S383.

制御部15は、S383の処理の後、S383において求めた、最外殻面上の格子点の群を、自然画像用追加テーブル14bの格子点群の一部として生成して(S384)、図22に示す最外殻面上格子点生成処理を終了する。   After the process of S383, the control unit 15 generates the group of lattice points on the outermost shell surface obtained in S383 as a part of the lattice point group of the natural image addition table 14b (S384). The outermost shell surface lattice point generation process shown in 22 is ended.

図23は、2種類のvan der Corput列同士の同一の順番の項を一部の座標とする格子点を生成する場合の図11に示す最外殻面上格子点生成処理のフローチャートである。   FIG. 23 is a flowchart of the outermost shell on-plane grid point generation process shown in FIG. 11 in the case of generating grid points whose partial coordinates are terms of the same order in two van der Corput sequences.

図23に示すように、制御部15は、最外殻面上の格子点の数Ceを6で割った商の平方根と項数が同数であって、基底が2以上の正の整数であるvan der Corput列を2種類生成する(S401)。   As shown in FIG. 23, the control unit 15 has the same number of terms and the square root of the quotient obtained by dividing the number Ce of lattice points on the outermost shell surface by 6, and the base is a positive integer of 2 or more. Two types of van der Corput sequences are generated (S401).

次いで、制御部15は、S401において生成された2種類のvan der Corput列を使用して、各最外殻面上の格子点を求める(S402)。   Next, the control unit 15 obtains lattice points on each outermost shell surface using the two types of van der Corput sequences generated in S401 (S402).

例えば、最外殻面上の格子点の数Ceが150である場合に、基底が2のvan der Corput列と、基底が3のvan der Corput列とを生成するとき、S401において生成される基底が2のvan der Corput列、基底が3のvan der Corput列は、それぞれ、数17、数18に示すようになり、S402において求められる、r=0の面上の格子点は、数19に示すようになる。制御部15は、r=1の面、g=0の面、g=1の面、b=0の面、および、b=1の面の上の格子点についても、r=0の面上の格子点と同様にS402において求める。

Figure 2019118089
Figure 2019118089
Figure 2019118089
For example, when generating the van der Corput sequence of base 2 and the van der Corput sequence of base 3 when the number Ce of lattice points on the outermost shell surface is 150, the basis generated in S401 The van der Corput sequence of 2 and the van der Corput sequence of base 3 are as shown in Eqs. 17 and 18, respectively, and the lattice points on the plane of r = 0 determined in S402 are Eq. It will be shown. The control unit 15 sets the r = 1 plane, the g = 0 plane, the g = 1 plane, the b = 0 plane, and the lattice points on the b = 1 plane also on the r = 0 plane. It obtains in S402 similarly to the grid point of.
Figure 2019118089
Figure 2019118089
Figure 2019118089

なお、白および1次色の間の線分上の格子点、黒および2次色の間の線分上の格子点については、それぞれ、S244のスカイライン上格子点生成処理、S246のボトムライン上格子点生成処理において生成するので、S402において求める格子点から除外しても良い。   The grid point on the line segment between white and primary color and the grid point on the line segment between black and secondary color are on the skyline grid point generation process in S244 and on the bottom line in S246, respectively. As it is generated in the lattice point generation process, it may be excluded from the lattice points determined in S402.

制御部15は、S402の処理の後、S402において求めた、最外殻面上の格子点の群を、自然画像用追加テーブル14bの格子点群の一部として生成して(S403)、図23に示す最外殻面上格子点生成処理を終了する。   After the processing of S402, the control unit 15 generates the group of lattice points on the outermost shell surface obtained in S402 as a part of the lattice point group of the natural image addition table 14b (S403). The outermost shell surface lattice point generation process shown in FIG.

図23に示す最外殻面上格子点生成処理においては、補色の格子点群を配置する処理が含まれていないが、制御部15は、数Ceを6で割った商の平方根の1/2と項数が同数であって、基底が2以上の正の整数であるvan der Corput列をS401において2種類生成することによって、S402において補色の格子点群を加えても良い。   In the outermost shell surface lattice point generation process shown in FIG. 23, the process of arranging the lattice point group of complementary color is not included, but the control unit 15 is 1/1 of the square root of the quotient of dividing the number Ce by 6. A complementary color grid point group may be added in S402 by generating two types of van der Corput sequences having the same number of terms as 2 and the base is a positive integer of 2 or more in S401.

図11に示すように、制御部15は、S223の最外殻面上格子点生成処理が終了すると、図11に示す最外殻上格子点生成処理を終了する。   As shown in FIG. 11, when the outermost shell surface lattice point generation processing of S223 is completed, the control unit 15 ends the outermost shell upper lattice point generation processing shown in FIG.

図7に示すように、制御部15は、S163の最外殻上格子点生成処理が終了すると、図7に示す重要格子点生成処理を終了する。   As shown in FIG. 7, when the outermost shell upper lattice point generation process of S163 ends, the control unit 15 ends the important lattice point generation process shown in FIG.

図6に示すように、制御部15は、S141の重要格子点生成処理が終了すると、RGB色空間の8つの角に対応する格子点と、グレー軸上格子点と、最外殻上格子点とのいずれでもない格子点(以下「色域内部格子点」という。)を自然画像用追加テーブル14bの格子点群の一部として生成する色域内部格子点生成処理を実行する(S142)。なお、制御部15は、色域内部格子点生成処理において、S122において生成された格子点と重複する格子点を生成しない。   As shown in FIG. 6, when the important grid point generation process of S141 is completed, the control unit 15 sets grid points corresponding to eight corners of the RGB color space, a grid point on gray axis, and a grid point on the outermost shell. The color gamut internal grid point generation processing is performed to generate grid points (hereinafter referred to as "color gamut internal grid points") which are not any of the above as part of the grid point group of the natural image additional table 14b (S142). Note that the control unit 15 does not generate lattice points overlapping the lattice points generated in S122 in the color gamut internal lattice point generation processing.

図24は、図6に示す色域内部格子点生成処理のフローチャートである。   FIG. 24 is a flowchart of the color gamut internal grid point generation process shown in FIG.

図24に示すように、制御部15は、次の式のように、S121において得たSmaxから、S122において生成した立方格子点の数qと、S141において生成した重要格子点の数pとを引いた数を12で割った商nおよび余りlを算出する(S421)。
n = Floor[(Smax - q - p) / 12]
l = (Smax - q - p) - 12n
As shown in FIG. 24, the control unit 15 calculates the number q of cubic lattice points generated in S122 and the number p of important lattice points generated in S141 from Smax obtained in S121 as in the following equation A quotient n and a remainder l are obtained by dividing the subtracted number by 12 (S421).
n = Floor [(Smax-q-p) / 12]
l = (Smax-q-p)-12n

次いで、制御部15は、S421において算出したnと項数が同数であって、基底が2以上の正の整数であるvan der Corput列を3種類生成する(S422)。   Next, the control unit 15 generates three types of van der Corput sequences whose number of terms is the same as n calculated in S421 and whose base is a positive integer of 2 or more (S422).

制御部15は、S422の処理の後、S422において生成された3種類のvan der Corput列をネストし行列変換をして『n行3列』の配列を得ることによって、商nと同数の3次元点群を生成する(S423)。   After the processing of S422, the control unit 15 nests the three types of van der Corput sequences generated in S422 and performs matrix transformation to obtain an array of “n rows and 3 columns”, thereby obtaining the same number of quotients of 3 A dimensional point group is generated (S423).

次いで、制御部15は、S423において生成した3次元点群に関し、RGB色空間の各チャンネルを交換して組み合わせた写像点群を、自然画像用追加テーブル14bの格子点群の一部として生成する(S424)。   Next, the control unit 15 generates, as a part of the grid point group of the natural image addition table 14b, a mapping point group in which the channels of the RGB color space are exchanged and combined with respect to the three-dimensional point group generated in S423. (S424).

次いで、制御部15は、S424において生成した格子点群の補色の格子点群を、自然画像用追加テーブル14bの格子点群の一部として生成する(S425)。例えば、制御部15は、S424において生成した格子点が{r,g,b}であるとすると、その補色の格子点群として、{1-r,1-g,1-b}を生成する。   Next, the control unit 15 generates the lattice point group of the complementary color of the lattice point group generated in S424 as a part of the lattice point group of the natural image additional table 14b (S425). For example, assuming that the grid points generated in S424 are {r, g, b}, the control unit 15 generates {1-r, 1-g, 1-b} as a lattice point group of its complementary color. .

なお、S422において制御部15によって生成されるvan der Corput列としては、例えば、以下のいずれかのvan der Corput列が採用されることができる。
基底が2の場合のvan der Corput列

Figure 2019118089
基底が3の場合のvan der Corput列
Figure 2019118089
基底が5の場合のvan der Corput列
Figure 2019118089
基底が7の場合のvan der Corput列
Figure 2019118089
基底が9の場合のvan der Corput列
Figure 2019118089
As the van der Corput sequence generated by the control unit 15 in S422, for example, any of the following van der Corput sequences can be adopted.
Van der Corput column with base 2
Figure 2019118089
Van der Corput column for base 3
Figure 2019118089
Van der Corput column for base 5
Figure 2019118089
Van der Corput column for base 7
Figure 2019118089
Van der Corput column with base 9
Figure 2019118089

例えば、基底がそれぞれ2、3、5である3種類のvan der Corput列が制御部15によってS422において生成された場合、制御部15は、S423において数25に示す3次元点群を生成する。ここで、RGB色空間は、R値、G値、B値の3つのチャンネルが存在し、3つのチャンネルの組み合わせ(交換)パターンは、{r,g,b}、{r,b,g}、{g,r,b}、{g,b,r}、{b,r,g}、{b,g,r}という6パターンが存在する。したがって、制御部15は、S424において{r,g,b}のパターンを数25に示す3次元点群に対応付ける場合、数25に示す写像点群{r,g,b}を、自然画像用追加テーブル14bの格子点群の一部として生成する。また、制御部15は、S424において{r,b,g}のパターンを数25に示す3次元点群に対応付ける場合、数26に示す写像点群{r,g,b}を、自然画像用追加テーブル14bの格子点群の一部として生成する。また、制御部15は、S424において{g,r,b}のパターンを数25に示す3次元点群に対応付ける場合、数27に示す写像点群{r,g,b}を、自然画像用追加テーブル14bの格子点群の一部として生成する。また、制御部15は、S424において{g,b,r}のパターンを数25に示す3次元点群に対応付ける場合、数28に示す写像点群{r,g,b}を、自然画像用追加テーブル14bの格子点群の一部として生成する。また、制御部15は、S424において{b,r,g}のパターンを数25に示す3次元点群に対応付ける場合、数29に示す写像点群{r,g,b}を、自然画像用追加テーブル14bの格子点群の一部として生成する。また、制御部15は、S424において{b,g,r}のパターンを数25に示す3次元点群に対応付ける場合、数30に示す写像点群{r,g,b}を、自然画像用追加テーブル14bの格子点群の一部として生成する。すなわち、制御部15は、制御部15によってS422において生成された3種類のvan der Corput列のそれぞれをR値、G値およびB値からなる3つのチャンネルのそれぞれに対応付けた6パターンのそれぞれにおいて、3種類のvan der Corput列同士の同一の順番の項を座標とする格子点を生成する。

Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089
For example, when three types of van der Corput sequences whose bases are 2, 3 and 5, respectively, are generated by the control unit 15 in S422, the control unit 15 generates a three-dimensional point group shown in Formula 25 in S423. Here, in the RGB color space, there are three channels of R value, G value, and B value, and a combination (exchange) pattern of three channels is {r, g, b}, {r, b, g} There are six patterns: {g, r, b}, {g, b, r}, {b, r, g}, {b, g, r}. Therefore, when the control unit 15 associates the pattern of {r, g, b} with the three-dimensional point group shown in Eq. 25 in S424, the mapping point group {r, g, b} shown in Eq. It is generated as part of the grid point group of the additional table 14b. In addition, when the control unit 15 associates the pattern of {r, b, g} with the three-dimensional point group shown in the equation 25 in S424, the mapping point group {r, g, b} shown in the equation 26 is used for the natural image. It is generated as part of the grid point group of the additional table 14b. In addition, when the control unit 15 associates the pattern of {g, r, b} with the three-dimensional point group shown in equation 25 in S424, the mapping point group {r, g, b} shown in equation 27 is used for natural image It is generated as part of the grid point group of the additional table 14b. In addition, when the control unit 15 associates the pattern of {g, b, r} with the three-dimensional point group shown in equation 25 in S424, the map point group {r, g, b} shown in equation 28 is used for natural image It is generated as part of the grid point group of the additional table 14b. Further, when the control unit 15 associates the pattern of {b, r, g} with the three-dimensional point group shown in the equation 25 in S424, the mapping point group {r, g, b} shown in the equation 29 is used for the natural image. It is generated as part of the grid point group of the additional table 14b. Further, when the control unit 15 associates the pattern of {b, g, r} with the three-dimensional point group shown in the equation 25 in S424, the mapping point group {r, g, b} shown in the equation 30 is used for natural image It is generated as part of the grid point group of the additional table 14b. That is, the control unit 15 causes each of the three types of van der Corput sequences generated by the control unit 15 in S422 to correspond to each of the three channels of R value, G value, and B value respectively. Create grid points whose coordinates are in the same order of three van der Corput sequences.
Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089

ここで、van der Corput列を多次元に素数で展開したものをHalton列と言う。したがって、基底がそれぞれ素数である3種類のvan der Corput列に基づいてS423において生成された3次元点群など、基底がそれぞれ素数である3種類のvan der Corput列に基づいてS423において生成された3次元点群は、Halton列である。Halton列は、乱数性が高く、格子点の配置の均一性を向上することができるので、好ましい。しかしながら、乱数性が落ちて格子点の配置に結晶構造性が現れたとしても、制御部15は、S424の処理において格子点の座標のチャンネル情報を交換することによって、基本6色相の各色相面に対して対称になるように格子点群を配置し、更に、S424の処理において配置した格子点群の補色の格子点群もS425の処理において配置するので、格子点の配置の均一性を確保することができる。そのため、S422において生成される3種類のvan der Corput列は、基底が素数でなくても良い。例えば、S422において生成される3種類のvan der Corput列は、基底がそれぞれ2、3、9であっても良い。   Here, the van der Corput sequence expanded in multiple dimensions into prime numbers is called Halton sequence. Therefore, it is generated in S 423 based on the three van der Corput sequences whose bases are prime, such as the three-dimensional point group generated in S 423 based on the three van der Corput sequences whose bases are prime respectively The three-dimensional point group is a Halton sequence. Halton columns are preferable because they are highly random and can improve the uniformity of the arrangement of grid points. However, even if the randomness drops and the crystal structure appears in the arrangement of grid points, the control unit 15 exchanges the channel information of the coordinates of the grid points in the process of S424, so that each hue plane of the basic six hues Since the lattice point group is arranged to be symmetrical with respect to the lattice point group, and the complementary color lattice point group of the lattice point group arranged in the process of S424 is also arranged in the process of S425, the uniformity of the arrangement of lattice points is ensured. can do. Therefore, the bases of the three van der Corput sequences generated in S422 may not be prime numbers. For example, the three van der Corput sequences generated in S422 may have bases 2, 3, and 9, respectively.

制御部15は、S425の処理の後、図24に示す色域内部格子点生成処理を終了する。   After the process of S425, the control unit 15 ends the color gamut internal grid point generation process shown in FIG.

図6に示すように、制御部15は、S142の色域内部格子点生成処理が終了すると、S121において得たSmaxから、S122において生成した立方格子点の数と、重要格子点の数と、S142において生成した色域内部格子点の数とを引いた数(以下「余剰数」という。)が0より大きいか否かを判断する(S143)。   As shown in FIG. 6, when the color gamut internal grid point generation process of S142 is completed, the control unit 15 determines the number of cubic grid points generated in S122 and the number of important grid points from Smax obtained in S121. It is determined whether the number obtained by subtracting the number of color gamut internal lattice points generated in S142 (hereinafter referred to as the "surplus number") is greater than 0 (S143).

制御部15は、余剰数が0より大きいとS143において判断すると、余剰の格子点を重要格子点に割り振る格子点割振処理を実行する(S144)。   If the control unit 15 determines in S143 that the surplus number is larger than 0, the control unit 15 executes a lattice point allocation process of allocating the surplus lattice points to the important lattice points (S144).

図25は、図6に示す格子点割振処理のフローチャートである。   FIG. 25 is a flowchart of the lattice point allocation process shown in FIG.

図25に示すように、制御部15は、グレー軸上格子点を追加するか否かを判断する(S441)。例えば、制御部15は、グレー軸上格子点の数Caが自然画像用追加テーブル14bの設計者によって決定された上限値未満である場合に、グレー軸上格子点を追加すると判断し、グレー軸上格子点の数Caが自然画像用追加テーブル14bの設計者によって決定された上限値である場合に、グレー軸上格子点を追加しないと判断しても良い。   As shown in FIG. 25, the control unit 15 determines whether to add a grid point on the gray axis (S 441). For example, when the number Ca of on-gray grid points is less than the upper limit value determined by the designer of the natural image additional table 14b, the control unit 15 determines to add a on-gray grid point, and the gray axis If the number Ca of the upper grid points is the upper limit value determined by the designer of the natural image additional table 14b, it may be determined that the gray on-grid point is not added.

制御部15は、グレー軸上格子点を追加するとS441において判断すると、グレー軸上格子点の追加後の数になるようにグレー軸上格子点の数Caを更新する(S442)。ここで、グレー軸上格子点の数Caは、自然画像用追加テーブル14bの設計者によって決定された上限値以下の範囲で更新される。   The control unit 15 updates the number Ca of on-grey on-grid points so as to become the number after adding on-grey on-grid points if it is judged in S441 that the on-grey on-grid points are added (S442). Here, the number Ca of on-gray-axis grid points is updated in the range equal to or less than the upper limit value determined by the designer of the natural image additional table 14b.

次いで、制御部15は、S162と同様にグレー軸上格子点生成処理を実行し(S443)、余剰数が0より大きいか否かを判断する(S444)。   Next, the control unit 15 executes the on-gray axis grid point generation processing as in S162 (S443), and determines whether the surplus number is greater than 0 (S444).

制御部15は、グレー軸上格子点を追加しないとS441において判断するか、余剰数が0より大きいとS444において判断すると、最大彩度の線分上の格子点を追加するか否かを判断する(S445)。例えば、制御部15は、最大彩度の線分上の格子点の数Cbが自然画像用追加テーブル14bの設計者によって決定された上限値未満である場合に、最大彩度の線分上の格子点を追加すると判断し、最大彩度の線分上の格子点の数Cbが自然画像用追加テーブル14bの設計者によって決定された上限値である場合に、最大彩度の線分上の格子点を追加しないと判断しても良い。   If the control unit 15 determines in S441 that no grid point on gray axis is added or determines in S444 that the surplus number is greater than 0, it determines whether to add a grid point on the line segment of maximum saturation. To do (S445). For example, when the number Cb of lattice points on the line segment of maximum saturation is less than the upper limit value determined by the designer of the natural image addition table 14b, the control unit 15 determines on the line segment of maximum saturation. If it is determined that a grid point is to be added and the number Cb of grid points on the line segment of maximum saturation is the upper limit value determined by the designer of the natural image additional table 14b, the line segment on maximum saturation is It may be determined not to add grid points.

制御部15は、最大彩度の線分上の格子点を追加するとS445において判断すると、最大彩度の線分上の格子点の追加後の数になるように最大彩度の線分上の格子点の数Cbを更新する(S446)。ここで、最大彩度の線分上の格子点の数Cbは、自然画像用追加テーブル14bの設計者によって決定された上限値以下の範囲で更新される。   If the control unit 15 determines that the grid point on the line segment of maximum saturation is added in S445, the number of grid points on the line segment of maximum saturation is the number after the addition of grid points on the line segment of maximum saturation. The number Cb of lattice points is updated (S446). Here, the number Cb of lattice points on the line segment of maximum saturation is updated in the range equal to or less than the upper limit value determined by the designer of the natural image additional table 14b.

次いで、制御部15は、S242と同様に最大彩度線分上格子点生成処理を実行し(S447)、余剰数が0より大きいか否かを判断する(S448)。   Next, the control unit 15 executes the maximum saturation line segment grid point generation process as in S242 (S447), and determines whether the surplus number is greater than 0 (S448).

制御部15は、最大彩度の線分上の格子点を追加しないとS445において判断するか、余剰数が0より大きいとS448において判断すると、スカイライン上の格子点を追加するか否かを判断する(S449)。例えば、制御部15は、スカイライン上の格子点の数Ccが自然画像用追加テーブル14bの設計者によって決定された上限値未満である場合に、スカイライン上の格子点を追加すると判断し、スカイライン上の格子点の数Ccが自然画像用追加テーブル14bの設計者によって決定された上限値である場合に、スカイライン上の格子点を追加しないと判断しても良い。   The control unit 15 determines in S445 that the grid point on the line segment of maximum saturation is not added, or determines in S448 that the surplus number is greater than 0, determines whether to add the grid point on the skyline. (S449). For example, when the number Cc of grid points on the skyline is less than the upper limit value determined by the designer of the natural image additional table 14b, the control unit 15 determines to add grid points on the skyline, and If the number Cc of grid points of is an upper limit value determined by the designer of the natural image addition table 14b, it may be determined that grid points on the skyline are not added.

制御部15は、スカイライン上の格子点を追加するとS449において判断すると、スカイライン上の格子点の追加後の数になるようにスカイライン上の格子点の数Ccを更新する(S450)。ここで、スカイライン上の格子点の数Ccは、自然画像用追加テーブル14bの設計者によって決定された上限値以下の範囲で更新される。   The control unit 15 updates the number Cc of grid points on the skyline so as to become the number after adding grid points on the skyline when judging in S449 that the grid points on the skyline are added (S450). Here, the number Cc of lattice points on the skyline is updated in the range equal to or less than the upper limit value determined by the designer of the natural image addition table 14b.

次いで、制御部15は、S244と同様にスカイライン上格子点生成処理を実行し(S451)、余剰数が0より大きいか否かを判断する(S452)。   Next, the control unit 15 executes on-skyline grid point generation processing as in S244 (S451), and determines whether the surplus number is greater than 0 (S452).

制御部15は、スカイライン上の格子点を追加しないとS449において判断するか、余剰数が0より大きいとS452において判断すると、ボトムライン上の格子点を追加するか否かを判断する(S453)。例えば、制御部15は、ボトムライン上の格子点の数Cdが自然画像用追加テーブル14bの設計者によって決定された上限値未満である場合に、ボトムライン上の格子点を追加すると判断し、ボトムライン上の格子点の数Cdが自然画像用追加テーブル14bの設計者によって決定された上限値である場合に、ボトムライン上の格子点を追加しないと判断しても良い。   If the control unit 15 determines in S449 that no grid point on the skyline is to be added or if it determines in S452 that the surplus number is greater than 0, it determines whether to add a grid point on the bottom line (S453) . For example, when the number Cd of grid points on the bottom line is less than the upper limit value determined by the designer of the natural image additional table 14b, the control unit 15 determines to add grid points on the bottom line, If the number Cd of grid points on the bottom line is the upper limit value determined by the designer of the natural image addition table 14b, it may be determined that grid points on the bottom line are not added.

制御部15は、ボトムライン上の格子点を追加するとS453において判断すると、ボトムライン上の格子点の追加後の数になるようにボトムライン上の格子点の数Cdを更新する(S454)。ここで、ボトムライン上の格子点の数Cdは、自然画像用追加テーブル14bの設計者によって決定された上限値以下の範囲で更新される。   The control unit 15 updates the number Cd of lattice points on the bottom line so as to become the number after the addition of lattice points on the bottom line, when judging in S453 that the lattice points on the bottom line are added (S454). Here, the number Cd of grid points on the bottom line is updated in the range equal to or less than the upper limit value determined by the designer of the natural image addition table 14b.

次いで、制御部15は、S246と同様にボトムライン上格子点生成処理を実行し(S455)、余剰数が0より大きいか否かを判断する(S456)。   Next, the control unit 15 executes a bottom line grid point generation process as in S246 (S455), and determines whether the surplus number is larger than 0 (S456).

制御部15は、ボトムライン上の格子点を追加しないとS453において判断するか、余剰数が0より大きいとS456において判断すると、最外殻面上の格子点を追加するか否かを判断する(S457)。例えば、制御部15は、最外殻面上の格子点の数Ceが自然画像用追加テーブル14bの設計者によって決定された上限値未満である場合に、最外殻面上の格子点を追加すると判断し、最外殻面上の格子点の数Ceが自然画像用追加テーブル14bの設計者によって決定された上限値である場合に、最外殻面上の格子点を追加しないと判断しても良い。   The control unit 15 determines in S453 that no grid point on the bottom line is added, or determines whether to add a grid point on the outermost surface if it is determined in S456 that the surplus number is greater than 0. (S457). For example, when the number Ce of lattice points on the outermost shell surface is less than the upper limit value determined by the designer of the natural image addition table 14b, the control unit 15 adds the lattice points on the outermost shell surface If it is determined that the number Ce of lattice points on the outermost shell surface is the upper limit value determined by the designer of the natural image additional table 14b, it is determined that the lattice points on the outermost shell surface are not added. It is good.

制御部15は、最外殻面上の格子点を追加するとS457において判断すると、最外殻面上の格子点の追加後の数になるように最外殻面上の格子点の数Ceを更新する(S458)。ここで、最外殻面上の格子点の数Ceは、自然画像用追加テーブル14bの設計者によって決定された上限値以下の範囲で更新される。   If the control unit 15 determines that the grid point on the outermost shell surface is to be added in S457, the number Ce of grid points on the outermost shell surface is set so as to become the number after adding the grid points on the outermost shell surface. Update (S458). Here, the number Ce of lattice points on the outermost shell surface is updated in the range equal to or less than the upper limit value determined by the designer of the natural image addition table 14b.

次いで、制御部15は、S223と同様に最外殻面上格子点生成処理を実行する(S459)。   Next, the control unit 15 executes the outermost shell surface lattice point generation processing as in S223 (S459).

制御部15は、余剰数が0であるとS444、S448、S452またはS456において判断するか、最外殻面上の格子点を追加しないとS457において判断するか、S459の処理が終了すると、図25に示す格子点割振処理を終了する。   The control unit 15 determines that the surplus number is 0 in S444, S448, S452 or S456, or does not add a grid point on the outermost shell surface in S457, or when the processing of S459 is completed, as shown in FIG. The lattice point allocation process shown in 25 is ended.

図6に示すように、制御部15は、余剰数が0であるとS143において判断するか、S144の格子点割振処理が終了すると、図6に示す自然画像用格子点群生成処理を終了する。   As shown in FIG. 6, the control unit 15 determines in S143 that the surplus number is 0, or when the lattice point allocation process of S144 ends, ends the natural image lattice point group generation process shown in FIG. .

なお、制御部15は、以上においては、自然画像用格子点群生成処理において、グレー軸上格子点と、最大彩度の線分上の格子点と、スカイライン上の格子点と、ボトムライン上の格子点と、最外殻面上格子点と、色域内部格子点との全てを生成している。しかしながら、制御部15は、自然画像用格子点群生成処理において、グレー軸上格子点と、最大彩度の線分上の格子点と、スカイライン上の格子点と、ボトムライン上の格子点と、最外殻面上格子点と、色域内部格子点とのうち少なくとも1種類を生成しなくても良い。   In the above, the control unit 15 generates a grid point group on a gray axis, a grid point on a line segment with maximum saturation, a grid point on a skyline, and a bottom line in the natural image grid point group generation process. , Lattice point on the outermost shell, and gamut internal lattice point. However, in the natural image grid point group generation process, the control unit 15 generates a grid point on the gray axis, a grid point on the line segment of maximum saturation, a grid point on the skyline, and a grid point on the bottom line. It is not necessary to generate at least one of the outermost shell surface lattice point and the color gamut internal lattice point.

図4に示すように、制御部15は、S123の自然画像用格子点群生成処理が終了すると、非自然画像用追加テーブル14c用の格子点群を生成するための非自然画像用格子点群生成処理を実行する(S124)。   As shown in FIG. 4, when the natural image grid point group generation process of S 123 is completed, the control unit 15 generates a grid point group for non natural image for generating a grid point group for the non natural image additional table 14 c. A generation process is performed (S124).

S124の非自然画像用格子点群生成処理は、S123の自然画像用格子点群生成処理と同様であるので、詳細な説明を省略する。   The non-natural image lattice point group generation process of S124 is the same as the natural image lattice point group generation process of S123, and thus the detailed description will be omitted.

S123の自然画像用格子点群生成処理と、S124の非自然画像用格子点群生成処理との違いは、自然画像用格子点群生成処理において生成される格子点群が非自然画像用格子点群生成処理において生成される格子点群と比較して自然画像の色変換向きであり、非自然画像用格子点群生成処理において生成される格子点群が自然画像用格子点群生成処理において生成される格子点群と比較して非自然画像の色変換向きである点である。ここで、自然画像には、高彩度の色が含まれることが少なく、低彩度の色が含まれることが多い。したがって、自然画像の色変換向きの格子点群とは、低彩度の色の色変換後の色の再現性を高めるために、RGB色空間の内部に格子点が重点的に配置されている格子点群である。一方、図形(Vector)などの抽象画像、文字(Text)など、非自然画像には、高彩度の色が含まれることが多い。したがって、非自然画像の色変換向きの格子点群とは、高彩度の色の色変換後の色の再現性を高めるために、RGB色空間の最外殻上に格子点が重点的に配置されている格子点群である。   The difference between the natural image grid point group generation process of S123 and the non-natural image grid point group generation process of S124 is that the grid point group generated in the natural image grid point group generation process is a non-natural image grid point It is the color conversion direction of the natural image in comparison with the lattice point group generated in the group generation process, and the lattice point group generated in the lattice point group generation process for non-natural image is generated in the lattice point group generation process for natural image It is a point that is a color conversion direction of a non-natural image as compared with the grid point group to be Here, natural images rarely include high-saturation colors and often contain low-saturation colors. Therefore, with the lattice point group in the color conversion direction of the natural image, lattice points are placed intensively in the RGB color space in order to enhance the reproducibility of the color after color conversion of the low saturation color. It is a lattice point group. On the other hand, non-natural images, such as abstract images such as graphics (Vector) and characters (Text), often contain highly saturated colors. Therefore, in order to improve the reproducibility of the color after color conversion of a high saturation color, the lattice points in the color conversion direction of the non-natural image are mainly arranged on the outermost shell of the RGB color space. Grid point group.

例えば、自然画像用格子点群生成処理において生成される格子点群は、非自然画像用格子点群生成処理において生成される格子点群と比較して、グレー軸上格子点と、色域内部格子点との総数が多くても良いし、グレー軸上格子点と、色域内部格子点とのうち少なくともいずれか1種類の数が多くても良い。一方、非自然画像用格子点群生成処理において生成される格子点群は、自然画像用格子点群生成処理において生成される格子点群と比較して、最大彩度の線分上の格子点と、スカイライン上の格子点と、ボトムライン上の格子点と、最外殻面上格子点との総数が多くても良いし、最大彩度の線分上の格子点と、スカイライン上の格子点と、ボトムライン上の格子点と、最外殻面上格子点とのうち少なくともいずれか1種類の数が多くても良い。   For example, the lattice point group generated in the natural image lattice point group generation process is different from the lattice point group generated in the non-natural image lattice point group generation process on the gray on-axis lattice points and in the color gamut. The total number of lattice points may be large, or the number of at least one of the on-gray axis lattice points and the color gamut internal lattice points may be large. On the other hand, the lattice point group generated in the non-natural image lattice point group generation process is compared to the lattice point group generated in the natural image lattice point group generation process, and the lattice point on the line segment of maximum saturation. The total number of grid points on the skyline, grid points on the bottom line, and grid points on the outermost shell may be large, or grid points on the line segment of maximum saturation, and grid on the skyline The number of at least one of the points, the grid points on the bottom line, and the grid points on the outermost shell surface may be large.

図26(a)は、図4に示す自然画像用格子点群生成処理において生成される格子点群の一例の斜視図である。図26(b)は、白(white){1,1,1}の点から黒(black){0,0,0}の点に向かう方向に観察した場合の図26(a)に示す格子点群の斜視図である。図26に示す例は、S122において1辺の格子点の数が6個である立方格子点群が生成された場合に、自然画像用格子点群生成処理において、グレー軸上格子点と、最大彩度の線分上の格子点と、スカイライン上の格子点と、ボトムライン上の格子点と、最外殻面上格子点と、色域内部格子点とのうち、色域内部格子点のみが生成された例である。   FIG. 26A is a perspective view of an example of a grid point group generated in the natural image grid point group generation process shown in FIG. 4. FIG. 26 (b) shows the grid shown in FIG. 26 (a) when observed from the point of white {1, 1, 1} to the point of black {0, 0, 0} It is a perspective view of a point cloud. In the example shown in FIG. 26, when the cubic lattice point group having the number of lattice points on one side of six is generated in S122, the on-gray axial lattice points and the maximum are determined in the natural image lattice point group generation process. Of the lattice points on the line segment of saturation, the lattice points on the skyline, the lattice points on the bottom line, the outermost lattice lattice point, and the gamut internal lattice point, only the gamut internal lattice point Is an example generated.

図27(a)は、図4に示す非自然画像用格子点群生成処理において生成される格子点群の一例の斜視図である。図27(b)は、白(white){1,1,1}の点から黒(black){0,0,0}の点に向かう方向に観察した場合の図27(a)に示す格子点群の斜視図である。図27に示す例は、S122において1辺の格子点の数が6個である立方格子点群が生成された場合に、非自然画像用格子点群生成処理において、グレー軸上格子点と、最大彩度の線分上の格子点と、スカイライン上の格子点と、ボトムライン上の格子点と、最外殻面上格子点と、色域内部格子点とのうち、最外殻面上格子点のみが生成された例である。   FIG. 27A is a perspective view of an example of lattice point groups generated in the non-natural image lattice point group generation process shown in FIG. 4. FIG. 27 (b) shows the grid shown in FIG. 27 (a) when observed in the direction from the point of white {1, 1, 1} to the point of black {0, 0, 0}. It is a perspective view of a point cloud. In the example shown in FIG. 27, when a cubic lattice point group having six lattice points on one side is generated in S122, the on-gray axial lattice points in the non-natural image lattice point group generation process are generated. Of the lattice points on the line segment of maximum saturation, the lattice points on the skyline, the lattice points on the bottom line, the outermost lattice lattice point, and the gamut internal lattice point, on the outermost shell plane This is an example in which only grid points are generated.

図4に示すように、制御部15は、S124の非自然画像用格子点群生成処理が終了すると、図4に示す格子点群生成処理を終了する。   As shown in FIG. 4, when the non-natural image lattice point group generation process of S124 is completed, the control unit 15 ends the lattice point group generation process shown in FIG.

図3に示すように、制御部15は、S101の格子点群生成処理が終了すると、格子点群生成処理によって生成された格子点群の各格子点が対応する出力値(CMYK値)を算出する(S102)。   As shown in FIG. 3, when the lattice point group generation process of S101 ends, the control unit 15 calculates an output value (CMYK value) corresponding to each lattice point of the lattice point group generated by the lattice point group generation process. (S102).

格子点群生成処理によって生成された格子点群の各格子点が対応する出力値(CMYK値)は、『事前に測定された色値と測色値の関係を記録したLUT(Lookup Table)』からの逆算、ないし、『事前に作成される細かなメッシュで構成された色変換LUT』から算出される。   The output value (CMYK value) corresponding to each grid point of the grid point group generated by the grid point group generation processing is “LUT (Lookup Table) recording the relationship between color value measured in advance and colorimetric value”. Or, it is calculated from "color conversion LUT composed of fine meshes created in advance".

まず、格子点群生成処理によって生成された格子点群の各格子点が対応する出力値(CMYK値)を、『事前に測定された色値と測色値の関係を記録したLUT』からの逆算によって求める方法について説明する。   First, an output value (CMYK value) corresponding to each lattice point of the lattice point group generated by the lattice point group generation processing is obtained from “a LUT in which the relationship between the color value measured in advance and the colorimetric value is recorded”. A method of obtaining by inverse calculation will be described.

『事前に測定された色値と測色値の関係を記録したLUT』は、様々な色値のCMYK値を設定したカラーパッチ(所定間隔でも良いしランダムでも良いが、大抵はBkで層別できる形でCMYK値を所定の離散間隔で設定したカラーパッチ)をMFP20によって印刷した後、印刷したカラーパッチの色を計測してXYZ値に変換して得られるLUTである(CMYK to XYZ変換)。『事前に測定された色値と測色値の関係を記録したLUT』は、立方格子点色変換テーブル14a、自然画像用追加テーブル14bおよび非自然画像用追加テーブル14cの開発に使用されるLUTであり、MFP20に搭載されるLUTではない。そのため、『事前に測定された色値と測色値の関係を記録したLUT』は、立方格子点色変換テーブル14a、自然画像用追加テーブル14bおよび非自然画像用追加テーブル14cと異なり、自身が記憶されるメモリーの容量に制限が特に無いので、非常に多数のCMYK値に対して、XYZ値との対応関係を含んでいる。   “A LUT that records the relationship between color values measured in advance and colorimetric values” is a color patch that sets CMYK values of various color values (it may be a predetermined interval or random, but is usually separated by layers with Bk This is a LUT obtained by printing color patches in which CMYK values are set at predetermined discrete intervals in a form that can be performed by the MFP 20, and then measuring the colors of the printed color patches and converting them into XYZ values (CMYK to XYZ conversion) . “LUT recording the relationship between color values measured in advance and colorimetric values” is a LUT used for developing the cubic grid point color conversion table 14a, the natural image addition table 14b, and the non-natural image addition table 14c. This is not a LUT installed in the MFP 20. Therefore, “a LUT recording the relationship between color values measured in advance and colorimetric values” is different from the cubic grid point color conversion table 14a, the natural image addition table 14b, and the non-natural image addition table 14c, and Since there is no particular limitation on the capacity of the memory to be stored, the correspondence with the XYZ values is included for a very large number of CMYK values.

『事前に測定された色値と測色値の関係を記録したLUT』を逆算したLUTは、XYZ値からCMYK値に変換するLUTである(XYZ to CMYK変換)。   An LUT obtained by back-calculating the “LUT in which the relationship between color values measured in advance and colorimetric values is recorded” is a LUT that converts XYZ values into CMYK values (XYZ to CMYK conversion).

ここで、格子点群生成処理によって生成された格子点群の各格子点(RGB値)が対応するXYZ値は、LUTによって認識することが可能である(RGB to XYZ変換)。したがって、『事前に測定された色値と測色値の関係を記録したLUT』を逆算したLUT(XYZ to CMYK変換)と組み合わせることによって、格子点群生成処理によって生成された格子点群の各格子点が対応する出力値(CMYK値)を求めることができる(RGB to CMYK変換)。   Here, XYZ values to which each lattice point (RGB value) of the lattice point group generated by the lattice point group generation processing corresponds can be recognized by the LUT (RGB to XYZ conversion). Therefore, each of the grid point groups generated by the grid point group generation process is combined with the LUT (XYZ to CMYK conversion) obtained by back-calculating the “LUT that records the relationship between color values measured in advance and colorimetric values”. Output values (CMYK values) corresponding to grid points can be obtained (RGB to CMYK conversion).

次に、格子点群生成処理によって生成された格子点群の各格子点が対応する出力値(CMYK値)を、『事前に作成される細かなメッシュで構成された色変換LUT』によって求める方法について説明する。   Next, a method of obtaining an output value (CMYK value) corresponding to each grid point of the grid point group generated by the grid point group generation processing by “a color conversion LUT composed of fine meshes created in advance”. Will be explained.

『事前に作成される細かなメッシュで構成された色変換LUT』は、MFP20における入力値(RGB値)に対応する出力値(CMYK値)を示すLUTである(RGB to CMYK変換)。『事前に作成される細かなメッシュで構成された色変換LUT』は、立方格子点色変換テーブル14a、自然画像用追加テーブル14bおよび非自然画像用追加テーブル14cの開発に使用されるLUTであり、MFP20に搭載されるLUTではない。そのため、『事前に作成される細かなメッシュで構成された色変換LUT』は、立方格子点色変換テーブル14a、自然画像用追加テーブル14bおよび非自然画像用追加テーブル14cと異なり、自身が記憶されるメモリーの容量に制限が特に無いので、非常に多数のRGB値に対して、CMYK値との対応関係を含んでいる。   The “color conversion LUT composed of fine meshes created in advance” is an LUT indicating an output value (CMYK value) corresponding to an input value (RGB value) in the MFP 20 (RGB to CMYK conversion). “Color conversion LUT composed of fine meshes created in advance” is a LUT used for developing the cubic grid point color conversion table 14a, the natural image additional table 14b and the non-natural image additional table 14c. , It is not a LUT mounted on the MFP 20. Therefore, the “color conversion LUT composed of fine meshes created in advance” is stored differently from the cubic grid point color conversion table 14a, the natural image addition table 14b, and the non-natural image addition table 14c. There is no particular limitation on the capacity of the memory, and for a large number of RGB values, the correspondence with CMYK values is included.

『事前に作成される細かなメッシュで構成された色変換LUT』は、図28に示すような複数多段のLUT処理を行うか、これらの中間工程の一部ないし全部をまとめた図29に示すようなLUT処理を行う。   The “color conversion LUT composed of fine meshes created in advance” is shown in FIG. 29 where some or all of these intermediate steps are combined, or LUT processing of multiple stages as shown in FIG. 28 is performed. Perform such LUT processing.

ここで、図28に示すLUT処理について説明する。   Here, the LUT processing shown in FIG. 28 will be described.

図28は、色変換工程の一般的な変換ステップのフローチャートである。   FIG. 28 is a flowchart of a general conversion step of the color conversion process.

図28に示す色変換工程において、入力される色の色空間は、MFPなどのオフィス機の用途において、稀にCMYK形式であることもあるが、基本的にはRGB形式である。   In the color conversion process shown in FIG. 28, the color space of the input color is rarely the CMYK format in the application of the office machine such as MFP, but basically it is the RGB format.

S501は、F−DM(フォーワード・デバイスモデル)変換工程であり、RGB形式データをCIE−XYZ空間へ変換する工程である。例えば、RGB形式としてsRGB空間が想定されているのであれば、その定義に従って変換すれば良い。
(sRGB to XYZ変換)
S501 is an F-DM (forward device model) conversion step, which is a step of converting RGB format data into a CIE-XYZ space. For example, if an sRGB space is assumed as the RGB format, conversion may be performed according to the definition.
(SRGB to XYZ conversion)

S502は、F−CAM(カラーアピアレンスモデル)変換工程であり、例えば、CIE−XYZ空間からCIE−CAM02空間へ変換する工程である。(環境条件を得て)CIE−CAM02の定義に従って変換する。
(XYZ to JCH変換)
S502 is an F-CAM (color appearance model) conversion step, for example, a step of converting from the CIE-XYZ space to the CIE-CAM02 space. Convert according to the definition of CIE-CAM02 (getting environmental conditions).
(XYZ to JCH conversion)

S503は、GMA(ガマットマッピングアルゴリズム)変換工程である。既に多くの企業ないし研究者から様々な方法が提案されており、その中から、目的や条件、あるいは好み、出力デバイスの特性などから適したものを選択して適用すれば良い。
(JCH to J’C’H’変換)
S503 is a GMA (gamut mapping algorithm) conversion process. A large number of companies or researchers have already proposed various methods, and among them, it is sufficient to select and apply a suitable one from the purpose, conditions, preferences, characteristics of output devices, and the like.
(JCH to J'C'H 'conversion)

S504は、墨量生成工程であり、S503におけるGMA変換後のJCH値に則して墨量が定義されており、演算により決定される。これも既に多くの企業ないし研究者から様々な先例が提案されているので、その中から、目的や条件、あるいは好み、出力デバイスの特性などから適したものを選択して適用すれば良い。
(J’C’H’ to (J’C’H’+K)変換)
S504 is a black amount generation step, in which the black amount is defined based on the JCH value after GMA conversion in S503, and is determined by calculation. Since various precedents have already been proposed by many companies or researchers, it is sufficient to select and apply one suitable from the purpose, conditions, preferences, characteristics of output devices, etc.
(J'C'H 'to (J'C'H' + K) conversion)

S505は、B(バックワード)−CAM変換工程であり、出力あるいは観察環境に応じてパラメーターを設定して変換する。カラーアピアレンス・モデルの定義式に従って変換すれば良い。
((J’C’H’+K) to (XYZ+K)変換)
Step S505 is a B (backward) -CAM conversion step, in which parameters are set and converted according to the output or observation environment. It may be converted according to the definition expression of the color appearance model.
((J'C'H '+ K) to (XYZ + K) conversion)

なお、S504と、S505とは、順番が前後することがあり、そうした変換タイプもある。本発明は、S504と、S505との順番が前後する影響を殆ど受けないので、S504と、S505との順番は何れでも構わない。   The order of S504 and S505 may go back and forth, and there are also such conversion types. Since the present invention is hardly affected by the order of S504 and S505, the order of S504 and S505 may be any.

S506は、B−DM(バックワード・デバイスモデル)変換工程であり、デバイス非依存値(XYZ)を出力デバイス値へ戻す。
((XYZ+K) to (CMY+K)変換)
S506 is a B-DM (backward device model) conversion process, and returns the device independent value (XYZ) to the output device value.
((XYZ + K) to (CMY + K) conversion)

S506は、予めCMYKの各チャンネルを例えばm分割することによってm×m×m×m分割したパッチを計測し、K層別した状態のK−CMY to XYZ変換データを得て、これをK層別の状態にて逆算してBK層別 K−XYZ to K−CMY LUTを生成しておけば良い。   In step S506, a patch obtained by dividing each of the CMYK channels by, for example, m is divided by m in advance is measured to obtain K-CMY to XYZ conversion data in a state where K layers are separated, and this is used as the K layer. The BK stratified K-XYZ to K-CMY LUT may be generated by reverse calculation in another state.

図28に示す色変換工程において、出力される色の色空間は、CMYK形式である。   In the color conversion process shown in FIG. 28, the color space of the color to be output is in the CMYK format.

図28には、多段ステップで各工程の変換を行う様子を模式的に示している。しかしながら、図28に示すS501〜S506の各工程の一部を合成あるいは分離することもあるし、S501〜S506の全工程を合成することによって図29に示すように単段ステップ(S521)によって一気にRGB形式からCMYK形式へ変換するLUTとしても良い。   FIG. 28 schematically shows how the conversion of each process is performed in multistage steps. However, a part of each step of S501 to S506 shown in FIG. 28 may be synthesized or separated, or by combining all the steps of S501 to S506, as shown in FIG. It may be a LUT for converting from RGB format to CMYK format.

図28に示す色変換工程の生成方法について説明する。   A method of generating the color conversion process shown in FIG. 28 will be described.

図30に示す色変換工程は、図28に示す色変換工程のS501〜S502と同じ工程によって、「入力デバイスの色空間JCH in」を出力する。   In the color conversion step shown in FIG. 30, “the color space JCH in of the input device” is output by the same steps as S501 to S502 in the color conversion step shown in FIG.

図31に示す色変換工程は、様々な色値のCMYK値を設定したカラーパッチ(所定間隔でも良いしランダムでも良いが、大抵はBkで層別できる形でCMYK値を所定の離散間隔で設定したカラーパッチ)をMFP20によって印刷した後、印刷したカラーパッチの色を計測してXYZ値に変換し(S541)、このXYZ値を環境条件に合わせたカラーアピアランスモデルにて明度・彩度・色相の情報に変換して(S542)、「出力デバイスの色空間JCH out」を出力する。   The color conversion process shown in FIG. 31 is a color patch in which CMYK values of various color values are set (a predetermined interval may be random or may be random, but in most cases, CMYK values are set at predetermined discrete intervals so as to be stratified by Bk) The printed color patch is printed by the MFP 20, and then the color of the printed color patch is measured and converted to an XYZ value (S541), and the lightness, saturation, and hue are matched with a color appearance model that matches the XYZ value to the environmental conditions. (S 542), and output “color space JCH out of output device”.

そして、図30に示す色変換工程を経て得られる「入力デバイスの色空間JCH in」と、図31に示す色変換工程を経て得られる「出力デバイスの色空間JCH out」とを突き合わせて、その対応点を設定しその変換工程を行うLUT(図28のS503)と、その対応点を再現する際のBk値を設定するLUT(図28のS504)とを求める。   Then, the “color space JCH in of the input device obtained through the color conversion process shown in FIG. 30” and the “color space JCH out of the output device obtained through the color conversion process shown in FIG. A corresponding point is set and a LUT (S503 in FIG. 28) for performing the conversion process and a LUT (S504 in FIG. 28) for setting a Bk value at the time of reproducing the corresponding point are obtained.

一般に、「入力デバイスの色空間JCH in」と、「出力デバイスの色空間JCH out」とは、その大きさや形が異なる。そのため、入力デバイスの色空間内の各点を如何にして出力デバイスの色空間内の点に対応付けるかという点に対しては、過去に多くの方法(GMA:ガマット・マッピング・アルゴリズム)が提案されている。したがって、入力デバイスの色空間内の各点を出力デバイスの色空間内の点に対応付ける場合には、過去に提案されている多くの方法の中から、目的や用途あるいは条件に合わせて適正なものを選択して採用すれば良い(図28のS503)。   Generally, the “input device color space JCH in” and the “output device color space JCH out” have different sizes and shapes. Therefore, many methods (GMA: Gamut mapping algorithm) have been proposed in the past as to how each point in the color space of the input device corresponds to the point in the color space of the output device. ing. Therefore, when associating each point in the color space of the input device with a point in the color space of the output device, among the many methods proposed in the past, it is appropriate according to the purpose, application, or condition Is selected and adopted (S 503 in FIG. 28).

墨量生成に関しても、過去、さまざまな方法が提案されているので、目的や用途、あるいは条件に合わせてその中から適正なものを選択して採用すれば良い(図28のS504)。   Various methods have been proposed in the past for the generation of the black ink, and therefore, an appropriate one may be selected and adopted in accordance with the purpose, application, or conditions (S 504 in FIG. 28).

図30に示す色変換工程(S501およびS502)と、上述のようにして求めたS503およびS504と、図31に示す色変換工程の逆算(逆検索)による逆変換LUT(S505およびS506)とを、入力から出力まで通して図にすれば、図28に示すようになる。   The color conversion process (S501 and S502) shown in FIG. 30, S503 and S504 obtained as described above, and the inverse conversion LUT (S505 and S506) by inverse calculation (inverse search) of the color conversion process shown in FIG. The illustration from input to output is as shown in FIG.

図3に示すように、制御部15は、S102の処理が終了すると、S101の格子点群生成処理において生成した格子点群と、S102において算出した出力値とを含めた色変換テーブルを生成して(S103)、図3に示す動作を終了する。すなわち、制御部15は、S122において生成された立方格子点の群と、この群に対してS102において算出した出力値とを含めた立方格子点色変換テーブル14aを生成し、S123の自然画像用格子点群生成処理において生成された格子点群と、この群に対してS102において算出した出力値とを含めた自然画像用追加テーブル14bを生成し、S124の非自然画像用格子点群生成処理において生成された格子点群と、この群に対してS102において算出した出力値とを含めた非自然画像用追加テーブル14cを生成する。   As shown in FIG. 3, when the process of S102 is completed, the control unit 15 generates a color conversion table including the lattice point group generated in the lattice point group generation process of S101 and the output value calculated in S102. Then (S103), the operation shown in FIG. 3 ends. That is, the control unit 15 generates a cubic lattice point color conversion table 14a including the group of cubic lattice points generated in S122 and the output value calculated in S102 for this group, and for the natural image in S123. The natural image additional table 14b including the lattice point group generated in the lattice point group generation process and the output value calculated in S102 for this group is generated, and the lattice point group generation process for non-natural image is performed in S124. The non-natural image additional table 14c including the grid point group generated in step S2 and the output value calculated in step S102 for this group is generated.

図3に示す動作において生成された立方格子点色変換テーブル14a、自然画像用追加テーブル14bおよび非自然画像用追加テーブル14cの組み合わせは、例えばネットワークを介した通信など、何らかの方法によって色変換テーブル生成装置10から読み出されてMFP20に立方格子点色変換テーブル27a、自然画像用追加テーブル27bおよび非自然画像用追加テーブル27cの組み合わせとして記憶される。   The combination of the cubic grid point color conversion table 14a, the natural image addition table 14b, and the non-natural image addition table 14c generated in the operation shown in FIG. 3 generates the color conversion table by any method, such as communication via a network. It is read from the apparatus 10 and stored in the MFP 20 as a combination of the cubic lattice point color conversion table 27a, the natural image addition table 27b and the non-natural image addition table 27c.

次に、MFP20の動作について説明する。   Next, the operation of the MFP 20 will be described.

まず、格子点追加有無情報27eが設定される場合のMFP20の動作について説明する。   First, the operation of the MFP 20 when the lattice point addition / non-existence information 27e is set will be described.

色変換テーブル生成手段28bは、格子点追加有無情報27eの設定の指示が操作部21または通信部26を介して入力されると、入力された指示に応じて格子点追加有無情報27eを設定する。   When an instruction for setting the lattice point addition / non-existence information 27e is input through the operation unit 21 or the communication unit 26, the color conversion table generation unit 28b sets the lattice point addition / non-existence information 27e according to the input instruction. .

次に、RGB形式の入力画像に基づいて印刷を実行する場合のMFP20の動作について説明する。   Next, the operation of the MFP 20 in the case of executing printing based on an input image in RGB format will be described.

図32は、RGB形式の入力画像に基づいて印刷を実行する場合のMFP20の動作のフローチャートである。   FIG. 32 is a flowchart of the operation of the MFP 20 when printing is performed based on an input image in RGB format.

図32に示すように、色変換テーブル生成手段28bは、今回の印刷に使用する色変換テーブル(以下「使用色変換テーブル」という。)を生成する使用色変換テーブル生成処理を実行する(S601)。   As shown in FIG. 32, the color conversion table generation unit 28b executes a use color conversion table generation process for generating a color conversion table (hereinafter referred to as a "use color conversion table") used for the current printing (S601) .

図33は、図32に示す使用色変換テーブル生成処理のフローチャートである。   FIG. 33 is a flowchart of the used color conversion table generation process shown in FIG.

図33に示すように、色変換テーブル生成手段28bは、立方格子点色変換テーブル27aに含まれる格子点群に、自然画像用追加テーブル27bおよび非自然画像用追加テーブル27cのいずれか一方に含まれる格子点群を追加した色変換テーブルを生成するか否かを、格子点追加有無情報27eに基づいて判断する(S621)。   As shown in FIG. 33, the color conversion table generating means 28b is included in the grid point group included in the cubic grid point color conversion table 27a in either one of the natural image addition table 27b and the non-natural image addition table 27c. It is judged based on the lattice point addition presence / absence information 27e whether to generate a color conversion table to which the lattice point group to be added is added (S621).

色変換テーブル生成手段28bは、立方格子点色変換テーブル27aに含まれる格子点群に、自然画像用追加テーブル27bおよび非自然画像用追加テーブル27cのいずれか一方に含まれる格子点群を追加した色変換テーブルを生成しないとS621において判断すると、立方格子点色変換テーブル27aに含まれる格子点群を、使用色変換テーブルに含まれる格子点群として決定して(S622)、図33に示す使用色変換テーブル生成処理を終了する。   The color conversion table generation unit 28b adds the grid point group included in any one of the natural image addition table 27b and the non-natural image addition table 27c to the grid point group included in the cubic grid point color conversion table 27a. If it is determined in S621 that the color conversion table is not generated, the grid point group included in the cubic grid point color conversion table 27a is determined as the grid point group included in the used color conversion table (S622), and the use shown in FIG. The color conversion table generation processing ends.

色変換テーブル生成手段28bは、立方格子点色変換テーブル27aに含まれる格子点群に、自然画像用追加テーブル27bおよび非自然画像用追加テーブル27cのいずれか一方に含まれる格子点群を追加した色変換テーブルを生成するとS621において判断すると、入力画像が自然画像であるか否かを判断する(S623)。ここで、入力画像には、入力画像が自然画像であるか否かの情報が、入力画像をMFP20に送信した電子機器の例えばOS(Operating System)によって付加されている場合がある。色変換テーブル生成手段28bは、入力画像が自然画像であるか否かの情報が入力画像に付加されている場合には、この情報に基づいて入力画像が自然画像であるか否かを判断しても良い。また、色変換テーブル生成手段28bは、入力画像の色値分布を分析することによって、入力画像が自然画像であるか否かを判断しても良い。   The color conversion table generation unit 28b adds the grid point group included in any one of the natural image addition table 27b and the non-natural image addition table 27c to the grid point group included in the cubic grid point color conversion table 27a. If it is determined in S621 that a color conversion table is to be generated, it is determined whether the input image is a natural image (S623). Here, information on whether the input image is a natural image may be added to the input image by, for example, an operating system (OS) of the electronic device that has transmitted the input image to the MFP 20. When the information on whether the input image is a natural image is added to the input image, the color conversion table generation means 28b determines whether the input image is a natural image based on this information. It is good. The color conversion table generation unit 28b may determine whether the input image is a natural image by analyzing the color value distribution of the input image.

色変換テーブル生成手段28bは、入力画像が自然画像であるとS623において判断すると、立方格子点色変換テーブル27aに含まれる格子点群と、自然画像用追加テーブル27bに含まれる格子点群とを、使用色変換テーブルに含まれる格子点群として決定して(S624)、図33に示す使用色変換テーブル生成処理を終了する。   When the color conversion table generation unit 28b determines in S623 that the input image is a natural image, the grid point group included in the cubic grid point color conversion table 27a and the grid point group included in the natural image additional table 27b are The grid point group included in the used color conversion table is determined (S624), and the used color conversion table generation process shown in FIG. 33 is ended.

色変換テーブル生成手段28bは、入力画像が自然画像ではないとS623において判断すると、立方格子点色変換テーブル27aに含まれる格子点群と、非自然画像用追加テーブル27cに含まれる格子点群とを、使用色変換テーブルに含まれる格子点群として決定して(S625)、図33に示す使用色変換テーブル生成処理を終了する。   When the color conversion table generation unit 28b determines that the input image is not a natural image in S623, the grid point group included in the cubic grid point color conversion table 27a and the grid point group included in the non-natural image additional table 27c. Is determined as a lattice point group included in the use color conversion table (S625), and the use color conversion table generation process shown in FIG. 33 is ended.

図34(a)は、S624において決定された格子点群の一例の斜視図である。図34(b)は、白(white){1,1,1}の点から黒(black){0,0,0}の点に向かう方向に観察した場合の図34(a)に示す格子点群の斜視図である。図34に示す格子点群は、図5に示す立方格子点群に、図26に示す格子点群を追加した格子点群である。   FIG. 34A is a perspective view of an example of the lattice point group determined in S624. FIG. 34 (b) shows the grid shown in FIG. 34 (a) when observed in a direction from the point of white {1, 1, 1} to the point of black {0, 0, 0}. It is a perspective view of a point cloud. The lattice point group shown in FIG. 34 is a lattice point group obtained by adding the lattice point group shown in FIG. 26 to the cubic lattice point group shown in FIG.

図35(a)は、S625において決定された格子点群の一例の斜視図である。図35(b)は、白(white){1,1,1}の点から黒(black){0,0,0}の点に向かう方向に観察した場合の図35(a)に示す格子点群の斜視図である。図35に示す格子点群は、図5に示す立方格子点群に、図27に示す格子点群を追加した格子点群である。   FIG. 35A is a perspective view of an example of the grid point group determined in S625. FIG. 35 (b) shows the grid shown in FIG. 35 (a) when observed in the direction from the point of white {1, 1, 1} to the point of black {0, 0, 0}. It is a perspective view of a point cloud. The lattice point group shown in FIG. 35 is a lattice point group obtained by adding the lattice point group shown in FIG. 27 to the cubic lattice point group shown in FIG.

図32に示すように、色変換手段28aは、S601の使用色変換テーブル生成処理が終了すると、S622、S624またはS625において決定された使用色変換テーブルに含まれる格子点群に基づいて、使用変換テーブルによる色変換前の色域の全体を四面体群に分割する(S602)。   As shown in FIG. 32, when the used color conversion table generation process of S601 ends, the color conversion means 28a uses conversion based on the grid point group included in the used color conversion table determined in S622, S624 or S625. The whole color gamut before color conversion by the table is divided into tetrahedron groups (S602).

S602において、四面体群の四面体は、格子点群の格子点のうち、隣接する4つの格子点で形成される。特に、選択された4つの格子点の外接球を考えた場合に、その外接球の内部に他の格子点が入らないように、四面体の組を生成して四面体群が形成されると良い。例えば、S602において生成される四面体群は、3次元ドロネー網により構成される四面体群である。ここで、3次元ドロネー網の生成は、既知の生成法の中から適当な方法を利用すれば良い。すなわち、2次元面上でドロネー図を描くのと同様の考え方で、それを3次元空間に展開して四面体群を得れば良い。   In S602, the tetrahedron of the tetrahedron group is formed of four adjacent lattice points among lattice points of the lattice point group. In particular, when considering a circumscribed sphere of four selected lattice points, a tetrahedron group is formed to form a tetrahedron group so that other lattice points do not enter inside the circumscribed sphere. good. For example, the tetrahedron group generated in S602 is a tetrahedron group configured by a three-dimensional Delaunay mesh. Here, for generation of the three-dimensional Delaunay network, an appropriate method may be used from among known generation methods. That is, it is sufficient to expand it in a three-dimensional space and obtain a tetrahedron group in the same way as drawing a Delaunay diagram on a two-dimensional surface.

色変換手段28aは、S602の処理が終了すると、RGB形式の入力画像を、出力デバイスとしてのプリンター24が対応しているCMYK形式の出力画像に変換する色変換処理を実行する(S603)。   When the process of S602 is completed, the color conversion unit 28a performs a color conversion process of converting an input image in RGB format into an output image in CMYK format compatible with the printer 24 as an output device (S603).

図36は、S603における色変換処理のフローチャートである。   FIG. 36 is a flowchart of the color conversion process in S603.

図36に示すように、色変換手段28aは、RGB形式の入力画像を形成する色値(RGB値)のうち、未だ対象としていないRGB値を対象にする(S641)。   As shown in FIG. 36, the color conversion unit 28a targets RGB values not yet targeted among color values (RGB values) forming an input image in RGB format (S641).

次いで、色変換手段28aは、S641において対象にしたRGB値と、CMYK値との対応関係を検索する対応関係検索処理を実行する。(S642)。   Next, the color conversion unit 28a executes a correspondence relationship search process for searching for the correspondence relationship between the RGB values targeted in S641 and the CMYK values. (S642).

図37は、S642における対応関係検索処理のフローチャートである。   FIG. 37 is a flowchart of the correspondence relationship search process in S642.

図37に示すように、色変換手段28aは、対象のRGB値が使用色変換テーブルにおける色変換前の格子点であるか否かを判断する(S661)。   As shown in FIG. 37, the color conversion unit 28a determines whether the target RGB value is a grid point before color conversion in the use color conversion table (S661).

色変換手段28aは、対象のRGB値が使用色変換テーブルにおける色変換前の格子点であるとS661において判断すると、使用色変換テーブルにおける色変換前の格子点のうち、対象のRGB値に対応する格子点に対応付けられた変換値(CMYK値)を、対象のRGB値に対応するCMYK値として特定して(S662)、図37に示す対応関係検索処理を終了する。   When the color conversion means 28a determines that the target RGB value is the grid point before color conversion in the use color conversion table in S661, it corresponds to the target RGB value among the grid points before color conversion in the use color conversion table. The conversion value (CMYK value) associated with the grid point to be selected is specified as the CMYK value corresponding to the target RGB value (S662), and the correspondence search process shown in FIG. 37 is ended.

色変換手段28aは、対象のRGB値が使用色変換テーブルにおける色変換前の格子点ではない、すなわち、格子点間の点であるとS661において判断すると、対象のRGB値に対応する変換値(CMYK値)を換算する内挿処理を実行する(S663)。   If the color conversion means 28a judges that the target RGB value is not a grid point before color conversion in the used color conversion table, ie, a point between grid points in S661, a conversion value corresponding to the target RGB value ( Interpolation processing for converting CMYK values) is executed (S663).

図38は、S663における内挿処理のフローチャートである。   FIG. 38 is a flowchart of the interpolation process in S663.

図38に示すように、色変換手段28aは、S602において生成した四面体群の中から、対象のRGB値を包含する四面体を検索する包含四面体検索処理を実行する(S681)。   As shown in FIG. 38, the color conversion means 28a executes an inclusive tetrahedron search process for searching for a tetrahedron including the RGB value of interest from the tetrahedron groups generated in S602 (S681).

図39は、S681における包含四面体検索処理のフローチャートである。   FIG. 39 is a flowchart of included tetrahedron search processing in S681.

図39に示すように、色変換手段28aは、S602において生成した四面体群のうち、未だ対象にしていない四面体を対象にする(S701)。   As shown in FIG. 39, the color conversion means 28a targets tetrahedrons not yet targeted among the tetrahedron groups generated in S602 (S701).

次いで、色変換手段28aは、対象の四面体を構成する4点(以下「点A、点B、点C、点D」とする。)のうち、任意の2点(以下、点Aおよび点Bとする。)を選択する(S702)。   Next, the color conversion means 28a selects any two points (hereinafter, point A and point) of the four points (hereinafter, referred to as "point A, point B, point C, point D") that constitute the target tetrahedron. B) is selected (S702).

次いで、色変換手段28aは、S702において選択した2点(点Aおよび点B)によって形成される線分を底辺とし、対象のRGB値の点(以下、点Xとする。)、対象の四面体を構成する4点のうちS702において選択した2点以外の1点(以下、点Cとする。)、対象の四面体を構成する4点のうちS702において選択した2点以外の残りの1点(以下、点Dとする。)をそれぞれ頂点とする三角形をそれぞれ含む3つの平面の法線ベクトルを算出する(S703)。ここで、三角形を含む平面の法線ベクトルは、この平面を構成する3点(例えば三角形の3つの頂点)のうち、1点を始点して残り2点を終点にした2つのベクトルの外積を計算することによって算出することができる。   Next, the color conversion means 28a uses the line segment formed by the two points (point A and point B) selected in S702 as the base, and points of the target RGB values (hereinafter referred to as point X), target four sides. Of the four points that constitute the body, one point other than the two points selected in S702 (hereinafter referred to as point C), and the remaining one other than the two points selected in S702, of the four points that constitute the target tetrahedron Normal vectors of three planes respectively including triangles whose apexes are points (hereinafter referred to as points D) are calculated (S703). Here, a normal vector of a plane including a triangle is an outer product of two vectors starting from one point and ending at the other two points among three points constituting the plane (for example, three vertices of a triangle) It can be calculated by calculating.

次いで、色変換手段28aは、S703において算出した3つの角度のうち、対象のRGB値の点を頂点とした三角形を含む平面の角度が、残りの2つの平面の角度の間にあるか否かを判定する(S704)。   Next, the color conversion unit 28a determines whether, among the three angles calculated in S703, the angle of the plane including the triangle having the point of the RGB value of interest as the vertex is between the angles of the remaining two planes. Is determined (S704).

次いで、色変換手段28aは、対象の四面体を構成する4点(点A、点B、点C、点D)のうち、S702において選択しなかった2点(点Cおよび点D)を選択する(S705)。   Next, the color conversion means 28a selects two points (point C and point D) not selected in S702 out of four points (point A, point B, point C and point D) constituting the target tetrahedron. (S705).

次いで、色変換手段28aは、S705において選択した2点(点Cおよび点D)によって形成される線分を底辺とし、対象のRGB値の点(点X)、対象の四面体を構成する4点のうちS705において選択した2点以外の1点(以下、点Aとする。)、対象の四面体を構成する4点のうちS705において選択した2点以外の残りの1点(以下、点Bとする。)をそれぞれ頂点とする三角形をそれぞれ含む3つの平面の法線ベクトルを算出する(S706)。   Next, the color conversion means 28a sets the line segment formed by the two points (point C and point D) selected in S705 as the base, the point of the target RGB value (point X), and the target tetrahedron Of the points, one point other than the two points selected in S 705 (hereinafter referred to as point A), and the remaining one point other than the two points selected in S 705 among the four points constituting the target tetrahedron The normal vectors of three planes respectively including triangles whose apexes are B) are calculated (S706).

次いで、色変換手段28aは、S706において算出した3つの角度のうち、対象のRGB値の点を頂点とした三角形を含む平面の角度が、残りの2つの平面の角度の間にあるか否かを判定する(S707)。   Next, the color conversion means 28a determines whether, among the three angles calculated in S706, the angle of the plane including the triangle having the point of the RGB value of interest as the vertex is between the angles of the remaining two planes. Is determined (S707).

次いで、色変換手段28aは、S704における判定と、S707における判定との両方の判定において間にあると判定されたか否かを判断する(S708)。   Next, the color conversion unit 28a determines whether or not it is determined that there is an interval between the determination in S704 and the determination in S707 (S708).

色変換手段28aは、両方の判定の少なくともいずれかにおいて間にないと判定されたとS708において判断すると、S701の処理を実行する。   If it is determined in S708 that the color conversion means 28a determines that there is not an interval between at least one of the determinations, the process of S701 is performed.

色変換手段28aは、両方の判定において間にあると判定されたとS708において判断すると、対象のRGB値を包含する四面体として、対象の四面体を特定して(S709)、図39に示す包含四面体検索処理を終了する。   If it is determined in S 708 that the color conversion means 28 a determines that there is an interval in both determinations, the color conversion means 28 a identifies the target tetrahedron as the tetrahedron including the target RGB value (S 709). End the tetrahedron search process.

なお、図39に示す包含四面体検索処理は、本実施の形態において、対象のRGB値を包含する四面体を平面同士の角度に基づいて検索する方式を採用している。しかしながら、S681の包含四面体検索処理として、図39に示す方式以外の方式が採用されても良い。例えば、四面体を構成する4つの平面に対して、外積を用いることによって、対象のRGB値の点が各平面の手前側にあるか否かを判定し、全ての平面において手前側にあることを条件にして、対象のRGB値を包含する四面体を特定する方式が採用されても良い。   In the included tetrahedron searching process shown in FIG. 39, in the present embodiment, a method of searching for a tetrahedron including the target RGB value based on the angle between the planes is adopted. However, a method other than the method shown in FIG. 39 may be adopted as the inclusion tetrahedron search processing of S681. For example, it is determined whether or not the point of the RGB value of interest is on the near side of each plane by using the outer product with respect to the four planes constituting the tetrahedron, and is on the near side in all planes. Under the condition, a method of specifying a tetrahedron including the RGB value of the object may be adopted.

図38に示すように、色変換手段28aは、S681の包含四面体検索処理の後、S681において検索した四面体を対象のRGB値の点が体積的に分割する比率に基づいて、対象のRGB値に対応する変換値(CMYK値)を算出する(S682)。   As shown in FIG. 38, after the inclusive tetrahedron search processing of S681, the color conversion means 28a selects the target RGB based on the ratio at which the points of the target RGB values divide the tetrahedron searched in S681. A conversion value (CMYK value) corresponding to the value is calculated (S682).

例えば、色変換手段28aは、S681において検索した四面体(以下、点E、点F、点Gおよび点Hによって構成されているとする。)を、S681において検索した四面体を構成する4つの三角形の面(△FGH、△EGH、△EFHおよび△EFG)を底面とし、対象のRGB値の点(点X)を頂点とする4つの四面体(三角錐)、すなわち、四面体X‐FGH、X‐EGH、X‐EFHおよびX‐EFGに分割する。四面体X‐FGH、X‐EGH、X‐EFH、X‐EFGの体積をそれぞれVe、Vf、Vg、Vhとし、それらの和、即ち、四面体EFGHの体積をVsとすると、色変換手段28aは、数31によって、対象のRGB値に対応する変換値(CMYK値)を算出することができる。数31において、Xcmykは、対象のRGB値に対応する変換値(CMYK値)である。Ecmyk、Fcmyk、Gcmyk、Hcmyk、は、それぞれ点E、点F、点G、点Hに対応する変換値(CMYK値)である。

Figure 2019118089
For example, the color conversion means 28a is a four-sided tetrahedron searched for in S681 (hereinafter referred to as point E, point F, point G and point H) searched for in S681. Four tetrahedra (triangular pyramids) with triangle faces (ΔFGH, ΔEGH, ΔEFH and ΔEFG) as the base and points of the RGB values of interest (point X) as vertices, ie, tetrahedron X-FGH , X-EGH, X-EFH and X-EFG. Assuming that the volumes of tetrahedron X-FGH, X-EGH, X-EFH and X-EFG are Ve, Vf, Vg and Vh, respectively, and their sum, that is, the volume of tetrahedron EFGH is Vs, the color conversion means 28a 31 can calculate the conversion value (CMYK value) corresponding to the target RGB value. In Equation 31, X cm yk is a conversion value (CMYK value) corresponding to the target RGB value. Ecmyk, Fcmyk, Gcmyk, and Hcmyk are conversion values (CMYK values) corresponding to point E, point F, point G, and point H, respectively.
Figure 2019118089

なお、Ve、Vf、Vg、Vhは、例えば、それぞれ、数32、数33、数34、数35に示すように求めても良い。また、Vsは、Ve、Vf、VgおよびVhの総和として求めても良いし、例えば、数36に示すように求めても良い。

Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089
For example, Ve, Vf, Vg, and Vh may be determined as shown in Equation 32, Equation 33, Equation 34, and Equation 35, respectively. Further, Vs may be obtained as the sum of Ve, Vf, Vg and Vh, or may be obtained as shown in equation 36, for example.
Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089
Figure 2019118089

図38に示すように、色変換手段28aは、S682の処理の後、図38に示す内挿処理を終了する。   As shown in FIG. 38, the color conversion means 28a ends the interpolation process shown in FIG. 38 after the process of S682.

なお、図38に示す内挿処理は、本実施の形態において四面体補間方式であるが、四面体補間方式以外の方式であっても良い。例えば、内挿処理は、六面体補間方式であっても良いし、三角柱補間方式であっても良い。   Although the interpolation processing shown in FIG. 38 is a tetrahedron interpolation method in the present embodiment, it may be a method other than tetrahedron interpolation method. For example, the interpolation processing may be a hexahedron interpolation method or a triangular prism interpolation method.

図37に示すように、色変換手段28aは、S663の内挿処理の後、図37に示す対応関係検索処理を終了する。   As shown in FIG. 37, the color conversion means 28a ends the correspondence relationship search process shown in FIG. 37 after the interpolation process of S663.

図36に示すように、色変換手段28aは、S642の対応関係検索処理の後、RGB形式の入力画像を形成するRGB値のうち、未だ対象としていないRGB値が存在するか否かを判断する(S643)。   As shown in FIG. 36, after the correspondence relationship search process of S642, the color conversion means 28a determines whether or not there are RGB values not yet targeted among the RGB values forming the input image in RGB format. (S643).

色変換手段28aは、RGB形式の入力画像を形成するRGB値のうち、未だ対象としていないRGB値が存在するとS643において判断すると、S641の処理を実行する。   The color conversion means 28a executes the process of S641 when judging in S643 that there is an RGB value not yet targeted among the RGB values forming the input image of RGB format.

色変換手段28aは、RGB形式の入力画像を形成するRGB値のうち、未だ対象としていないRGB値が存在しないとS643において判断すると、S642の対応関係検索処理によって検索されたRGB値およびCMYK値の対応関係に基づいて、RGB形式の入力画像をCMYK形式の出力画像に変換して(S644)、図36に示す色変換処理を終了する。   When the color conversion means 28a determines in S643 that there is no RGB value not yet targeted among the RGB values forming the input image in RGB format, the color conversion means 28a determines the RGB values and the CMYK values searched by the correspondence search process of S642. Based on the correspondence relationship, the input image in RGB format is converted into an output image in CMYK format (S644), and the color conversion process shown in FIG. 36 is ended.

図32に示すように、制御部28は、S603の色変換処理の後、S603において生成したCMYK形式の出力画像に基づいてプリンター24によって記録媒体に印刷を実行して(S604)、図32に示す動作を終了する。   As shown in FIG. 32, after the color conversion processing of S603, the control unit 28 executes printing on the recording medium by the printer 24 based on the output image of the CMYK format generated in S603 (S604). End the operation shown.

以上に説明したように、MFP20は、立方格子点色変換テーブル27aに含まれる立方格子点群に、自然画像用追加テーブル27bおよび非自然画像用追加テーブル27cのいずれか一方に含まれる格子点群を追加して使用色変換テーブルを生成する場合(S621でYES)に、立方格子点色変換テーブル27aに含まれる立方格子点群のみで使用色変換テーブルを生成する場合(S621でNO)と比較して、格子点の情報を記憶するメモリーの容量が制限されている条件下において、使用色変換テーブルにおける格子点の数を増やすことができるので、色の再現性を向上することができる。   As described above, the MFP 20 includes the grid point group included in any one of the natural image addition table 27b and the non-natural image addition table 27c in the cubic grid point group included in the cubic grid point color conversion table 27a. When generating the use color conversion table by adding only the cubic grid point group included in the cubic grid point color conversion table 27a (YES at S621), and comparing with the case (NO at S621) Since the number of grid points in the used color conversion table can be increased under the condition that the capacity of the memory for storing grid point information is limited, color reproducibility can be improved.

MFP20は、立方格子点色変換テーブル27aに含まれる立方格子点群のみで使用色変換テーブルを生成する場合(S621でNO)に、立方格子点色変換テーブル27aに含まれる立方格子点群に、自然画像用追加テーブル27bおよび非自然画像用追加テーブル27cのいずれか一方に含まれる格子点群を追加して使用色変換テーブルを生成する場合(S621でYES)と比較して、立方格子点群のみで生成された色変換テーブルを想定して用意されている機能やアプリケーションの利用を容易化することができる。例えば、MFP20は、既存デバイスの色を模擬する場合などに、ICC profileを取り込んだり利用したりする際に、立方格子点群のみで生成された色変換テーブルを利用するとき、色変換のための計算負荷を抑えることができる。   If the MFP 20 generates the use color conversion table only with the cubic lattice point group included in the cubic lattice point color conversion table 27a (NO in S621), the cubic lattice point group included in the cubic lattice point color conversion table 27a The cubic grid point group is compared with the case of generating the use color conversion table by adding the grid point group included in any one of the natural image addition table 27b and the non-natural image addition table 27c (YES in S621) It is possible to facilitate the use of functions and applications that are prepared on the assumption of a color conversion table generated by only the. For example, when the color of the existing device is simulated, the MFP 20 uses the color conversion table generated only by the cubic lattice point group when capturing or using the ICC profile, for color conversion. Calculation load can be reduced.

なお、MFP20は、立方格子点色変換テーブル27aに含まれる立方格子点群に、自然画像用追加テーブル27bおよび非自然画像用追加テーブル27cのいずれか一方に含まれる格子点群を追加して使用色変換テーブルを生成するか否かを、本実施の形態において、操作部21または通信部26を介して入力された指示に応じて切り換える。しかしながら、MFP20は、立方格子点色変換テーブル27aに含まれる立方格子点群に、自然画像用追加テーブル27bおよび非自然画像用追加テーブル27cのいずれか一方に含まれる格子点群を追加して使用色変換テーブルを生成するか否かを、色変換の対象の画像に基づいて切り換えても良い。   The MFP 20 adds a grid point group included in any one of the natural image addition table 27b and the non-natural image addition table 27c to the cubic grid point group included in the cubic grid point color conversion table 27a. In the present embodiment, whether or not to generate a color conversion table is switched according to an instruction input via the operation unit 21 or the communication unit 26. However, the MFP 20 adds the grid point group included in one of the natural image additional table 27 b and the non-natural image additional table 27 c to the cubic grid point group included in the cubic grid point color conversion table 27 a Whether to generate a color conversion table may be switched based on an image to be subjected to color conversion.

MFP20は、立方格子点色変換テーブル27aに含まれる立方格子点群に、自然画像用追加テーブル27bに含まれる自然画像用の格子点群を追加して使用色変換テーブルを生成することと、立方格子点色変換テーブル27aに含まれる立方格子点群に、非自然画像用追加テーブル27cに含まれる非自然画像用の格子点群を追加して使用色変換テーブルを生成することとを切り換え可能である(S623〜S625)ので、色の変換の対象の画像に適した色変換テーブルによって色を変換することができ、色の再現性を向上することができる。   The MFP 20 adds a natural image grid point group included in the natural image additional table 27b to the cubic grid point group included in the cubic grid point color conversion table 27a to generate a use color conversion table, and It is possible to switch between generating the use color conversion table by adding the grid point group for non-natural image included in the non-natural image additional table 27c to the cubic grid point group included in the grid point color conversion table 27a Since (S623 to S625), the color can be converted by the color conversion table suitable for the image of the color conversion target, and the color reproducibility can be improved.

MFP20は、立方格子点色変換テーブル27aに含まれる立方格子点群に、自然画像用追加テーブル27bに含まれる自然画像用の格子点群を追加して使用色変換テーブルを生成することと、立方格子点色変換テーブル27aに含まれる立方格子点群に、非自然画像用追加テーブル27cに含まれる非自然画像用の格子点群を追加して使用色変換テーブルを生成することとを、色の変換の対象の画像に基づいて切り換え可能であるので、利便性を向上することができる。   The MFP 20 adds a natural image grid point group included in the natural image additional table 27b to the cubic grid point group included in the cubic grid point color conversion table 27a to generate a use color conversion table, and Adding a grid point group for non-natural image included in the non-natural image additional table 27c to a cubic grid point group included in the grid point color conversion table 27a to generate a use color conversion table Since switching is possible based on the image to be converted, convenience can be improved.

MFP20は、立方格子点色変換テーブル27aに含まれる立方格子点群に、自然画像用追加テーブル27bに含まれる自然画像用の格子点群を追加して使用色変換テーブルを生成することと、立方格子点色変換テーブル27aに含まれる立方格子点群に、非自然画像用追加テーブル27cに含まれる非自然画像用の格子点群を追加して使用色変換テーブルを生成することとを、操作部21または通信部26を介して入力された指示に応じて切り換えても良い。   The MFP 20 adds a natural image grid point group included in the natural image additional table 27b to the cubic grid point group included in the cubic grid point color conversion table 27a to generate a use color conversion table, and Adding a grid point group for non-natural image included in the non-natural image additional table 27c to a cubic grid point group included in the grid point color conversion table 27a to generate a use color conversion table; The switching may be performed according to an instruction input via the communication unit 21 or the communication unit 26.

MFP20は、本実施の形態において、使用色変換テーブルにおける色変換の対象のRGB値が使用色変換テーブルにおける色変換前の格子点ではない場合、内挿によって色変換後のCMYK値を算出する。MFP20は、使用色変換テーブルにおける色変換の対象のRGB値が使用色変換テーブルにおける色変換前の格子点によって構成される四面体の内部に存在しない場合には、対象のRGB値の近傍の格子点によって構成される四面体による外挿によって色変換後のCMYK値を算出すれば良い。   In the present embodiment, when the RGB value of the color conversion target in the used color conversion table is not a grid point before the color conversion in the used color conversion table, the MFP 20 calculates the CMYK value after the color conversion by interpolation. When the RGB value of the color conversion target in the used color conversion table does not exist inside the tetrahedron formed by the grid points before the color conversion in the used color conversion table, the MFP 20 displays a grid in the vicinity of the target RGB value. The CMYK values after color conversion may be calculated by extrapolation with a tetrahedron configured by points.

MFP20は、色変換テーブル生成装置10の機能を備えても良い。   The MFP 20 may have the function of the color conversion table generation device 10.

なお、MFP20は、色変換テーブル生成装置10の機能を備える場合、立方格子点色変換テーブル27aに含まれる立方格子点群の格子数を、色の変換の対象の画像に基づいて、または、操作部21または通信部26を介して入力された指示に応じて変更しても良い。例えば、MFP20は、立方格子点色変換テーブル27aに含まれる立方格子点群の格子数を0にしても良い。   When the MFP 20 has the function of the color conversion table generation device 10, the number of grids of the cubic grid point group included in the cubic grid point color conversion table 27a may be manipulated based on the image of the color conversion target or It may be changed according to the instruction input via the unit 21 or the communication unit 26. For example, the MFP 20 may set the number of cubic lattice point groups included in the cubic lattice point color conversion table 27a to zero.

また、MFP20は、色変換テーブル生成装置10の機能を備える場合、自然画像用追加テーブル27bおよび非自然画像用追加テーブル27cのそれぞれに含まれる、グレー軸上格子点、最大彩度の線分上の格子点、スカイライン上の格子点、ボトムライン上の格子点、最外殻面上格子点、および、色域内部格子点のそれぞれの数を、色の変換の対象の画像に基づいて、または、操作部21または通信部26を介して入力された指示に応じて変更しても良い。   Further, when the MFP 20 has the function of the color conversion table generation device 10, the grid point on gray axis and the line segment of maximum saturation included in each of the natural image addition table 27b and the non-natural image addition table 27c. The number of grid points on the skyline, grid points on the skyline, grid points on the bottom line, grid points on the outermost shell, and color gamut internal grid points, based on the image of the color conversion target, or It may be changed according to the instruction input via the operation unit 21 or the communication unit 26.

色変換テーブル生成装置10は、本実施の形態において準乱数としてvan der Corput列を使用して格子点を生成するが、van der Corput列以外の準乱数を使用して格子点を生成しても良いし、疑似乱数を使用して格子点を生成しても良い。   The color conversion table generation device 10 generates grid points using van der Corput sequences as quasi-random numbers in the present embodiment, but may generate grid points using quasi-random numbers other than van der Corput sequences. You may use pseudo-random numbers to generate grid points.

色変換テーブル生成装置10によって生成された色変換テーブルを使用する画像形成装置は、本実施の形態においてMFPであるが、プリンター専用機など、MFP以外の画像形成装置であっても良い。   The image forming apparatus using the color conversion table generated by the color conversion table generation apparatus 10 is an MFP in the present embodiment, but may be an image forming apparatus other than an MFP, such as a printer dedicated machine.

20 MFP(コンピューター、色変換装置)
27a 立方格子点色変換テーブル
27b 自然画像用追加テーブル
27c 非自然画像用追加テーブル
27d 色変換プログラム
28a 色変換手段
28b 色変換テーブル生成手段
20 MFP (computer, color converter)
27a cubic grid point color conversion table 27b additional table for natural image 27c additional table for non-natural image 27d color conversion program 28a color conversion means 28b color conversion table generation means

Claims (5)

色を変換するための色変換テーブルを生成する色変換テーブル生成ステップと、
前記色変換テーブル生成ステップによって生成された前記色変換テーブルを使用して色を変換する色変換ステップと
を備え、
前記色変換テーブル生成ステップは、
立方格子点の特定の群としての特定立方格子点群のみで前記色変換テーブルを生成することと、
立方格子点の群ではない非立方格子点群を前記特定立方格子点群に追加して前記色変換テーブルを生成することと
を切り換え可能なステップであることを特徴とする色変換方法。
A color conversion table generation step of generating a color conversion table for color conversion;
A color conversion step of converting a color using the color conversion table generated by the color conversion table generation step;
The color conversion table generation step
Generating the color conversion table only with a specific cubic lattice point group as a specific group of cubic lattice points;
2. A color conversion method comprising the steps of: adding a non-cubic lattice point group which is not a cubic lattice point group to the specific cubic lattice point group to generate the color conversion table.
前記色変換テーブル生成ステップは、
自然画像用の格子点群と、
非自然画像用の格子点群と
を前記非立方格子点群として切り換え可能なステップであることを特徴とする請求項1に記載の色変換方法。
The color conversion table generation step
Grid points for natural images,
The color conversion method according to claim 1, characterized in that the step is switchable as the non-cubic grid point group with a non-natural image grid point group.
前記色変換テーブル生成ステップは、
前記自然画像用の格子点群と、
前記非自然画像用の格子点群と
を、前記色変換ステップによる色の変換の対象の画像に基づいて、前記非立方格子点群として切り換え可能なステップであることを特徴とする請求項2に記載の色変換方法。
The color conversion table generation step
A grid point group for the natural image;
The grid point group for non-natural images is a step that can be switched as the non-cubic grid point group based on an image of a target of color conversion in the color conversion step. Description method of color conversion.
色を変換するための色変換テーブルを生成する色変換テーブル生成手段と、
前記色変換テーブル生成手段によって生成された前記色変換テーブルを使用して色を変換する色変換手段と
をコンピューターに実現させ、
前記色変換テーブル生成手段は、
立方格子点の特定の群としての特定立方格子点群のみで前記色変換テーブルを生成することと、
立方格子点の群ではない非立方格子点群を前記特定立方格子点群に追加して前記色変換テーブルを生成することと
を切り換え可能であることを特徴とする色変換プログラム。
Color conversion table generation means for generating a color conversion table for converting colors;
Causing a computer to realize color conversion means for converting colors using the color conversion table generated by the color conversion table generation means;
The color conversion table generation unit
Generating the color conversion table only with a specific cubic lattice point group as a specific group of cubic lattice points;
A color conversion program characterized by being switchable from adding a non-cubic lattice point group which is not a cubic lattice point group to the specific cubic lattice point group to generate the color conversion table.
色を変換するための色変換テーブルを生成する色変換テーブル生成手段と、
前記色変換テーブル生成手段によって生成された前記色変換テーブルを使用して色を変換する色変換手段と
を備え、
前記色変換テーブル生成手段は、
立方格子点の特定の群としての特定立方格子点群のみで前記色変換テーブルを生成することと、
立方格子点の群ではない非立方格子点群を前記特定立方格子点群に追加して前記色変換テーブルを生成することと
を切り換え可能であることを特徴とする色変換装置。
Color conversion table generation means for generating a color conversion table for converting colors;
Color conversion means for converting a color using the color conversion table generated by the color conversion table generation means;
The color conversion table generation unit
Generating the color conversion table only with a specific cubic lattice point group as a specific group of cubic lattice points;
A color conversion apparatus characterized by being switchable between generating a color conversion table by adding a non-cubic lattice point group which is not a cubic lattice point group to the specific cubic lattice point group.
JP2017252712A 2017-12-27 2017-12-27 Color conversion method, color conversion program, and color conversion device Pending JP2019118089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017252712A JP2019118089A (en) 2017-12-27 2017-12-27 Color conversion method, color conversion program, and color conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017252712A JP2019118089A (en) 2017-12-27 2017-12-27 Color conversion method, color conversion program, and color conversion device

Publications (1)

Publication Number Publication Date
JP2019118089A true JP2019118089A (en) 2019-07-18

Family

ID=67305463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017252712A Pending JP2019118089A (en) 2017-12-27 2017-12-27 Color conversion method, color conversion program, and color conversion device

Country Status (1)

Country Link
JP (1) JP2019118089A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114202590A (en) * 2022-02-17 2022-03-18 北京中科慧眼科技有限公司 Color calibration method and system based on calibration model, intelligent terminal and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114202590A (en) * 2022-02-17 2022-03-18 北京中科慧眼科技有限公司 Color calibration method and system based on calibration model, intelligent terminal and medium
CN114202590B (en) * 2022-02-17 2022-05-17 北京中科慧眼科技有限公司 Color calibration method and system based on calibration model, intelligent terminal and medium

Similar Documents

Publication Publication Date Title
US20060238543A1 (en) Color information processing apparatus and method
US8654118B2 (en) Color-information processing method, and program
JP2012049823A (en) Gamut shape prediction method, gamut shape prediction program, and printing apparatus loaded with color conversion table created with the use of gamut predicted by the gamut shape prediction method
CN107211073A (en) Colour print look-up table
JP2003110864A (en) Method and device for processing color image
US8451521B2 (en) Finding a locus of colorant formulations that produces a desired color
JP2015231198A (en) Profile creation method, profile creation program, and recording medium
JP2003125210A (en) Color processing method, storage medium, color processor color converter, and image forming device
JP2019118089A (en) Color conversion method, color conversion program, and color conversion device
US20050275857A1 (en) Color conversion definition creation method, color conversion definition creation apparatus and color conversion definition creation program storage medium
JP2019118088A (en) Lattice point group generation method, lattice point group generation program, and lattice point group generation device
JP6354706B2 (en) Lattice point group generation method, lattice point group generation program, and lattice point group generation device
KR100280819B1 (en) Color Device Color Reproduction Area Meter and Color Reproduction Limit Area Extraction Method
JP6734566B2 (en) Lattice point group generation method, lattice point group generation program, and lattice point group generation device
JP6734565B2 (en) Lattice point group generation method, lattice point group generation program, and lattice point group generation device
JP4788486B2 (en) Color gamut outline creation device and color gamut outline creation program
JP6354707B2 (en) Lattice point group generation method, lattice point group generation program, and lattice point group generation device
JP2008312119A (en) Method of estimating colorimetric value related to color patch, method of preparing device profile using the same and image processor
JP2008271233A (en) Image processing unit, program and method
JP6740729B2 (en) Data conversion device, data conversion method, and data conversion program
JP2009071715A (en) Color gamut generating method, color gamut generating device, program, and storage medium
US10091397B2 (en) System including image forming apparatus and lattice point group generating device that generates group of pre-color conversion lattice points to be contained in color conversion table used for conversion of colors in RGB color space to colors in CMYK color space in the image forming apparatus
JP6825353B2 (en) Color conversion profile generation method, color conversion profile generation device, and color conversion profile generation program
JP5966661B2 (en) Black definition file generation device, device link profile generation device, black definition file generation method, black definition file generation program
JP5777322B2 (en) Color processing apparatus and color processing method