[go: up one dir, main page]

JP2017220894A - Data conversion device, data conversion method and data conversion program - Google Patents

Data conversion device, data conversion method and data conversion program Download PDF

Info

Publication number
JP2017220894A
JP2017220894A JP2016116336A JP2016116336A JP2017220894A JP 2017220894 A JP2017220894 A JP 2017220894A JP 2016116336 A JP2016116336 A JP 2016116336A JP 2016116336 A JP2016116336 A JP 2016116336A JP 2017220894 A JP2017220894 A JP 2017220894A
Authority
JP
Japan
Prior art keywords
color
information
color information
space
color space
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.)
Granted
Application number
JP2016116336A
Other languages
Japanese (ja)
Other versions
JP6740729B2 (en
Inventor
知里 舟山
Chisato Funayama
知里 舟山
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2016116336A priority Critical patent/JP6740729B2/en
Publication of JP2017220894A publication Critical patent/JP2017220894A/en
Application granted granted Critical
Publication of JP6740729B2 publication Critical patent/JP6740729B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data conversion device which implements data conversion reflected with gray balance when performing color conversion of color information represented in a first color space into color information in a second color space.SOLUTION: A data conversion device comprises: a reference color setting part which inputs a first array associating color information in a first color space with color information in a second color space, sets multiple pieces of color information including achromatic colors in the color information of the first array as reference colors and inputs color information in any other input color than the reference colors; a basic color space generation part for generating a basic color space represented by fixing the reference colors that are set by the reference color setting part, to grid points; an interpolation processing part for interpolating the color information in the input color by using the color information in the reference colors disposed at the grid points of the basic color space that is generated by the basic color space generation part; and an array generation part for generating a second array associating the color information in the first color space and the color information in the second color space while including the color information in the input color that is interpolated by the interpolation processing part.SELECTED DRAWING: Figure 1

Description

本発明は、画像データを変換するデータ変換装置、データ変換方法およびデータ変換プログラムに関する。特に、本発明は、異なる色空間で表現されたカラー画像データを変換するデータ変換装置、データ変換方法およびデータ変換プログラムに関する。   The present invention relates to a data conversion apparatus, a data conversion method, and a data conversion program for converting image data. In particular, the present invention relates to a data conversion apparatus, a data conversion method, and a data conversion program for converting color image data expressed in different color spaces.

ディスプレイやプリンタ等の画像機器は、画像を構成する各画素の色を特定の色成分で階調表現した画像データを使用する。画像データに用いられる色を規定するためには、例えば、RGB色空間やCMYK色空間などの色空間が用いられる(R:Red、G:Green、B:Blue、C:Cyan、M:Magenta、Y:Yellow、K:Black)。   An image device such as a display or a printer uses image data in which the color of each pixel constituting an image is expressed by gradation with a specific color component. In order to define the color used for the image data, for example, a color space such as an RGB color space or a CMYK color space is used (R: Red, G: Green, B: Blue, C: Cyan, M: Magenta, Y: Yellow, K: Black).

一般に、画像データに用いられる色は機器に依存するので、異なる機器間で同じ画像を同じ色で出力するためには、機器間で色をマッチングさせるために色変換をする必要がある。例えば、デジタルカメラなどの撮像機器によって撮影された写真の色はRGB色空間で表現され、データはRGB値で記述される。一方、写真を印刷する印刷機器は、CMYK色空間で表現される色を用いる。そのため、撮像機器と印刷機器との間で同じ色を表現する際には、RGB色空間とCMYK色空間との間で色変換する必要がある。このように、使用する色空間が異なる機器間で色をマッチングさせる際には、色の対応関係を規定したルックアップテーブル(LUT:Lookup Table)を用いる。   In general, since the color used for the image data depends on the device, in order to output the same image with the same color between different devices, it is necessary to perform color conversion in order to match the colors between the devices. For example, the color of a photograph taken by an imaging device such as a digital camera is expressed in an RGB color space, and the data is described in RGB values. On the other hand, a printing device that prints a photograph uses colors expressed in the CMYK color space. Therefore, when the same color is expressed between the imaging device and the printing device, it is necessary to perform color conversion between the RGB color space and the CMYK color space. Thus, when colors are matched between devices using different color spaces, a look-up table (LUT: Lookup Table) that defines color correspondence is used.

各画像機器で出力可能な全ての色の対応関係をLUTで規定することは、装置の記憶容量やLUT作成時の作業量の関係で非現実的である。そのため、特定数の代表色の対応関係をLUTで規定しておき、代表色以外の色の対応関係は補間演算によって算出することが一般的である。すなわち、一般的な色変換においては、表現可能な全ての色について測色を行うわけではなく、測色可能な範囲の色を画像機器から出力して測色を行い、特定数の代表色についてLUTを規定する。   It is impractical to define the correspondence relationship of all colors that can be output by each image device using the LUT because of the relationship between the storage capacity of the apparatus and the amount of work when creating the LUT. For this reason, it is general that the correspondence relationship between a specific number of representative colors is defined by an LUT, and the correspondence relationship between colors other than the representative colors is calculated by interpolation. In other words, in general color conversion, color measurement is not performed for all colors that can be expressed, and color measurement is performed by outputting a color within the colorimetric range from an image device, and for a specific number of representative colors. Define the LUT.

LUTを作成するためには、膨大な時間が掛かるだけではなく、色分解について高度な専門知識が必要である。そのため、LUTを作成する際には、有識者が色の再現性を考慮し、インキの色特性やドットゲインの値を個別に指定するなど、色の再現性を高める調整を行う必要がある。このような背景を踏まえ、LUTの作成を容易にするとともに、高度な専門知識がなくても色再現性のよい色変換を実現することが求められている。   In order to create an LUT, not only does it take an enormous amount of time, but it also requires advanced expertise in color separation. For this reason, when creating an LUT, it is necessary for an expert to take into account color reproducibility and make adjustments to improve color reproducibility, such as individually specifying ink color characteristics and dot gain values. In light of such a background, it is required to facilitate the creation of an LUT and to realize color conversion with good color reproducibility without a high level of expertise.

特許文献1には、LUTの作成を容易にするプロファイル作成方法について開示されている。特許文献1の方法では、複数のインク量についてそのインク量で出力した場合の色彩値を取得する。そして、所定の色空間内での複数の格子点に対応付けられる色彩値を取得し、取得した色彩値を介して複数の格子点とインク量とを対応付けた初期LUTを作成する。   Patent Document 1 discloses a profile creation method that facilitates creation of an LUT. In the method of Patent Document 1, color values are obtained when a plurality of ink amounts are output at the ink amount. Then, color values associated with a plurality of grid points in a predetermined color space are acquired, and an initial LUT in which the plurality of grid points are associated with the ink amount via the acquired color values is created.

特開2007−43488号公報JP 2007-43488 A

特許文献1の方法によれば、所定の色空間内での複数の格子点とインク量とを対応付けた初期LUTを作成することにより、高度な専門知識がなくてもLUTを容易に作成できる。しかし、特許文献1の方法は、実運用面における色評価指標として重要なグレイバランスを考慮していないため、色分解の処理過程でグレイバランスが崩れ、グレイの赤かぶりや青かぶりが発生するという課題があった。   According to the method of Patent Document 1, by creating an initial LUT in which a plurality of grid points in a predetermined color space are associated with ink amounts, it is possible to easily create an LUT without a high level of expertise. . However, since the method of Patent Document 1 does not consider gray balance that is important as a color evaluation index in actual operation, gray balance is lost in the process of color separation, and gray red or blue fog occurs. There was a problem.

本発明は、上述した課題を解決するために、第1の色空間で表現された色情報を第2の色空間に色変換する際に、グレイバランスを反映した色変換を実現するデータ変換装置を提供することを目的とする。   In order to solve the above-described problem, the present invention provides a data conversion device that realizes color conversion reflecting gray balance when color information expressed in a first color space is converted into a second color space. The purpose is to provide.

本発明の一態様のデータ変換装置は、第1の色空間と第2の色空間の色情報とを関連付ける第1の配列を入力し、第1の配列の色情報のうち無彩色を含む複数の色情報を基準色に設定するとともに、基準色以外の入力色の色情報を入力する基準色設定部と、基準色設定部によって設定された基準色を格子点に固定して表現する基本色空間を生成する基本色空間生成部と、基本色空間生成部によって生成された基本色空間の格子点に配置された基準色の色情報を用いて、入力色の色情報を補間する補間処理部と、補間処理部によって補間された入力色の色情報を含めて、第1の色空間と第2の色空間の色情報を関連付けた第2の配列を生成する配列生成部とを備える。   The data conversion device of one embodiment of the present invention receives a first array that associates color information of a first color space and a second color space, and includes a plurality of achromatic colors included in the color information of the first array. The reference color setting unit that inputs color information of the input color other than the reference color and the basic color that is expressed by fixing the reference color set by the reference color setting unit to the grid points A basic color space generation unit that generates a space, and an interpolation processing unit that interpolates color information of an input color using color information of a reference color arranged at a grid point of the basic color space generated by the basic color space generation unit And an array generation unit that generates a second array that associates the color information of the first color space and the second color space, including the color information of the input color interpolated by the interpolation processing unit.

本発明の一態様のデータ変換方法においては、第1の色空間と第2の色空間の色情報を関連付ける第1の配列を入力し、第1の配列の色情報のうち無彩色を含む複数の色情報を基準色に設定し、基準色を格子点に固定して表現する基本色空間を生成し、基準色以外の入力色の色情報を入力し、基本色空間の格子点に配置された基準色の色情報を用いて、入力色の色情報を補間し、補間された入力色の色情報を含めて、第1の色空間と第2の色空間の色情報を関連付けた第2の配列を生成する。   In the data conversion method of one aspect of the present invention, a first array that associates color information of the first color space and the second color space is input, and a plurality of achromatic colors are included among the color information of the first array. The basic color space is generated by setting the color information of the reference color as the reference color, and the reference color is fixed to the grid point, and the color information of the input color other than the reference color is input and placed at the grid point of the basic color space. The second color color information of the first color space and the second color space are associated with each other by interpolating the color information of the input color using the color information of the reference color and including the color information of the interpolated input color. Generate an array of

本発明の一態様のデータ変換プログラムは、第1の色空間と第2の色空間の色情報を関連付ける第1の配列を入力する処理と、第1の配列の色情報のうち無彩色を含む複数の色情報を基準色に設定する処理と、基準色を格子点に固定して表現する基本色空間を生成する処理と、基準色以外の入力色の色情報を入力する処理と、基本色空間の格子点に配置された基準色の色情報を用いて、入力色の色情報を補間する処理と、補間された入力色の色情報を含めて、第1の色空間と第2の色空間の色情報を関連付けた第2の配列を生成する処理とをコンピュータに実行させる。   A data conversion program according to one embodiment of the present invention includes a process of inputting a first array that associates color information of a first color space and a second color space, and an achromatic color among the color information of the first array. Processing to set multiple color information as a reference color, processing to generate a basic color space that expresses a reference color fixed to a grid point, processing to input color information of an input color other than the reference color, and basic color The first color space and the second color, including the process of interpolating the color information of the input color using the color information of the reference color arranged at the grid points of the space, and the color information of the interpolated input color And causing the computer to execute a process of generating the second array in which the color information of the space is associated.

本発明によれば、第1の色空間で表現された色情報を第2の色空間に色変換する際に、グレイバランスを反映した色変換を実現するデータ変換装置を提供できる。   According to the present invention, it is possible to provide a data conversion device that realizes color conversion reflecting gray balance when color information expressed in the first color space is converted into the second color space.

本発明の第1の実施形態に係る色変換装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a color conversion apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態に係る色変換装置に入力される色情報の一例である。It is an example of the color information input into the color conversion apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る色変換装置が生成する基本色空間の概念図である。It is a conceptual diagram of the basic color space which the color conversion apparatus concerning the 1st Embodiment of this invention produces | generates. 本発明の第1の実施形態に係る色変換装置が出力するLUT(Lookup Table)の一例である。It is an example of LUT (Lookup Table) which the color converter which concerns on the 1st Embodiment of this invention outputs. 一般的な色空間の一例を示す概念図である。It is a conceptual diagram which shows an example of a general color space. 本発明の第1の実施形態に係る色変換装置によって生成される基本色空間から立体を取り出すことを示す概念図である。It is a conceptual diagram which shows taking out a solid | solid from the basic color space produced | generated by the color conversion apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る色変換装置によって生成される基本色空間から取り出す立体の概念図である。FIG. 3 is a conceptual diagram of a solid taken out from a basic color space generated by the color conversion device according to the first embodiment of the present invention. 本発明の第1の実施形態に係る色変換装置によって生成される基本色空間から取り出す立体の概念図である。FIG. 3 is a conceptual diagram of a solid taken out from a basic color space generated by the color conversion device according to the first embodiment of the present invention. 本発明の第1の実施形態に係る色変換装置によって生成される基本色空間から取り出す立体の概念図である。FIG. 3 is a conceptual diagram of a solid taken out from a basic color space generated by the color conversion device according to the first embodiment of the present invention. 本発明の第1の実施形態に係る色変換装置の動作を説明するためのフローチャートである。5 is a flowchart for explaining the operation of the color conversion apparatus according to the first embodiment of the present invention. 本発明の第2の実施形態に係る色変換装置の構成を示すブロック図である。It is a block diagram which shows the structure of the color converter which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る色変換装置に入力される入力色情報の一例である。It is an example of the input color information input into the color converter which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る色変換装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the color conversion apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施形態に係る色変換装置の構成を示すブロック図である。It is a block diagram which shows the structure of the color conversion apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る色変換装置のユーザインターフェースの一例を示す概念図である。It is a conceptual diagram which shows an example of the user interface of the color conversion apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る色変換装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the color conversion apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施形態に係る色変換装置の構成を示すブロック図である。It is a block diagram which shows the structure of the color converter which concerns on the 4th Embodiment of this invention. 本発明の各実施形態に係る色変換装置を実行するためのハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of the hardware constitutions for performing the color conversion device concerning each embodiment of the present invention.

以下に、本発明を実施するための形態について図面を用いて説明する。ただし、以下に述べる実施形態には、本発明を実施するために技術的に好ましい限定がされているが、発明の範囲を以下に限定するものではない。なお、以下の実施形態の説明に用いる全図においては、特に理由がない限り、同様箇所には同一符号を付す。また、以下の実施形態において、同様の構成・動作に関しては繰り返しの説明を省略する場合がある。   EMBODIMENT OF THE INVENTION Below, the form for implementing this invention is demonstrated using drawing. However, the preferred embodiments described below are technically preferable for carrying out the present invention, but the scope of the invention is not limited to the following. In addition, in all the drawings used for description of the following embodiments, the same reference numerals are given to the same parts unless there is a particular reason. In the following embodiments, repeated description of similar configurations and operations may be omitted.

(第1の実施形態)
〔構成〕
まず、本発明の第1の実施形態に係るデータ変換装置の構成について図面を参照しながら説明する。本実施形態に係るデータ変換装置は、入力色空間(第1の色空間ともよぶ)で表現された色情報を出力色空間(第2の色空間ともよぶ)にマッピングする際に、グレイバランスを反映した色変換を実現するためのLUT(Lookup Table)を生成する。本実施形態で生成するLUTは、異なる機器間において色情報を対応付ける配列である。
(First embodiment)
〔Constitution〕
First, the configuration of the data conversion apparatus according to the first embodiment of the present invention will be described with reference to the drawings. The data conversion apparatus according to the present embodiment performs gray balance when mapping color information expressed in an input color space (also referred to as a first color space) to an output color space (also referred to as a second color space). An LUT (Lookup Table) for realizing the reflected color conversion is generated. The LUT generated in this embodiment is an array that associates color information between different devices.

以下においては、RGB色空間とCMYK色空間とを対応付けた色情報を有する入力色を色変換する例について説明する(R:Red、G:Green、B:Blue、C:Cyan、M:Magenta、Y:Yellow、K:Black)。RGB色空間は、赤R、緑Gおよび青Bの3色の色情報を用いて加法混合で色表現する色空間である。CMYK色空間は、シアンC、マゼンタM、黄Yおよび黒Kの4色の色情報を用いて減法混合で色表現する色空間である。なお、本実施形態の手法は、RGB色空間とCMYK色空間とを対応付けた色情報を有する入力色の色変換に限らず、任意の色空間に属する色情報を有する入力色の色変換に適用できる。   In the following, an example of color conversion of an input color having color information in which an RGB color space and a CMYK color space are associated will be described (R: Red, G: Green, B: Blue, C: Cyan, M: Magenta). Y: Yellow, K: Black). The RGB color space is a color space that expresses colors by additive mixing using the color information of the three colors of red R, green G, and blue B. The CMYK color space is a color space that expresses colors by subtractive mixing using color information of four colors of cyan C, magenta M, yellow Y, and black K. Note that the method of the present embodiment is not limited to color conversion of input colors having color information in which the RGB color space and the CMYK color space are associated with each other, but to color conversion of input colors having color information belonging to an arbitrary color space. Applicable.

図1は、本実施形態に係るデータ変換装置である色変換装置10の構成を示すブロック図である。色変換装置10は、基準色設定部11、基本色空間生成部12、補間処理部13、処理結果記憶部14およびLUT生成部15を備える。   FIG. 1 is a block diagram illustrating a configuration of a color conversion apparatus 10 that is a data conversion apparatus according to the present embodiment. The color conversion apparatus 10 includes a reference color setting unit 11, a basic color space generation unit 12, an interpolation processing unit 13, a processing result storage unit 14, and an LUT generation unit 15.

基準色設定部11は、任意の色空間に属する色情報を入力データとして取得する。基準色設定部11は、入力データに含まれる所定色の色情報を、基本色空間生成部12が生成する基本色空間の格子点に配置する。すなわち、基準色設定部11は、取得した所定色の色情報を基本色空間の格子点に配置して基本色空間生成部12に出力する。   The reference color setting unit 11 acquires color information belonging to an arbitrary color space as input data. The reference color setting unit 11 arranges the color information of a predetermined color included in the input data at the lattice points of the basic color space generated by the basic color space generation unit 12. That is, the reference color setting unit 11 arranges the acquired color information of the predetermined color at the lattice points of the basic color space and outputs the information to the basic color space generation unit 12.

ここで、基準色設定部11に入力される色情報について説明する。図2は、基準色設定部11に入力される色情報の一例である。なお、図2の色情報は一例であって、本発明の範囲を限定するものではない。   Here, the color information input to the reference color setting unit 11 will be described. FIG. 2 is an example of color information input to the reference color setting unit 11. Note that the color information in FIG. 2 is an example, and does not limit the scope of the present invention.

図2の例において、基準色設定部11に入力される色情報は、色域の最外郭(1〜24)と、無彩色の階調を示す明度軸上(25〜29)とに存在する複数の色情報を関連付けて記録する情報群である。基準色設定部11に入力される色情報のうち、基準色に設定される色情報の集合であるデータセットのことを基本データセット100(第1の配列ともよぶ)とよぶ。すなわち、基準色設定部11には、基本データセット100に含まれる色情報と、基本データセット100に含まれない色情報(その他の色情報とも呼ぶ)とが入力される。基本データセット100とその他の色情報は、同時に入力されてもよいし、別々に入力されてもよい。なお、図2の基本データセット100の左端に示す数字は、各色を区別するために付与した数値であり、基本データセット100に含まれる必要はない。   In the example of FIG. 2, the color information input to the reference color setting unit 11 exists on the outermost contour (1 to 24) of the color gamut and on the lightness axis (25 to 29) indicating the gradation of the achromatic color. This is an information group for recording a plurality of color information in association with each other. Of the color information input to the reference color setting unit 11, a data set that is a set of color information set to the reference color is referred to as a basic data set 100 (also referred to as a first array). That is, color information included in the basic data set 100 and color information not included in the basic data set 100 (also referred to as other color information) are input to the reference color setting unit 11. The basic data set 100 and other color information may be input simultaneously, or may be input separately. Note that the numbers shown at the left end of the basic data set 100 in FIG. 2 are numerical values assigned to distinguish the colors, and need not be included in the basic data set 100.

図3は、本実施形態の色変換装置10が生成する基本色空間120の概念図である。基本データセット100は、色変換の基となる色相H(Hue)・彩度S(Saturation)・明度V(Value)の属性からなる基本色空間120を構成する格子点に格納されるデータをまとめたものである。なお、図3の基本色空間120の詳細については、後程説明する。   FIG. 3 is a conceptual diagram of the basic color space 120 generated by the color conversion apparatus 10 of the present embodiment. The basic data set 100 summarizes data stored in grid points that constitute a basic color space 120 including attributes of hue H (Hue), saturation S (Saturation), and lightness V (Value) that are the basis of color conversion. It is a thing. Details of the basic color space 120 in FIG. 3 will be described later.

基本色空間生成部12は、基準色設定部11から入力される基本データセット100を用いて、図3の基本色空間120を生成する。基本色空間生成部12は、色相H・彩度S・明度Vの属性からなる色空間を生成し、基準色設定部11から入力された基本データセットの色情報を色相H・彩度S・明度Vの属性に変換する。そして、基本色空間生成部12は、生成した色空間に各変換値をマッピングし、各要素を格子点とする基本色空間120を生成する。基本色空間120の格子点は固定点であるため、色相H・彩度S・明度Vの属性に変換された色情報は固定値となる。   The basic color space generation unit 12 generates the basic color space 120 in FIG. 3 using the basic data set 100 input from the reference color setting unit 11. The basic color space generation unit 12 generates a color space having attributes of hue H, saturation S, and brightness V, and the color information of the basic data set input from the reference color setting unit 11 is used as hue H, saturation S, It is converted into an attribute of brightness V. Then, the basic color space generation unit 12 maps each conversion value to the generated color space, and generates a basic color space 120 having each element as a grid point. Since the lattice points of the basic color space 120 are fixed points, the color information converted into the attributes of hue H, saturation S, and brightness V has fixed values.

補間処理部13は、基本色空間生成部12を経由して、基準色設定部11から色情報(入力色Xとよぶ)を入力する。補間処理部13は、基本色空間120内に格納されるその他の色(以下、入力色Xとよぶ)の周囲にある格子点の色情報(CMYK値)を読み出す。そして、補間処理部13は、読み出した格子点の色情報(CMYK値)から、入力色Xに対応する色情報(CMYK値)を算出する。補間処理部13は、算出した補間処理結果を処理結果記憶部14に出力する。なお、図7〜図9の例では、入力色Xが単色の場合について説明しているが、複数の入力色について、逐次的または並列的に色情報を変換するように構成してもよい。画像の色変換においては、複数色について色変換する方が一般的である。   The interpolation processing unit 13 inputs color information (referred to as input color X) from the reference color setting unit 11 via the basic color space generation unit 12. The interpolation processing unit 13 reads color information (CMYK values) of lattice points around other colors (hereinafter referred to as input color X) stored in the basic color space 120. Then, the interpolation processing unit 13 calculates color information (CMYK value) corresponding to the input color X from the read color information (CMYK value) of the grid points. The interpolation processing unit 13 outputs the calculated interpolation processing result to the processing result storage unit 14. In the example of FIGS. 7 to 9, the case where the input color X is a single color is described. However, the color information may be converted sequentially or in parallel for a plurality of input colors. In color conversion of an image, it is common to perform color conversion for a plurality of colors.

処理結果記憶部14は、補間処理部13から入手した補間処理後の色情報を記憶する。なお、補間処理部13が算出した補間処理結果をそのままLUT生成部15に出力するように構成してもよい。   The processing result storage unit 14 stores color information after interpolation processing obtained from the interpolation processing unit 13. The interpolation processing result calculated by the interpolation processing unit 13 may be output to the LUT generation unit 15 as it is.

LUT生成部15は、色変換処理された色情報を処理結果記憶部14から読み出す。LUT生成部15は、入力装置の色空間で表現された色を出力装置の色空間にマッピングするためのLUTの記述形式に色変換処理する。例えば、LUT生成部15は、RGB値で表現された色情報を、CMYK値で表現される色情報に色変換する。すなわち、LUT生成部15は、処理結果記憶部14から色変換処理後の色情報を読み出すと、読み出した情報を基にLUTデータを生成し、グレイバランスを反映したLUT(第2の配列ともよぶ)を出力する。   The LUT generation unit 15 reads the color information subjected to the color conversion process from the processing result storage unit 14. The LUT generation unit 15 performs color conversion processing into a LUT description format for mapping colors expressed in the color space of the input device to the color space of the output device. For example, the LUT generation unit 15 performs color conversion on color information expressed by RGB values into color information expressed by CMYK values. That is, when the LUT generation unit 15 reads the color information after the color conversion process from the processing result storage unit 14, the LUT generation unit 15 generates LUT data based on the read information, and an LUT reflecting the gray balance (also referred to as a second array). ) Is output.

図4は、LUT生成部15が出力するLUTの一例(LUT150)である。図4のLUT150は、図2の基本データセット100の色情報に、任意の入力色Xの色情報を加えたものである。図4のLUT150は、入力機器と出力機器との間で、グレイバランスを反映した色変換を実現するための配列となる。   FIG. 4 is an example of an LUT (LUT 150) output by the LUT generation unit 15. The LUT 150 of FIG. 4 is obtained by adding color information of an arbitrary input color X to the color information of the basic data set 100 of FIG. The LUT 150 in FIG. 4 is an array for realizing color conversion reflecting gray balance between the input device and the output device.

以上の例において、色変換装置10は、基本データセットを入力して基本色空間120を作成し、基本データセットに含まれない任意の入力色Xに関しては基本色空間120を用いて色変換し、グレイバランスを反映したLUTを出力する。色変換装置10は、既存のLUT(第1のLUT)を入力し、基本色空間120を用いて別のLUT(第2のLUT)に変換して出力することもできる。この場合、第1のLUTが第1の配列に対応し、第2のLUTが第2の配列に対応する。   In the above example, the color conversion apparatus 10 creates a basic color space 120 by inputting a basic data set, and performs color conversion using the basic color space 120 for any input color X not included in the basic data set. The LUT reflecting the gray balance is output. The color conversion apparatus 10 can also input an existing LUT (first LUT), convert it to another LUT (second LUT) using the basic color space 120, and output it. In this case, the first LUT corresponds to the first array, and the second LUT corresponds to the second array.

〔色変換処理〕
ここで、色変換装置10が行う色変換処理について図面を参照しながら説明する。図3、図5〜図9は、本実施形態の色変換処理について説明するための概念図である。
[Color conversion processing]
Here, a color conversion process performed by the color conversion apparatus 10 will be described with reference to the drawings. 3 and 5 to 9 are conceptual diagrams for explaining the color conversion processing according to the present embodiment.

図3に示す円柱と円錐とで構成される立体は、基本色空間生成部12が生成する基本色空間120の一例である。図3の立体(基本色空間120)は、色相H・彩度S・明度Vの属性からなる色空間を表す。   A solid composed of a cylinder and a cone illustrated in FIG. 3 is an example of the basic color space 120 generated by the basic color space generation unit 12. A solid (basic color space 120) in FIG. 3 represents a color space including attributes of hue H, saturation S, and brightness V.

基本色空間120において、色相Hは、基本色空間120を構成する円錐および円柱の回転軸(明度軸)に対して垂直に切断した際の断面(円)における円の中心角で表される。色相Hは、0以上360以下の範囲の数値で表される。図3において、色相Hは、赤が基準(0)に設定され、黄が60、緑が120、シアンが180、青が240、マゼンタが300に設定される。   In the basic color space 120, the hue H is represented by the center angle of a circle in a cross section (circle) when cut perpendicularly to the rotation axis (brightness axis) of the cone and cylinder forming the basic color space 120. Hue H is represented by a numerical value in the range of 0 to 360. In FIG. 3, the hue H is set to the reference (0) for red, 60 for yellow, 120 for green, 180 for cyan, 240 for blue, and 300 for magenta.

基本色空間120において、彩度Sは、基本色空間120を構成する円錐および円柱を回転軸(明度軸)に対して垂直な切断面(円)における円の中心(明度軸)からの距離で表される。彩度Sは、0以上100以下の範囲の数値で表される。図3において、彩度Sは、無彩色のとき0(円の中心)に設定され、純色のとき100(円の外周上)に設定される。   In the basic color space 120, the saturation S is the distance from the center of the circle (lightness axis) on the cut surface (circle) perpendicular to the rotation axis (lightness axis) of the cone and cylinder constituting the basic color space 120. expressed. The saturation S is represented by a numerical value in the range of 0 to 100. In FIG. 3, the saturation S is set to 0 (center of the circle) for an achromatic color, and set to 100 (on the outer circumference of the circle) for a pure color.

基本色空間120において、明度Vは、明度軸に設定される数値で表される。明度Vは、円錐の頂点を原点とし、0以上255以下の範囲の数値で表される。明度Vは、0のとき最も暗く、255のとき最も明るい。また、図3の基本色空間120は、明度Vが0〜64の範囲では円錐、明度Vが64〜255の範囲では円柱で表される。   In the basic color space 120, the lightness V is represented by a numerical value set on the lightness axis. The brightness V is represented by a numerical value in the range of 0 to 255 with the vertex of the cone as the origin. The lightness V is the darkest when 0 and the brightest when 255. Further, the basic color space 120 in FIG. 3 is represented by a cone when the brightness V is in the range of 0 to 64, and by a cylinder when the brightness V is in the range of 64 to 255.

基本色空間生成部12による基本色空間120の作成手順の一例は下記の通りである。まず、基本色空間生成部12は、無彩色の階調を示す明度軸上に無彩色の色情報をマッピングする。そして、基本色空間生成部12は、最も明度が大きい色情報が配置される格子点を頂点とし、その頂点を通過する明度軸を回転軸とする円錐の底面の円周上に位置する格子点に、明度軸上にマッピングされた無彩色の基準色と同じ明度である有彩色の基準色の色情報をマッピングする。さらに、基本色空間生成部12は、明度軸を回転軸とする円錐と底面を共有し、明度軸を回転軸とする円柱の最外郭上の格子点に、明度軸上にマッピングされた無彩色の基準色と同じ明度である有彩色の基準色の色情報をマッピングする。なお、基本色空間120の作成手順は、上記の順番でなくてもよい。また、色相H・彩度S・明度Vの数値範囲は、上述の数値範囲に限定されず、使用する色情報の設定条件に応じて任意に設定できる。   An example of a procedure for creating the basic color space 120 by the basic color space generation unit 12 is as follows. First, the basic color space generation unit 12 maps the color information of the achromatic color on the lightness axis indicating the gradation of the achromatic color. Then, the basic color space generation unit 12 has a lattice point on which the color information having the highest lightness is arranged as a vertex and a lattice point located on the circumference of the bottom surface of the cone with the lightness axis passing through the vertex as a rotation axis. The color information of the reference color of the chromatic color having the same brightness as the reference color of the achromatic color mapped on the lightness axis is mapped. Further, the basic color space generation unit 12 shares the cone and the bottom surface with the lightness axis as the rotation axis, and the achromatic color mapped on the lightness axis to the grid points on the outermost contour of the cylinder with the lightness axis as the rotation axis. The color information of the chromatic reference color having the same brightness as the reference color is mapped. Note that the procedure for creating the basic color space 120 may not be in the above order. Further, the numerical ranges of the hue H, the saturation S, and the brightness V are not limited to the above numerical ranges, and can be arbitrarily set according to the setting conditions of the color information to be used.

図3に示す基本色空間120の明度軸上および円柱の外周上の丸印は、色変換装置10に入力される色情報(基本データセット)を基本色空間120の格子点にマッピングしたものである。図3の基本色空間120にマッピングされた各色情報は、各格子点に固定された固定値として扱われる。   The circles on the lightness axis of the basic color space 120 and the outer circumference of the cylinder shown in FIG. 3 are obtained by mapping the color information (basic data set) input to the color conversion device 10 to the grid points of the basic color space 120. Each color information mapped in the basic color space 120 in FIG. 3 is treated as a fixed value fixed to each grid point.

図3においては、格子点1に赤、格子点2に黄、格子点3に緑、格子点4にシアン、格子点5に青、格子点6にマゼンタの色情報が配置される。そして、格子点7〜12には、格子点1〜6よりも一段階(255→192)明度Vが小さい色の色情報が配置される。同様に、格子点13〜18には格子点7〜12よりも一段階(192→128)明度Vが小さい色の色情報が配置され、格子点19〜24には格子点13〜18よりも一段階(128→64)明度Vが小さい色の色情報が配置される。   In FIG. 3, color information of red at grid point 1, yellow at grid point 2, green at grid point 3, cyan at grid point 4, blue at grid point 5, and magenta color information at grid point 6 is arranged. Then, color information of colors having a lightness V smaller than that of the grid points 1 to 6 by one step (255 → 192) is arranged at the grid points 7 to 12. Similarly, color information of a color whose brightness V is smaller by one level (192 → 128) than the lattice points 7 to 12 is arranged at the lattice points 13 to 18, and the lattice points 19 to 24 are more than the lattice points 13 to 18. Color information of a color with a small lightness V is arranged in one step (128 → 64).

また、図3においては、明度軸上に格子点25〜29が配置される。すなわち、格子点25に白、格子点26に薄い灰色、格子点27に灰色、格子点28に濃い灰色、格子点29に黒の色情報が配置される。すなわち、明度軸上には、最も明度Vが小さい無彩色の色情報が格子点25に配置され、最も明度Vが大きい無彩色の色情報が格子点29に配置される。そして、格子点25から格子点29に向けて徐々に明度Vが大きくなっていくように、格子点26〜28に無彩色(灰色)の色情報が配置される。   In FIG. 3, grid points 25 to 29 are arranged on the lightness axis. That is, white color information is arranged at the lattice point 25, light gray at the lattice point 26, gray at the lattice point 27, dark gray at the lattice point 28, and black information at the lattice point 29. That is, on the lightness axis, achromatic color information with the smallest lightness V is arranged at the lattice point 25, and achromatic color information with the largest lightness V is arranged at the lattice point 29. Then, achromatic (gray) color information is arranged at the lattice points 26 to 28 so that the brightness V gradually increases from the lattice point 25 toward the lattice point 29.

図5は、一般的なRGB色空間(以下、RGB色空間121と記載)の一例である。図5のRGB色空間121を構成する立方体に示す丸印に設定された色の色情報が、図3の基本色空間120の格子点に配置される。RGB色空間121のRGB値は、立方体の左下の頂点を原点0とし、0〜255の256階調で表現される。RGB色空間121の頂点には、赤R、緑G、青B、シアンC、マゼンタM、黄Y、白Wおよび黒Kの色情報が配置される。   FIG. 5 is an example of a general RGB color space (hereinafter referred to as RGB color space 121). The color information of the color set in the circles shown in the cube constituting the RGB color space 121 of FIG. 5 is arranged at the grid points of the basic color space 120 of FIG. The RGB values in the RGB color space 121 are expressed in 256 gradations from 0 to 255, with the origin at the bottom left vertex of the cube. Color information of red R, green G, blue B, cyan C, magenta M, yellow Y, white W, and black K is arranged at the vertex of the RGB color space 121.

図5のRGB色空間121の色情報と図3の基本色空間120の格子点とを対応させると、R(255、0、0)が格子点1、G(0、255、0)が格子点3、B(0、0、255)が格子点5に配置される。また、C(255、0、255)が格子点4、M(255、0、255)が格子点6、Y(255、255、0)が格子点2に配置される。また、W(255、255、255)が格子点25、K(0、0、0)が格子点29に配置される。なお、K(0、0、0)とW(255、255、255)とを結ぶ直線が、図5のRGB色空間における明度軸に対応する。   When the color information in the RGB color space 121 in FIG. 5 and the lattice points in the basic color space 120 in FIG. 3 are associated with each other, R (255, 0, 0) is lattice point 1, and G (0, 255, 0) is lattice. Points 3 and B (0, 0, 255) are arranged at the grid point 5. Further, C (255, 0, 255) is arranged at the lattice point 4, M (255, 0, 255) is arranged at the lattice point 6, and Y (255, 255, 0) is arranged at the lattice point 2. W (255, 255, 255) is arranged at the lattice point 25, and K (0, 0, 0) is arranged at the lattice point 29. A straight line connecting K (0, 0, 0) and W (255, 255, 255) corresponds to the brightness axis in the RGB color space of FIG.

図6は、基本色空間120の複数の格子点をグループ化し、グループ化された格子点で形成される立体によって基本色空間120を分割する例である。図6の例では、近接する4点または6点の格子点をグループ化した立体で基本色空間120を分割する。すなわち、基本色空間120は、明度Vが0〜64の範囲では4個の格子点を頂点とする立体131に分割され、明度Vが64〜255の範囲では6個の格子点を頂点とする立体132に分割される。   FIG. 6 is an example in which a plurality of grid points in the basic color space 120 are grouped and the basic color space 120 is divided by a solid formed by the grouped grid points. In the example of FIG. 6, the basic color space 120 is divided by a solid in which four or six adjacent lattice points are grouped. That is, the basic color space 120 is divided into solids 131 having four lattice points as vertices in the range of lightness V from 0 to 64, and six lattice points as vertices in the range of lightness V from 64 to 255. Divided into a solid 132.

補間処理部13は、色変換装置10に入力される色情報(入力色X)を色相H・彩度S・明度Vの値(HSV値ともよぶ)に変換する。そして、補間処理部13は、入力色Xの変換後のHSV値がどの立体に格納されるのかを探索する。補間処理部13は、探索された立体を構成する格子点(4個または6個)の色情報(CMYK値)から、入力色Xに対応する色情報(CMYK値)を補間処理によって算出する。   The interpolation processing unit 13 converts color information (input color X) input to the color conversion device 10 into values of hue H, saturation S, and brightness V (also referred to as HSV values). Then, the interpolation processing unit 13 searches in which solid the HSV value after conversion of the input color X is stored. The interpolation processing unit 13 calculates color information (CMYK value) corresponding to the input color X from the color information (CMYK value) of the lattice points (4 or 6) constituting the searched solid by interpolation processing.

補間処理部13は、入力色Xの明度Vが0〜64の範囲内の場合、4個の格子点を頂点とする立体131を探索する。補間処理部13は、入力色Xの明度Vが64〜255の範囲内の場合、6個の格子点を頂点とする立体132を探索する。なお、入力色Xの明度Vが64の場合、入力色Xは、立体131の上側の底面と、立体132の下側の底面との両方に位置することになる。そのため、入力色Xの明度Vが64の場合、補間処理部13は、立体131および立体132のいずれを探索してもよい。   When the lightness V of the input color X is in the range of 0 to 64, the interpolation processing unit 13 searches for a solid 131 having four lattice points as vertices. When the lightness V of the input color X is in the range of 64 to 255, the interpolation processing unit 13 searches for a solid 132 having six lattice points as vertices. When the lightness V of the input color X is 64, the input color X is located on both the upper bottom surface of the solid 131 and the lower bottom surface of the solid 132. Therefore, when the lightness V of the input color X is 64, the interpolation processing unit 13 may search for either the solid 131 or the solid 132.

図7は、立体131の格子点に配置される色情報(CMYK値)と、立体131に格納される入力色Xとの関係を示す。同様に、図8は、立体132の格子点に配置される色情報(CMYK値)と、立体132に格納される入力色Xとの関係を示す。なお、図7および図8の格子点Giには、CMYK値が(Ci、Mi、Yi、Ki)の色情報が配置される(i:整数)。 FIG. 7 shows the relationship between the color information (CMYK values) arranged at the lattice points of the solid 131 and the input color X stored in the solid 131. Similarly, FIG. 8 shows the relationship between color information (CMYK values) arranged at grid points of the solid 132 and the input color X stored in the solid 132. Note that the grid points G i of FIG. 7 and FIG. 8, CMYK values (C i, M i, Y i, K i) color information of is located (i: integer).

例えば、入力色Xが肌色の場合、入力色Xが持つ色情報はRGB値で(200、150、100)である。このとき、入力されるRGB値をHSV値に変換すると、HSV値は(30、127、200)になる。   For example, when the input color X is a skin color, the color information of the input color X is an RGB value (200, 150, 100). At this time, when the input RGB value is converted into an HSV value, the HSV value becomes (30, 127, 200).

このとき、入力色Xは、明度Vが200であるため、6個の格子点を頂点とする立体132の中に格納される(色相H:0〜60、彩度S:0〜100、明度V:192〜255)。入力色Xを格納する立体132の頂点は、明度Vが255の格子点1(赤)、格子点2(黄)および格子点7(白)、明度Vが192の格子点7(赤)、格子点8(黄)および格子点26(薄い灰色)である。   At this time, since the lightness V is 200, the input color X is stored in the solid 132 having six lattice points as vertices (hue H: 0 to 60, saturation S: 0 to 100, lightness). V: 192-255). The vertices of the solid 132 storing the input color X are lattice point 1 (red) having a lightness V of 255, lattice point 2 (yellow) and lattice point 7 (white), lattice point 7 (red) having a lightness V of 192, Grid point 8 (yellow) and grid point 26 (light gray).

各格子点の色情報は、色変換装置10に入力される色情報(データセット)のCMYK値に対応する。図2の基本データセットに対応させると、明度Vが255のとき、赤は(3、97、94、0)、黄は(0、2、97、0)、白は(0、0、0、0)の色情報を持つ。また、図2の基本データセットに対応させると、Vが192のとき、赤は(10、98、98、0)、黄は(17、15、96、0)、薄い灰色は(18、12、12、7)の色情報を持つ。補間処理部13は、これらの格子点の色情報を用いて補間処理を行うことによって入力色XのCMYK値を求める。なお、補間処理部13が行う補間処理には、一般的な補間処理を用いることができる。   The color information of each grid point corresponds to the CMYK value of the color information (data set) input to the color conversion device 10. In correspondence with the basic data set of FIG. 2, when the brightness V is 255, red is (3, 97, 94, 0), yellow is (0, 2, 97, 0), and white is (0, 0, 0). , 0) color information. 2, when V is 192, red is (10, 98, 98, 0), yellow is (17, 15, 96, 0), and light gray is (18, 12). , 12, 7). The interpolation processing unit 13 obtains a CMYK value of the input color X by performing an interpolation process using the color information of these grid points. Note that general interpolation processing can be used for the interpolation processing performed by the interpolation processing unit 13.

これまでは、基準色として設定された色情報の4点または6点から入力色XのCMYK値を求める方について述べたが、入力色XのCMYK値の求め方はこれに限らない。例えば、図9のように、彩度S方向に新たな格子点を追加し、追加された新たな格子点に配置された色情報(CMYK値)を用いて入力色XのCMKY値を求めてもよい。図9のように追加した格子点の色情報(CMYK値)は、基準色として配置された6点の色情報から推定する。   So far, the method of obtaining the CMYK value of the input color X from four or six points of the color information set as the reference color has been described, but the method of obtaining the CMYK value of the input color X is not limited to this. For example, as shown in FIG. 9, a new grid point is added in the saturation S direction, and the CMKY value of the input color X is obtained using the color information (CMYK value) arranged at the added new grid point. Also good. The color information (CMYK value) of the added grid point as shown in FIG. 9 is estimated from the color information of 6 points arranged as the reference color.

例えば、図9のように、格子点G1と格子点G3との間に追加する格子点G7のCMYK値は、格子点G7に隣接する格子点G1および格子点G3のCMYK値を用いて推定する。同様に、格子点G8のCMYK値は、格子点G2および格子点G3のCMYK値を用いて推定する。また、格子点G9のCMYK値は、格子点Gおよび格子点G6のCMYK値を用いて推定する。また、格子点G10のCMYK値は、格子点G5および格子点G6のCMYK値を用いて推定する。 For example, as shown in FIG. 9, CMYK values of the grid points G 7 to add between the grid points G 1 and the lattice point G 3 are, CMYK grid points G 1 and grid point G 3 adjacent to the grid point G 7 Estimate using the value. Similarly, the CMYK value of the lattice point G 8 is estimated using the CMYK values of the lattice point G 2 and the lattice point G 3 . Further, the CMYK value of the lattice point G 9 is estimated using the CMYK values of the lattice point G and the lattice point G 6 . In addition, the CMYK value of the lattice point G 10 is estimated using the CMYK values of the lattice point G 5 and the lattice point G 6 .

基準色設定部11は、追加された新たな色情報を新たな基準色に設定する。例えば、基本色空間生成部12は、基準色設定部11によって設定された新たな基準色の色情報を配置する格子点を基本色空間120に追加する。   The reference color setting unit 11 sets the added new color information as a new reference color. For example, the basic color space generation unit 12 adds to the basic color space 120 grid points for arranging color information of a new reference color set by the reference color setting unit 11.

図9の例では、8個の頂点(格子点G1、G2、G4、G5、G7、G8、G9およびG10)を持つ立体133の中に入力色Xが格納されている。図9の例の場合、補間処理部13が、探索された立体133を構成する8点が持つ色情報(CMYK値)から入力色Xに対応する色情報(CMYK値)を補間処理によって算出できる。なお、新たな格子点の追加については、図9の例に限定されない。 In the example of FIG. 9, the input color X is stored in the solid 133 having eight vertices (grid points G 1 , G 2 , G 4 , G 5 , G 7 , G 8 , G 9 and G 10 ). ing. In the case of the example in FIG. 9, the interpolation processing unit 13 can calculate color information (CMYK value) corresponding to the input color X from the color information (CMYK value) of the eight points constituting the searched solid 133 by interpolation processing. . Note that the addition of new grid points is not limited to the example of FIG.

以上が、本実施形態の色変換装置10の構成についての説明である。   The above is the description of the configuration of the color conversion apparatus 10 of the present embodiment.

〔動作〕
次に、本実施形態の色変換装置10によるLUT作成処理の動作について説明する。図10は、色変換装置10によるLUT作成処理の動作の一例を示すフローチャートである。なお、図10の説明においては、色変換装置10の構成要素を動作の主体として記述している。
[Operation]
Next, the operation of the LUT creation process by the color conversion apparatus 10 of the present embodiment will be described. FIG. 10 is a flowchart illustrating an example of the operation of the LUT creation process by the color conversion apparatus 10. In the description of FIG. 10, the components of the color conversion device 10 are described as the subject of the operation.

図10において、まず、基準色設定部11は、グレイバランスを含む色情報を読み込み、読み込んだ色情報を取得する(ステップS101)。例えば、基準色設定部11は、ユーザの操作に応じて出力される指示信号に応じたり、色情報の入力をきっかけとしたりして色情報を取得する。   In FIG. 10, first, the reference color setting unit 11 reads color information including gray balance, and acquires the read color information (step S101). For example, the reference color setting unit 11 acquires color information in response to an instruction signal output in response to a user operation or triggered by input of color information.

基準色設定部11は、取得した色情報を色相H・彩度S・明度Vの属性を持つ色空間にマッピングできるように変換する(ステップS102)。   The reference color setting unit 11 converts the acquired color information so that it can be mapped to a color space having attributes of hue H, saturation S, and brightness V (step S102).

ここで、基本色空間120が作成済みか否かによって異なる処理が実行される(ステップS103)。   Here, different processing is executed depending on whether or not the basic color space 120 has been created (step S103).

基本色空間120が作成済みではなかった場合(ステップS103でNo)、基準色設定部11は、変換した色情報が基本データセット100を含むか否かを判断する(ステップS104)。   When the basic color space 120 has not been created (No in step S103), the reference color setting unit 11 determines whether or not the converted color information includes the basic data set 100 (step S104).

入力された色情報が基本データセットを含むと判断した場合(ステップS104にてYes)、基準色設定部11は、基本データセットに含まれる色情報を基準色に設定する(ステップS105)。一方、入力された色情報が基本データセットを含まないと判断した場合(ステップS104でNo)、基準色設定部11は、ステップS101に戻って、さらに色情報を取得する。このとき、基本データセットを要求する信号を出力するように構成してもよい。   When it is determined that the input color information includes the basic data set (Yes in step S104), the reference color setting unit 11 sets the color information included in the basic data set as the reference color (step S105). On the other hand, when it is determined that the input color information does not include the basic data set (No in step S104), the reference color setting unit 11 returns to step S101 and further acquires color information. At this time, a signal requesting a basic data set may be output.

そして、基本色空間生成部12は、基準色設定部11によって設定された基準色を用いて、図3の基本色空間120を生成する(ステップS106)。このあと、ステップS101に戻り、さらに色情報を取得する。なお、基本色空間120を生成することを目的とし、ステップS106で処理を終了するように構成してもよい。   Then, the basic color space generation unit 12 generates the basic color space 120 of FIG. 3 using the reference color set by the reference color setting unit 11 (step S106). Thereafter, the process returns to step S101, and further color information is acquired. Note that the processing may be terminated in step S106 for the purpose of generating the basic color space 120.

ところで、ステップS103において基本色空間120が作成済みであった場合(ステップS103でYes)、補間処理部13は、入力された色情報が基本色空間120のどの立体に含まれるのかを探索する(ステップS107)。このとき、補間処理部13は、探索結果に隣接する複数の格子点の色情報(CMYK値)を取得する。   If the basic color space 120 has been created in step S103 (Yes in step S103), the interpolation processing unit 13 searches which solid in the basic color space 120 the input color information is included in (step S103). Step S107). At this time, the interpolation processing unit 13 acquires color information (CMYK values) of a plurality of grid points adjacent to the search result.

補間処理部13は、取得した格子点の色情報を用いて、入力された色情報のCMYK値を算出する(ステップS108)。このとき、補間処理部13によって保管された色情報は、処理結果記憶部14に記憶できる。   The interpolation processing unit 13 calculates the CMYK value of the input color information using the acquired color information of the grid points (step S108). At this time, the color information stored by the interpolation processing unit 13 can be stored in the processing result storage unit 14.

LUT生成部15は、ステップ108において色変換された色情報(CMYK)を用いてLUTを生成する(ステップS109)。このとき、色変換装置10は、作成したLUTを出力して処理を終了してもよいし、ステップS101に戻って色情報の取得を継続してもよい。   The LUT generation unit 15 generates an LUT using the color information (CMYK) color-converted in Step 108 (Step S109). At this time, the color conversion apparatus 10 may end the process by outputting the created LUT, or may return to step S101 and continue acquiring the color information.

以上が、本実施形態の色変換装置10の動作についての説明である。   The above is the description of the operation of the color conversion apparatus 10 of the present embodiment.

以上のように、本実施形態においては、無彩色(グレー)が基準色として固定された基本色空間を用いて色変換するため、グレイのグラデーションを表示したときに階調によって赤かぶりや青かぶりが発生することがない。すなわち、本実施形態によれば、グレイバランスが反映された色再現性の良い色変換を実現できる。そのため、本実施形態の手法によって無彩色のグラデーション画像を色変換しても、変換後の無彩色のグラデーション画像には赤や青などの色かぶりが発生しない。   As described above, in this embodiment, since color conversion is performed using the basic color space in which the achromatic color (gray) is fixed as the reference color, the red or blue fog is changed depending on the gradation when the gray gradation is displayed. Will not occur. That is, according to the present embodiment, color conversion with good color reproducibility reflecting the gray balance can be realized. Therefore, even if an achromatic color gradation image is color-converted by the method of the present embodiment, a color cast such as red or blue does not occur in the converted achromatic color gradation image.

一般的な色変換装置では、無彩色部分の色情報が色変換処理される際に、他の色の影響を受けて色相が変わり、無彩色領域において赤や青の色かぶりが発生する場合がある。一方、本実施形態によれば、上述したように、基本色空間に固定された無彩色(グレー)を用いて色変換するため、無彩色領域における色かぶりの発生を抑制できる。すなわち、本実施形態によれば、固定された格子点に無彩色を基準色として設定し、その格子点を基準点として入力色の色情報を変換するため、他の色の影響を受けずに無彩色の色情報を色変換できる。   In a general color conversion device, when the color information of the achromatic part is subjected to color conversion processing, the hue changes due to the influence of other colors, and red or blue color cast may occur in the achromatic region. is there. On the other hand, according to the present embodiment, as described above, since color conversion is performed using the achromatic color (gray) fixed in the basic color space, the occurrence of color cast in the achromatic color region can be suppressed. That is, according to the present embodiment, an achromatic color is set as a reference color at a fixed grid point, and color information of the input color is converted using the grid point as a reference point, so that it is not affected by other colors. Achromatic color information can be converted.

(第2の実施形態)
次に、本発明の第2の実施形態に係る色変換装置について図面を参照しながら説明する。以下の説明においては、本実施形態に係る特徴的な部分を中心に説明する。そのため、第1の実施形態と同様の構成については同一の参照番号を付し、重複する説明は省略する場合がある。
(Second Embodiment)
Next, a color conversion device according to a second embodiment of the present invention will be described with reference to the drawings. In the following description, the characteristic part according to the present embodiment will be mainly described. Therefore, the same configurations as those in the first embodiment are denoted by the same reference numerals, and redundant description may be omitted.

第1の実施形態においては、基本色空間120を生成する際に、図3に示す格子点全ての色情報を使用する。それに対し、本実施形態においては、基本色空間120を生成する際に、図2に示す色情報の全てを用いるわけではない。具体的には、本実施形態においては、ユーザの基準色策定および入力データ作成作業量の緩和・効率化のため、基準色となる色情報のうち、入力デバイスの最外郭において明度Vが最大の色情報および明度軸の色情報を用いる。   In the first embodiment, when the basic color space 120 is generated, the color information of all the grid points shown in FIG. 3 is used. On the other hand, in the present embodiment, not all of the color information shown in FIG. 2 is used when the basic color space 120 is generated. Specifically, in this embodiment, in order to ease the user's reference color formulation and input data creation work amount, the lightness V is the maximum in the outermost part of the input device among the color information that becomes the reference color. Color information and lightness axis color information are used.

〔構成〕
図11は、本実施形態の色変換装置20の構成を示すブロック図である。図11のように、色変換装置20は、基準色設定部11、基本色空間生成部12、補間処理部13、処理結果記憶部14およびLUT生成部15に加えて、代表色設定部21および基準色推定部22を備える。なお、基準色設定部11、基本色空間生成部12、補間処理部13、処理結果記憶部14およびLUT生成部15は、第1の実施形態の色変換装置10と同様の構成であるため、詳細な説明は省略する。
〔Constitution〕
FIG. 11 is a block diagram illustrating a configuration of the color conversion apparatus 20 according to the present embodiment. As shown in FIG. 11, the color conversion apparatus 20 includes a reference color setting unit 21, a basic color space generation unit 12, an interpolation processing unit 13, a processing result storage unit 14, and an LUT generation unit 15, A reference color estimation unit 22 is provided. Note that the reference color setting unit 11, the basic color space generation unit 12, the interpolation processing unit 13, the processing result storage unit 14, and the LUT generation unit 15 have the same configuration as the color conversion device 10 of the first embodiment. Detailed description is omitted.

代表色設定部21は、任意の色情報を入力し、入力した色情報が代表的な色情報(以下、代表色情報とよぶ)を含む否かを判断する。代表色設定部21は、入力した色情報が代表色情報を含む場合には、その色情報の色を代表色に設定する。なお、代表色設定部21は、入力色空間(第1の色空間)の色域の最外郭上の色情報のうち最も明度が大きい色情報と、無彩色の階調を示す色情報とを少なくとも含む代表的な色情報を基準色(代表色)に設定すると表現することもできる。   The representative color setting unit 21 inputs arbitrary color information, and determines whether or not the input color information includes representative color information (hereinafter referred to as representative color information). When the input color information includes representative color information, the representative color setting unit 21 sets the color of the color information as a representative color. The representative color setting unit 21 obtains color information having the highest brightness among the color information on the outermost contour of the color gamut of the input color space (first color space) and color information indicating the gradation of the achromatic color. It can also be expressed by setting representative color information including at least a reference color (representative color).

代表色設定部21は、取得した代表色情報のデータセットを基本色空間120の格子点に設定して基準色推定部22へ送る。   The representative color setting unit 21 sets the acquired data set of representative color information as a grid point in the basic color space 120 and sends the data to the reference color estimation unit 22.

ここで、代表色設定部21に入力される代表色情報について説明する。代表色情報は、作成する基本色空間の格子点に対応する全ての色情報のうち代表的な色情報である。また、代表色情報は、作成する基本色空間の最外郭の格子点に対応する色情報から構成されるとも表現できる。   Here, the representative color information input to the representative color setting unit 21 will be described. The representative color information is representative color information among all the color information corresponding to the grid points of the basic color space to be created. The representative color information can also be expressed as composed of color information corresponding to the outermost grid points of the basic color space to be created.

図12は、色変換装置20に入力される代表色情報(代表色データセット210)の一例である。図12のように、代表色設定部21は、基準色として設定すべき色情報のうち代表的なもの(代表色)を含む代表色データセット210を取得する。図12の代表色データセット210の例では、シアンC、マゼンタM、黄Y、赤R、緑Gおよび青Bと、4階調の灰色とが代表色として設定される。   FIG. 12 is an example of representative color information (representative color data set 210) input to the color conversion apparatus 20. As illustrated in FIG. 12, the representative color setting unit 21 acquires a representative color data set 210 including representative information (representative colors) among color information to be set as the reference color. In the example of the representative color data set 210 in FIG. 12, cyan C, magenta M, yellow Y, red R, green G and blue B, and gray of four gradations are set as representative colors.

基準色推定部22は、代表色設定部21によって設定された格子点の色情報を、その格子点の周辺に位置する格子点の色情報の中間色として推定する。なお、基準色推定部22は、代表色設定部21によって設定された代表的な色情報を用いて、他の基準色の色情報を推定すると表現することもできる。   The reference color estimation unit 22 estimates the color information of the grid points set by the representative color setting unit 21 as an intermediate color of the color information of the grid points located around the grid points. Note that the reference color estimation unit 22 can also be expressed as estimating color information of another reference color using the representative color information set by the representative color setting unit 21.

基準色推定部22は、推定した中間色を基準色設定部11へ送る。なお、本実施形態においては、基準色が予め定められている例について説明するが、外部システムによって基準色の色数を設定するように構成してもよい。   The reference color estimation unit 22 sends the estimated intermediate color to the reference color setting unit 11. In this embodiment, an example in which the reference color is determined in advance will be described. However, the number of reference colors may be set by an external system.

基準色推定部22によって推定された中間色を含む色情報は、基準色設定部11、基本色空間生成部12、補間処理部13、処理結果記憶部14およびLUT生成部15によって第1の実施形態と同様に処理される。   The color information including the intermediate color estimated by the reference color estimation unit 22 is obtained from the reference color setting unit 11, the basic color space generation unit 12, the interpolation processing unit 13, the processing result storage unit 14, and the LUT generation unit 15 according to the first embodiment. It is processed in the same way.

以上が、本実施形態に係る色変換装置20の構成についての説明である。   The above is the description of the configuration of the color conversion apparatus 20 according to the present embodiment.

〔動作〕
次に、図面を用いて色変換装置20の動作について説明する。図13は、色変換装置20の動作の一例を示すフローチャートである。なお、図13の説明においては、色変換装置20の構成要素を動作の主体として記述している。
[Operation]
Next, the operation of the color conversion apparatus 20 will be described with reference to the drawings. FIG. 13 is a flowchart illustrating an example of the operation of the color conversion apparatus 20. In the description of FIG. 13, the constituent elements of the color conversion device 20 are described as the subject of the operation.

図13において、まず、基準色設定部11は、グレイバランスを含む色情報を読み込み、読み込んだ色情報を取得する(ステップS201)。例えば、基準色設定部11は、ユーザの操作に応じて出力される指示信号に応じたり、色情報の入力をきっかけとしたりして色情報を取得する。   In FIG. 13, first, the reference color setting unit 11 reads color information including gray balance, and acquires the read color information (step S201). For example, the reference color setting unit 11 acquires color information in response to an instruction signal output in response to a user operation or triggered by input of color information.

基準色設定部11は、取得した色情報を色相H・彩度S・明度Vの属性を持つ色空間にマッピングできるように変換する(ステップS202)。   The reference color setting unit 11 converts the acquired color information so that it can be mapped to a color space having attributes of hue H, saturation S, and brightness V (step S202).

ここで、基本色空間120が作成済みか否かによって異なる処理が実行される(ステップS203)。   Here, different processing is executed depending on whether or not the basic color space 120 has been created (step S203).

基本色空間120が作成済みではなかった場合(ステップS203でNo)、基準色設定部11は、変換した色情報が代表色データセット210を含むか否かを判断する(ステップS204)。   If the basic color space 120 has not been created (No in step S203), the reference color setting unit 11 determines whether or not the converted color information includes the representative color data set 210 (step S204).

基準色設定部11は、入力された色情報が代表色データセット210を含むと判断した場合(ステップS204にてYes)、代表色データセット210に含まれる色情報を代表色に設定する(ステップS205)。   When the reference color setting unit 11 determines that the input color information includes the representative color data set 210 (Yes in step S204), the reference color setting unit 11 sets the color information included in the representative color data set 210 to the representative color (step S204). S205).

基準色推定部22は、設定された代表色を用いて、代表色には含まれない基準色を推定する(ステップS205)。   The reference color estimation unit 22 uses the set representative color to estimate a reference color that is not included in the representative color (step S205).

そして、基準色設定部11は、推定された色情報を基準色に設定する(ステップS206)。   Then, the reference color setting unit 11 sets the estimated color information as a reference color (step S206).

基本色空間生成部12は、設定された基準色を基に基本色空間120を生成する(ステップ207)。ここで、ステップS201に戻る。なお、基本色空間120を生成することを目的とし、ステップS208で処理を終了するように構成してもよい。   The basic color space generation unit 12 generates the basic color space 120 based on the set reference color (step 207). Here, it returns to step S201. The process may be configured to end in step S208 for the purpose of generating the basic color space 120.

一方、基準色設定部11は、入力された色情報が代表色データセット210を含まないと判断した場合(ステップS204でNo)、ステップS201に戻り、さらに色情報を取得する。このとき、基本データセットを要求する信号を出力するように構成してもよい。   On the other hand, when the reference color setting unit 11 determines that the input color information does not include the representative color data set 210 (No in step S204), the reference color setting unit 11 returns to step S201 and further acquires color information. At this time, a signal requesting a basic data set may be output.

ところで、ステップS203において基本色空間120が作成済みであった場合(ステップS203でYes)、補間処理部13は、入力された色情報が基本色空間120のどの立体に含まれるのかを探索する(ステップS209)。このとき、補間処理部13は、探索結果に隣接する複数の格子点の色情報(CMYK値)を取得する。   When the basic color space 120 has been created in step S203 (Yes in step S203), the interpolation processing unit 13 searches which solid in the basic color space 120 includes the input color information ( Step S209). At this time, the interpolation processing unit 13 acquires color information (CMYK values) of a plurality of grid points adjacent to the search result.

補間処理部13は、取得した格子点の色情報を用いて、入力された色情報のCMYK値を算出する(ステップS210)。このとき、補間処理部13によって保管された色情報は、処理結果記憶部14に記憶できる。   The interpolation processing unit 13 calculates the CMYK value of the input color information using the acquired color information of the grid points (step S210). At this time, the color information stored by the interpolation processing unit 13 can be stored in the processing result storage unit 14.

LUT生成部15は、ステップ210において色変換された色情報(CMYK)を用いてLUTを生成する(ステップS211)。このとき、色変換装置10は、作成したLUTを出力して処理を終了してもよいし、ステップS201に戻って色情報の取得を継続してもよい。   The LUT generation unit 15 generates an LUT using the color information (CMYK) color-converted in step 210 (step S211). At this time, the color conversion apparatus 10 may end the process by outputting the created LUT, or may return to step S201 and continue acquiring color information.

以上が、本実施形態の色変換装置20の動作についての説明である。   The above is the description of the operation of the color conversion device 20 of the present embodiment.

以上のように、本実施形態によれば、第1の実施形態と同様に、グレイバランスが反映された色再現性の良い色変換を実現できる。特に、本実施形態によれば、基準色を代表色から推定することにより、第1の実施形態と比較して、ユーザが設定すべき色情報が大幅に削減されるため、ユーザの作業量を効率化できる。   As described above, according to the present embodiment, color conversion with good color reproducibility reflecting the gray balance can be realized as in the first embodiment. In particular, according to the present embodiment, by estimating the reference color from the representative color, the color information to be set by the user is significantly reduced compared to the first embodiment, so that the user's workload is reduced. Increase efficiency.

(第3の実施形態)
次に、本発明の第3の実施形態に係る色変換装置について図面を参照しながら説明する。以下の説明においては、本実施形態に係る特徴的な部分を中心に説明する。そのため、第1または第2の実施形態と同様の構成については同一の参照番号を付し、重複する説明は省略する場合がある。
(Third embodiment)
Next, a color conversion device according to a third embodiment of the present invention will be described with reference to the drawings. In the following description, the characteristic part according to the present embodiment will be mainly described. Therefore, the same reference numerals are assigned to the same configurations as those in the first or second embodiment, and redundant descriptions may be omitted.

第1および第2の実施形態においては、色変換を行う際に、予め設定されている基準色を用いて色変換処理を行う。それに対し、本実施形態においては、色変換する際の基準色の色数(以下、単に色数と表記)を設定できる。本実施形態においては、基本色空間を用いて色変換された評価用画像を表示させ、その評価用画像を参照して設定された色数を用いて色変換を実行する。本実施形態では、例えば、ユーザインターフェース(以下、UI;User Interface)に表示させた評価用画像をユーザに認識させ、その評価用画像を参照したユーザによって設定される色数に基づいて色変換を実行する。   In the first and second embodiments, when performing color conversion, color conversion processing is performed using a preset reference color. On the other hand, in the present embodiment, the number of reference colors for color conversion (hereinafter simply referred to as the number of colors) can be set. In the present embodiment, an evaluation image color-converted using the basic color space is displayed, and color conversion is executed using the number of colors set with reference to the evaluation image. In the present embodiment, for example, an evaluation image displayed on a user interface (hereinafter referred to as UI; User Interface) is recognized by the user, and color conversion is performed based on the number of colors set by the user referring to the evaluation image. Run.

〔構成〕
図14は、本実施形態の色変換装置30の構成を示すブロック図である。図14のように、色変換装置30は、基準色設定部11、基本色空間生成部12、補間処理部13、処理結果記憶部14およびLUT生成部15に加えて、パラメータ設定部31、色変換処理部32および画像表示部33を備える。なお、基準色設定部11、基本色空間生成部12、補間処理部13、処理結果記憶部14およびLUT生成部15は、第1の実施形態の色変換装置10と同様の構成であるため、詳細な説明は省略する。
〔Constitution〕
FIG. 14 is a block diagram illustrating a configuration of the color conversion apparatus 30 according to the present embodiment. As shown in FIG. 14, in addition to the reference color setting unit 11, the basic color space generation unit 12, the interpolation processing unit 13, the processing result storage unit 14, and the LUT generation unit 15, the color conversion device 30 includes a parameter setting unit 31, a color A conversion processing unit 32 and an image display unit 33 are provided. Note that the reference color setting unit 11, the basic color space generation unit 12, the interpolation processing unit 13, the processing result storage unit 14, and the LUT generation unit 15 have the same configuration as the color conversion device 10 of the first embodiment. Detailed description is omitted.

パラメータ設定部31は、図示しないディスプレイ等に表示された評価用画像に基づいて設定された所望の色数を含む色情報に関するパラメータを読み込む。例えば、パラメータ設定部31は、ユーザによって入力された所望の色数などの入力情報を図示しない入力機器から取得し、取得した入力情報に基づいてパラメータを設定する。なお、本実施形態においては、パラメータ設定部31が所望の色数を入力情報として扱う例を挙げるが、その他の入力情報を扱うように構成してもよい。また、パラメータ設定部31は、評価用画像を読み込み、読み込んだ評価用画像から色情報を抽出する。   The parameter setting unit 31 reads parameters relating to color information including a desired number of colors set based on an evaluation image displayed on a display (not shown) or the like. For example, the parameter setting unit 31 acquires input information such as a desired number of colors input by the user from an input device (not shown), and sets parameters based on the acquired input information. In the present embodiment, an example is given in which the parameter setting unit 31 treats a desired number of colors as input information, but other input information may be handled. The parameter setting unit 31 reads an evaluation image and extracts color information from the read evaluation image.

基準色設定部11は、入力評価用画像と、パラメータ設定部31によって設定される所望の色数とを入力データとして取得し、取得した所望の色数の色情報を基準色に設定する。基準色設定部11によって設定された基準色は、基本色空間生成部12、補間処理部13、処理結果記憶部14およびLUT生成部15によって、第1の実施形態と同様に処理される。そして、LUT生成部15は、生成したLUTを色変換処理部32に出力する。   The reference color setting unit 11 acquires the input evaluation image and the desired number of colors set by the parameter setting unit 31 as input data, and sets the acquired color information of the desired number of colors as a reference color. The reference color set by the reference color setting unit 11 is processed in the same manner as in the first embodiment by the basic color space generation unit 12, the interpolation processing unit 13, the processing result storage unit 14, and the LUT generation unit 15. Then, the LUT generation unit 15 outputs the generated LUT to the color conversion processing unit 32.

色変換処理部32は、予め格納されている評価用画像に、LUT生成部15から入手したLUTを適用して色変換処理を行う。色変換処理部32による色変換処理とは、ある入力装置の色空間で表現された画像を、出力装置の色空間で表現する画像に変換することである。色変換処理部32は、色変換処理された評価用画像を画像表示部33に出力する。なお、色変換処理の対象となる評価用画像は、外部から入力するように構成してもよい。   The color conversion processing unit 32 performs color conversion processing by applying the LUT obtained from the LUT generation unit 15 to the evaluation image stored in advance. The color conversion processing by the color conversion processing unit 32 is to convert an image expressed in the color space of a certain input device into an image expressed in the color space of the output device. The color conversion processing unit 32 outputs the image for evaluation subjected to the color conversion processing to the image display unit 33. The evaluation image to be subjected to the color conversion process may be configured to be input from the outside.

画像表示部33は、色変換処理部32によって変換処理された評価用画像の表示機能を有する表示装置に表示させる。例えば、画像表示部33は、入力色空間および出力色空間のうち少なくとも一方で表現される評価用画像を表示させる表示領域と、所望の色数を含む色情報に関するパラメータを入力するためのパラメータ調整領域とを含むUIを、任意の表示装置に表示させる。ユーザは、UIなどの表示部に表示された評価用画像を参照しながら、色変換処理に用いる所望の色数を設定できる。   The image display unit 33 displays the image on the display device having a display function of the evaluation image converted by the color conversion processing unit 32. For example, the image display unit 33 adjusts parameters for inputting a display area for displaying an evaluation image expressed in at least one of the input color space and the output color space, and parameters relating to color information including a desired number of colors. The UI including the area is displayed on an arbitrary display device. The user can set a desired number of colors used for the color conversion process while referring to an evaluation image displayed on a display unit such as a UI.

ここで、評価用画像を表示させるUIについて一例を挙げて説明する。図15は、色変換装置30の表示情報を表示させる表示部を有するUIの一例である。図15の例では、色変換装置30を実装するコンピュータ300に接続されるディスプレイ301にUIを表示させる。ユーザは、ディスプレイ301に表示される評価用画像を参照しながら、UI上のアイコンをマウス302によって操作し、パラメータを変更するためのスライドバーをスライドさせて所望の色数を設定することができる。なお、図15のUI上におけるボタンやバーなどの配置位置は一例であって、任意に変更できる。   Here, an example of a UI for displaying an evaluation image will be described. FIG. 15 is an example of a UI having a display unit that displays display information of the color conversion device 30. In the example of FIG. 15, the UI is displayed on the display 301 connected to the computer 300 on which the color conversion device 30 is mounted. The user can set the desired number of colors by operating the icons on the UI with the mouse 302 while sliding the slide bar for changing parameters while referring to the evaluation image displayed on the display 301. . Note that the arrangement positions of buttons, bars, etc. on the UI of FIG. 15 are merely examples, and can be arbitrarily changed.

図15のディスプレイ301の左上部には、「読込」ボタンおよび「保存」ボタンが配置されている。「読込」ボタンは、入力画像と基準色の色情報とを読み込む際に操作されるアイコンである。「保存」ボタンは、ユーザによって設定されたパラメータ等を保存する際に操作されるアイコンである。例えば、色変換装置30は、ユーザが「読込」ボタンを操作した際に生成される信号に応じて、入力画像と基準色の色情報とを読み込む。   In the upper left part of the display 301 in FIG. 15, a “read” button and a “save” button are arranged. The “read” button is an icon operated when reading the input image and the color information of the reference color. The “save” button is an icon operated when saving parameters and the like set by the user. For example, the color conversion device 30 reads the input image and the color information of the reference color according to a signal generated when the user operates a “read” button.

図15のディスプレイ301の下部には、基本色空間120の色相H、彩度Sおよび明度Vの色数を指定するためにパラメータの調節を行うためのスライドバーが配置されている。すなわち、図15のUIは、読み込んだ色数に基づいて、ユーザが所望の色数に調整可能なパラメータ調整領域を含む。   In the lower part of the display 301 in FIG. 15, a slide bar for adjusting parameters for designating the number of colors of hue H, saturation S, and brightness V of the basic color space 120 is arranged. That is, the UI in FIG. 15 includes a parameter adjustment area that can be adjusted by the user to the desired number of colors based on the read number of colors.

図15のUIの中央部には、色変換前の評価用画像と、UIのスラードバーによって設定されるパラメータの値に応じて色変換された色変換後の評価用画像とが表示されている。例えば、色変換装置30は、ユーザが「読込」ボタンを操作した際に生成される信号に応じて基準色の色情報を読み込むと、読み込んだ基準色の色数を用いて評価用画像の色を変換し、変換前後の評価用画像を並べてUIに表示させる。   In the central part of the UI in FIG. 15, an evaluation image before color conversion and an evaluation image after color conversion that has been color-converted according to a parameter value set by a UI sludge bar are displayed. For example, when the color conversion apparatus 30 reads the color information of the reference color according to the signal generated when the user operates the “read” button, the color of the evaluation image is read using the number of colors of the read reference color. And the evaluation images before and after the conversion are arranged and displayed on the UI.

例えば、ユーザは、ディスプレイ301に表示される色変換前の評価用画像と、基本色空間を用いて色変換された評価用画像とを比較しながらパラメータを調整できる。このとき、ユーザによって調整されたパラメータは、新たな色数として色変換装置30に設定される。   For example, the user can adjust the parameters while comparing the evaluation image before color conversion displayed on the display 301 with the evaluation image color-converted using the basic color space. At this time, the parameter adjusted by the user is set in the color conversion device 30 as the new number of colors.

以上が、本実施形態の色変換装置30の構成についての説明である。   The above is the description of the configuration of the color conversion device 30 of the present embodiment.

〔動作〕
次に、本実施形態の色変換装置30の動作についてフローチャートを用いて説明する。図16は、本実施形態の色変換装置30の動作について説明するためのフローチャートである。なお、図16の説明においては、色変換装置30の構成要素を動作の主体として説明する。
[Operation]
Next, the operation of the color conversion apparatus 30 of the present embodiment will be described using a flowchart. FIG. 16 is a flowchart for explaining the operation of the color conversion apparatus 30 of the present embodiment. In the description of FIG. 16, the components of the color conversion device 30 will be described as the main subject of operation.

図16において、まず、パラメータ設定部31は、図15のUIを参照したユーザに設定された色相H、彩度Sおよび明度Vの色数(格子点の数)に関するパラメータファイルを読み込む(ステップS301)。パラメータファイルは、ユーザの設定したパラメータを含むファイルである。   16, first, the parameter setting unit 31 reads a parameter file relating to the number of colors (number of grid points) of hue H, saturation S, and brightness V set by the user referring to the UI of FIG. 15 (step S301). ). The parameter file is a file containing parameters set by the user.

パラメータ設定部31は、ユーザ操作に応じて、色変換対象の評価用画像を読み込む(ステップS302)。   The parameter setting unit 31 reads an image for color conversion evaluation in accordance with a user operation (step S302).

パラメータ設定部31は、ステップS302にて入力された評価用画像から色情報を抽出する(ステップS303)。   The parameter setting unit 31 extracts color information from the evaluation image input in step S302 (step S303).

そして、補間処理部13は、パラメータファイルによって設定された色相H、彩度Sおよび明度Vの色数を用いて、ステップ303にて抽出した色情報に対して補間処理を行う(ステップS304)。   Then, the interpolation processing unit 13 performs interpolation processing on the color information extracted in step 303 using the number of colors of hue H, saturation S, and brightness V set by the parameter file (step S304).

LUT生成部15は、ステップ304にて算出されたCMYK値を用いてLUTを作成する(ステップS305)。   The LUT generation unit 15 creates an LUT using the CMYK values calculated in step 304 (step S305).

色変換処理部32は、ステップ305で作成されたLUTを用いて、評価用画像に対して色変換処理を施す(ステップS306)。   The color conversion processing unit 32 performs color conversion processing on the evaluation image using the LUT created in step 305 (step S306).

画像表示部330は、上述した図15などの表示態様によって、ステップ306にて色変換処理された評価用画像をディスプレイ301に表示させる(ステップS307)。   The image display unit 330 causes the display 301 to display the evaluation image that has undergone the color conversion processing in step 306 in accordance with the above-described display mode such as FIG. 15 (step S307).

以上が、本実施形態の色変換装置30の動作についての説明である。   The above is the description of the operation of the color conversion device 30 of the present embodiment.

本実施形態の色変換装置は、色変換前と色変換後の評価用画像をユーザが参照しながら、変換前後の評価用画像が同じような色合いになるようにパラメータを調整できる構成を有する。なお、本実施形態の構成は、図14の構成に限定されない。例えば、色変換前と色変換後の色合いを色差等の計算を用いることによって、色変換装置30が自動的にパラメータの調整を行ってもよい。   The color conversion apparatus according to this embodiment has a configuration in which parameters can be adjusted so that evaluation images before and after conversion have the same color while a user refers to evaluation images before and after color conversion. Note that the configuration of the present embodiment is not limited to the configuration of FIG. For example, the color conversion apparatus 30 may automatically adjust the parameters by using a calculation such as a color difference between the colors before and after color conversion.

以上のように、本実施形態によれば、第1の実施形態に、グレイバランスが反映された色再現性の良い色変換を実現することができる。また、本実施形態によれば、基本色空間を構成する基準色の色数によって変換された評価用画像をユーザに提示し、評価用画像を参照したユーザが所望の色数を設定できるので、適切な色数での基本色空間を提供できる。
特に、本実施形態によれば、UIを利用してユーザが適切なパラメータを設定できるので、利便性を向上できる。なお、本実施形態におけるUIの構成は、第2の実施形態に適用してもよい。
As described above, according to the present embodiment, color conversion with good color reproducibility reflecting the gray balance can be realized in the first embodiment. In addition, according to the present embodiment, the evaluation image converted by the number of reference colors constituting the basic color space is presented to the user, and the user who refers to the evaluation image can set the desired number of colors. A basic color space with an appropriate number of colors can be provided.
In particular, according to the present embodiment, since the user can set appropriate parameters using the UI, convenience can be improved. Note that the UI configuration in the present embodiment may be applied to the second embodiment.

(第4の実施形態)
次に、本発明の第4の実施形態に係る色変換装置について図面を参照しながら説明する。本実施形態の色変換装置は、第1〜第3の実施形態の色変換装置を上位概念化したものである。
(Fourth embodiment)
Next, a color conversion device according to a fourth embodiment of the present invention will be described with reference to the drawings. The color conversion device of this embodiment is a high-level concept of the color conversion devices of the first to third embodiments.

〔構成〕
図18は、本実施形態の色変換装置40の構成を示すブロック図である。図10のように、色変換装置40は、基準色設定部41、基本色空間生成部42、補間処理部43およびLUT生成部44を備える。
〔Constitution〕
FIG. 18 is a block diagram showing the configuration of the color conversion device 40 of this embodiment. As shown in FIG. 10, the color conversion device 40 includes a reference color setting unit 41, a basic color space generation unit 42, an interpolation processing unit 43, and an LUT generation unit 44.

基準色設定部41は、第1の色空間と第2の色空間の色情報を関連付ける第1の配列を入力する。基準色設定部41は、第1の配列に含まれる色情報のうち無彩色の色情報を基準色に設定する。また、基準色設定部41は、基準色以外の入力色の色情報を入力する。なお、基準色設定部41は、第1の色空間の色域の最外郭上の色情報と、無彩色の階調を示す色情報とを含む複数の色情報を基準色に設定すると表現することもできる。   The reference color setting unit 41 inputs a first array that associates color information of the first color space and the second color space. The reference color setting unit 41 sets achromatic color information among the color information included in the first array as a reference color. In addition, the reference color setting unit 41 inputs color information of input colors other than the reference color. The reference color setting unit 41 expresses that a plurality of pieces of color information including color information on the outermost contour of the color gamut of the first color space and color information indicating the gradation of the achromatic color are set as reference colors. You can also.

基本色空間生成部42は、基準色設定部41によって設定された基準色を格子点に固定して表現する基本色空間を生成する。なお、基本色空間生成部42は、基準色設定部41によって設定された基準色を、色相、彩度および明度の属性を固定された格子点にマッピングすることによって基本色空間120を生成すると表現することもできる。   The basic color space generation unit 42 generates a basic color space in which the reference color set by the reference color setting unit 41 is expressed by being fixed to grid points. The basic color space generation unit 42 expresses that the basic color space 120 is generated by mapping the reference color set by the reference color setting unit 41 to grid points with fixed hue, saturation, and brightness attributes. You can also

補間処理部43は、基本色空間生成部42によって生成された基本色空間120の格子点に配置された基準色の色情報を用いて、入力色の色情報を補間する。なお、補間処理部43は、入力色の色情報を基本色空間120に配置し、基本色空間120の格子点に配置された入力色の色情報に近接する格子点に配置された基準色の色情報を用いて入力色の色情報を補間すると表現することもできる。   The interpolation processing unit 43 interpolates the color information of the input color using the color information of the reference color arranged at the grid points of the basic color space 120 generated by the basic color space generation unit 42. The interpolation processing unit 43 arranges the color information of the input color in the basic color space 120 and the reference color arranged at the grid point close to the color information of the input color arranged at the grid point of the basic color space 120. It can also be expressed by interpolating the color information of the input color using the color information.

LUT生成部44(配列生成部ともよぶ)は、補間処理部43によって補間された入力色の色情報を含めて、第1の色空間と第2の色空間の色情報を対応付けた第2の配列を生成して出力する。   The LUT generation unit 44 (also referred to as an array generation unit) includes a second color information that associates the color information of the first color space and the second color space, including the color information of the input color interpolated by the interpolation processing unit 43. Generate and output an array of.

本実施形態によれば、グレイバランスが反映された色再現性が良い色変換を実現することができる。   According to this embodiment, color conversion with good color reproducibility reflecting the gray balance can be realized.

(ハードウェア構成)
次に、本発明の第1〜第4の実施形態の色変換装置を実現するためのハードウェア構成について一例を挙げて説明する。
(Hardware configuration)
Next, a hardware configuration for realizing the color conversion apparatus according to the first to fourth embodiments of the present invention will be described with an example.

上述した各実施形態において、図1、図11、図14および図17に示す構成要素は、回路等の専用のハードウェアによって実現できる。また、各実施形態の構成要素は、ソフトウェアプログラムの機能や処理の単位(以下、ソフトウェアモジュールとよぶ)としても実現できる。ただし、各実施形態の図面に示した各構成要素の区分けは、便宜上の構成であり、実用においては様々な構成が想定され得る。   In each of the above-described embodiments, the components shown in FIGS. 1, 11, 14, and 17 can be realized by dedicated hardware such as a circuit. The components of each embodiment can also be realized as a function of a software program or a unit of processing (hereinafter referred to as a software module). However, the division of each component shown in the drawings of each embodiment is a configuration for convenience, and various configurations can be assumed in practical use.

図18は、本発明の各実施形態の色変換装置を実現可能とするハードウェア構成の一例である情報処理装置500のブロック図である。図18の情報処理装置500は、サーバやコンピュータなどの構成であって、上述した実施形態における各機能を実現可能とするハードウェア環境を有する。情報処理装置500は、中央演算処理装置や主記憶装置、補助記憶装置、インターフェース(I/F:Interface)等を含む一般的なコンピュータで構成できる。なお、中央演算処理装置は、CPU(Central Processing Unit)ともよばれる。また、主記憶装置は、ROM(Read Only Memory)やRAM(Random Access Memory)を含む。   FIG. 18 is a block diagram of an information processing apparatus 500 that is an example of a hardware configuration that can realize the color conversion apparatus according to each embodiment of the present invention. The information processing apparatus 500 in FIG. 18 is configured as a server, a computer, or the like, and has a hardware environment that enables each function in the above-described embodiment. The information processing apparatus 500 can be configured by a general computer including a central processing unit, a main storage device, an auxiliary storage device, an interface (I / F), and the like. The central processing unit is also called a CPU (Central Processing Unit). The main storage device includes a ROM (Read Only Memory) and a RAM (Random Access Memory).

図18のように、情報処理装置500は、CPU501、ROM502、RAM503、補助記憶装置504、通信インターフェース505、ドライブ装置506および入出力インターフェース507を含む。CPU501、ROM502、RAM503、補助記憶装置504、通信インターフェース505、ドライブ装置506および入出力インターフェース507は、共通の通信線であるバス509によって互いに接続される。また、情報処理装置500は、通信インターフェース505を介してネットワーク511や記録媒体512、外部システム、外部装置に接続される。   As illustrated in FIG. 18, the information processing apparatus 500 includes a CPU 501, a ROM 502, a RAM 503, an auxiliary storage device 504, a communication interface 505, a drive device 506, and an input / output interface 507. The CPU 501, ROM 502, RAM 503, auxiliary storage device 504, communication interface 505, drive device 506, and input / output interface 507 are connected to each other by a bus 509 that is a common communication line. The information processing apparatus 500 is connected to a network 511, a recording medium 512, an external system, and an external apparatus via a communication interface 505.

CPU501は、補助記憶装置504等に格納されたプログラムをRAM503に展開し、展開されたプログラムを実行する中央演算処理装置である。本発明の各実施形態は、情報処理装置500にインストールされたプログラムを用いる構成によって実現できる。なお、ネットワーク経由で取得されるモジュールをRAM503にロードするように構成してもよい。CPU501は、展開されたプログラムを実行するなどして種々の演算処理や制御処理を実行する。   The CPU 501 is a central processing unit that expands a program stored in the auxiliary storage device 504 or the like in the RAM 503 and executes the expanded program. Each embodiment of the present invention can be realized by a configuration using a program installed in the information processing apparatus 500. Note that a module acquired via the network may be loaded into the RAM 503. The CPU 501 executes various arithmetic processes and control processes by executing the developed program.

ROM502は、命令コードや定数データのデータを格納する主記憶装置である。   The ROM 502 is a main storage device that stores data such as instruction codes and constant data.

RAM503は、プログラムが展開される領域を有する主記憶装置である。   The RAM 503 is a main storage device having an area where a program is expanded.

補助記憶装置504は、プログラム群や各種の記憶情報などの種々のデータを記憶させる記憶装置である。補助記憶装置504は、ハードディスクやフラッシュメモリ、SSD(Solid State Drive)などのローカルディスクによって実現できる。   The auxiliary storage device 504 is a storage device that stores various data such as a program group and various types of storage information. The auxiliary storage device 504 can be realized by a local disk such as a hard disk, a flash memory, or an SSD (Solid State Drive).

通信インターフェース505は、ネットワーク511や外部のシステム・装置と接続するインターフェースである。   The communication interface 505 is an interface connected to the network 511 and an external system / device.

ドライブ装置506は、記録媒体512に格納されたデータを読み書きする装置である。ドライブ装置506は、記録媒体512からのデータ・プログラムの読み出し、情報処理装置500の処理結果の記録媒体512への書き込みなどを行う。記録媒体512は、例えば、CD-ROM(Compact Disc-ROM)やDVD-ROM(Digital Versatile Disc-ROM)などの光学記録媒体などで実現できる。また、記録媒体512は、SD(Secure Digital)カードやUSB(Universal Serial Bus)メモリなどの半導体記録媒体、フレキシブルディスクなどの磁気記録媒体やその他の媒体によって実現してもよい。   The drive device 506 is a device that reads and writes data stored in the recording medium 512. The drive device 506 reads a data program from the recording medium 512, writes a processing result of the information processing device 500 to the recording medium 512, and the like. The recording medium 512 can be realized by, for example, an optical recording medium such as a CD-ROM (Compact Disc-ROM) or a DVD-ROM (Digital Versatile Disc-ROM). The recording medium 512 may be realized by a semiconductor recording medium such as an SD (Secure Digital) card or a USB (Universal Serial Bus) memory, a magnetic recording medium such as a flexible disk, or other media.

情報処理装置500には、キーボードやマウス、タッチパネルなどの入力機器を接続してもよい。それらの入力機器は、情報や設定の入力に使用される。なお、タッチパネルを入力機器として用いる場合は、表示機器の表示画面が入力機器のユーザインターフェースを兼ねるタッチパネルディスプレイとすればよい。CPU501と入力機器とは、入出力インターフェース507経由で接続すればよい。   Input devices such as a keyboard, a mouse, and a touch panel may be connected to the information processing apparatus 500. These input devices are used for inputting information and settings. When a touch panel is used as an input device, the display screen of the display device may be a touch panel display that also serves as the user interface of the input device. The CPU 501 and the input device may be connected via the input / output interface 507.

また、情報処理装置500には、表示デバイスやプリンタなどの出力機器を接続してもよい。例えば、画像を表示する表示デバイスを用いる場合、その表示デバイスを入出力インターフェース95に接続すればよい。また、例えば、画像などに関する情報を印刷するプリンタを用いる場合、そのプリンタを入出力インターフェース95に接続すればよい。   The information processing apparatus 500 may be connected to an output device such as a display device or a printer. For example, when a display device that displays an image is used, the display device may be connected to the input / output interface 95. For example, when a printer that prints information about an image or the like is used, the printer may be connected to the input / output interface 95.

各実施形態の色変換装置の処理は、以下の手順によって実現される。例えば、各実施形態に示す構成図(図1、図11、図14および図17)やフローチャート(図10、図13および図16)の機能を実現可能なプログラムを情報処理装置500に供給する。情報処理装置500に供給されたプログラムは、RAM503や補助記憶装置504に格納しておけばよい。情報処理装置500のCPU501は、格納されたプログラムをRAM503に展開し、展開されたプログラムに従って処理を実行すればよい。   The processing of the color conversion device of each embodiment is realized by the following procedure. For example, a program capable of realizing the functions of the configuration diagrams (FIGS. 1, 11, 14, and 17) and the flowcharts (FIGS. 10, 13, and 16) shown in each embodiment is supplied to the information processing apparatus 500. The program supplied to the information processing apparatus 500 may be stored in the RAM 503 or the auxiliary storage device 504. The CPU 501 of the information processing apparatus 500 may expand the stored program in the RAM 503 and execute processing according to the expanded program.

また、情報処理装置500へのプログラムの供給方法としては、一般的な手順を用いることができる。例えば、CD−ROM等の記録媒体512を介して情報処理装置500内にプログラムをインストールしたり、インターネット等の通信回線を介して外部よりプログラムをダウンロードしたりしてもよい。このような場合、各実施形態の色変換装置の機能は、プログラムを構成するコードや、そのコードが格納される記録媒体512によって構成されると捉えられる。   Further, a general procedure can be used as a method for supplying the program to the information processing apparatus 500. For example, the program may be installed in the information processing apparatus 500 via a recording medium 512 such as a CD-ROM, or the program may be downloaded from the outside via a communication line such as the Internet. In such a case, the function of the color conversion apparatus according to each embodiment is considered to be configured by a code constituting the program and a recording medium 512 in which the code is stored.

以上が、本発明の実施形態の色変換装置を可能とするためのハードウェア構成の一例である。なお、図18のハードウェア構成は、本実施形態の色変換装置を可能とするハードウェア構成の一例であって、本発明の範囲を限定するものではない。また、本実施形態の色変換装置による処理をコンピュータに実行させる色変換プログラムも本発明の範囲に含まれる。さらに、本実施形態に係る色変換プログラムを記録したプログラム記録媒体も本発明の範囲に含まれる。例えば、本実施形態の色変換プログラムは、記録媒体512に記録できる。   The above is an example of a hardware configuration for enabling the color conversion apparatus according to the embodiment of the present invention. Note that the hardware configuration in FIG. 18 is an example of a hardware configuration that enables the color conversion apparatus of the present embodiment, and does not limit the scope of the present invention. Further, a color conversion program that causes a computer to execute processing by the color conversion apparatus of the present embodiment is also included in the scope of the present invention. Furthermore, a program recording medium that records the color conversion program according to the present embodiment is also included in the scope of the present invention. For example, the color conversion program of this embodiment can be recorded on the recording medium 512.

以上、実施形態を参照して本発明を説明してきたが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解し得る様々な変更をすることができる。   Although the present invention has been described with reference to the embodiments, the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

10 色変換装置
11 基準色設定部
12 基本色空間生成部
13 補間処理部
14 処理結果記憶部
15 LUT生成部
20 色変換装置
21 代表色設定部
22 基準色推定部
30 色変換装置
31 パラメータ設定部
32 色変換処理部
33 画像表示部
40 色変換装置
41 基準色設定部
42 基本色空間生成部
43 補間処理部
44 LUT生成部
DESCRIPTION OF SYMBOLS 10 Color converter 11 Standard color setting part 12 Basic color space production | generation part 13 Interpolation processing part 14 Processing result memory | storage part 15 LUT production | generation part 20 Color conversion device 21 Representative color setting part 22 Reference color estimation part 30 Color conversion apparatus 31 Parameter setting part 32 color conversion processing unit 33 image display unit 40 color conversion device 41 reference color setting unit 42 basic color space generation unit 43 interpolation processing unit 44 LUT generation unit

Claims (10)

第1の色空間と第2の色空間の色情報とを関連付ける第1の配列を入力し、前記第1の配列の色情報のうち無彩色を含む複数の色情報を基準色に設定するとともに、前記基準色以外の入力色の色情報を入力する基準色設定部と、
前記基準色設定部によって設定された前記基準色を格子点に固定して表現する基本色空間を生成する基本色空間生成部と、
前記基本色空間生成部によって生成された前記基本色空間の格子点に配置された前記基準色の色情報を用いて、前記入力色の色情報を補間する補間処理部と、
前記補間処理部によって補間された前記入力色の色情報を含めて、前記第1の色空間と前記第2の色空間の色情報を関連付けた第2の配列を生成する配列生成部とを備えるデータ変換装置。
A first array for associating the color information of the first color space and the second color space is input, and among the color information of the first array, a plurality of color information including achromatic colors is set as a reference color. A reference color setting unit for inputting color information of an input color other than the reference color;
A basic color space generation unit that generates a basic color space for expressing the reference color set by the reference color setting unit fixed to a grid point;
An interpolation processing unit for interpolating color information of the input color using color information of the reference color arranged at a grid point of the basic color space generated by the basic color space generation unit;
An array generation unit that generates a second array that associates the color information of the first color space and the second color space, including color information of the input color interpolated by the interpolation processing unit; Data conversion device.
前記基準色設定部は、
前記第1の色空間の色域の最外郭上の色情報と、無彩色の階調を示す色情報とを含む複数の色情報を前記基準色に設定し、
前記基本色空間生成部は、
前記基準色設定部によって設定された前記基準色を、色相、彩度および明度の属性を固定された格子点にマッピングすることによって前記基本色空間を生成する請求項1に記載のデータ変換装置。
The reference color setting unit includes:
A plurality of pieces of color information including color information on the outermost contour of the color gamut of the first color space and color information indicating a gradation of an achromatic color are set as the reference color;
The basic color space generation unit
The data conversion apparatus according to claim 1, wherein the basic color space is generated by mapping the reference color set by the reference color setting unit to grid points with fixed attributes of hue, saturation, and brightness.
前記基本色空間生成部は、
無彩色の階調を示す明度軸に無彩色の色情報をマッピングし、
最も明度が大きい色情報が配置される格子点を頂点として前記明度軸を回転軸とする円錐状の色空間の格子点に、明度が小さい色情報の前記基準色を前記明度軸の無彩色の色情報に対応させてマッピングし、
前記明度軸を回転軸として前記円錐状の色空間の底面に接する円柱状の色空間の格子点に、明度が小さい色情報の前記基準色を前記明度軸の無彩色の色情報に対応させてマッピングして前記基本色空間を生成する請求項2に記載のデータ変換装置。
The basic color space generation unit
Map the color information of the achromatic color to the lightness axis indicating the gradation of the achromatic color,
The reference color of the color information with the lightness is the achromatic color of the lightness axis at the lattice point of the conical color space with the lightness axis as the rotation axis and the lattice point where the color information with the highest lightness is arranged. Mapping according to the color information,
The reference color of the color information with small lightness is made to correspond to the color information of the achromatic color of the lightness axis at the grid point of the columnar color space in contact with the bottom surface of the conical color space with the lightness axis as the rotation axis. The data conversion apparatus according to claim 2, wherein the basic color space is generated by mapping.
前記補間処理部は、
前記入力色の色情報を前記基本色空間に配置し、前記基本色空間に配置された前記入力色に近接する格子点に配置された前記基準色の色情報を用いて、前記入力色の色情報を補間する請求項1乃至3のいずれか一項に記載のデータ変換装置。
The interpolation processing unit
The color information of the input color is arranged in the basic color space, and the color information of the input color is used by using the color information of the reference color arranged at a grid point close to the input color arranged in the basic color space. The data conversion apparatus according to any one of claims 1 to 3, wherein information is interpolated.
前記基準色設定部は、
前記基準色以外のいずれかの色情報を新たな基準色に設定すると、前記新たな基準色の色情報を配置する格子点を前記基本色空間に設定し、
前記基本色空間生成部は、
前記基準色設定部によって設定された前記新たな格子点に前記新たな基準色の色情報を配置した新たな前記基本色空間を生成する請求項4に記載のデータ変換装置。
The reference color setting unit includes:
When any color information other than the reference color is set as a new reference color, lattice points for arranging the color information of the new reference color are set in the basic color space,
The basic color space generation unit
5. The data conversion apparatus according to claim 4, wherein a new basic color space in which color information of the new reference color is arranged at the new grid point set by the reference color setting unit is generated.
前記第1の色空間の色域の最外郭上の色情報のうち最も明度が大きい色情報と、無彩色の階調を示す色情報とを少なくとも含む代表的な色情報を前記基準色に設定する代表色設定部と、
前記代表色設定部によって設定された前記代表的な色情報を用いて、前記代表的な色情報以外の前記基準色の色情報を推定する基準色推定部とを備える請求項1乃至5のいずれか一項に記載のデータ変換装置。
Representative color information including at least color information having the highest lightness among color information on the outermost contour of the color gamut of the first color space and color information indicating an achromatic gradation is set as the reference color. A representative color setting unit,
A reference color estimation unit that estimates color information of the reference color other than the representative color information by using the representative color information set by the representative color setting unit. A data conversion device according to claim 1.
所望の色数を含む色情報に関するパラメータを読み込むパラメータ設定部と、
前記配列生成部によって生成された前記第2の配列に基づいて、前記第1の色空間の色情報を前記第2の色空間の色情報に色変換する色変換処理部と、
前記色変換処理部によって色変換された色情報で表現される画像を表示させる画像表示部とを備え、
前記基準色設定部は、
前記パラメータ設定部によって読み込まれた前記所望の色数の色情報を前記基準色に設定する請求項1乃至6のいずれか一項に記載のデータ変換装置。
A parameter setting section for reading parameters relating to color information including the desired number of colors;
A color conversion processing unit that converts the color information of the first color space into color information of the second color space based on the second array generated by the array generation unit;
An image display unit for displaying an image expressed by the color information color-converted by the color conversion processing unit,
The reference color setting unit includes:
The data conversion apparatus according to any one of claims 1 to 6, wherein color information of the desired number of colors read by the parameter setting unit is set as the reference color.
前記画像表示部は、
前記第1の色空間および前記第2の色空間のうち少なくとも一方で表現される少なくとも一つの評価用画像を表示させる表示領域と、前記所望の色数を含む色情報に関するパラメータを入力するためのパラメータ調整領域とを含むユーザインターフェースを任意の表示画面に表示させる請求項7に記載のデータ変換装置。
The image display unit
A display area for displaying at least one evaluation image expressed in at least one of the first color space and the second color space, and a parameter for color information including the desired number of colors. 8. The data conversion apparatus according to claim 7, wherein a user interface including a parameter adjustment area is displayed on an arbitrary display screen.
第1の色空間と第2の色空間の色情報を関連付ける第1の配列を入力し、
前記第1の配列の色情報のうち無彩色を含む複数の色情報を基準色に設定し、
前記基準色を格子点に固定して表現する基本色空間を生成し、
前記基準色以外の入力色の色情報を入力し、
前記基本色空間の格子点に配置された前記基準色の色情報を用いて、前記入力色の色情報を補間し、
補間された前記入力色の色情報を含めて、前記第1の色空間と前記第2の色空間の色情報を関連付けた第2の配列を生成するデータ変換方法。
Input a first array associating color information of the first color space and the second color space;
A plurality of pieces of color information including achromatic colors among the color information of the first array are set as reference colors;
Generating a basic color space for expressing the reference color by fixing it to a grid point;
Input color information of input colors other than the reference color,
Using the color information of the reference color arranged at the grid points of the basic color space, the color information of the input color is interpolated,
A data conversion method for generating a second array that associates color information of the first color space and the second color space, including the interpolated color information of the input color.
第1の色空間と第2の色空間の色情報を関連付ける第1の配列を入力する処理と、
前記第1の配列の色情報のうち無彩色を含む複数の色情報を基準色に設定する処理と、
前記基準色を格子点に固定して表現する基本色空間を生成する処理と、
前記基準色以外の入力色の色情報を入力する処理と、
前記基本色空間の格子点に配置された前記基準色の色情報を用いて、前記入力色の色情報を補間する処理と、
補間された前記入力色の色情報を含めて、前記第1の色空間と前記第2の色空間の色情報を関連付けた第2の配列を生成する処理とをコンピュータに実行させるデータ変換プログラム。
A process of inputting a first array for associating color information of the first color space and the second color space;
A process of setting a plurality of pieces of color information including achromatic colors among the color information of the first array as reference colors;
A process of generating a basic color space for expressing the reference color fixed to a grid point;
A process of inputting color information of an input color other than the reference color;
A process of interpolating the color information of the input color using the color information of the reference color arranged at the grid points of the basic color space;
A data conversion program for causing a computer to execute a process of generating a second array in which color information of the first color space and the second color space is associated, including the interpolated color information of the input color.
JP2016116336A 2016-06-10 2016-06-10 Data conversion device, data conversion method, and data conversion program Active JP6740729B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016116336A JP6740729B2 (en) 2016-06-10 2016-06-10 Data conversion device, data conversion method, and data conversion program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016116336A JP6740729B2 (en) 2016-06-10 2016-06-10 Data conversion device, data conversion method, and data conversion program

Publications (2)

Publication Number Publication Date
JP2017220894A true JP2017220894A (en) 2017-12-14
JP6740729B2 JP6740729B2 (en) 2020-08-19

Family

ID=60656347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016116336A Active JP6740729B2 (en) 2016-06-10 2016-06-10 Data conversion device, data conversion method, and data conversion program

Country Status (1)

Country Link
JP (1) JP6740729B2 (en)

Also Published As

Publication number Publication date
JP6740729B2 (en) 2020-08-19

Similar Documents

Publication Publication Date Title
JPH1132227A (en) Image processing method and apparatus and storage medium
KR102015923B1 (en) Image processing apparatus, image processing method, and storage medium
JP4803122B2 (en) Color processing apparatus and program
JP2016146600A (en) Color conversion method, program, and image processing apparatus
JP2007280402A (en) System and method for generating gray tones from color image data
JP2007110724A (en) Method and apparatus for converting input color space to CMYK color space
US20080068628A1 (en) Image Processing Apparatus and Image Processing Method
JP4621998B2 (en) Image processing apparatus and program
JP2006262238A (en) Image processing method, image processor and image processing program
JP6740729B2 (en) Data conversion device, data conversion method, and data conversion program
JP4985162B2 (en) Color gamut generation device, color gamut generation program, and color conversion device
JP6535222B2 (en) Image processing apparatus and image forming system
JP2019071537A (en) Image processing device, control method of the same, and program
US7679783B2 (en) System and method for extracting grayscale data within a prescribed tolerance
JP2007243957A (en) System, method and program for extracting gray information from color image data
EP2375720A1 (en) Image processor
JP4675155B2 (en) Color data processing method, color data processing system, color data processing program, and recording medium recording the same
JP2008042711A (en) Color converter, color converting method, color conversion program, color conversion coefficient creating apparatus, color conversion coefficient creating method, and color conversion coefficient creation program
JP5630231B2 (en) Color adjustment method, color adjustment apparatus, color adjustment program, and medium storing color adjustment program
JP5966661B2 (en) Black definition file generation device, device link profile generation device, black definition file generation method, black definition file generation program
JP6446898B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program thereof
JP4970419B2 (en) Image processing device
JP2017135683A (en) Generation device, and computer program
JP5025678B2 (en) Image forming apparatus, image processing method, and image processing program
JP2009177285A (en) Color data conversion apparatus and color data conversion method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200303

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200423

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200623

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200706

R150 Certificate of patent or registration of utility model

Ref document number: 6740729

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150