JP2018182483A - Color processing apparatus and color processing method - Google Patents
Color processing apparatus and color processing method Download PDFInfo
- Publication number
- JP2018182483A JP2018182483A JP2017077731A JP2017077731A JP2018182483A JP 2018182483 A JP2018182483 A JP 2018182483A JP 2017077731 A JP2017077731 A JP 2017077731A JP 2017077731 A JP2017077731 A JP 2017077731A JP 2018182483 A JP2018182483 A JP 2018182483A
- Authority
- JP
- Japan
- Prior art keywords
- profile
- color
- space
- conversion
- dictionary
- 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
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、色処理技術に関するものである。 The present invention relates to color processing technology.
PDL(Printer Description Languege)の1つとして、非特許文献1で規定されるPostScriptがある。図7(a)を用いて、従来のPostScriptのCIEbasedカラースペースである入力データが入力された場合の色変換処理を説明する。PostScriptのCIEbasedカラースペースである入力データ101には、入力色データとともに入力色データの色空間を規定しているカラースペース辞書102が記述されている。このカラースペース辞書102には、入力色データをXYZ色空間に変換するためのパラメータが記述されており、色処理装置はカラースペース辞書102のパラメータに基づいて入力色データをXYZ値に変換する。そして、PostScriptを用いた色処理装置は、入力色データを出力デバイスで出力するために、カラーレンダリング辞書703に基づいてXYZ値を出力デバイス値に変換する。
As one of PDL (Printer Description Languege), there is PostScript defined in
一方、非特許文献2で規定されるICCプロファイルを用いた色変換処理も存在する。図7(b)に示すように、入力色データを入力プロファイル711に基づいてPCS(プロファイル コネクション スペース)値に変換し、出力プロファイル106に基づいてPCS値を出力デバイス値に変換する。
On the other hand, there is also a color conversion process using an ICC profile defined in Non-Patent
PostScriptのCIEbasedカラースペースである入力データが入力された場合の色変換処理(PostScriptを用いた色変換処理)とICCプロファイルを用いた色変換処理のそれぞれを維持するにはコストがかかる。また、様々な出力デバイスにおいて、出力プロファイル106とカラーレンダリング辞書703を作成する必要があるためコストがかかる。
It is costly to maintain both color conversion processing (color conversion processing using PostScript) when input data is input, which is a CIE-based color space of PostScript, and color conversion processing using an ICC profile. In addition, the
この問題を解決するため、図12(a)に示すように、CIEbasedカラースペースであるカラースペース辞書102から作成部721によって入力プロファイル723を作成する。そして、作成した入力プロファイル723と出力プロファイル106を用いて色変換を行うことで、プロファイルを用いた色変換処理に統一し、PostScriptを用いた色変換処理を不要とすることで、コストを削減する方法がある。この際、CIEbasedカラースペースは、行列を2つ持つため、非特許文献2で規定されるICCプロファイル形式では、いずれの形式を用いても表現できない。そこで、一般的には図12(b)に示す如く、CIEbasedカラースペースであるカラースペース辞書102のパラメータを用いて色変換処理を行う。そして、1つの多次元補間用のルックアップテーブルCLUT731を作成し、入力プロファイル723を作成している。
In order to solve this problem, as shown in FIG. 12A, the creating
しかしながら、この方法は、作成した入力プロファイルのCLUTのみを用いた補間演算となるため、元のカラースペース辞書に記述された行列やガンマ値等のパラメータそのもの用いた演算と比較して変換精度が低下するという課題があった。 However, since this method is an interpolation operation using only the CLUT of the created input profile, conversion accuracy is reduced compared to an operation using parameters such as a matrix or gamma value described in the original color space dictionary. There was a problem of
本発明はこのような問題に鑑みてなされたものであり、CIEbasedカラースペースである入力データの場合の色変換処理を、プロファイルを用いた色変換処理とした上で、元のカラースペース辞書に記述された行列やガンマ値等のパラメータそのもの用いた演算と同等の精度で実現するための技術を提供する。 The present invention has been made in view of such problems, and color conversion processing in the case of input data that is a CIE based color space is color conversion processing using a profile, and then described in the original color space dictionary. The present invention provides a technique for realizing the same accuracy as the operation using parameters such as the matrix and the gamma value.
本発明の一様態は、入力データに対し、少なくとも、該入力データに記述された第1のデバイス依存空間からデバイス非依存空間への変換情報を定義するカラースペース辞書と、標準のデバイス非依存空間から第2のデバイス依存空間への変換情報を定義する出力プロファイルと、を用いて色変換を行う色処理装置であって、前記カラースペース辞書の種類に応じて、第1のプロファイルと第2のプロファイルを作成する作成手段と、前記入力データに対し、前記第1のプロファイルと前記第2のプロファイルと前記出力プロファイルとを用いて色変換を行う色変換手段とを備えることを特徴とする。 According to one aspect of the present invention, there is provided a color space dictionary defining conversion information from at least a first device dependent space described in the input data to a device independent space for input data, and a standard device independent space. A color processing apparatus that performs color conversion using an output profile that defines conversion information from a second device-dependent space to a second device-dependent space, and according to the type of the color space dictionary, a first profile and a second The image processing apparatus is characterized by comprising: generation means for generating a profile; and color conversion means for performing color conversion on the input data using the first profile, the second profile, and the output profile.
本発明の構成によれば、CIEbasedカラースペースである入力データの場合の色変換処理を、プロファイルを用いた色変換処理とした上で、元のカラースペース辞書に記述された行列やガンマ値等のパラメータそのもの用いた演算と同等の精度で実現することができる。 According to the configuration of the present invention, color conversion processing in the case of input data that is a CIE based color space is color conversion processing using a profile, and then the matrix, gamma value, etc. described in the original color space dictionary It can be realized with the same accuracy as the operation using the parameter itself.
以下、添付図面を参照し、本発明の実施形態について説明する。なお、以下説明する実施形態は、本発明を具体的に実施した場合の一例を示すもので、特許請求の範囲に記載した構成の具体的な実施例の1つである。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. The embodiment described below shows an example when the present invention is specifically implemented, and is one of the specific examples of the configuration described in the claims.
[第1の実施形態]
本実施形態では、CIEbasedカラースペースであるカラースペース辞書から入力プロファイル及びシミュレーションプロファイルを作成し、該作成した入力プロファイル及びシミュレーションプロファイルと、出力プロファイルと、を用いて色変換を行う。その際、入力プロファイルに続いてシミュレーションプロファイルを用いて色変換した結果が、CIEbasedカラースペースであるカラースペース辞書を用いて色変換した結果と等価となるようにプロファイル作成を行う。一般的にシミュレーションプロファイルは、入力色空間からシミュレーション色空間(例えば印刷標準色)へ変換し、出力デバイス色空間へ変換することで、印刷した場合の色を出力デバイスでシミュレーションするといった用途に使われるものである。このように通常、入力プロファイルとシミュレーションプロファイルとはそれぞれ独立に異なる色空間特性を表すものであるが、本実施形態では、入力プロファイルとシミュレーションプロファイルとによって1つの色特性を表す。
First Embodiment
In this embodiment, an input profile and a simulation profile are created from a color space dictionary which is a CIE based color space, and color conversion is performed using the created input profile and simulation profile, and an output profile. At this time, a profile is created such that the result of color conversion using a simulation profile following the input profile is equivalent to the result of color conversion using a color space dictionary that is a CIE based color space. In general, a simulation profile is used for converting an input color space to a simulation color space (for example, a printing standard color) and converting it to an output device color space, thereby simulating colors when printed on an output device It is a thing. As described above, normally, the input profile and the simulation profile independently represent different color space characteristics, but in the present embodiment, one color characteristic is represented by the input profile and the simulation profile.
ここで、カラースペース辞書とは、入力データに記述された第1のデバイス依存空間からデバイス非依存空間への変換情報を定義する辞書である。また、出力プロファイルとは、標準のデバイス非依存空間から第2のデバイス依存空間への変換情報を定義するプロファイルである。 Here, the color space dictionary is a dictionary that defines conversion information from the first device dependent space described in the input data to the device independent space. Also, the output profile is a profile that defines conversion information from the standard device independent space to the second device dependent space.
また、入力プロファイルのプロファイルコネクションスペースに設定されたデバイス非依存空間と、シミュレーションプロファイルのプロファイルコネクションスペースに設定されたデバイス非依存空間と、は同一である。また、入力プロファイルとシミュレーションプロファイルは、ICCプロファイル形式で記述されている。 Further, the device independent space set in the profile connection space of the input profile and the device independent space set in the profile connection space of the simulation profile are the same. Also, the input profile and the simulation profile are described in the form of an ICC profile.
先ず、本実施形態に係る色処理装置の機能構成例について、図1(a)のブロック図を用いて説明する。図1に示す如く、本実施形態に係る色処理装置は、プロファイル作成を行うプロファイル作成部103と、入力データ101に記述された入力色データに対する色変換をプロファイルを用いて行う色変換部107と、を有する。プロファイル作成部103は、CIEbasedカラースペースである入力データ101に記述されたカラースペース辞書102から、入力プロファイル104と、シミュレーションプロファイル105と、を作成する。色変換部107は、入力プロファイル104及びシミュレーションプロファイル105と、出力デバイスに応じて選択された出力プロファイル106と、を用いて、入力データ101に記述された入力色データに対する色変換を行う。次に、本実施形態に係る色処理装置による色変換処理について、同処理のフローチャートを示す図2を用いて説明する。
First, a functional configuration example of the color processing apparatus according to the present embodiment will be described using the block diagram of FIG. As shown in FIG. 1, the color processing apparatus according to this embodiment includes a
ステップS201では、プロファイル作成部103は、入力データ101に記述されたカラースペース辞書102から入力プロファイル104を作成する。ステップS201における処理の詳細については、図3のフローチャートを用いて後述する。
In step S201, the
ステップS202では、プロファイル作成部103は、入力データ101に記述されたカラースペース辞書102から、シミュレーションプロファイル105のBToA0Tagを作成する。ステップS202における処理の詳細については、図4のフローチャートを用いて後述する。
In step S202, the
ステップS203では、プロファイル作成部103は、入力データ101に記述されたカラースペース辞書102から、シミュレーションプロファイル105のAToB0Tagを作成する。ステップS203における処理の詳細については、図5のフローチャートを用いて後述する。
In step S203, the
ステップS201〜S203の処理により、CIEbasedカラースペースである入力データ101に記述されたカラースペース辞書102から、入力プロファイル104及びシミュレーションプロファイル105が作成される。
The
次に、ステップS204では色変換部107は、ステップS201〜S203の処理によって作成された入力プロファイル104及びシミュレーションプロファイル105と、出力デバイスに応じて選択された出力プロファイル106と、を用いて色変換を行う。この色変換は、入力データ101に記述された入力色データに対して行われ、色変換結果としての出力データが生成される。
Next, in step S204, the
以下では、図6、図11に示す如く、4種類のCIEbasedカラースペース(CIEBasedDEFG、CIEBasedDEF、CIEBasedABC、CIEBasedA)を例にとる。そして、これらのうちカラースペース辞書102に該当するものについて入力プロファイル及びシミュレーションプロファイルを作成する作成処理の一例について説明する。
In the following, as shown in FIGS. 6 and 11, four types of CIEbased color spaces (CIEBasedDEFG, CIEBasedDEF, CIEBasedABC, CIEBasedA) are taken as an example. Then, an example of a creation process for creating an input profile and a simulation profile for those corresponding to the
上記のステップS201における処理の詳細について、図3のフローチャートに従って説明する。図3のフローチャートに従った処理を行うことで、4種類のCIEbasedカラースペースに応じて、図6,11の入力プロファイル601、611、621、631が作成される。 Details of the process in step S201 described above will be described according to the flowchart of FIG. By performing the process according to the flowchart of FIG. 3, the input profiles 601, 611, 621, and 631 of FIGS. 6 and 11 are created according to the four types of CIEbased color spaces.
ステップS301では、プロファイル作成部103は、カラースペース辞書102に記述されたカラースペース情報を参照し、該カラースペース情報がCIE-based DEFGを示すか否かを判断する。この判断の結果、カラースペース情報がCIE-based DEFGを示す場合は、処理はステップS302に進み、カラースペース情報がCIE-based DEFGを示さない場合は、処理はステップS311に進む。
In step S301, the
ステップS302では、プロファイル作成部103は、ベースプロファイルを取得する。この例におけるベースプロファイルは、AToB0TagにはlutAToBType(A-CLUT-B)形式が採用され、Aカーブ、CLUT、Bカーブそれぞれは、線形変換となる値となっている。また、プロファイルヘッダには、データ色空間がCMYK,PCSはXYZが設定されている。
In step S302, the
次に、ステップS303では、プロファイル作成部103は、Decode DEFGから4チャネルのAカーブを作成し、ベースプロファイルを上書きする。このとき、Decode DEFGが1次元テーブルで記述されている場合はcurveTypeのAカーブを作成する。curveTypeのグリッド数は、Decode DEFGデータのグリッド数に近い値とし、そのグリッド数が一致しない場合は補間演算により変換する。また、Decode DEFGが、ガンマ等の数式で記述されている場合は、parametricCurveTypeのAカーブを作成する。次に、ステップS304では、プロファイル作成部103は、4次元のTableから4次元のCLUTデータを作成し、ベースプロファイルを上書きする。
Next, in step S303, the
次に、ステップS305では、プロファイル作成部103は、Decode ABCから3チャネルのBカーブを作成し、ベースプロファイルを上書きする。このとき、Decode ABCが1次元テーブルで記述されている場合は、curveTypeのBカーブを作成する。curveTypeのグリッド数は、Decode ABCデータのグリッド数に近い値とし、そのグリッド数が一致しない場合は、補間演算により変換する。また、Decode ABCが、ガンマ等の数式で記述されている場合は、parametricCurveTypeのBカーブを作成する。このような上述したステップS302〜S305の処理により、CIE-based DEFGの場合における入力プロファイル601が生成される。
Next, in step S305, the
一方、ステップS311では、プロファイル作成部103は、カラースペース辞書102に記述されたカラースペース情報を参照し、該カラースペース情報がCIE-based DEFを示すか否かを判断する。この判断の結果、カラースペース情報がCIE-based DEFを示す場合は、処理はステップS312に進み、カラースペース情報がCIE-based DEFを示さない場合は、処理はステップS321に進む。
On the other hand, in step S311, the
ステップS312では、プロファイル作成部103は、CIE-based DEFの場合のベースプロファイルを取得する。この例におけるベースプロファイルは、AToB0TagにはlutAToBType(A-CLUT-B)形式が採用され、Aカーブ、CLUT、Bカーブそれぞれは、線形変換となる値となっている。また、プロファイルヘッダには、データ色空間がRGB,PCSはXYZが設定されている。
In step S312, the
ステップS313では、プロファイル作成部103は、Decode DEFから3チャネルのAカーブを作成し、ベースプロファイルを上書きする。このとき、Decode DEFが1次元テーブルで記述されている場合は、curveTypeのAカーブを作成する。curveTypeのグリッド数は、Decode DEFデータのグリッド数に近い値とし、そのグリッド数が一致しない場合は、補間演算により変換する。また、Decode DEFが、ガンマ等の数式で記述されている場合は、parametricCurveTypeのAカーブを作成する。ステップS314では、プロファイル作成部103は、3次元のTableから3次元のCLUTデータを作成し、ベースプロファイルを上書きする。
In step S313, the
ステップS305では、プロファイル作成部103は、Decode ABCから3チャネルのBカーブを作成し、ベースプロファイルを上書きする。この処理については上述の通りであるため、説明は省略する。このような上述したステップS312〜S314,S305の処理により、CIE-based DEFの場合における入力プロファイル611が生成される。
In step S305, the
一方、ステップS321では、プロファイル作成部103は、カラースペース辞書102に記述されたカラースペース情報を参照し、該カラースペース情報がCIE-based ABCを示すか否かを判断する。この判断の結果、カラースペース情報がCIE-based ABCを示す場合は、処理はステップS322に進み、カラースペース情報がCIE-based ABCを示さない場合は、処理はステップS331に進む。
On the other hand, in
ステップS322では、プロファイル作成部103は、CIE-based ABCの場合のベースプロファイルを取得する。この例におけるベースプロファイルは、AToB0TagにはlutAToBType(B)形式が採用され、Bカーブは線形変換となる値となっている。また、プロファイルヘッダには、データ色空間がRGB,PCSはXYZが設定されている。
In step S322, the
ステップS305では、プロファイル作成部103は、Decode ABCから3チャネルのBカーブを作成し、ベースプロファイルを上書きする。この処理については上述の通りであるため、説明は省略する。このような上述したステップS322、S305の処理により、CIE-based ABCの場合における入力プロファイル621が生成される。
In step S305, the
一方、ステップS331では、プロファイル作成部103は、CIE-based Aの場合のベースプロファイルを取得する。この例におけるベースプロファイルは、AToB0TagにはlutAToBType(A-CLUT-B)形式が採用され、Aカーブ、CLUT、Bカーブそれぞれは、線形変換となる値となっている。また、プロファイルヘッダには、データ色空間がGRAY,PCSはXYZが設定されている。
On the other hand, in step S331, the
ステップS332では、プロファイル作成部103は、Decode Aから1チャネルのAカーブを作成し、ベースプロファイルを上書きする。このとき、Decode Aが1次元テーブルで記述されている場合はcurveTypeのAカーブを作成する。curveTypeのグリッド数は、Decode Aデータのグリッド数に近い値とし、そのグリッド数が一致しない場合は、補間演算により変換する。また、Decode Aが、ガンマ等の数式で記述されている場合は、parametricCurveTypeのAカーブを作成する。
In step S332, the
上述したステップS331、S332の処理により、CIE-based Aの場合における入力プロファイル631が生成される。入力プロファイル631のCLUTおよびBカーブは、ベースプロファイルの線形変換となる値がそのまま残っている。このように作成された入力プロファイル601、611、621、631のPCSは全てXYZに統一されている。
The
次に、上記のステップS202における処理の詳細について、図4のフローチャートに従って説明する。図4のフローチャートに従った処理によって、4種類のCIEbasedカラースペースに応じて、図6,11のシミュレーションプロファイルのBToA0Tag602、612、622、632が作成される。
Next, the details of the process in step S202 described above will be described according to the flowchart of FIG. The processing according to the flowchart of FIG. 4 creates
ステップS401では、プロファイル作成部103は、共通のベースプロファイルを取得する。この例におけるベースプロファイルは、BToA0TagにはlutBToAType(B-MTRX-M)形式が採用され、Bカーブ、MTRX、Mカーブそれぞれは、線形変換となる値となっている。また、プロファイルヘッダには、データ色空間がRGB,PCSはXYZが設定されている。
In step S401, the
ステップS402では、プロファイル作成部103は、カラースペース辞書102に記述されたカラースペース情報を参照し、該カラースペース情報がCIE-based Aを示すか否かを判断する。この判断の結果、カラースペース情報がCIE-based Aを示す場合は、処理はステップS403に進み、カラースペース情報がCIE-based Aを示さない場合は、処理はステップS404に進む。
In step S402, the
ステップS403では、プロファイル作成部103は、Matrix AからMTRXを作成し、ベースプロファイルを上書きする。このとき、3×1行列であるMatrix Aを3×3対角行列に変換することでMTRXを作成する。
In step S403, the
ステップS405では、プロファイル作成部103は、Decode LMNから3チャネルのMカーブを作成し、ベースプロファイルを上書きする。このとき、Decode LMNが1次元テーブルで記述されている場合は、curveTypeのMカーブを作成する。curveTypeのグリッド数は、Decode LMNデータのグリッド数と近い値とし、そのグリッド数が一致しない場合は、補間演算により変換する。また、Decode LMNが、ガンマ等の数式で記述されている場合は、parametricCurveTypeのMカーブを作成する。
In step S405, the
上述したステップS401〜S403,S405の処理により、CIE-based Aの場合におけるシミュレーションプロファイルのBToA0Tag632が生成される。シミュレーションプロファイルのBToA0Tag632のBカーブは、ベースプロファイルの線形変換となる値がそのまま残っている。
By the processes of steps S401 to S403 and S405 described above,
一方、ステップS404では、プロファイル作成部103は、Matrix ABCからMTRXを作成し、ベースプロファイルを上書きする。ステップS405では、プロファイル作成部103は、Decode LMNから3チャネルのMカーブを作成し、ベースプロファイルを上書きする。
On the other hand, in step S404, the
ステップS401、S402、S404、S405の処理により、CIEBasedDEFG、CIEBasedDEF、CIEBasedABCの場合のシミュレーションプロファイルのBToA0Tag602、612、622が生成される。シミュレーションプロファイルのBToA0Tag602、612、622のBカーブは、ベースプロファイルの線形変換となる値がそのまま残っている。
By the processes of steps S401, S402, S404, and S405,
シミュレーションプロファイルのPCSを、入力プロファイルのPCSと同じXYZに設定することで、入力プロファイルとシミュレーションプロファイル間でPCS変換処理が動作しないようにしている。 By setting the PCS of the simulation profile to the same XYZ as the PCS of the input profile, PCS conversion processing is prevented from operating between the input profile and the simulation profile.
次に、上記のステップS203における処理の詳細について、図5のフローチャートに従って説明する。図5のフローチャートに従った処理によって、4種類のCIEbasedカラースペースに対応する、図6,11のシミュレーションプロファイルのAToB0Tag603、613、623、633が作成される。
Next, the details of the process in step S203 described above will be described according to the flowchart of FIG. By the process according to the flowchart of FIG. 5,
ステップS501では、プロファイル作成部103は、共通のベースプロファイルを取得する。この例におけるベースプロファイルは、AToB0TagにはlutAToBType(M-MTRX-B)形式が採用され、Mカーブ、MTRX、Bカーブそれぞれは、線形変換となる値となっている。また、プロファイルヘッダは、BToA0Tagと共通であるため、データ色空間がRGB,PCSはXYZが設定されている。
In step S501, the
ステップS502では、プロファイル作成部103は、Matrix LMNとWhitePointからMTRXを作成する。このとき、まずWhitePointに設定された白色点から、引用文献2のPCSにおける標準白色点であるD50白色点へ変換する色順応変換行列を算出する。色順応変換行列はブラッドフォード変換式などを用いて算出すればよい。次に、Matrix LMNと算出した色順応変換行列を合成する。次に、合成して求めた行列に32768/65535を積算することでMTRXを作成する。この32768/65535の値は、引用文献2に規定されるPCSXYZのエンコード係数である。
In step S502, the
ステップS501、S502の処理により、CIEBasedDEFG、CIEBasedDEF、CIEBasedABC、CIEBasedAの場合におけるシミュレーションプロファイルのAToB0Tag603、613、623、633が生成される。シミュレーションプロファイルのAToB0Tag603、613、623、633のMカーブおよびBカーブは、ベースプロファイルの線形変換となる値がそのまま残っている。
By the processes of steps S501 and S502,
以上説明した処理により、CIEbasedカラースペースである入力データの場合の色変換処理を、プロファイルを用いた色変換処理とした上で、元のカラースペース辞書に記述されたパラメータそのもの用いた演算と同等の精度で実施することができる。また上記のように、4種類のCIEbasedカラースペースそれぞれの場合において、シミュレーションプロファイルに採用したプロファイル形式は同一の形式としているため実装が単純となり、実装及びメンテナンスコストを削減する効果もある。 According to the processing described above, color conversion processing in the case of input data that is a CIE based color space is color conversion processing using a profile, and then the operation equivalent to the operation using the parameter itself described in the original color space dictionary It can be implemented with accuracy. Further, as described above, in each of the four types of CIE based color spaces, since the profile format adopted for the simulation profile is the same format, the mounting becomes simple, and there is also an effect of reducing the mounting and maintenance costs.
なお、本実施形態では、シミュレーションプロファイルにおいて、BToA0TagとAToB0Tagを用いて説明したが、図1(b)に示すように、preview0Tagなどを用いて実現しても同様の効果を得ることができる。preview0Tagには、PCSからデータ色空間へ変換し、データ色空間からPCSに戻すプレビュー変換のための情報が定義されている。この場合は、図8、13に示すように、図6、11における入力プロファイルとシミュレーションプロファイルのBToA0Tagに記述していた情報を、入力プロファイルに格納する。そして、図6、11におけるシミュレーションプロファイルAToB0Tagに記述していた情報を、シミュレーションプロファイルpreview0Tagに格納する。
In the present embodiment, the simulation profile is described using BToA0Tag and AToB0Tag. However, as shown in FIG. 1 (b), similar effects can be obtained even if it is realized using preview0Tag or the like. The
なお、本実施形態では、図6、11、図8、13で示すようなプロファイル形式を用いて説明したが、このプロファイル形式に限定するものではない。入力プロファイルに続いてシミュレーションプロファイルを用いて色変換した結果が、CIEbasedカラースペースであるカラースペース辞書を用いて色変換した結果と等価となるようにプロファイルを作成すれば、本実施形態で説明したプロファイル形式と異なっていても同様の効果を得ることができる。 Although the present embodiment has been described using the profile format as shown in FIGS. 6, 11, 8 and 13, the present invention is not limited to this profile format. If the profile is created so that the result of color conversion using a simulation profile following the input profile is equivalent to the result of color conversion using a color space dictionary that is a CIE based color space, the profile described in this embodiment Similar effects can be obtained even if the format is different.
なお、本実施形態では、カラースペース辞書のパラメータであるRangeA、RengeABC、RangeLMN、RangeDEF、RangeHIJ、RangeDEFGの説明を省いた。カラースペース辞書に記述されている場合は、プロファイル作成時の正規化に用いればよい。 In the present embodiment, descriptions of Range A, Renge ABC, Range LMN, Range DEF, Range HIJ, and Range DEF G, which are parameters of the color space dictionary, are omitted. When described in the color space dictionary, it may be used for normalization at the time of profile creation.
なお、本実施形態では、ベースプロファイルを元に修正し、入力プロファイルおよびシミュレーションプロファイルを作成する例について説明したが、プロファイルを1から作成しても同様の効果を得ることができる。 In the present embodiment, an example in which the input profile and the simulation profile are created based on the correction based on the base profile has been described, but the same effect can be obtained even if the profile is created from one.
なお、本実施形態では、PostScriptのCIEbasedカラースペースを用いて説明した。しかし、PDF(登録商標)で規定されるCalRGBやCalGrayなど、その他のPDLで規定されたカラースペース辞書に適用しても同様の効果を得ることができる。CalRGBの場合はCIEBasedABCの処理における、DecodeLMNおよびMatrixLMNを線形変換として処理すればよい。CalGrayの場合は、CIEBasedAの処理における、DecodeLMNおよびMatrixLMNを線形変換として処理すればよい。 The present embodiment has been described using the CIE based color space of PostScript. However, the same effect can be obtained by applying to other PDL-defined color space dictionaries such as CalRGB and CalGray defined by PDF (registered trademark). In the case of CalRGB, Decode LMN and Matrix LMN in the processing of CIE Based ABC may be processed as linear transformations. In the case of CalGray, Decode LMN and Matrix LMN in the processing of CIE Based A may be processed as linear transformations.
[第2の実施形態]
第1の実施形態では、CIEbasedカラースペースであるカラースペース辞書から、必ず2つのプロファイル(入力プロファイルおよびシミュレーションプロファイル)を作成する例について説明した。本実施形態においては、必要な場合のみ2つのプロファイル(入力プロファイルおよびシミュレーションプロファイル)を作成する例について説明する。以下では、第1の実施形態との差分について重点的に説明し、以下で特に触れない限りは第1の実施形態と同様であるものとする。
Second Embodiment
In the first embodiment, an example has been described in which two profiles (input profile and simulation profile) are necessarily created from a color space dictionary which is a CIE based color space. In the present embodiment, an example in which two profiles (input profile and simulation profile) are created only when necessary will be described. In the following, differences from the first embodiment are mainly described, and it is assumed that the second embodiment is the same as the first embodiment unless otherwise specified.
本実施形態に係る色処理装置による色変換処理について、同処理のフローチャートを示す図9を用いて説明する。図9において、図2と同じ処理ステップには同じステップ番号を付しており、該処理ステップに係る説明は省略する。 The color conversion processing by the color processing apparatus according to the present embodiment will be described with reference to FIG. 9 showing a flowchart of the processing. In FIG. 9, the same processing steps as in FIG. 2 are assigned the same step numbers, and descriptions of the processing steps are omitted.
ステップS901では、プロファイル作成部103は、入力プロファイルおよびシミュレーションプロファイルが必要か否かを判断する。入力プロファイルおよびシミュレーションプロファイルが必要か否かを判断する例としては、カラースペース辞書が行列を2つ以上もつか否かに応じて判断する方法がある。例えば、PostScriptのCIEbasedカラースペースは行列を2つ持つので必要と判断する。たとえば、PDF(登録商標)で規定されるCalRGBやCalGrayは行列が1つなので非特許文献2で規定されるICCプロファイル形式で表現可能なため必要なしと判断する。また、PostScriptのCIEbasedカラースペースであっても、2つの行列のうちどちらかが単位行列であれば、非特許文献2で規定されるICCプロファイル形式で表現可能なため必要なしと判定しても良い。また、PostScriptのCIEbasedカラースペースであっても、2つの行列の間のDecode LMNが線形変換であれば、2つの行列を合成し非特許文献2で規定されるICCプロファイル形式で表現可能なため必要なしと判定してもよい。
In step S901, the
ステップS901における判断の結果、入力プロファイルおよびシミュレーションプロファイルが必要と判断された場合には、処理はステップS201に進み、必要なしと判断された場合には、処理はステップS902に進む。 If it is determined in step S901 that the input profile and the simulation profile are necessary, the process proceeds to step S201. If it is determined that the input profile and the simulation profile are not necessary, the process proceeds to step S902.
ステップS902では、プロファイル作成部103は、入力プロファイルを作成する。ステップS903では、色変換部107は、ステップS902で作成された入力プロファイルと出力デバイスに応じて選択された出力プロファイルとを用いて色変換を行う。このように、本実施形態によれば、必要な場合のみ2つのプロファイル(入力プロファイルおよびシミュレーションプロファイル)を作成する。
In step S902, the
[第3の実施形態]
図1(a)、(b)に示した色処理装置のプロファイル作成部103及び色変換部107は何れもハードウェアで実装しても良いし、ソフトウェア(コンピュータプログラム)で実装しても良い。後者の場合、このソフトウェアを実行可能なコンピュータ装置は、図1(a)、(b)の色処理装置に適用することができる。図1(a)、(b)の色処理装置に適用可能なコンピュータ装置のハードウェア構成例について、図10のブロック図を用いて説明する。
Third Embodiment
Both the
CPU1001は、RAM1002に格納されているコンピュータプログラムやデータを用いて処理を実行する。これによりCPU1001はコンピュータ装置全体の動作制御を行うと共に、色処理装置が行うものとして上述した各処理を実行若しくは制御する。
The
RAM1002は、ネットワークI/F1003を介して外部から受信したデータ、外部記憶装置1004からロードされたコンピュータプログラムやデータを格納するためのエリアを有する。更にRAM1002は、CPU1001が各種の処理を実行する際に用いるワークエリアを有する。このようにRAM1002は、各種のエリアを適宜提供することができる。
The
ネットワークI/F1003は、LANやインターネットなどのネットワークを介して外部の装置との間のデータ通信を行うためのインターフェースとして機能する。例えば、上記の処理に必要な各種のデータをネットワークI/F1003を介して外部から取得しても良い。また、例えば、色変換結果としての出力データをネットワークI/F1003を介して外部装置に対して送信しても良い。
A network I /
外部記憶装置1004は、ハードディスクドライブ装置や不揮発性メモリ等の大容量情報記憶装置である。外部記憶装置1004には、OS(オペレーティングシステム)や、色処理装置が行うものとして上述した各処理をCPU1001に実行させるためのコンピュータプログラムやデータが保存されている。外部記憶装置1004に保存されているコンピュータプログラムには、上記のプロファイル作成部103及び色変換部107の機能をCPU1001に実行させるためのコンピュータプログラムが含まれている。また、外部記憶装置1004に保存されているデータには、上記の説明において既知の情報として説明したもの、例えば、各種のパラメータやプロファイル等が含まれている。外部記憶装置1004に保存されているコンピュータプログラムやデータは、CPU1001による制御に従って適宜RAM1002にロードされ、CPU1001による処理対象となる。
The
ディスプレイ1005は、CRTや液晶画面等により構成されており、CPU1001による処理結果を画像や文字などでもって表示することができる。なお、ディスプレイ1005は、CPU1001による処理結果を画像や文字として壁面に投影するプロジェクタ装置であっても良い。
The
キーボード1006、ポインティングデバイス1007は、ユーザが操作することで各種の指示をCPU1001に対して入力することができるユーザインターフェースの一例である。ポインティングデバイス1007には、例えば、マウスが適用可能である。
The
CPU1001、RAM1002、ネットワークI/F1003、外部記憶装置1004、ディスプレイ1005、キーボード1006、ポインティングデバイス1007は何れもバス1008に接続されている。
The
(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. Can also be realized. It can also be implemented by a circuit (eg, an ASIC) that implements one or more functions.
103:プロファイル作成部 107:色変換部 103: profile creation unit 107: color conversion unit
Claims (11)
前記カラースペース辞書の種類に応じて、第1のプロファイルと第2のプロファイルを作成する作成手段と、
前記入力データに対し、前記第1のプロファイルと前記第2のプロファイルと前記出力プロファイルとを用いて色変換を行う色変換手段と
を備えることを特徴とする色処理装置。 A color space dictionary defining conversion information from at least a first device dependent space described in the input data to a device independent space for input data, and a second device dependent space from a standard device independent space A color processing apparatus that performs color conversion using an output profile that defines conversion information to
Creating means for creating a first profile and a second profile according to a type of the color space dictionary;
A color conversion unit configured to perform color conversion on the input data using the first profile, the second profile, and the output profile.
前記作成手段は、前記判断手段において必要と判定された場合に前記第1のプロファイルと前記第2のプロファイルを作成することを特徴とする請求項1乃至5の何れか1項に記載の色処理装置。 The information processing apparatus further comprises determination means for determining whether the first profile and the second profile are required.
The color processing according to any one of claims 1 to 5, wherein the creation unit creates the first profile and the second profile when it is determined that the determination unit needs the determination. apparatus.
前記色処理装置の作成手段が、前記カラースペース辞書の種類に応じて、第1のプロファイルと第2のプロファイルを作成する作成工程と、
前記色処理装置の色変換手段が、前記入力データに対し、前記第1のプロファイルと前記第2のプロファイルと前記出力プロファイルとを用いて色変換を行う色変換工程と
を備えることを特徴とする色処理方法。 A color space dictionary defining conversion information from at least a first device dependent space described in the input data to a device independent space for input data, and a second device dependent space from a standard device independent space A color processing method performed by a color processing apparatus that performs color conversion using an output profile that defines conversion information to
A creation step of creating the first profile and the second profile according to the type of the color space dictionary by the creation means of the color processing device;
The color conversion unit of the color processing apparatus may further include a color conversion step of performing color conversion on the input data using the first profile, the second profile, and the output profile. Color processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017077731A JP6895791B2 (en) | 2017-04-10 | 2017-04-10 | Color processing equipment, color processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017077731A JP6895791B2 (en) | 2017-04-10 | 2017-04-10 | Color processing equipment, color processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018182483A true JP2018182483A (en) | 2018-11-15 |
JP6895791B2 JP6895791B2 (en) | 2021-06-30 |
Family
ID=64276217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017077731A Active JP6895791B2 (en) | 2017-04-10 | 2017-04-10 | Color processing equipment, color processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6895791B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7100330B1 (en) * | 2020-10-06 | 2022-07-13 | 株式会社Gfs | Stamp management method, stamp management device, program, and information processing method |
-
2017
- 2017-04-10 JP JP2017077731A patent/JP6895791B2/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7100330B1 (en) * | 2020-10-06 | 2022-07-13 | 株式会社Gfs | Stamp management method, stamp management device, program, and information processing method |
Also Published As
Publication number | Publication date |
---|---|
JP6895791B2 (en) | 2021-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5269042B2 (en) | Image processing apparatus, image processing method, and lookup table generation method | |
TWI407771B (en) | Method and apparatus for efficient processing of color conversion | |
US9640140B2 (en) | Color management system | |
WO2014177172A1 (en) | Color image processing | |
US8913312B2 (en) | Image processing method and apparatus using virtual color gamut information in association with color standards and processed statistically to offset a difference in color reproducibility of an output apparatus | |
US10097732B2 (en) | Color conversion method, non-transitory recording medium storing computer readable program, and image processing apparatus | |
JP6123446B2 (en) | Print control system, print control method, and print control program | |
JP6895791B2 (en) | Color processing equipment, color processing method | |
JP6036307B2 (en) | Image inspection system, image inspection method, image inspection program, and recording medium | |
JP5775338B2 (en) | Color processing apparatus and method, and image processing apparatus | |
JP2011019030A (en) | Conversion profile generation method and printer | |
JP5206428B2 (en) | Color processing apparatus and program | |
JP2008072550A (en) | Color processing method, color processing apparatus, image forming apparatus, program and recording medium | |
JP2016054405A (en) | Color processing device and method of the same | |
US20100195125A1 (en) | Image conversion device, image conversion method, and conversion program | |
JP2006254369A (en) | Color processing method and device thereof | |
JP7321885B2 (en) | Image processing device, image processing method, and program | |
JP2009038739A (en) | Color converting apparatus, color converting program and color converting method | |
JP2017103616A (en) | Image forming apparatus and program | |
JP2008160298A (en) | Color gamut generator, color gamut generation method, color gamut generation program and color converter | |
JP6405248B2 (en) | Image processing apparatus, image processing method, and program | |
JP6320278B2 (en) | Color processing apparatus and method | |
JP2015216457A (en) | Color conversion program and color converter | |
JP2012175253A (en) | Profile generation device, profile generation method, and program | |
JP2007184829A (en) | Image processor, image processing system, image processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200402 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20210103 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210108 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210113 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210215 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210415 |
|
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: 20210510 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210608 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6895791 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |