JP2005130308A - Image processing apparatus, image processing system, image processing method, and program and recording medium thereof - Google Patents
Image processing apparatus, image processing system, image processing method, and program and recording medium thereof Download PDFInfo
- Publication number
- JP2005130308A JP2005130308A JP2003365329A JP2003365329A JP2005130308A JP 2005130308 A JP2005130308 A JP 2005130308A JP 2003365329 A JP2003365329 A JP 2003365329A JP 2003365329 A JP2003365329 A JP 2003365329A JP 2005130308 A JP2005130308 A JP 2005130308A
- Authority
- JP
- Japan
- Prior art keywords
- color
- grid point
- point data
- lut
- image processing
- 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.)
- Withdrawn
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Color, Gradation (AREA)
Abstract
Description
本発明は、カラープリンタ、カラー複写機もしくはカラーマネジメントシステム等の画像処理装置、画像処理システム、画像処理方法、そのプログラム及び記録媒体に関し、特に、カラー画像における色補正の信号処理をする画像処理装置、画像処理システム、画像処理方法、そのプログラム及び記録媒体に関する。 The present invention relates to an image processing apparatus such as a color printer, a color copying machine, or a color management system, an image processing system, an image processing method, a program thereof, and a recording medium, and in particular, an image processing apparatus that performs color correction signal processing on a color image. The present invention relates to an image processing system, an image processing method, a program thereof, and a recording medium.
通常、カラーLUTを用いて色変換の処理をする場合にあって、色変換は少なくとも3次元以上の変換であるため、可能なすべての入力に対応するカラーLUTを作成すると、膨大なメモリが必要となるため全てのデータを持つことができない。そのため、代表のデータのみを用いた補間処理が施される。その場合、格子点に割り付けられる代表のデータを多くすれば色変換精度は向上するが、記憶容量が余分に必要となる。 Normally, when color conversion processing is performed using a color LUT, since color conversion is at least three-dimensional conversion, creating a color LUT corresponding to all possible inputs requires a large amount of memory. Therefore, it is not possible to have all the data. Therefore, an interpolation process using only representative data is performed. In that case, if the number of representative data allocated to the grid points is increased, the color conversion accuracy is improved, but an extra storage capacity is required.
一般に、格子点間隔の密度を高めれば、色変換の精度は高めることができる。平均的な補間演算の精度が向上するためである。格子点間隔の密度を高めれば、使用機器でカラーLUTを保存する記憶容量が余分に必要となるため、限りなく格子点間隔の密度を高めることができず色変換精度の高精度化には限界があった。 In general, the accuracy of color conversion can be increased by increasing the density of the lattice point spacing. This is because the accuracy of average interpolation calculation is improved. Increasing the density of grid points will require extra storage capacity to store the color LUT in the device used, so the density of grid points cannot be increased without limit, and there is a limit to increasing the color conversion accuracy. was there.
また、従来の多くのカラーLUTは格子点間隔を均等に配置していたが、かかる色変換においては、色空間があらゆる色部分で視覚上均等な線形空間ではないため、非線形性の大な部分では色補正誤差が大きくなってしまう問題があった。 In addition, many conventional color LUTs have the lattice point spacing equally arranged. However, in such color conversion, since the color space is not a linear space that is visually uniform in every color portion, a large part of nonlinearity is obtained. However, there is a problem that the color correction error becomes large.
そこで、特許文献1、2、3に開示されるように、階調性が要求されるような低濃度領域になるに従い格子点密度を高めるなど、カラーLUTの格子点間隔を前記非線形性に合うように不均等に配置することが考えられた。
Therefore, as disclosed in
特許文献1では、格子点を設定する際、低濃度領域ほど細かく分割しておくことで、量子化誤差による画質の劣化を最小限にするという方式が開示されている。 Japanese Patent Application Laid-Open No. 2004-228620 discloses a method of minimizing image quality degradation due to quantization error by finely dividing a lower density region when setting lattice points.
特許文献2では、格子点を自由に配置した構成で、色補正値を簡易かつ高速に算出するという技術が開示されている。 Japanese Patent Application Laid-Open No. 2004-228561 discloses a technique of calculating color correction values easily and at high speed with a configuration in which lattice points are freely arranged.
特許文献3では、色再現範囲内の色について格子点密度を調整する、色補正テーブルの階層的最適化法に関する技術が開示されている。
特許文献4では、LUTの解像度を補間処理によって段階的に高める(ビット数を増やす)機能に関する技術が開示されている。ビット数の少ない元のLUTから補間処理によってビット数の多いLUTを自動生成するところに特徴がある。予めLUTを必要な解像度レベルになるまで段階的に補間して構築してから色変換する。LUTの格子点密度は段階的に全体的に均等に増える。
特許文献5では、LUTによる色変換で、実測値と予測値との色のずれ量を求め、ずれ量を無くす修正量を求め、修正量に基づいてLUTを修正する技術が開示されている。 Japanese Patent Application Laid-Open No. 2004-228561 discloses a technique for obtaining a color deviation amount between an actual measurement value and a predicted value by color conversion using an LUT, obtaining a correction amount for eliminating the deviation amount, and correcting the LUT based on the correction amount.
特許文献6では、予測値と測定値との差分が予め定めた値以下になるように、また、差分の総和が所定値以下となるように、γテーブルを補間する色変換に関する技術が開示されている。
特許文献7では、LUTを圧縮してサーバーから外部装置に供給する技術が開示されている。
特許文献8では、複数のLUTの中から最適なLUTを選択する技術が開示されている。前記技術は、色見本の色度値と最少差の色度値を持つ3色格子点を含むLUTを最適なLUTとして選択するものである。
特許文献1では、格子点を設定する際、低濃度領域ほど細かく分割しておくことで、量子化誤差による画質の劣化を最小限にするものであるが、一律に低濃度領域の格子点間隔の密度を高めるというもので、色空間の視覚上の線形性の程度を考慮しなかったところに問題があった。
In
すなわち、低濃度領域は一律に色空間の線形性に基づかず細かくしているため、細かく分割しなくても補間精度が高いような領域についても無駄に細分していた。 That is, since the low density area is uniformly made fine without being based on the linearity of the color space, the area where the interpolation accuracy is high without being divided finely is wasted.
特許文献2では、格子点を自由に配置した構成で、色補正値を簡易かつ高速に算出するという技術が開示されているが、格子点数が多くなれば、必要となる記憶容量も多くなるという問題がある。
特許文献7では、LUTを圧縮してサーバーから外部装置に供給するものであるが、外部装置の記憶装置の容量に応じてLUTの容量を調整するものではないため、LUTの容量によっては使用できない時がある。また、LUTデータの全てのデータがないと機能しないため、通信回線がデータ転送中ダウンしたような時にもLUTが使用できないという問題がある。
In
従って、本発明は上記のような問題点に鑑み、色補正値を割り当てる格子点を自由に配置した構成のカラーLUTを使用した色変換装置において、前記カラーLUTの格子点総数制約下で最高の精度を得る格子点を決定する手段を設け、更に、ユーザーが重要視している色域を考慮した格子点を決定する手段を設けることにより、使用機器の記憶容量の制約下で色変換精度の高い色変換LUTを提供し、ユーザーの要求や使用傾向に応じて高精度の色変換をする画像処理装置、画像処理システム、画像処理方法、そのプログラム及び記録媒体を提供することを目的とする。 Therefore, in view of the above-described problems, the present invention provides a color conversion device using a color LUT having a configuration in which grid points to which color correction values are assigned are freely arranged, which is the best under the total number of grid points of the color LUT. By providing means for determining grid points to obtain accuracy, and by providing means for determining grid points that take into consideration the color gamut that the user places importance on, color conversion accuracy can be reduced under the constraints of the storage capacity of the equipment used. An object of the present invention is to provide an image processing apparatus, an image processing system, an image processing method, a program thereof, and a recording medium that provide a high color conversion LUT and perform high-accuracy color conversion according to a user's request and usage tendency.
請求項1に記載の発明は、色変換に使用される色空間内の各格子点の色データ実測値を有する実測値格子点データ保存手段と、前記色変換に使用されるカラーLUTの格子点データを保存するカラーLUTデータ保存手段と、前記カラーLUTの格子点データを使用して補間計算した場合の計算値と実測値のずれ量を計算するずれ量計算手段と、前記ずれ量を使用して前記格子点データを選択する格子点データ選択手段と、前記選択された格子点データを有するカラーLUTを作成するカラーLUT作成手段と、前記カラーLUTが既に有する格子点データを、前記作成されたカラーLUTが有する格子点データに更新する格子点データ更新手段と、前記更新された格子点データを有するカラーLUTを使用して色変換する色変換手段とを具備する画像形成装置としたことを特徴とする。 According to the first aspect of the present invention, measured value grid point data storage means having color data measured values of grid points in a color space used for color conversion, and grid points of the color LUT used for the color conversion. A color LUT data storage means for storing data, a deviation amount calculation means for calculating a deviation amount between a calculated value and an actual measurement value when interpolation calculation is performed using grid point data of the color LUT, and the deviation amount is used. The grid point data selection means for selecting the grid point data, the color LUT creation means for creating a color LUT having the selected grid point data, and the grid point data already possessed by the color LUT Grid point data updating means for updating to grid point data included in the color LUT, and color conversion means for performing color conversion using the color LUT having the updated grid point data Characterized in that the image forming apparatus.
請求項2記載の発明は、前記ずれ量計算手段は、ある特定色域又は全色域の代表色のずれ量の総和を計算する機能を有し、前記格子点データ選択手段は、前記ずれ量の総和が最小になるように前記選択された格子点データを優先的に選択する請求項1記載の画像処理装置としたことを特徴とする。
According to a second aspect of the present invention, the deviation amount calculating means has a function of calculating a sum of deviation amounts of representative colors in a specific color gamut or all color gamuts, and the grid point data selecting means is configured to calculate the deviation amount. The image processing apparatus according to
請求項3記載の発明は、前記選択された格子点データを記録するのに必要な記憶容量を計算する記憶容量計算手段を具備し、前記格子点データ選択手段が、前記記憶容量計算手段により計算された記憶容量に基づいて前記格子点データを選択する請求項1記載の画像処理装置としたことを特徴とする。
The invention according to
請求項4記載の発明は、色変換精度を高める色を指定する特定色指定手段と、前記指定された色の色変換に使用する格子点データを抽出する格子点データ抽出手段とを具備し、前記格子点データ選択手段が、前記抽出された格子点データと前記ずれ量を使用して前記指定された色の色変換で使用するカラーLUTの格子点データを選択する請求項1記載の画像処理装置としたことを特徴とする。
The invention according to
請求項5記載の発明は、各色毎の変換頻度を計算する色変換頻度計算手段を具備し、前記格子点データ選択手段が、前記各色毎の変換頻度を使用して格子点データを選択する請求項1記載の画像処理装置としたことを特徴とする。
The invention described in
請求項6記載の発明は、前記ずれ量計算手段が、高密度の格子点から構成されるカラーLUTの格子点に対応する実測値を使用する請求項1記載の画像処理装置としたことを特徴とする。
The invention according to
請求項7記載の発明は、前記カラーLUT作成手段が、カラーLUTを予め設定するカラーLUT初期設定手段と、前記初期設定されたカラーLUTの格子点データに基づいて、前記格子点データ選択手段が、色変換に必要な格子点を選択する請求項1記載の画像処理装置としたことを特徴とする。
According to a seventh aspect of the present invention, the color LUT creation means includes: a color LUT initial setting means for presetting a color LUT; and the grid point data selection means based on the grid point data of the initially set color LUT. The image processing apparatus according to
請求項8記載の発明は、前記カラーLUT初期設定手段により設定されるカラーLUTは、デフォルトで設定され、色変換に使用される請求項7記載の画像処理装置としたことを特徴とする。
The invention according to
請求項9記載の発明は、前記カラーLUTデータ保存手段を複数個具備し、前記複数個のカラーLUTデータ保存手段をユーザーの使用条件によって選択的に使用し、色変換する請求項1記載の画像処理装置としたことを特徴とする。
The invention according to
請求項10記載の発明は、入力画像の種類を判別する入力画像種判別手段を具備し、前記格子点データ選択手段が、前記入力画像種判別手段により判別された入力画像種に基づいて、色変換に必要な格子点データを選択する請求項1記載の画像処理装置としたことを特徴とする。
The invention according to
請求項11記載の発明は、前記入力画像種判別手段により入力画像が自然画であると判別された場合は、前記格子点データ選択手段が、格子点密度を高くしないように、色変換に必要な格子点データを選択する請求項1又は10に記載の画像処理装置としたことを特徴とする。
According to the eleventh aspect of the present invention, when the input image type determining unit determines that the input image is a natural image, the grid point data selecting unit is necessary for color conversion so as not to increase the grid point density. 11. The image processing apparatus according to
請求項12記載の発明は、ユーザーを判別するユーザー判別手段と、ユーザーの要求を認識するユーザー要求検知手段とを具備し、前記格子点データ選択手段が、前記ユーザー判別手段により判別され、前記ユーザー検知手段により検知されたユーザーの要求に基づいて、色変換に必要な格子点データを選択する請求項1、10、11のいずれか1項に記載の画像処理装置としたことを特徴とする。
The invention according to claim 12 comprises a user discriminating unit for discriminating a user and a user request detecting unit for recognizing a user request, wherein the grid point data selecting unit is discriminated by the user discriminating unit, and the user 12. The image processing apparatus according to
請求項13記載の発明は、色変換に使用されるカラーLUTの格子点データを保存するカラーLUTデータ保存手段と、前記カラーLUTの格子点データを使用して補間計算した場合の計算値と実測間のずれ量を計算するずれ量計算手段と、前記ずれ量を使用して前記格子点データを選択する格子点データ選択手段と、前記色変換に使用される色空間内の各格子点の色データ実測値を有する実測値格子点データ保存手段と、前記選択された格子点データを前記画像処理装置に送信する格子点データ送信手段とを備えた色変換データ計算装置と、前記色変換データ計算装置から送信された格子点データを受信する格子点データ受信手段と、前記受信された格子点データを有するカラーLUTを保存するカラーLUT保存手段と、前記カラー保存手段に既に保存されている格子点データを有するカラーLUTを、前記受信された格子点データを有するカラーLUTに更新するカラーLUT更新手段と、前記受信された格子点データを有するカラーLUTを使用して色変換する色変換手段とを備えたことを特徴とする画像処理装置とを具備し、前記画像処理装置と前記色変換データ計算装置が、ネットワークを介して互いにデータのやり取りをする手段を有する画像処理システムとしたことを特徴とする。 According to a thirteenth aspect of the present invention, there is provided a color LUT data storage means for storing color LUT grid point data used for color conversion, a calculated value and an actual measurement when interpolation calculation is performed using the color LUT grid point data. Shift amount calculating means for calculating a shift amount between them, grid point data selecting means for selecting the grid point data using the shift amount, and the color of each grid point in the color space used for the color conversion Color conversion data calculation apparatus comprising actual measurement grid point data storage means having actual data measurement values, and grid point data transmission means for transmitting the selected grid point data to the image processing apparatus, and the color conversion data calculation Grid point data receiving means for receiving grid point data transmitted from the apparatus, color LUT storage means for storing a color LUT having the received grid point data, and the color storage A color LUT updating means for updating a color LUT having grid point data already stored in the stage to a color LUT having the received grid point data, and a color LUT having the received grid point data. And an image processing device comprising color conversion means for color conversion, wherein the image processing device and the color conversion data calculation device have means for exchanging data with each other via a network. An image processing system is provided.
請求項14記載の発明は、前記画像処理装置から前記色変換データ計算装置へ、カラーLUTの格子点データを選択する方法を通信する格子点データ選択方法通信手段と、前記色変換データ計算装置が、前記通信された格子点データ選択方法に基づいて、格子点データを選択する手段と、前記選択された格子点データを前記画像処理装置へ送信する手段とを具備する請求項13記載の画像処理システムとしたことを特徴とする。 According to a fourteenth aspect of the present invention, there is provided a grid point data selection method communication means for communicating a method for selecting grid point data of a color LUT from the image processing apparatus to the color conversion data calculation apparatus, and the color conversion data calculation apparatus. 14. The image processing according to claim 13, further comprising: means for selecting lattice point data based on the communicated lattice point data selection method; and means for transmitting the selected lattice point data to the image processing apparatus. It is a system.
請求項15記載の発明は、前記格子点データ更新手段が、前記カラーLUT保存手段が既に保存している格子点データを、ユーザーが指定するタイミングで、前記選択された格子点データに変更する請求項1から12のいずれか1項に記載の画像処理装置としたことを特徴とする。
According to a fifteenth aspect of the invention, the grid point data update unit changes the grid point data already stored in the color LUT storage unit to the selected grid point data at a timing designated by a user. Item 13. The image processing apparatus according to any one of
請求項16記載の発明は、前記カラーLUTデータ更新手段が、前記カラーLUT保存手段に既に保存している格子点データを有するカラーLUTを、ユーザーが指定するタイミングで、前記受信された格子点データを有するカラーLUTに変更する請求項13又は14に記載の画像処理装置としたことを特徴とする。 According to a sixteenth aspect of the present invention, the received grid point data is transmitted at a timing when the color LUT data updating unit designates a color LUT having grid point data already stored in the color LUT storage unit. The image processing apparatus according to claim 13, wherein the image processing apparatus is changed to a color LUT having a color difference.
請求項17記載の発明は、前記格子点データ更新手段が、前記格子点データの変更毎に、ユーザーが指定する変更内容に設定する請求項1から12のいずれか1項に記載の画像処理装置としたことを特徴とする。
The invention according to
請求項18記載の発明は、前記カラーLUTデータ更新手段が、前記カラーLUTの変更毎に、ユーザーが指定する変更内容に設定する請求項13又は14に記載の画像処理装置としたことを特徴とする。 The invention according to claim 18 is the image processing apparatus according to claim 13 or 14, wherein the color LUT data update means sets the change contents designated by the user every time the color LUT is changed. To do.
請求項19記載の発明は、色変換に使用される色空間内の各格子点の色データ実測値を保存する実測値格子点データ保存工程と、前記色変換に使用される前記格子点データを保存するカラーLUTデータ保存工程と、前記格子点データを使用して補間計算した場合の計算値と実測値とのずれ量を計算するずれ量計算工程と、前記ずれ量を使用して前記格子点データを選択する格子点データ選択工程と、前記選択された格子点データを有するカラーLUTを作成するカラーLUT作成工程と、前記カラーLUTが既に有する格子点データを、前記作成されたカラーLUTが有する格子点データに更新する格子点データ更新工程と、前記作成されたカラーLUTを使用して色変換する工程とを具備する画像処理方法としたことを特徴とする。 According to a nineteenth aspect of the present invention, an actual value grid point data storage step for storing color data actual value of each grid point in a color space used for color conversion, and the grid point data used for the color conversion are stored. A color LUT data storage step to store, a shift amount calculation step of calculating a shift amount between a calculated value and an actual measurement value when interpolation calculation is performed using the grid point data, and the grid point using the shift amount The created color LUT has grid point data selection step for selecting data, a color LUT creation step for creating a color LUT having the selected grid point data, and grid point data that the color LUT already has. The image processing method includes a lattice point data update step for updating to lattice point data and a color conversion step using the created color LUT.
請求項20記載の発明は、前記選択された格子点データを記録するのに必要な記憶容量を計算する記憶容量計算工程を具備し、前記格子点データ選択工程が、前記記憶容量計算工程により計算された記憶容量に基いて前記格子点データを選択する請求項19記載の画像処理方法としたことを特徴とする。 The invention according to claim 20 further comprises a storage capacity calculation step of calculating a storage capacity required to record the selected grid point data, wherein the grid point data selection step is calculated by the storage capacity calculation step. The image processing method according to claim 19, wherein the grid point data is selected based on the stored storage capacity.
請求項21記載の発明は、請求項1から20に記載の処理をコンピュータに実行させるためのプログラムが記録されている読み取り可能な情報記録媒体としたことを特徴とする。 According to a twenty-first aspect of the present invention, there is provided a readable information recording medium on which a program for causing a computer to execute the processing according to the first to twentieth aspects is recorded.
請求項22記載の発明は、請求項1から20に記載の処理をコンピュータに実行させるためのプログラムとしたことを特徴とする。
The invention described in claim 22 is a program for causing a computer to execute the processes described in
本発明によれば、使用機器の記憶容量の制約下で、補間精度に大きく影響を及ぼす格子点を含むカラーLUTの構築をすることができ、また、カラーLUTの格子点間隔を色空間の視覚上の非線形性に合うように不均等に配置し、色空間の視覚上の非線形性に起因する補間計算誤差が考慮された、色変換精度の高いカラーLUTを構築できる。更に、ユーザーが着目している色域を考慮して色変換精度を高めることができる。よって、ユーザーの要求や使用傾向、又は、使用機器の記憶容量の制約に応じた、最適かつ高精度な色変換をすることが可能となる。 According to the present invention, it is possible to construct a color LUT including grid points that greatly affect the interpolation accuracy under the limitation of the storage capacity of the device used, and to determine the color LUT grid point spacing in the color space. It is possible to construct a color LUT with high color conversion accuracy that is non-uniformly arranged so as to match the above nonlinearity and that takes into account interpolation calculation errors caused by the visually nonlinear nonlinearity of the color space. Furthermore, the color conversion accuracy can be increased in consideration of the color gamut that the user is paying attention to. Therefore, it is possible to perform optimal and high-accuracy color conversion in accordance with user requirements, usage trends, or restrictions on the storage capacity of devices used.
本発明に係る画像形成装置における色変換装置の一の実施形態は、格子点データ更新手段1と、格子点選択手段2と、ずれ量計算手段3と、カラーLUTデータ保存手段4と、カラーLUT作成手段5と、色変換手段6と、実測値格子点データ保存手段7とを設ける。
One embodiment of the color conversion apparatus in the image forming apparatus according to the present invention includes a grid point
そして、カラーLUTデータ保存手段4の有する格子点データを使用して、カラーLUTに保有されていない格子点データを補間計算により算出した場合の色データの計算値と、実測値格子点データ保存手段7の有する色データの実測値とのずれ量を、ずれ量計算手段3により算出する。
Then, using the grid point data of the color LUT
次に、前記算出されたずれ量を使用して、格子点データ選択手段2により色変換に必要な格子点を選択し、前記選択された格子点の格子点データを有するカラーLUTをカラーLUT作成手段5により作成し、前記作成されたカラーLUTを用いて、色変換手段6により色変換をすることを特徴とする。
Next, using the calculated deviation amount, the grid point data selection means 2 selects grid points necessary for color conversion, and creates a color LUT having grid point data of the selected grid points. It is characterized in that it is created by
本実施形態によれば、使用機器の記憶容量の制約下で、補間精度に大きく影響を及ぼす格子点を含み、色空間の視覚上の非線形性に起因する補間計算誤差が考慮された、色変換精度の高いカラーLUTを有する色変換装置を実現することができる。 According to the present embodiment, the color conversion includes the grid points that greatly affect the interpolation accuracy under the limitation of the storage capacity of the device used, and the interpolation calculation error due to the visual nonlinearity of the color space is considered. A color conversion apparatus having a highly accurate color LUT can be realized.
本発明は、画像処理装置の有する所定の記憶容量の制限下で、高精度の色変換を行う、カラーLUTを使用する色変換装置に関するものである。 The present invention relates to a color conversion apparatus using a color LUT that performs high-accuracy color conversion under the limitation of a predetermined storage capacity of an image processing apparatus.
本発明に係る前記色変換装置の実施例を、以下に添付図面に基いて説明する。まず、本実施例の色変換装置の概略構成、及び、色変換装置における色補正処理の概略について説明する。 Embodiments of the color conversion apparatus according to the present invention will be described below with reference to the accompanying drawings. First, a schematic configuration of the color conversion apparatus of this embodiment and an outline of color correction processing in the color conversion apparatus will be described.
図3は、本実施例の色変換装置の概略構成図である。図3に示すように、本実施例の色変換装置は、格子点データ更新手段1、格子点データ選択手段2、ずれ量計算手段3、カラーLUTデータ保存手段4、カラーLUT作成手段5、色変換手段6、及び、実測値格子点データ保存手段7とを備えている。
FIG. 3 is a schematic configuration diagram of the color conversion apparatus according to the present embodiment. As shown in FIG. 3, the color conversion apparatus of this embodiment includes a grid point
なお、本発明を適用した画像処理装置における色変換装置は、少なくとも、格子点データ更新手段1、格子点データ選択手段2、ずれ量計算手段3、カラーLUTデータ保存手段4、カラーLUT作成手段5、色変換手段6とを備えたものである。
The color conversion apparatus in the image processing apparatus to which the present invention is applied includes at least a grid point
実測値格子点データ保存手段7は、色変換前の色空間内の各格子点の色データの実測値が保存されている。 The measured value grid point data storage means 7 stores measured values of color data of each grid point in the color space before color conversion.
本実施例では、図3で示すように、色変換装置に前記実測値格子点データ保存手段7が備えられている。しかし、前記実測値格子点データ保存手段7を備えた装置が、前記色変換装置とネットワークを介して結合されていてもよい。
In this embodiment, as shown in FIG. 3, the color conversion device is provided with the measured value grid point data storage means 7. However, an apparatus including the measured value grid point
また、カラーLUTデータ保存手段4は、色変換前の色空間内の特定の座標値における各格子点の色データと色変換後の色データとの対応関係を示す格子点データを有するものである。なお、前記色変換前の色空間内の各格子点の色データには、実測値が使用される。
The color LUT
また、カラーLUTデータ保存手段4は、通常、色空間内の全格子点に対して、前記格子点データを有していない。よって、色空間内の前記格子点データを有していない格子点に対しては、通常、前記カラーLUTの有する格子点データを使用して補間演算をするが、その結果得られた色データは、実測値とは異なる値となる。 Further, the color LUT data storage means 4 normally does not have the grid point data for all grid points in the color space. Therefore, for the grid points that do not have the grid point data in the color space, an interpolation operation is usually performed using the grid point data that the color LUT has, but the resulting color data is The value is different from the actually measured value.
また、ずれ量計算手段3は、カラーLUTの前記格子点データを使用して、カラーLUTの保有していない格子点の前記格子点データを補間計算により算出し、算出された前記格子点データを用いて得られた色データの計算値と、実測値格子点データ保存手段7の保有する色データの実測値とのずれ量(補間計算誤差)を計算する。 Further, the shift amount calculation means 3 uses the grid point data of the color LUT to calculate the grid point data of the grid points not held by the color LUT by interpolation calculation, and the calculated grid point data is calculated. A deviation amount (interpolation calculation error) between the calculated value of the color data obtained by using the measured value of the color data held by the measured value grid point data storage means 7 is calculated.
次に、本実施例による色変換装置の色補正処理を概略を説明する。まず、実測値格子点データ保存手段7が、格子点密度が十分に高い格子点に対応した実測値の色データを有するようにし、最初に高密度の格子点から構成されるカラーLUTを用意しておく。 Next, an outline of the color correction processing of the color conversion apparatus according to this embodiment will be described. First, the measured value grid point data storage means 7 has color data of measured values corresponding to grid points having a sufficiently high grid point density, and first prepares a color LUT composed of high density grid points. Keep it.
次に、格子点データ選択手段2が、前記実測値格子点データ保存手段7が有する色データの実測値と前記カラーLUT保存手段4が有する前記格子点データを用いて、前記ずれ量を算出する。
Next, the grid point
続いて、格子点データ選択手段2は、算出されたずれ量を参照して、例えば、補間精度に大きく影響を及ぼさない格子点を選択し、選択された格子点を順次、あらかじめ設定された前記高密度の格子点を有するカラーLUTから削除していく。
Subsequently, the grid point
この格子点の削除は、例えば、使用装置の有する記憶容量の制限を満足するように、及び、前記ずれ量計算手段3によって算出された前記ずれ量の総和が最小となるように行われる。更に、ユーザーの要求、例えばユーザーの着目した色域の色変換精度を考慮して行う場合もある。
The deletion of the grid points is performed, for example, so as to satisfy the limitation of the storage capacity of the device used and so that the total sum of the shift amounts calculated by the shift
次に、カラーLUT作成手段5が、上述した格子点の削除の結果得られた格子点データを用いて、前記格子点データを有するカラーLUTを作成する(カラーLUTの再構成)。続いて、この再構成(カスタマイズ)されたカラーLUTは、前記格子点データ更新手段1により、カラーLUT保存手段4に保存される。
Next, the color LUT creation means 5 creates a color LUT having the grid point data using the grid point data obtained as a result of the above-described grid point deletion (reconstruction of the color LUT). Subsequently, the reconfigured (customized) color LUT is stored in the color
続いて、カラーLUT保存手段4に保存されたカラーLUTを用いて、色変換手段6が色変換を実施する。なお、色変換装置には、上述の各構成手段以外の画像処理手段があってもかまわない。
Subsequently, the
なお、上述したカラーLUTのカスタマイズは、カラーLUT初期設定手段を設けて、更には、この初期設定がデフォルトで設定される手段を設けて、画像処理装置の使用の際、最初にカラーLUTをカスタマイズできるようにしてもよい。 The color LUT customization described above is provided with a color LUT initial setting means, and further provided with a means for setting this initial setting as a default. When using the image processing apparatus, the color LUT is first customized. You may be able to do it.
また、画像処理装置を使用している途中に、前記格子点データ更新手段により、ユーザーの指定するタイミングで、カラーLUTを変更できるようにしてもよい。更に、カラーLUTの変更毎に、格子点データの変更内容をユーザーが設定できるようにしてもよい。 Further, the color LUT may be changed at the timing designated by the user by the grid point data updating means while using the image processing apparatus. Further, every time the color LUT is changed, the change contents of the grid point data may be set by the user.
本実施例によれば、使用機器の記憶容量の制約を満足し、また、前記ずれ量を利用することにより、補間精度に大きく影響を及ぼす格子点を含むカラーLUTを構築し、色空間の視覚上の非線形性に起因する補間計算誤差が考慮された、色変換精度の高いカラーLUTを有する色変換装置を実現することができる。 According to the present embodiment, a color LUT including a grid point that satisfies the constraints on the storage capacity of the device used and that greatly affects the interpolation accuracy is constructed by using the deviation amount, and the color space is visually checked. It is possible to realize a color conversion apparatus having a color LUT with high color conversion accuracy in consideration of the interpolation calculation error due to the above nonlinearity.
次に、カラーLUTの有する格子点データを用いて行う、色補間処理(補正)の詳細を添付図面に基いて説明する。一般に、色補間処理(補正)を行う方法は、公知方法がいくつかある。本実施例に適用する色補間処理(補正)は、公知方法のどれを適用してもよい。ここでは、特許文献2、9で開示されている代表的な補間演算についてその詳細を説明する。
Next, details of color interpolation processing (correction) performed using the grid point data of the color LUT will be described with reference to the accompanying drawings. In general, there are several known methods for performing color interpolation processing (correction). Any known method may be applied to the color interpolation processing (correction) applied to the present embodiment. Here, the details of typical interpolation calculations disclosed in
カラーLUTを使用する色変換装置では、例えば、RGBなど3色の入力色空間の場合、入力色空間を複数の直方体に分割し、直方体を構成する8点の格子点を用いて線形補間をする。 In a color conversion device using a color LUT, for example, in the case of an input color space of three colors such as RGB, the input color space is divided into a plurality of rectangular parallelepipeds, and linear interpolation is performed using eight lattice points constituting the rectangular parallelepiped. .
図7は、一般的な補間方式を説明するための図である。図7を用いて、RGB色空間からYMC色空間に色変換する場合の一般的な補間方式の説明を行う。本説明では、Y成分を出力する場合の説明を行う。なお、MC成分についても同様に色補正を行うことができる。 FIG. 7 is a diagram for explaining a general interpolation method. A general interpolation method for color conversion from the RGB color space to the YMC color space will be described with reference to FIG. In this description, the case where the Y component is output will be described. Note that color correction can be similarly performed for the MC component.
まず、入力画素値を(R,G,B)とする。入力画素値(R,G,B)は、図7に示される3次元空間内の点Pとして表わすことができる。点Pは周囲8つの格子点に囲まれる。格子点の座標は(Ri,Gi,Bi)、(Ri+1,Gi,Bi)、(Ri,Gi+1,Bi)、(Ri+1,Gi+1,Bi)、(Ri,Gi,Bi+1)、(Ri+1,Gi,Bi+1)、(Ri,Gi+1,Bi+1)、(Ri+1,Gi+1,Bi+1)の8点であるとする。 First, let the input pixel value be (R, G, B). The input pixel value (R, G, B) can be represented as a point P in the three-dimensional space shown in FIG. The point P is surrounded by eight surrounding lattice points. The coordinates of the lattice points are (Ri, Gi, Bi), (Ri + 1, Gi, Bi), (Ri, Gi + 1, Bi), (Ri + 1, Gi + 1, Bi), (Ri, Gi, (Bi + 1), (Ri + 1, Gi, Bi + 1), (Ri, Gi + 1, Bi + 1), (Ri + 1, Gi + 1, Bi + 1).
また、格子点(Rk,Gk,Bk)に対応する出力色補正画素値はY(Rk,Gk,Bk)であるとする。この時、点Pに対応する出力補正画素値Yp(R,G,B)は、以下の数1に示す(式1)で求めることができる。
The output color correction pixel value corresponding to the grid point (Rk, Gk, Bk) is assumed to be Y (Rk, Gk, Bk). At this time, the output correction pixel value Yp (R, G, B) corresponding to the point P can be obtained by (Expression 1) shown in the following
しかし、(Lr,Lg,Lb)は、それぞれ各座標方向の格子点間の距離であり、(lr,lg,lb)は、格子点(Ri,Gi,Bi)から点P(R,G,B)までの各座標方向に対する距離である。 However, (Lr, Lg, Lb) is a distance between lattice points in each coordinate direction, and (lr, lg, lb) is a point P (R, G, Bi) from the lattice point (Ri, Gi, Bi). The distance to each coordinate direction up to B).
数1に示す(式1)を用いて補間データを求めるためには、入力画素値(R,G,B)に対して、格子点位置(Ri,Gi,Bi)、格子点間距離(Lr,Lg,Lb)、格子点内相対位置(lr,lg,lb)を求める必要がある。
In order to obtain the interpolation data using (Equation 1) shown in
ここで、図8は、補間方式を説明するブロック図である。図8では、補間方式の本質的な部分のみを簡易に説明することを目的として、対数化テーブル、加算器、指数化テーブルをまとめて乗算器として示す。 Here, FIG. 8 is a block diagram illustrating an interpolation method. In FIG. 8, the logarithmization table, the adder, and the exponentization table are collectively shown as a multiplier for the purpose of simply explaining only an essential part of the interpolation method.
また、図8を用いて説明する色補間計算は、出力色成分は1成分のみであり、RBGそれぞれ8ビットの画素値を入力し、色補正出力Y成分8ビットを出力する場合の計算である。 Further, the color interpolation calculation described with reference to FIG. 8 is a calculation in the case where the output color component is only one component, each RBG is input with a pixel value of 8 bits, and the color correction output Y component is output with 8 bits. .
図8に示す10101は、RGBデータを入力して、入力データに対応する格子点間距離を出力する格子点間距離テーブルである。格子点間距離テーブル10101は、RGBそれぞれに対応して3つある。 Reference numeral 10101 shown in FIG. 8 is a grid point distance table that inputs RGB data and outputs a grid point distance corresponding to the input data. There are three grid point distance tables 10101 corresponding to RGB.
図8に示す10102は、RGBデータを入力して、入力データに対応する格子点内相対位置を出力する格子点内相対位置テーブルである。格子点内相対位置テーブル10102はRGBそれぞれに対応して3つある。
図8に示す10103は、RGBデータを入力して、入力データに対応する第2の格子点内相対位置を出力する格子点内相対位置テーブル(その2)である。格子点内相対位置テーブル(その2)10103は、RGBそれぞれに対応して3つある。第2の格子点内相対位置は、(格子点間距離−格子点内相対位置)を示すものである。
図8に示す10104は、RGBデータを入力して、格子点の色補正出力値が蓄積された、LUTの該当アドレスを出力する格子点アドレステーブルである。格子点アドレステーブル10104はRGBそれぞれに対応して3つある。 Reference numeral 10104 shown in FIG. 8 denotes a grid point address table that inputs RGB data and outputs corresponding addresses of the LUT in which color correction output values of grid points are accumulated. There are three grid point address tables 10104 corresponding to RGB.
図8に示す、10105は格子点間距離乗算器、10107は、格子点内相対位置を乗算する相対位置乗算器、10108は、格子点アドレスを加算しLUTアドレスを生成する格子点アドレス加算器、10109は、格子点の色補正出力値を蓄積するLUT、10110は、格子点画素値乗算器、10111は、格子点画素値加算器、10112は、加算された格子点画素値を乗算された格子点間距離で割る除算器である。 8, 10105 is a lattice point distance multiplier, 10107 is a relative position multiplier that multiplies the relative position in the lattice point, and 10108 is a lattice point address adder that adds the lattice point addresses to generate an LUT address. 10109 is a LUT for storing color correction output values of lattice points, 10110 is a lattice point pixel value multiplier, 10111 is a lattice point pixel value adder, and 10112 is a lattice multiplied by the added lattice point pixel value. A divider that divides by the distance between points.
以下に、具体的な色補間計算について説明する。まず、格子点間距離テーブル10101内のテーブルRは、入力された8ビットのRデータを用いて、格子点間距離Lrを出力する。同様に、テーブルGは、入力された8ビットのGデータを用いて、格子点間距離Lgを出力する。また、テーブルBは、入力された8ビットのBデータを用いて、格子点間距離Lbを出力する。 Hereinafter, specific color interpolation calculation will be described. First, the table R in the inter-lattice distance table 10101 outputs the inter-lattice distance Lr using the input 8-bit R data. Similarly, the table G outputs the inter-lattice distance Lg using the input 8-bit G data. Further, the table B outputs the inter-lattice distance Lb using the input 8-bit B data.
続いて、前記格子点間距離テーブル10101において出力された、格子点間距離Lr,Lg,Lbが、格子点間距離乗算器10105に入力される。格子点間距離乗算器10105では、Lr×Lg×Lbの演算を行い、結果を除算器10112に出力する。
Subsequently, the lattice point distances Lr, Lg, and Lb output in the lattice point distance table 10101 are input to the lattice
また、格子点内相対位置テーブル(その2)10102内のテーブルRは、入力された8ビットのRデータを用いて、格子点内相対位置lrを出力する。同様に、テーブルGは、入力された8ビットのGデータを用いて、格子点内相対位置lgを出力する。また、テーブルBは、入力された8ビットのBデータを用いて、格子点内相対位置lbを出力する。 In addition, the table R in the lattice point relative position table (No. 2) 10102 outputs the lattice point relative position lr using the input 8-bit R data. Similarly, the table G outputs the relative position lg within the lattice point using the input 8-bit G data. Further, the table B outputs the relative position lb in the lattice point using the input 8-bit B data.
また、格子点内相対位置テーブル10103内のテーブルRでは、入力された8ビットのRデータを用いて、第2の格子点内相対位置Lr−lrを出力する。同様に、テーブルGは、入力された8ビットのGデータを用いて、第2の格子点内相対位置Lg−lgを出力する。また、テーブルBは、入力された8ビットのBデータを用いて、第2の格子点内相対位置Lb−lbを出力する。 Further, in the table R in the relative position in lattice point table 10103, the second relative position Lr-lr in second lattice point is output using the input 8-bit R data. Similarly, the table G outputs the second in-grid relative position Lg-lg using the input 8-bit G data. Further, the table B outputs the second relative position Lb-lb within the lattice point using the input 8-bit B data.
続いて、相対位置乗算器10107では、格子点内相対位置テーブル10102、及び、格子点内相対位置テーブル(その2)10103で求められたlr,lg,lb,Lr−lr,Lg−lg,Lb−lbを用いて、以下に示す数2の(式2〜9)を用いて8種類の乗算を行う。
Subsequently, in the relative position multiplier 10107, lr, lg, lb, Lr-lr, Lg-lg, and Lb obtained from the relative position table 10102 within the lattice point and the relative position table (part 2) 10103 within the lattice point. Using -lb, 8 types of multiplication are performed using
ここで、RGB空間各々に対して空間を8分割し、格子点数は各色成分に対し9であるとする。よって、前記LUT10109には、9×9×9の格子点に対応する出力画素値が蓄積されている。例えば、RBG色空間各々に対して、r番目、g番目、b番目の格子点(r,g,bは0〜8の整数)に対応するLUTのアドレスは、r+g×9+b×81の計算式によって求めることができる。
Here, it is assumed that the space is divided into 8 for each RGB space, and the number of grid points is 9 for each color component. Therefore, the
また、格子点アドレステーブル10104内のテーブルRは、rを出力し、テーブルGは、g×9を出力し、テーブルBは、b×81を出力する。 Further, the table R in the grid point address table 10104 outputs r, the table G outputs g × 9, and the table B outputs b × 81.
(Ri,Gi,Bi)に対応するLUTアドレスをAとする。格子点アドレス加算器10108では、A=r+g×9+b×81の演算を行い、(Ri,Gi,Bi)に対応するLUT10109のアドレスを出力する。
Let the LUT address corresponding to (Ri, Gi, Bi) be A. The lattice
更に、格子点アドレス加算器10108では、(r+1)+g×9+b×81=A+1の演算を行い、(Ri+1,Gi,Bi)に対応するアドレスを算出する。また、r+(g+1)×9+b×81=A+9の演算を行い、(Ri,Gi+1,Bi)に対応するアドレスを算出する。
Further, the lattice
また、(r+1)+(g+1)×9+b×81=A+10の演算を行い、(Ri+1,Gi+1,Bi)に対応するアドレスを算出する。また、r+g×9+(b+1)×81=A+81の演算を行い、(Ri,Gi,Bi+1)に対応するアドレスを算出する。 Further, an operation of (r + 1) + (g + 1) × 9 + b × 81 = A + 10 is performed to calculate an address corresponding to (Ri + 1, Gi + 1, Bi). Further, the calculation of r + g × 9 + (b + 1) × 81 = A + 81 is performed to calculate an address corresponding to (Ri, Gi, Bi + 1).
また、(r+1)+g×9+(b+1)×81=A+82の演算を行い、(Ri+1,Gi,Bi+1)に対応するアドレスを算出する。また、r+(g+1)×9+(b+1)×81=A+90の演算を行い、(Ri,Gi+1,Bi+1)に対応するアドレスを算出する。また、(r+1)+(g+1)×9+(b+1)×81=A+91の演算を行い、(Ri+1,Gi+1,Bi+1)に対応するアドレスを算出する。 Further, an operation of (r + 1) + g × 9 + (b + 1) × 81 = A + 82 is performed to calculate an address corresponding to (Ri + 1, Gi, Bi + 1). Further, an operation of r + (g + 1) × 9 + (b + 1) × 81 = A + 90 is performed to calculate an address corresponding to (Ri, Gi + 1, Bi + 1). Further, an operation of (r + 1) + (g + 1) × 9 + (b + 1) × 81 = A + 91 is performed to calculate an address corresponding to (Ri + 1, Gi + 1, Bi + 1).
続いて、LUT10109は、以上8つのアドレスに対応する画素値Y(Ri,Gi,Bi)、Y(Ri+1,Gi,Bi)、Y(Ri,Gi+1,Bi)、Y(Ri+1,Gi+1,Bi)、Y(Ri,Gi,Bi+1)、Y(Ri+1,Gi,Bi+1)、Y(Ri,Gi+1,Bi+1)、Y(Ri+1,Gi+1,Bi+1)を出力する。
Subsequently, the
続いて、格子点画素値乗算器10110では、相対位置乗算器10107の8種類の出力値と、LUT10109の8種類の出力値を乗算して、以下に示す数3の(式10〜17)を用いて8種類の出力値を生成する。
Subsequently, the lattice point pixel value multiplier 10110 multiplies the eight types of output values of the relative position multiplier 10107 and the eight types of output values of the
続いて、格子点画素値加算器10111は、上記8種類のデータを加算して、以下に示す数4の(式18)を用いて得られる値を生成する。 Subsequently, the lattice point pixel value adder 10111 adds the above eight types of data, and generates a value obtained using Equation (18) shown below.
続いて、除算器10112は、格子点画素値加算器10111における演算結果を格子点間距離乗算器10105における演算結果(Lr×Lg×Lb)で割って、(式1)の演算を実現し、補間画素値Yp(R,G,B)を出力する。
Subsequently, the divider 10112 divides the calculation result in the grid point pixel value adder 10111 by the calculation result (Lr × Lg × Lb) in the grid
以上説明した色補間演算は、数1の(式1)の演算を忠実に装置化したものである。 The color interpolation calculation described above is a device that faithfully implements the calculation of Equation 1 (Equation 1).
次に、本発明を適用した本実施例のカラーLUTのカスタマイズ処理について説明する。図9、10は、本実施例のカラーLUTのカスタマイズ処理の処理フローを示した図である。 Next, the color LUT customization process of this embodiment to which the present invention is applied will be described. FIGS. 9 and 10 are diagrams illustrating a processing flow of the color LUT customization processing according to the present exemplary embodiment.
本発明に係る高密度の格子点から構成されるLUTを使用してカラーLUTをカスタマイズする方法には、図9に示すように、最初に低密度の格子点データをもっていて補間精度に大きく影響を及ぼす格子点を順次選択し、格子点データを増やしていく方法と、逆に、図10に示すように、最初に高密度の格子点データをもっていて補間精度に影響を及ぼさない格子点を順次選択し格子点データを減らしていく方法がある。 The method for customizing a color LUT using an LUT composed of high-density grid points according to the present invention has a low-density grid point data as shown in FIG. In contrast to the method of sequentially selecting the grid points to be applied and increasing the grid point data, conversely, as shown in FIG. 10, the grid points that have high-density grid point data at the beginning and do not affect the interpolation accuracy are sequentially selected. There is a way to reduce the grid point data.
上述の両方法共に、記憶装置の容量制限などに起因する格子点総数(=選択した格子点の数)の制約条件の範囲内で補間演算誤差が一番少ないように格子点を選択するようにする。 In both of the above-described methods, the grid points are selected so as to minimize the interpolation calculation error within the range of the constraint condition of the total number of grid points (= the number of selected grid points) due to the capacity limit of the storage device. To do.
まず、図9に示すように、最初に低密度の格子点データをもっていて補間精度に大きく影響を及ぼす格子点を順次選択し、格子点データを増やしていく方法について説明する。図9に示すように、ステップ<2>において、最初の格子点データの初期設定をする。この設定は、低密度の格子点データを選択して、初期設定する。 First, as shown in FIG. 9, a method of increasing the grid point data by sequentially selecting grid points having low density grid point data and having a great influence on the interpolation accuracy will be described. As shown in FIG. 9, in step <2>, initial grid point data is initialized. In this setting, low density grid point data is selected and initialized.
続いて、ステップ<3>では、格子点数を増やすことができるか否かを判断する。そして、格子点数を増やすことができないと判断した場合はカスタマイズ処理を終了し、格子点数を増やす余地があると判断した場合は、ステップ<4>に進む。 Subsequently, in step <3>, it is determined whether or not the number of grid points can be increased. If it is determined that the number of grid points cannot be increased, the customization process is terminated. If it is determined that there is room for increasing the number of grid points, the process proceeds to step <4>.
ここで、ステップ<3>におけるカスタマイズ処理の終了の判定について説明する。ステップ<3>の終了判定において、すなわち、格子点数を変更可能であるかどうかの判定としては、使用装置の記憶容量制約条件を満足するかどうかで判定することができる。つまり、選択した格子点の総数が、使用装置の記憶容量制約条件の範囲内に収まるか否かにより判定できる。 Here, the end of the customization process in step <3> will be described. In the end determination of step <3>, that is, whether or not the number of grid points can be changed can be determined based on whether or not the storage capacity constraint condition of the device used is satisfied. That is, the determination can be made based on whether or not the total number of selected grid points falls within the range of the storage capacity restriction condition of the device used.
具体的には、ステップ<2>の格子点の初期設定の際に、格子点総数(=選択した格子点の総数)を設定しておいて、ステップ<3>の終了判定において、格子点総数+新たに追加する格子点数>格子点総数の上限値、であるかどうか判別する。なお、格子点総数の上限値は、典型的には使用可能な記憶装置の容量によって決める。 Specifically, in the initial setting of grid points in step <2>, the total number of grid points (= total number of selected grid points) is set, and in the end determination in step <3>, the total number of grid points. It is determined whether or not the number of newly added grid points> the upper limit value of the total number of grid points. Note that the upper limit of the total number of grid points is typically determined by the capacity of a usable storage device.
そして、上記条件を満たせばカスタマイズ処理を終了し、そうでなければ、ステップ<4>に進む。 If the above condition is satisfied, the customization process is terminated. Otherwise, the process proceeds to step <4>.
ステップ<4>では、増加させる格子点データの候補を選択し、各選択候補に対して補間演算し補間誤差を算出する。 In step <4>, a grid point data candidate to be increased is selected, and an interpolation operation is performed on each selection candidate to calculate an interpolation error.
続いて、ステップ<5>では、選択候補の中から、補間誤差が一番大きい、新たに追加する格子点データが決められた後、新たに選択した格子点数を格子点総数に追加する(格子点総数=格子点総数+新たに追加された格子点数とする。)。 Subsequently, in step <5>, after the newly added lattice point data having the largest interpolation error is determined from the selection candidates, the newly selected number of lattice points is added to the total number of lattice points (grid). The total number of points = the total number of grid points + the number of newly added grid points).
その後は、ステップ<3>へ戻り、新しく更新された格子点総数を用いて<3>の終了判定を行う。以下、上述した処理を繰り返す。 Thereafter, the process returns to step <3>, and the end determination of <3> is performed using the newly updated total number of grid points. Thereafter, the above-described processing is repeated.
なお、ステップ<5>で格子点を一度に増やす増やし方としては、1つの格子点であってもよいし、複数個の格子点であってもよい。図1は、後者の複数個の格子点を増やしていく場合の概念図である。ある格子点を中心に複数個の格子点が増える。 Note that the method of increasing the number of grid points at a time in step <5> may be one grid point or a plurality of grid points. FIG. 1 is a conceptual diagram when the latter plurality of lattice points are increased. A plurality of lattice points increase around a certain lattice point.
一方、図9に示すカラーLUTのカスタマイズ処理フローが、格子点を徐々に増やしているのに対し、図10に示す処理フローでは、格子点を徐々に減らしている。図10に示すように、最初に高密度の格子点データをもっていて補間精度に影響を及さない格子点を順次選択し、格子点データを減らしていく方法について説明する。 On the other hand, the color LUT customization process flow shown in FIG. 9 gradually increases the grid points, whereas in the process flow shown in FIG. 10, the grid points are gradually reduced. As shown in FIG. 10, a description will be given of a method of sequentially selecting grid points that have high-density grid point data and do not affect the interpolation accuracy, and reducing the grid point data.
まず、図10に示すように、ステップ<2>において、最初の格子点データの初期設定をする。この設定は、高密度の格子点データを選択して、初期設定する。続いて、ステップ<3>では、格子点数を減らすことができるか否かを判断する。そして、格子点数を減らすことができないと判断した場合はカスタマイズ処理を終了し、格子点数を減らす余地があると判断した場合は、ステップ<4>に進む。 First, as shown in FIG. 10, in step <2>, initial grid point data is initialized. In this setting, high-density grid point data is selected and initialized. Subsequently, in step <3>, it is determined whether or not the number of grid points can be reduced. If it is determined that the number of grid points cannot be reduced, the customization process is terminated. If it is determined that there is room for reducing the number of grid points, the process proceeds to step <4>.
ここで、ステップ<3>におけるカスタマイズ処理の終了の判定について説明する。ステップ<3>の終了判定において、すなわち、格子点数を変更可能であるかどうかの判定としては、使用装置の記憶容量制約条件を満足するかどうかで判定することができる。つまり、選択した格子点の総数が、使用装置の記憶容量制約条件の範囲内に収まるか否かにより判定できる。 Here, determination of the end of the customization process in step <3> will be described. In the end determination of step <3>, that is, whether or not the number of grid points can be changed can be determined based on whether or not the storage capacity constraint condition of the device used is satisfied. That is, the determination can be made based on whether or not the total number of selected grid points falls within the range of the storage capacity constraint condition of the device used.
具体的には、ステップ<2>の格子点の初期設定の際に、格子点総数(=選択した格子点の総数)を設定しておいて、ステップ<3>の終了判定において、格子点総数−新たに削除する格子点数<格子点総数の上限値、であるかどうか判別する。なお、格子点総数の上限値は、典型的には使用可能な記憶装置の容量によって決める。 Specifically, in the initial setting of grid points in step <2>, the total number of grid points (= total number of selected grid points) is set, and in the end determination in step <3>, the total number of grid points. It is determined whether or not the number of grid points to be newly deleted <the upper limit value of the total number of grid points. Note that the upper limit of the total number of grid points is typically determined by the capacity of a usable storage device.
そして、上記条件を満たせばカスタマイズ処理を終了し、そうでなければ、ステップ<4>に進む。ステップ<4>では、削除する格子点データの候補を選択し、各選択候補に対して補間演算し補間誤差を算出する。 If the above condition is satisfied, the customization process is terminated. Otherwise, the process proceeds to step <4>. In step <4>, a grid point data candidate to be deleted is selected, and an interpolation operation is performed on each selection candidate to calculate an interpolation error.
続いて、ステップ<5>では、選択候補の中から、補間誤差が一番小さい、新たに削除する格子点データが決められた後、新たに選択した格子点数を格子点総数から差し引く(格子点総数=格子点総数−新たに削除する格子点数とする。)。 Subsequently, in step <5>, after the lattice point data to be newly deleted with the smallest interpolation error is determined from the selection candidates, the number of newly selected lattice points is subtracted from the total number of lattice points (grid points). The total number = the total number of grid points−the number of grid points to be newly deleted).
その後は、ステップ<3>へ戻り、新しく更新された格子点総数を用いて<3>の終了判定を行う。以下、上述した処理を繰り返す。なお、ステップ<5>で格子点を一度に減らす減らし方としては、1つの格子点であってもよいし、複数個の格子点であってもよい。図2は、後者の複数個の格子点を減らしていく場合の概念図である。ある格子点を中心に複数個の格子点が減少する。 Thereafter, the process returns to step <3>, and the end determination of <3> is performed using the newly updated total number of grid points. Thereafter, the above-described processing is repeated. In addition, as a method of reducing the grid points at a time in step <5>, one grid point or a plurality of grid points may be used. FIG. 2 is a conceptual diagram when the latter plurality of lattice points are reduced. A plurality of lattice points decrease around a certain lattice point.
また、本発明を適用するカラーLUTカスタマイズ処理方法は、上述した方法のみに制限されるものではなく、使用装置毎に異なる制約条件のもとに、その制約条件の範囲内に収まるように、格子点総数(=選択した格子点の数)が制御される。 In addition, the color LUT customization processing method to which the present invention is applied is not limited to the above-described method, and the lattice LUT customization process is performed so as to be within the range of the constraint conditions under different constraint conditions for each device used. The total number of points (= number of selected grid points) is controlled.
次に、本実施例によるカラーLUTの構築(再構成あるいはカスタマイズ)についての詳細を説明する。上述したように、図9、10に示す、本実施例のカラーLUTのカスタマイズ処理フローにおけるカラーLUTの構築は、予め初期設定されたカラーLUTを基に順次格子点を増減しカラーLUTを作成することを特徴とする。 Next, details of the construction (reconfiguration or customization) of the color LUT according to this embodiment will be described. As described above, the construction of the color LUT in the customization processing flow of the color LUT of this embodiment shown in FIGS. 9 and 10 creates the color LUT by sequentially increasing / decreasing the grid points based on the color LUT set in advance. It is characterized by that.
この時、初期設定されるカラーLUTの格子点はできるだけ最終的に生成される格子点に近い程、格子点の選択を高速に実行することができる。そこで、カラーLUT初期設定手段で設定するカラーLUTは、そのまま使用してもそれほど問題とならないような標準的なデフォルトの設定であることが望ましい。微妙な修正だけで済むからである。 At this time, the lattice point can be selected at a higher speed as the lattice point of the color LUT to be initialized is as close as possible to the finally generated lattice point. Therefore, it is desirable that the color LUT set by the color LUT initial setting means is a standard default setting that does not cause much problem if used as it is. This is because only subtle modifications are required.
また、図9に示すカラーLUTのカスタマイズ処理フローでは、初期設定されたカラーLUTを基に、LUTの密度を順次高めていきながら、そのLUTを使用して補間演算した時の誤差を計算し、例えば誤差がある一定値以下になったLUTを使用する。 Further, in the color LUT customization process flow shown in FIG. 9, while increasing the LUT density sequentially based on the initially set color LUT, an error is calculated when interpolation is performed using the LUT. For example, an LUT having an error below a certain value is used.
一方、図10に示すカラーLUTのカスタマイズ処理フローでは、初期設定されたカラーLUTを基に、LUTの密度を順次下げていきながら、そのLUTを使用して補間演算した時の誤差を計算し、例えば誤差がある一定値以下になったLUTを使用する。 On the other hand, in the color LUT customization process flow shown in FIG. 10, while the LUT density is sequentially decreased based on the initially set color LUT, an error is calculated when interpolation is performed using the LUT. For example, an LUT having an error below a certain value is used.
もちろん、カラーLUTを構築する処理フローは、図9、10に示すものに限られることなく、初期設定されたカラーLUTを基に、格子点の増減を混合させてもかまわない。 Of course, the processing flow for constructing the color LUT is not limited to that shown in FIGS. 9 and 10, and the increase and decrease of the grid points may be mixed based on the initially set color LUT.
次に、図3に示した格子点データ選択手段2による格子点の選択について、その詳細を説明する。本発明は、上述したように、カラーLUTを使用して色変換する画像処理装置において、カラーLUTの格子点データを使用して補間計算した場合の色データの計算値と色データの実測値とのずれ量(補間計算誤差)を使用して前記色変換で使用するカラーLUTの格子点を選択しカラーLUT構築するものである。 Next, details of the selection of grid points by the grid point data selection means 2 shown in FIG. 3 will be described. As described above, according to the present invention, in the image processing apparatus that performs color conversion using the color LUT, the calculated value of the color data and the actually measured value of the color data when the interpolation calculation is performed using the grid point data of the color LUT. The color LUT is constructed by selecting the grid points of the color LUT to be used in the color conversion using the amount of deviation (interpolation calculation error).
典型的には、本実施例における格子点の選択(図9、10:ステップ<3>)では、ある特定色域又は全色域の代表色の格子点における色データの計算値と色データの実測値のずれ量(補間演算誤差)の総和が最小になるように格子点を選択しカラーLUTを構築する。 Typically, in the selection of grid points in this embodiment (FIG. 9, 10: step <3>), the calculated color data and the color data at the grid points of representative colors in a specific color gamut or the entire color gamut are displayed. The color LUT is constructed by selecting the grid points so that the total sum of the deviations of the actually measured values (interpolation calculation error) is minimized.
より具体的には、格子点の選択(図9、10:ステップ<3>)において、選択候補の格子点を使用して、ある特定色域又は全色域の代表色の格子点に対して、ずれ量(各色)=補間値(各色)−測定値(各色)、を計算し、全ての代表色の格子点に対して前記ずれ量を計算し、ずれ量の総和を計算する。 More specifically, in the selection of grid points (FIG. 9, 10: Step <3>), the grid points of the selection candidates are used to select the grid points of the representative color in a specific color gamut or the entire color gamut. The amount of deviation (each color) = interpolated value (each color) −measured value (each color) is calculated, the amount of deviation is calculated for all representative color grid points, and the total amount of deviation is calculated.
この時、評価する色の重要度によって、評価点(各色)=重要度(各色)×ずれ量(各色)、として計算した値を用いてもよい。ここで重要度とは、例えば、関心の高い色域の色ほど高い値をもつように設定をしておく。 At this time, a value calculated as evaluation point (each color) = importance (each color) × deviation amount (each color) may be used depending on the importance of the color to be evaluated. Here, the importance is set so that, for example, the color of the color gamut that is of high interest has a higher value.
そして、最終的に、以下の総合評価点が一番大きな値を持つ格子点を選択する。総合評価点=Σ評価点:全ての代表色の格子点について総和をとる。また、ここで評価する代表色は補間計算して求める色であればかまわない。この代表色の選択を高頻度色にすることで、高頻度色の精度を高めることもできる。 Finally, the grid point having the largest overall evaluation score is selected. Overall evaluation score = Σ evaluation point: Sums are obtained for all representative color grid points. The representative color evaluated here may be a color obtained by interpolation calculation. By selecting the representative color as a high-frequency color, the accuracy of the high-frequency color can be increased.
ここで、色データの実測値は、例えば、上述した図3に示す高密度の格子点の色データの実測値をもつ実測値格子点データ保存手段6(データサーバー)がデータバスあるいはネットワークを介して結合されていて、実測値はこの実測値格子点データ保存手段6に保存された色データの実測値を使用する。
Here, the actual measurement value of the color data is obtained, for example, by the actual measurement value grid point data storage means 6 (data server) having the actual measurement values of the color data of the high density grid points shown in FIG. 3 via the data bus or the network. As the actual measurement values, the actual measurement values of the color data stored in the actual measurement grid point
以上説明したようにして、記憶装置の容量制限などに起因する格子点数の制約条件の範囲内で補間演算誤差が一番少ないように格子点を選択する。 As described above, the grid points are selected so that the interpolation calculation error is the smallest within the range of the constraints on the number of grid points due to the capacity limitation of the storage device.
本実施例は、本発明を適用した、複数個のカラーLUTの格子点データを提供する画像処理装置の色変換装置における、カラーLUTのカスタマイズ処理方法に関するものである。図4は、本発明を適用した、複数個のカラーLUTの格子点データを提供する画像処理装置における色変換装置の構成例である。この構成例では、図3で示した、本発明を適用した典型的な画像処理装置における色変換装置の構成に加えて、カラーLUTデータ保存手段4が複数個設けられる。 The present embodiment relates to a color LUT customization processing method in a color conversion apparatus of an image processing apparatus that provides grid point data of a plurality of color LUTs to which the present invention is applied. FIG. 4 is a configuration example of a color conversion apparatus in an image processing apparatus that provides grid point data of a plurality of color LUTs to which the present invention is applied. In this configuration example, in addition to the configuration of the color conversion apparatus in the typical image processing apparatus to which the present invention is applied as shown in FIG. 3, a plurality of color LUT data storage means 4 are provided.
図6に示す画像処理装置における色変換装置では、複数個備えられたカラーLUTデータ保存手段4のそれぞれに対して格子点データを提供し、画像処理装置の使用条件、例えば、ユーザーの色変換精度の要求レベルによって、複数個のカラーLUTデータ保存手段4の中から、適切なカラーLUTデータ保存手段4を選択し、これを用いて色変換する。
In the color conversion apparatus in the image processing apparatus shown in FIG. 6, grid point data is provided to each of a plurality of color LUT data storage means 4, and usage conditions of the image processing apparatus, for example, user's color conversion accuracy are provided. Depending on the required level, an appropriate color LUT
更に、図4に図示されない入力画像種判別手段を設け、入力画像の種類を判別し、入力画像種判別に基づいて、格子点のデータを選択することができる。 Furthermore, an input image type discriminating unit (not shown in FIG. 4) is provided, the type of the input image is discriminated, and the grid point data can be selected based on the input image type discrimination.
また、一般に色変換される入力画像が自然画である場合は、画像の諧調連続性要求は低く格子点密度を高くしないように制御することが望ましい。その場合は、図9、10に示すカラーLUTのカスタマイズ処理フローのステップ<3>の終了条件において、格子点総数の上限値の値を小さくしておけばよい。 In general, when an input image to be color-converted is a natural image, it is desirable to control so that the tone continuity requirement of the image is low and the lattice point density is not increased. In this case, the upper limit value of the total number of grid points may be reduced in the end condition of step <3> of the color LUT customization process flow shown in FIGS.
図11は、本実施例の複数個のカラーLUTがある場合などにおいて、それぞれの色変換テーブルを設定する処理フローである。本実施例では、処理フロー<2>#において、それぞれの色変換テーブル生成要求に応じて、格子点選択パラメータの設定をするところに特徴がある。 FIG. 11 is a processing flow for setting each color conversion table when there are a plurality of color LUTs of this embodiment. The present embodiment is characterized in that in the processing flow <2> #, the grid point selection parameter is set according to each color conversion table generation request.
具体的には、ステップ<2>#では、要求に応じて、格子点選択パラメータ(例えば、格子点総数の上限値や、格子点領域(ブロック)、色毎の重要度)を設定する。 Specifically, in step <2> #, a grid point selection parameter (for example, an upper limit value of the total number of grid points, a grid point area (block), or an importance level for each color) is set as required.
続いて、ステップ<3>で、最初の格子点データの設定をする。例えば、低密度(高密度)の格子点データを選択し初期設定する。 Subsequently, in step <3>, initial grid point data is set. For example, low density (high density) grid point data is selected and initialized.
具体的には、ステップ<3>の格子点の初期設定の際に、格子点総数(=選択した格子点の総数)を設定しておいて、ステップ<4>の終了判定において、格子点総数−新たに追加(削除)する格子点数>(<)格子点総数の上限値、であるかどうか判別する。なお、格子点総数の上限値は、典型的には使用可能な記憶装置の容量によって決める。 Specifically, in the initial setting of grid points in step <3>, the total number of grid points (= total number of selected grid points) is set, and in the end determination in step <4>, the total number of grid points. It is determined whether or not the number of newly added (deleted) grid points> (<) the upper limit value of the total number of grid points. Note that the upper limit of the total number of grid points is typically determined by the capacity of a usable storage device.
続いて、ステップ<4>では、格子点数を増やす(減らす)ことができないと判断した場合はカスタマイズ処理を終了する。また、格子点数を増やす(減らす)余地があると判断した場合は、ステップ<5>へ進む。 Subsequently, in step <4>, if it is determined that the number of grid points cannot be increased (decreased), the customization process is terminated. If it is determined that there is room for increasing (decreasing) the number of grid points, the process proceeds to step <5>.
ステップ<5>では、指定された格子点領域(ブロック)の中から、格子点データの候補を選択し、各選択候補に対して補間演算し補間誤差を算出する。 In step <5>, a grid point data candidate is selected from the designated grid point area (block), and an interpolation operation is performed on each selection candidate to calculate an interpolation error.
続いて、ステップ<6>では、選択候補の中から補間誤差が一番大きい(小さい)、新たに追加(削除)する格子点データが決められた後、新たに選択した格子点数を格子点総数に追加する(から差し引く)(格子点総数=格子点総数+(−)新たに追加(削除)する格子点数とする。)。 Subsequently, in step <6>, after the grid point data to be newly added (deleted) is determined from the selection candidates having the largest (smallest) interpolation error, the number of newly selected grid points is set to the total number of grid points. (The total number of grid points = the total number of grid points + (−) is the number of grid points to be newly added (deleted)).
その後は、ステップ<3>へ戻り、新しく更新された格子点総数を用いてステップ<4>の終了判定を行う。以下、上述した処理を繰り返す。 Thereafter, the process returns to step <3>, and the completion determination of step <4> is performed using the newly updated total number of grid points. Thereafter, the above-described processing is repeated.
本実施例は、本発明を適用した、特定の色の色変換精度を高める画像処理装置の色変換装置における、カラーLUTのカスタマイズ処理方法に関するものである。図5は、本発明を適用した、特定の色の色変換精度を高める画像処理装置の色変換装置の構成例である。 The present embodiment relates to a color LUT customization processing method in a color conversion apparatus of an image processing apparatus to which the present invention is applied to improve the color conversion accuracy of a specific color. FIG. 5 is a configuration example of a color conversion apparatus of an image processing apparatus to which the present invention is applied to improve the color conversion accuracy of a specific color.
この構成例では、図3で示した、本発明を適用した典型的な画像処理装置における色変換装置の構成に加えて、色変換精度を高める色の指定手段、例えば、色変換頻度を計算する色変換頻度計算手段8が新たに備わった構成である。 In this configuration example, in addition to the configuration of the color conversion apparatus in the typical image processing apparatus to which the present invention is applied as shown in FIG. 3, a color designation means for improving the color conversion accuracy, for example, the color conversion frequency is calculated. The color conversion frequency calculation means 8 is newly provided.
特定の色としては典型的には色変換頻度の高い色がある。色変換頻度とは、使用された色の頻度であり、例えば、ヒストグラムのような形で保持しておく。本実施例は、高頻度に使用する色域を学習し、その色域を精度アップすることを目的とする。 The specific color typically includes a color having a high frequency of color conversion. The color conversion frequency is the frequency of the used color, and is stored in the form of a histogram, for example. The object of the present embodiment is to learn a color gamut used frequently and to improve the accuracy of the color gamut.
本実施例は、図9、10に示したステップ<4>の格子点データの選択において、色変換精度を高めたい色情報を用いるところに特徴がある。特定の色の色変換精度を高める方法については、以下に説明するが、色変換精度を高める色であれば、高頻度に使用する色だけでなく、ユーザーの指定した色であってもかまわない。 The present embodiment is characterized in that color information whose color conversion accuracy is desired to be increased is used in the selection of grid point data in step <4> shown in FIGS. The method for increasing the color conversion accuracy of a specific color will be described below. However, as long as the color conversion accuracy is improved, not only the frequently used color but also the color specified by the user may be used. .
特定の色の色変換精度を高める方法について、具体的に説明する。図9、10のステップ<5>における格子点の増減は、1つの格子点であってもよいし、複数個の格子点であってもよい。この時、以下に示すような処理フローで、部分的に格子点の密度を増減させ精度アップしていくこともできる。 A method for increasing the color conversion accuracy of a specific color will be specifically described. The increase / decrease of the lattice points in step <5> of FIGS. 9 and 10 may be one lattice point or a plurality of lattice points. At this time, the accuracy can be improved by partially increasing / decreasing the density of grid points in the processing flow as shown below.
<1>スタート
<2>最初の格子点データの設定(低密度の格子点データを選択し初期設定する)
<3>格子点数を増やす(減らす)ことができない場合は終了。
<4>指定された格子点領域(ブロック)の中カラー、格子点データの候補を選択し、各選択候補に対して補間演算し補間誤差を算出。
<5>選択候補の中カラー補間誤差が一番大きい格子点を増やし(減らす)<3>へ
<1> Start
<2> Setting the first grid point data (select low-density grid point data and initialize it)
<3> End if the number of grid points cannot be increased (decreased).
<4> Selects the color and grid point data candidates in the specified grid point area (block), and performs interpolation on each selection candidate to calculate the interpolation error.
<5> Increase (decrease) the grid point with the largest color interpolation error among selection candidates to <3>
本実施例は、図9、10における格子点の選択が、指定された格子点領域の中から、選択されるところに特徴がある。 The present embodiment is characterized in that the grid point selection in FIGS. 9 and 10 is selected from the designated grid point area.
また、本実施例では、指定する格子点領域(ブロック)を、ユーザーの指定した重要色味領域とすることにより、色変換精度を高めると指定した色の色変換精度を高めることができる。 Further, in this embodiment, by specifying the grid point area (block) to be designated as an important color area designated by the user, the color conversion precision of the designated color can be improved by increasing the color conversion precision.
なお、方式はこれに限定されない。別の実現方法として、図9、10の処理フローのまま、指定された色変換精度を高めたい色域の重要度の値を大きくし、前記ずれ量を評価することによっても指定した重要色味の色変換精度を高めることができる。ここで重要度とは、例えば、関心の高い色域の色ほど高い値をもつように設定をしておく。 The method is not limited to this. As another realization method, with the processing flow shown in FIGS. 9 and 10, the designated important color tone is also obtained by increasing the importance value of the color gamut for which the designated color conversion accuracy is desired to be increased and evaluating the shift amount. The color conversion accuracy can be increased. Here, the importance is set so that, for example, the color of the color gamut that is of high interest has a higher value.
また、上述したように、本実施例において、ずれ量を計算する対象である代表色をユーザーが指定した重要色、あるいは高頻度色にすることで、重要色あるいは高頻度色の色変換精度を高めることもできる。 Further, as described above, in this embodiment, the representative color for which the deviation amount is calculated is set to an important color or high-frequency color designated by the user, thereby improving the color conversion accuracy of the important color or high-frequency color. It can also be increased.
本実施例は、本発明を適用した、ネットワークを介して格子点データを提供するシステム構成を有する画像処理システムにおける、カラーLUTのカスタマイズ処理方法に関するものである。図6は、本発明を適用した、カラーLUTを持つサーバーからカラーLUTのデータを出力装置に供給するネットワーク環境を説明するための本発明を適用した画像処理システムのシステム構成図である。 This embodiment relates to a color LUT customization processing method in an image processing system to which the present invention is applied and which has a system configuration for providing grid point data via a network. FIG. 6 is a system configuration diagram of an image processing system to which the present invention is applied for explaining a network environment in which the present invention is applied and a server having a color LUT supplies color LUT data to an output device.
図6に示されるように、本実施例の画像処理システムは、ネットワークを介して画像処理装置13(クライアント)と色変換データ計算装置12(サーバー)が互いにデータのやり取りをする。 As shown in FIG. 6, in the image processing system of this embodiment, the image processing apparatus 13 (client) and the color conversion data calculation apparatus 12 (server) exchange data with each other via a network.
色変換データ計算装置12は、カラーLUTの格子点データを使用して補間計算した場合の色データの計算値と実測値とのずれ量(補間計算誤差)を使用して前記格子点を選択する格子点データ選択手段2と、選択された格子点データを前記画像処理装置13に送信する格子点データ送信手段9を具備している。
The color conversion data calculation device 12 selects the grid point using a deviation amount (interpolation calculation error) between the calculated value of the color data and the actual measurement value when interpolation calculation is performed using the grid point data of the color LUT. Grid point
一方、画像処理装置13は、前記色変換データ計算装置から送信された格子点データを受信する格子点データ受信手段10と、受信された格子点データを有するカラーLUTを使用して色変換する色変換手段6を具備している。 On the other hand, the image processing device 13 uses the grid point data receiving means 10 that receives the grid point data transmitted from the color conversion data calculation device and the color LUT that performs color conversion using the color LUT having the received grid point data. Conversion means 6 is provided.
本実施例の画像処理システムの典型的な動作を説明する。まず、予め設定されたタイミングで、画像処理装置13から色変換データ計算装置12に新たな条件(色変換情報)、例えば色の使用頻度情報あるいは重要色情報を提供する。
A typical operation of the image processing system of this embodiment will be described. First, new conditions (color conversion information) such as color use frequency information or important color information are provided from the image processing device 13 to the color conversion data calculation device 12 at a preset timing.
なお、画像処理装置13から色変換データ計算装置12へ提供される新たな条件(色変換情報)は、図6に示さない格子点選択方法通信手段によって送信される。 The new condition (color conversion information) provided from the image processing device 13 to the color conversion data calculation device 12 is transmitted by a grid point selection method communication unit not shown in FIG.
続いて、前記新たな条件(色変換情報)に基づき、色変換データ計算装置12が、図9、10を用いて既に説明したような方式により、カラーLUTを新たに抽出し、画像処理装置13に送信する。 Subsequently, based on the new condition (color conversion information), the color conversion data calculation device 12 newly extracts a color LUT by the method already described with reference to FIGS. Send to.
続いて、前記新たに抽出されたカラーLUTを用いて、画像処理装置13が色変換する。なお、色の使用頻度情報あるいは重要色情報を利用してその色の色変換精度を高める方法は、既に説明した方法と同様である。 Subsequently, the image processing apparatus 13 performs color conversion using the newly extracted color LUT. Note that the method for improving the color conversion accuracy of a color using the color use frequency information or the important color information is the same as the method already described.
図12に、画像処理装置13の処理フローを示す。また、図13に、色変換データ計算装置の処理フローを示す。 FIG. 12 shows a processing flow of the image processing apparatus 13. FIG. 13 shows a processing flow of the color conversion data calculation apparatus.
本実施例では、格子点データ等の送受信は、転送スピードを高めるために圧縮されていてもかまわない。その場合、受信側で伸張される。また、転送においては、修正された格子点データに関する情報だけ送受信されてもかまわない。その場合、画像処理装置13では、修正されたデータの値のみを更新するだけで済む。また、途中までのデータだけで、色変換できるような順序で、送信する格子点データに色領域毎の優先順位をつけて転送してもかまわない。 In the present embodiment, transmission / reception of lattice point data or the like may be compressed in order to increase the transfer speed. In that case, it is decompressed on the receiving side. In the transfer, only information related to the corrected grid point data may be transmitted and received. In that case, the image processing apparatus 13 only needs to update the value of the corrected data. Alternatively, the grid point data to be transmitted may be transferred with priority for each color area in an order that allows color conversion using only halfway data.
次に、カラーLUTの更新タイミング調整について説明する。本実施例のもう一つの典型的な実現方法は、ユーザーが指定したタイミングで格子点データを提供し、カラーLUT更新手段11によりカラーLUTを変更するような装置構成とすることである。 Next, the update timing adjustment of the color LUT will be described. Another typical implementation method of this embodiment is to provide a device configuration in which grid point data is provided at a timing specified by the user and the color LUT update means 11 changes the color LUT.
前記ユーザーが指定したタイミングとは、例えば、画像処理装置が立ち上がった時である。その時に、上述したように、その時までに使用された頻度情報等を用いて、図6に示すカラーLUT更新手段11により、カラーLUTを更新することができるようにしてもよい。更に、ユーザーがカラーLUTの変更毎に、その変更内容を設定できるようにすることもできる。
The timing designated by the user is, for example, when the image processing apparatus starts up. At that time, as described above, the color LUT may be updated by the color
1 格子点データ更新手段
2 格子点データ選択手段
3 ずれ量計算手段
4 カラーLUTデータ保存手段
5 カラーLUT作成手段
6 色変換手段
7 実測値格子点データ保存手段
8 色変換頻度計算手段
9 格子点データ送信手段
10 格子点データ受信手段
11 カラーLUTデータ更新手段
12 画像処理装置
13 色変換データ計算装置
10101 格子点間距離テーブル
10102 格子点内相対位置テーブル
10103 格子点内相対位置テーブル(その2)
10104 格子点アドレステーブル
10105 格子点間距離乗算器
10107 格子点内相対位置を乗算する相対位置乗算器
10108 格子点アドレス加算器
10109 格子点の色補正出力値を蓄積するLUT
10110 格子点画素値乗算器
10111 格子点画素値加算器
10112 除算器
DESCRIPTION OF
10104 Lattice point address table 10105 Lattice point distance multiplier 10107 Relative position multiplier that multiplies the relative position within a
10110 Lattice point pixel value multiplier 10111 Lattice point pixel value adder 10112 Divider
Claims (22)
前記色変換に使用されるカラーLUTの格子点データを保存するカラーLUTデータ保存手段と、
前記カラーLUTの格子点データを使用して補間計算した場合の計算値と実測値のずれ量を計算するずれ量計算手段と、
前記ずれ量を使用して前記格子点データを選択する格子点データ選択手段と、
前記選択された格子点データを有するカラーLUTを作成するカラーLUT作成手段と 、
前記カラーLUTが既に有する格子点データを、前記作成されたカラーLUTが有する格子点データに更新する格子点データ更新手段と、
前記更新された格子点データを有するカラーLUTを使用して色変換する色変換手段とを具備したことを特徴とする画像処理装置。 Actual value grid point data storage means having color data actual value of each grid point in the color space used for color conversion;
Color LUT data storage means for storing grid point data of the color LUT used for the color conversion;
A deviation amount calculating means for calculating a deviation amount between a calculated value and an actual measurement value when interpolation calculation is performed using grid point data of the color LUT;
Grid point data selection means for selecting the grid point data using the deviation amount;
Color LUT creation means for creating a color LUT having the selected grid point data;
Grid point data updating means for updating grid point data already possessed by the color LUT to grid point data possessed by the created color LUT;
An image processing apparatus comprising: color conversion means for performing color conversion using a color LUT having the updated lattice point data.
前記格子点データ選択手段は、前記ずれ量の総和が最小になるように前記選択された格子点データを優先的に選択することを特徴とする請求項1記載の画像処理装置。 The deviation amount calculation means has a function of calculating the sum of deviation amounts of representative colors of a specific color gamut or all color gamuts,
The image processing apparatus according to claim 1, wherein the grid point data selection unit preferentially selects the selected grid point data so that the total sum of the shift amounts is minimized.
前記格子点データ選択手段が、前記記憶容量計算手段により計算された記憶容量に基づいて前記格子点データを選択することを特徴とする請求項1記載の画像処理装置。 Comprising a storage capacity calculating means for calculating a storage capacity necessary for recording the selected lattice point data;
The image processing apparatus according to claim 1, wherein the grid point data selection unit selects the grid point data based on the storage capacity calculated by the storage capacity calculation unit.
前記指定された色の色変換に使用する格子点データを抽出する格子点データ抽出手段とを具備し、
前記格子点データ選択手段が、前記抽出された格子点データと前記ずれ量を使用して前記指定された色の色変換で使用するカラーLUTの格子点データを選択することを特徴とする請求項1記載の画像処理装置。 A specific color designating means for designating a color for improving color conversion accuracy;
Grid point data extraction means for extracting grid point data used for color conversion of the specified color,
The grid point data selection unit selects grid point data of a color LUT to be used for color conversion of the specified color using the extracted grid point data and the shift amount. The image processing apparatus according to 1.
前記格子点データ選択手段が、前記各色毎の変換頻度を使用して格子点データを選択することを特徴とする請求項1記載の画像処理装置。 Color conversion frequency calculation means for calculating the conversion frequency for each color is provided,
The image processing apparatus according to claim 1, wherein the grid point data selection unit selects grid point data using the conversion frequency for each color.
前記初期設定されたカラーLUTの格子点データに基づいて、前記格子点データ選択手段が、色変換に必要な格子点を選択することを特徴とする請求項1記載の画像処理装置。 The color LUT creation means includes a color LUT initial setting means for presetting the color LUT;
The image processing apparatus according to claim 1, wherein the grid point data selection unit selects grid points necessary for color conversion based on the grid point data of the color LUT that is initially set.
前記複数個のカラーLUTデータ保存手段をユーザーの使用条件によって選択的に使用し、色変換することを特徴とする請求項1記載の画像処理装置。 A plurality of color LUT data storage means;
2. The image processing apparatus according to claim 1, wherein the plurality of color LUT data storage means are selectively used according to a use condition of a user to perform color conversion.
前記格子点データ選択手段が、前記入力画像種判別手段により判別された入力画像種に基づいて、色変換に必要な格子点データを選択することを特徴とする請求項1記載の画像処理装置。 Comprising an input image type discrimination means for discriminating the type of the input image;
The image processing apparatus according to claim 1, wherein the grid point data selection unit selects grid point data necessary for color conversion based on the input image type determined by the input image type determination unit.
ユーザーの要求を認識するユーザー要求検知手段とを具備し、
前記格子点データ選択手段が、前記ユーザー判別手段により判別され、前記ユーザー検知手段により検知されたユーザーの要求に基づいて、色変換に必要な格子点データを選択することを特徴とする請求項1、10、11のいずれか1項に記載の画像処理装置。 A user identification means for identifying a user;
Comprising user request detection means for recognizing user requests,
2. The grid point data selection unit selects grid point data necessary for color conversion based on a user request detected by the user determination unit and detected by the user detection unit. The image processing apparatus according to any one of 10 and 11.
前記カラーLUTの格子点データを使用して補間計算した場合の計算値と実測間のずれ量を計算するずれ量計算手段と、
前記ずれ量を使用して前記格子点データを選択する格子点データ選択手段と、
前記色変換に使用される色空間内の各格子点の色データ実測値を有する実測値格子点データ保存手段と、
前記選択された格子点データを前記画像処理装置に送信する格子点データ送信手段と、を備えた色変換データ計算装置と、
前記色変換データ計算装置から送信された格子点データを受信する格子点データ受信手段と、
前記受信された格子点データを有するカラーLUTを保存するカラーLUT保存手段と、
前記カラー保存手段に既に保存されている格子点データを有するカラーLUTを、前記受信された格子点データを有するカラーLUTに更新するカラーLUT更新手段と、
前記受信された格子点データを有するカラーLUTを使用して色変換する色変換手段とを備えたことを特徴とする画像処理装置とを具備し、
前記画像処理装置と前記色変換データ計算装置が、ネットワークを介して互いにデータのやり取りをする手段を有する画像処理システム。 Color LUT data storage means for storing grid point data of the color LUT used for color conversion;
A deviation amount calculation means for calculating a deviation amount between the calculated value and the actual measurement when interpolation calculation is performed using the grid point data of the color LUT;
Grid point data selection means for selecting the grid point data using the deviation amount;
Actual value grid point data storage means having color data actual value of each grid point in the color space used for the color conversion;
A color conversion data calculation device comprising: lattice point data transmission means for transmitting the selected lattice point data to the image processing device;
Grid point data receiving means for receiving grid point data transmitted from the color conversion data calculation device;
Color LUT storage means for storing a color LUT having the received grid point data;
A color LUT update means for updating a color LUT having grid point data already stored in the color storage means to a color LUT having the received grid point data;
An image processing apparatus comprising color conversion means for performing color conversion using a color LUT having the received grid point data,
An image processing system comprising means for allowing the image processing apparatus and the color conversion data calculation apparatus to exchange data with each other via a network.
前記色変換データ計算装置が、前記通信された格子点データ選択方法に基づいて、格子点データを選択する手段と、
前記選択された格子点データを前記画像処理装置へ送信する手段と、
を具備することを特徴とする請求項15記載の画像処理システム。 Grid point data selection method communication means for communicating a method for selecting grid point data of a color LUT from the image processing device to the color conversion data calculation device;
Means for selecting grid point data based on the communicated grid point data selection method, the color conversion data calculation device;
Means for transmitting the selected grid point data to the image processing device;
16. The image processing system according to claim 15, further comprising:
前記色変換に使用される前記格子点データを保存するカラーLUTデータ保存工程と、
前記格子点データを使用して補間計算した場合の計算値と実測値とのずれ量を計算するずれ量計算工程と、
前記ずれ量を使用して前記格子点データを選択する格子点データ選択工程と、
前記選択された格子点データを有するカラーLUTを作成するカラーLUT作成工程と、
前記カラーLUTが既に有する格子点データを、前記作成されたカラーLUTが有する格子点データに更新する格子点データ更新工程と、
前記作成されたカラーLUTを使用して色変換する工程とを具備したことを特徴とする画像処理方法。 An actual value grid point data storage step for storing color data actual value of each grid point in the color space used for color conversion; and a color LUT data storage step for storing the grid point data used for the color conversion;
A deviation amount calculating step for calculating a deviation amount between a calculated value and an actual measurement value when interpolation calculation is performed using the grid point data;
A grid point data selection step of selecting the grid point data using the shift amount;
A color LUT creation step of creating a color LUT having the selected grid point data;
A grid point data update step of updating grid point data already possessed by the color LUT to grid point data possessed by the created color LUT;
And a color conversion process using the created color LUT.
前記格子点データ選択工程が、前記記憶容量計算工程により計算された記憶容量に基いて前記格子点データを選択することを特徴とする請求項19記載の画像処理方法。 A storage capacity calculating step for calculating a storage capacity necessary for recording the selected grid point data;
20. The image processing method according to claim 19, wherein the grid point data selection step selects the grid point data based on the storage capacity calculated by the storage capacity calculation step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003365329A JP2005130308A (en) | 2003-10-24 | 2003-10-24 | Image processing apparatus, image processing system, image processing method, and program and recording medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003365329A JP2005130308A (en) | 2003-10-24 | 2003-10-24 | Image processing apparatus, image processing system, image processing method, and program and recording medium thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005130308A true JP2005130308A (en) | 2005-05-19 |
Family
ID=34644018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003365329A Withdrawn JP2005130308A (en) | 2003-10-24 | 2003-10-24 | Image processing apparatus, image processing system, image processing method, and program and recording medium thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005130308A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007142506A (en) * | 2005-11-15 | 2007-06-07 | Seiko Epson Corp | Image processing apparatus, image processing method, and program |
JP2011078096A (en) * | 2009-09-30 | 2011-04-14 | General Electric Co <Ge> | Stain-based optimized compression of digital pathology slide |
JP2014090289A (en) * | 2012-10-30 | 2014-05-15 | Seiko Epson Corp | Image processor, electronic apparatus and data conversion method |
CN106488075A (en) * | 2015-08-31 | 2017-03-08 | 京瓷办公信息系统株式会社 | Lattice point group generation method and lattice point group's generating means |
JP2017050618A (en) * | 2015-08-31 | 2017-03-09 | 京セラドキュメントソリューションズ株式会社 | Lattice point group generation method, lattice point group generation program and lattice point group generation device |
JP2017050617A (en) * | 2015-08-31 | 2017-03-09 | 京セラドキュメントソリューションズ株式会社 | Lattice point group generation method, lattice point group generation program and lattice point group generation device |
-
2003
- 2003-10-24 JP JP2003365329A patent/JP2005130308A/en not_active Withdrawn
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007142506A (en) * | 2005-11-15 | 2007-06-07 | Seiko Epson Corp | Image processing apparatus, image processing method, and program |
JP4682814B2 (en) * | 2005-11-15 | 2011-05-11 | セイコーエプソン株式会社 | Image processing apparatus, image processing method, and program |
JP2011078096A (en) * | 2009-09-30 | 2011-04-14 | General Electric Co <Ge> | Stain-based optimized compression of digital pathology slide |
JP2014090289A (en) * | 2012-10-30 | 2014-05-15 | Seiko Epson Corp | Image processor, electronic apparatus and data conversion method |
CN106488075A (en) * | 2015-08-31 | 2017-03-08 | 京瓷办公信息系统株式会社 | Lattice point group generation method and lattice point group's generating means |
JP2017050618A (en) * | 2015-08-31 | 2017-03-09 | 京セラドキュメントソリューションズ株式会社 | Lattice point group generation method, lattice point group generation program and lattice point group generation device |
JP2017050617A (en) * | 2015-08-31 | 2017-03-09 | 京セラドキュメントソリューションズ株式会社 | Lattice point group generation method, lattice point group generation program and lattice point group generation device |
CN106488075B (en) * | 2015-08-31 | 2019-01-15 | 京瓷办公信息系统株式会社 | Lattice point group generation method and lattice point group's generating means |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4428998B2 (en) | Image processing apparatus and method | |
EP1294177B1 (en) | Image processing method and apparatus | |
JP5309137B2 (en) | Method of color mapping from non-convex source gamut to non-convex target gamut | |
JP4164214B2 (en) | Color processing apparatus and method | |
JP2005268980A (en) | Method, apparatus and program for creating color conversion definition, and for forming profile | |
WO2005065092A2 (en) | Dynamic generation of color look-up tables | |
US20060209325A1 (en) | Image processing method, image processing apparatus and storage medium storing a program | |
JPH10276337A (en) | Color image processor | |
US8451521B2 (en) | Finding a locus of colorant formulations that produces a desired color | |
JP2005130308A (en) | Image processing apparatus, image processing system, image processing method, and program and recording medium thereof | |
JP4854340B2 (en) | Image processing method and apparatus | |
JP2007181012A (en) | Image processor, image processing method, program and recording medium | |
JP5299232B2 (en) | Color conversion table creation program, color conversion table creation device, and color conversion table creation method | |
JP2013509059A (en) | Optimized printer calibration method | |
JP4985162B2 (en) | Color gamut generation device, color gamut generation program, and color conversion device | |
JP2000004369A (en) | Method and processor for image processing, and recording medium thereof | |
JPH10191090A (en) | Apparatus and method for manufacturing color conversion table, and recording medium | |
JP5036495B2 (en) | Color processing apparatus and color processing method | |
JP2009038593A (en) | Color processing apparatus and method | |
JP4095609B2 (en) | Color processing apparatus and method | |
JP2004172809A (en) | Color management system | |
JP5966661B2 (en) | Black definition file generation device, device link profile generation device, black definition file generation method, black definition file generation program | |
JP3910323B2 (en) | Profile creation method and profile creation apparatus | |
JP4541772B2 (en) | Color conversion method, profile creation method and apparatus | |
US6278805B1 (en) | System for composing color transforms using class information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070109 |