JP2001008221A - Color proofing method, color proofing device, and storage medium - Google Patents
Color proofing method, color proofing device, and storage mediumInfo
- Publication number
- JP2001008221A JP2001008221A JP11172985A JP17298599A JP2001008221A JP 2001008221 A JP2001008221 A JP 2001008221A JP 11172985 A JP11172985 A JP 11172985A JP 17298599 A JP17298599 A JP 17298599A JP 2001008221 A JP2001008221 A JP 2001008221A
- Authority
- JP
- Japan
- Prior art keywords
- data
- illumination light
- image
- color
- component
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Image Processing (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
(57)【要約】
【課題】 照明光の影響をも考慮して、忠実な色再現性
を得ることが可能となる色校正方法を提供する。
【解決手段】 使用する画像入出力装置の入出力特性を
入出力特性ファイルとして記憶部に保存し、画像入力装
置が撮影する環境に於ける照明光の特性を照明光データ
ファイルとして記憶部に保存しておき、画像入力装置に
より対象物の画像を基準白色と共に撮影し、撮影された
画像データを前記画像入力装置の入出力特性ファイルを
用いて、機器の特性に依存しない色空間上のデータに変
換し、次に、撮影環境の照明光データを取得し、取得さ
れた照明光データを用いて、機器の特性に依存しない色
空間上のデータから、照明光の色味成分の影響を除去
し、また、所定の照明光の色味成分を付加し、さらに、
撮影環境の照明光の明るさ成分を補正し、最後に、画像
出力装置に補正された画像データを出力する。
(57) [Problem] To provide a color proofing method capable of obtaining faithful color reproducibility in consideration of the influence of illumination light. SOLUTION: The input / output characteristics of an image input / output device to be used are stored in a storage unit as an input / output characteristics file, and the characteristics of illumination light in an environment where the image input device captures images are stored in the storage unit as an illumination light data file. In addition, the image of the object is photographed together with the reference white by the image input device, and the photographed image data is converted into data on a color space independent of the characteristics of the device by using the input / output characteristic file of the image input device. Transform, and then acquire illumination light data of the shooting environment, and use the acquired illumination light data to remove the influence of the tint component of the illumination light from the data on the color space independent of the device characteristics. In addition, a predetermined color component of the illumination light is added,
The brightness component of the illumination light in the shooting environment is corrected, and finally, the corrected image data is output to the image output device.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、色校正方法、およ
び色校正装置、並びに記憶媒体に係わり、特に、画像デ
ータを取得する環境が倉庫等のように特殊な環境下であ
っても、本来の色を再現する際に有効な技術に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color proofing method, a color proofing device, and a storage medium. Technology that is effective in reproducing the colors of
【0002】[0002]
【従来の技術】青果物等を取り扱う物流業務において、
倉庫に保管される商品である青果物の熱度状態や腐敗状
態を遠隔管理するシステムを構築しようとする場合に、
倉庫内にディジタルカメラを設置し、当該ディジタルカ
メラで商品(青果物)の状態を撮影し、その撮影された
画像データを通信回線により、遠隔地に設置してあるコ
ンピュータに送信して、CRT等のディスプレイに表示
するシステムが考えられる。一方、従来より、入力機器
と出力機器の特性により、入力機器から読み込んだカラ
ー画像を出力機器に出力すると異なった色合いになるこ
とがしばしばである。そのために、従来より、入力機器
と出力機器の特性が異なっていても、同じ色を再現する
ためのカラーマネージメントシステムが検討されてい
る。そして、前記した物流業務における、倉庫に保管さ
れる青果物の熱度状態や腐敗状態を遠隔管理するシステ
ムにおいても、前記したカラーマネージメントシステム
が必要とされる。2. Description of the Related Art In a logistics business dealing with fruits and vegetables,
If you want to build a system that remotely manages the heat state and rot state of the fruits and vegetables that are stored in the warehouse,
A digital camera is installed in the warehouse, the state of the product (vegetables) is photographed with the digital camera, and the photographed image data is transmitted to a computer installed in a remote place via a communication line, and is transmitted to a computer such as a CRT. A system for displaying on a display is conceivable. On the other hand, conventionally, depending on the characteristics of an input device and an output device, when a color image read from the input device is output to the output device, the color often has a different color. Therefore, a color management system for reproducing the same color even if the characteristics of the input device and the output device are different has been studied. The above-mentioned color management system is also required in a system for remotely managing the heat state and decay state of fruits and vegetables stored in a warehouse in the above-mentioned physical distribution business.
【0003】[0003]
【発明が解決しようとする課題】従来のカラーマネージ
メントシステムでは、入出力機器の特性の違いを除去す
ることに主眼がおかれている。しかしながら、前記物流
業務における倉庫内では、入出力装置の特性の差を考慮
して色の再現性を高めることは言うまでもないが、その
他に倉庫内という、いわば特殊な環境下において、その
照明光の特性をも考慮する必要がある。即ち、倉庫内の
照明光の特性は、例えば、暗いとか、昼光でない等の特
性を持つことから、一般的に撮影された画像の色や明る
さが一定方向に偏る傾向があることをも考慮する必要が
ある。そして、従来のカラーマネージメントシステムで
は、前記した倉庫内の照明光の特性が考慮されておら
ず、そのため、従来のカラーマネージメントシステムで
は、前記した物流業務における、倉庫に保管される青果
物の熱度状態や腐敗状態を遠隔管理するシステムにおい
て、忠実な色再現性を得ることができないと言う問題点
があった。本発明は、前記従来技術の問題点を解決する
ためになされたものであり、本発明の目的は、照明光の
影響をも考慮して、忠実な色再現性を得ることが可能と
なる色校正方法および装置を提供することにある。ま
た、本発明の他の目的は、コンピュータに前記色校正方
法を実施させるためのプログラムが記録された記録媒体
を提供することにある。本発明の前記ならびにその他の
目的と新規な特徴は、本明細書の記述及び添付図面によ
って明らかにする。In a conventional color management system, the main focus is on eliminating differences in the characteristics of input / output devices. However, in the warehouse in the logistics business, it goes without saying that the color reproducibility is enhanced in consideration of the difference in the characteristics of the input / output devices. Properties must also be considered. That is, since the characteristics of the illumination light in the warehouse have, for example, characteristics such as darkness and non-daylight, the color and brightness of a generally shot image tend to be biased in a certain direction. It needs to be considered. And, in the conventional color management system, the characteristics of the illumination light in the warehouse described above are not taken into account, and therefore, in the conventional color management system, in the above-described logistics business, the heat state of fruits and vegetables stored in the warehouse and the like In a system that remotely manages the state of decay, there is a problem that faithful color reproducibility cannot be obtained. The present invention has been made in order to solve the problems of the prior art, and an object of the present invention is to provide a color that can obtain faithful color reproducibility in consideration of the influence of illumination light. A calibration method and apparatus are provided. It is another object of the present invention to provide a recording medium on which a program for causing a computer to execute the color proofing method is recorded. The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.
【0004】[0004]
【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記の通りである。即ち、本発明は、画像入力装置によ
り撮影された画像データの色を校正して画像出力装置に
出力する色校正方法であって、使用する画像入力装置及
び画像出力装置の入出力特性を、予め測定して入出力特
性ファイルとして記憶部に保存する予備ステップ1と、
画像入力装置が撮影する環境に於ける照明光の特性を、
予め基準白色に対して測定し、照明光データファイルと
して記憶部に保存する予備ステップ2と、画像入力装置
により対象物の画像を基準白色と共に撮影する撮影ステ
ップと、前記撮影ステップで撮影された画像データを、
前記記憶部に保存されている前記画像入力装置の入出力
特性ファイルのデータを用いて、機器の特性に依存しな
い色空間上のデータに変換する入力データ変換ステップ
と、前記画像データが撮影された環境の照明光が既知で
ある場合には、該当する照明光データを前記記憶部から
取得し、また、前記画像データが撮影された環境の照明
光が不明の場合には、前記撮影された画像データの基準
白色領域部分のデータと前記記憶部に保存されている照
明光データとを比較して、最も差の小さな照明光データ
を撮影環境の照明光データとして取得する照明光データ
取得ステップと、前記照明光データ取得ステップで取得
された照明光データを用いて、前記入力データ変換ステ
ップで変換された機器の特性に依存しない色空間上のデ
ータから、照明光の色味成分の影響を除去する色味成分
除去ステップと、前記色味成分除去ステップで照明光の
色味成分の影響が除去された、機器の特性に依存しない
色空間上のデータに対して、所定の照明光の色味成分を
付加する色味成分付加ステップと、前記色味成分付加ス
テップで所定の照明光の色味成分が付加された、機器の
特性に依存しない色空間上のデータに対して、撮影環境
の照明光の明るさ成分を補正する明るさ補正ステップ
と、前記明るさ補正ステップで照明光の明るさ成分が補
正された、機器の特性に依存しない色空間上のデータ
を、前記記憶部に保存されている出力先の画像出力装置
の入出力特性ファイルのデータを用いて、出力先の画像
出力装置の特性に依存する画像データに変換する出力デ
ータ変換ステップとを有することを特徴とする。また、
本発明は、画像入力装置により撮影された画像データの
色を校正して画像出力装置に出力する場合の色校正方法
であって、使用する画像入力装置及び画像出力装置の入
出力特性を、予め測定して入出力特性ファイルとして記
憶部に保存する予備ステップ1と、画像入力装置が撮影
する環境に於ける照明光の特性を、予め基準白色に対し
て測定し、照明光データファイルとして記憶部に保存す
る予備ステップ2と、画像入力装置により対象物の画像
を基準白色と共に撮影する撮影ステップと、前記撮影ス
テップで撮影された画像データを、前記記憶部に保存さ
れている前記画像入力装置の入出力特性ファイルのデー
タを用いて、機器の特性に依存しない色空間上のデータ
に変換する入力データ変換ステップと、前記画像データ
が撮影された環境の照明光が既知である場合には、該当
する照明光データを前記記憶部から取得し、また、前記
画像データが撮影された環境の照明光が不明の場合に
は、前記撮影された画像データの基準白色領域部分のデ
ータと前記記憶部に保存されている照明光データとを比
較して、最も差の小さな照明光データを撮影環境の照明
光データとして取得する照明光データ取得ステップと、
前記照明光データ取得ステップで取得された照明光デー
タを用いて、前記入力データ変換ステップで変換された
機器の特性に依存しない色空間上のデータから、照明光
の色味成分の影響を除去する色味成分除去ステップと、
前記色味成分除去ステップで照明光の色味成分の影響が
除去された、機器の特性に依存しない色空間上のデータ
に対して、撮影環境の照明光の明るさ成分を補正する明
るさ補正ステップと、前記明るさ補正ステップで撮影環
境の照明光の明るさ成分が補正された、機器の特性に依
存しない色空間上のデータに対して、所定の照明光の色
味成分を付加する色味成分付加ステップと、前記色味成
分付加ステップで所定の照明光の色味成分が付加され
た、機器の特性に依存しない色空間上のデータを、前記
記憶部に保存されている出力先の画像出力装置の入出力
特性ファイルのデータを用いて、出力先の画像出力装置
の特性に依存する画像データに変換する出力データ変換
ステップとを有することを特徴とする。また、本発明
は、前記予備ステップ1における、画像入力装置の入出
力特性ファイルを作成するステップが、画像入力装置が
撮影する物体の色に対して、細かい間隔で入出力データ
を取得し、前記物体の色以外の色に対しては、粗い間隔
で入出力データを取得して、入出力特性ファイルを作成
することを特徴とする。SUMMARY OF THE INVENTION Among the inventions disclosed in the present application, the outline of a representative one will be briefly described.
It is as follows. That is, the present invention is a color calibration method for calibrating the color of image data captured by an image input device and outputting the color to an image output device, wherein the input / output characteristics of the image input device and the image output device to be used are determined in advance. Preliminary step 1 for measuring and storing in the storage unit as an input / output characteristic file;
The characteristics of the illumination light in the environment where the image input device shoots,
Preliminary step 2 in which the reference white is measured in advance and stored in the storage unit as an illumination light data file, a photographing step of photographing the image of the object together with the reference white by the image input device, and an image photographed in the photographing step Data
Using the data of the input / output characteristic file of the image input device stored in the storage unit, an input data conversion step of converting the data into a data on a color space that does not depend on the characteristics of the device; and If the illumination light of the environment is known, obtain the corresponding illumination light data from the storage unit, and if the illumination light of the environment where the image data is captured is unknown, the captured image Comparing the data of the reference white area portion of the data and the illumination light data stored in the storage unit, and acquiring the illumination light data with the smallest difference as illumination light data of the shooting environment; Using the illumination light data acquired in the illumination light data acquisition step, the illumination light is converted from data in a color space that does not depend on the characteristics of the device converted in the input data conversion step. The color component removal step of removing the influence of the color component, and the effect of the color component of the illumination light removed in the color component removal step, for data on a color space that does not depend on the characteristics of the device, A tint component adding step of adding a tint component of a predetermined illumination light; and a data in a color space to which the tint component of the predetermined illumination light is added in the tint component adding step, independent of device characteristics. On the other hand, a brightness correction step of correcting the brightness component of the illumination light of the shooting environment, and the brightness component of the illumination light corrected in the brightness correction step, data on a color space that does not depend on the characteristics of the device. Using an input / output characteristic file of the output destination image output device stored in the storage unit to convert the data into image data dependent on the characteristics of the output destination image output device. Features To. Also,
The present invention is a color calibration method for calibrating the color of image data captured by an image input device and outputting the color to an image output device, wherein the input / output characteristics of the image input device and the image output device to be used are determined in advance. Preliminary step 1 of measuring and storing in the storage unit as an input / output characteristic file, and characteristics of the illumination light in the environment where the image input device takes an image are measured in advance with respect to the reference white and stored as the illumination light data file. And a photographing step of photographing the image of the object with the reference white by the image input device, and the image data photographed in the photographing step is stored in the storage unit of the image input device. An input data conversion step of converting data into a color space independent of device characteristics by using data of the input / output characteristic file, and an environment in which the image data is captured If the illumination light is known, obtain the corresponding illumination light data from the storage unit, and if the illumination light of the environment where the image data was captured is unknown, the Comparing the data of the reference white area and the illumination light data stored in the storage unit, an illumination light data acquisition step of acquiring the illumination light data with the smallest difference as illumination light data of a shooting environment;
Using the illumination light data acquired in the illumination light data acquisition step, the influence of the tint component of the illumination light is removed from the data in the color space that does not depend on the characteristics of the device converted in the input data conversion step. A color component removal step,
The brightness correction for correcting the brightness component of the illumination light in the shooting environment for the data in the color space that does not depend on the characteristics of the device, in which the influence of the tint component of the illumination light has been removed in the color component removal step. And a step of adding a predetermined illuminating light color component to data in a color space independent of device characteristics, in which the illuminating light component of the shooting environment is corrected in the brightness correction step. The taste component adding step and the data in the color space that does not depend on the characteristics of the device to which the tint component of the predetermined illumination light is added in the tint component adding step are output to the output destination stored in the storage unit. And an output data conversion step of converting the input / output characteristic file of the image output device into image data depending on the characteristics of the output destination image output device. Further, in the present invention, in the preliminary step 1, the step of creating an input / output characteristic file of the image input device acquires input / output data at small intervals with respect to a color of an object photographed by the image input device, For colors other than the color of the object, input / output data is obtained at coarse intervals and an input / output characteristic file is created.
【0005】また、本発明は、画像入力装置により撮影
された画像データの色を校正して画像出力装置に出力す
る色校正装置であって、予め測定された入出力データに
基づき作成された、使用する画像入力装置および画像出
力装置の入出力特性ファイルと、予め基準白色に対して
測定された、画像入力装置が撮影する環境に於ける照明
光のデータとを保存する記憶部と、画像入力装置により
対象物の画像を基準白色と共に撮影する画像撮影部と、
前記画像撮影部で撮影された画像データを、前記記憶部
に保存されている前記画像入力装置の入出力特性ファイ
ルのデータを用いて、機器の特性に依存しない色空間上
のデータに変換する入力画像色空間変換処理部と、前記
画像データが撮影された環境の照明光が既知である場合
には、該当する照明光データを前記記憶部から取得し、
また、前記画像データが撮影された環境の照明光が不明
の場合には、前記撮影された画像データの基準白色領域
部分のデータと前記記憶部に保存されている照明光デー
タとを比較して、最も差の小さな照明光データを撮影環
境の照明光データとして取得する照明光データ取得部
と、前記照明光データ取得部で取得した照明光データを
用いて、前記入力画像色空間変換処理部で変換された機
器の特性に依存しない色空間上のデータから、照明光の
色味成分の影響を除去する色味成分除去処理部と、前記
色味成分除去処理部で照明光の色味成分の影響が除去さ
れた、機器の特性に依存しない色空間上のデータに対し
て、所定の照明光の色味成分を付加する色味成分付加処
理部と、前記色味成分除去処理部で照明光の色味成分の
影響が除去された、機器の特性に依存しない色空間上の
データに対して、撮影環境の照明光の明るさ成分を補正
する明るさ補正処理部と、前記色味成分付加処理部およ
び明るさ補正処理部で照明光の色味成分および明るさ成
分が補正された、機器の特性に依存しない色空間上のデ
ータを、前記記憶部に保存されている出力先の画像出力
装置の入出力特性ファイルのデータを用いて、出力先の
画像出力装置に依存する画像データに変換する出力画像
色空間変換処理部とを有することを特徴とする。また、
本発明は、前記色校正方法をコンピュータに実行させる
ためのプログラムを記憶した記録媒体である。Further, the present invention is a color proofing device for calibrating colors of image data photographed by an image input device and outputting the same to an image output device, wherein the color proofing device is prepared based on input / output data measured in advance. A storage unit for storing input / output characteristic files of an image input device and an image output device to be used, and data of illumination light in an environment where the image input device is photographed beforehand measured with respect to a reference white; An image capturing unit that captures an image of the object with the reference white by the device,
An input for converting image data photographed by the image photographing unit into data on a color space independent of device characteristics by using data of an input / output characteristic file of the image input device stored in the storage unit. When the image color space conversion processing unit and the illumination light of the environment where the image data is captured is known, obtain the relevant illumination light data from the storage unit,
Further, when the illumination light of the environment where the image data is captured is unknown, the data of the reference white area portion of the captured image data is compared with the illumination light data stored in the storage unit. An illumination light data acquisition unit that acquires the illumination light data with the smallest difference as illumination light data of a shooting environment, and the input image color space conversion processing unit that uses the illumination light data acquired by the illumination light data acquisition unit. From the data in the color space that does not depend on the characteristics of the converted device, a tint component removal processing unit that removes the influence of the tint component of the illumination light, and the tint component of the illumination light in the tint component removal processing unit. A tint component addition processing unit that adds a tint component of predetermined illumination light to data in a color space that does not depend on the characteristics of the device from which the influence has been removed; The effect of the color components has been removed, A brightness correction processing unit that corrects the brightness component of the illumination light in the shooting environment for data in a color space that does not depend on the characteristics of the lighting device; and the chromatic component addition processing unit and the brightness correction processing unit. The color component and the brightness component have been corrected, and the data on the color space that does not depend on the characteristics of the device, using the data of the input / output characteristic file of the image output device of the output destination stored in the storage unit. And an output image color space conversion processing unit that converts the image data into image data dependent on the output destination image output device. Also,
The present invention is a recording medium storing a program for causing a computer to execute the color proofing method.
【0006】[0006]
【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を詳細に説明する。なお、実施の形態を説明す
るための全図において、同一機能を有するものは同一符
号を付け、その繰り返しの説明は省略する。本実施の形
態の色校正装置では、色校正を実行する前に、予備ステ
ップとして、予め使用する画像入力装置および画像出力
装置の入出力特性ファイルと、使用環境での照明光デー
タを取得しておく必要がある。図1は、本発明の実施の
形態の色校正装置1における予備ステップ時の概略構成
を示す機能ブロック図である。図1において、1は色校
正装置、2は画像入力装置、3は画像出力装置、4は基
準色票、5,6は測色器である。ここで、画像入力装置
2は、例えば、ディジタルカメラ等で構成され、対象物
体の画像を撮影して、撮影した画像データを色校正装置
1に転送する。画像出力装置3は、例えば、CRT表示
装置、プリンタ等で構成され、色校正装置1から出力さ
れる画像データを出力する。また、色校正装置1は、例
えば、パーソナルコンピュータ、ワークステーション等
で構成され、画像入力インタフェース部10、例えば、
ハードディスク等で構成される記憶部20、制御部3
0、画像出力インタフェース部40、および入力インタ
フェース部50を有する。記憶部20内には、入出力特
性ファイル22、照明光データファイル23、基準色デ
ータファイル24、および基準色票に対する画像データ
ファイル25が格納される。制御部30は、CPU(中
央処理装置)がメインメモリに読み込まれた色校正プロ
グラムを実行することにより所望の機能を実現する、機
能実現手段である。この色校正プログラムは、例えば、
CD−ROM等の記録媒体により提供される。本実施の
形態の色校正装置1における予備ステップ時に、制御部
30は、入出力特性ファイル作成処理部35と、照明光
データファイル作成処理部36とで構成される。なお、
図1には、本発明を分かりやすくするために、データの
流れも合わせて図示している。さらに、図1において、
画像入力装置2および画像出力装置3は、必ずしも色校
正装置1に直結する必要はなく、ネットワークを介して
接続するようにしてもよい。Embodiments of the present invention will be described below in detail with reference to the drawings. In all the drawings for describing the embodiments, components having the same functions are denoted by the same reference numerals, and repeated description thereof will be omitted. In the color proofing apparatus according to the present embodiment, before performing color proofing, as a preliminary step, an input / output characteristic file of an image input device and an image output device to be used in advance, and illumination light data in a use environment are acquired. Need to be kept. FIG. 1 is a functional block diagram showing a schematic configuration at the time of a preliminary step in the color proofing device 1 according to the embodiment of the present invention. In FIG. 1, 1 is a color proofing device, 2 is an image input device, 3 is an image output device, 4 is a reference color chart, and 5 and 6 are colorimeters. Here, the image input device 2 is configured by, for example, a digital camera or the like, captures an image of the target object, and transfers the captured image data to the color proofing device 1. The image output device 3 includes, for example, a CRT display device, a printer, and the like, and outputs image data output from the color proofing device 1. The color proofing device 1 is composed of, for example, a personal computer, a workstation, or the like, and has an image input interface unit 10, for example,
Storage unit 20 composed of a hard disk or the like, control unit 3
0, an image output interface unit 40, and an input interface unit 50. The storage unit 20 stores an input / output characteristic file 22, an illumination light data file 23, a reference color data file 24, and an image data file 25 for the reference color chart. The control unit 30 is a function realizing unit that realizes a desired function by executing a color calibration program read into a main memory by a CPU (central processing unit). This color proofing program, for example,
It is provided by a recording medium such as a CD-ROM. At the time of the preliminary step in the color proofing device 1 of the present embodiment, the control unit 30 includes an input / output characteristic file creation processing unit 35 and an illumination light data file creation processing unit 36. In addition,
FIG. 1 also shows the flow of data to make the present invention easier to understand. Further, in FIG.
The image input device 2 and the image output device 3 do not necessarily need to be directly connected to the color proofing device 1, but may be connected via a network.
【0007】以下、画像入力装置2としてディジタルカ
メラを使用し、画像出力装置3としてCRT表示装置等
のモニタを使用する場合を例に挙げて、本実施の形態の
色校正装置1における予備ステップ時の処理手順につい
て説明する。図2は、本実施の形態の色校正装置1にお
ける予備ステップ時の処理手順を示すフローチャートで
ある。初めに、使用するディジタルカメラおよびモニタ
の入出力特性を予め測定して入出力特性ファイル22と
して記憶部20に保存する(ステップ101)。先ず、
入力機器であるディジタルカメラの入出力特性ファイル
22の作成手順を示す。即ち、使用するディジタルカメ
ラにより、前記記憶部20に保存されている基準色デー
タファイル24に対応する基準色票4を標準光源下で撮
影し、得られた画像のR(赤)、G(緑)、B(青)デ
ータを、基準色票に対する画像データファイル25とし
て記憶部20内に格納する。次に、制御部30内の入出
力特性ファイル作成処理部35により、画像データファ
イル25内のR(赤)、G(緑)、B(青)データと、
基準色データファイル24との対応関係を表す入出力特
性ファイル22を作成し、記憶部20に保存する。この
場合に、この入出力特性ファイル22の作成の際に使用
した基準色データは、標準光源下で測定された基準色票
の測色値(例えば、CIEのXYZ三刺激値)からなる
データである。ここで、(R,G,B)とは、画像の各
画素を構成する要素として用いられるRGB色空間の座
標値であり、入出力機器(例えば、ディジタルカメラ)
に依存するデータである。一方、三刺激値(X,Y,
Z)は、入力機器に依存しない物理空間におけるデータ
であり、Y成分は輝度(明るさ)を表わし、X、Y、Z
の相対関係、即ち、X、Y、Zの総和に対するXの割
合、Yの割合によって色みを表わす。なお、三刺激値
(X,Y,Z)と明るさ成分および色味成分との関係に
ついては、参考文献:(財)日本規格協会 川上元郎
著“新版 色の常識”に詳述されている。Hereinafter, a case where a digital camera is used as the image input device 2 and a monitor such as a CRT display device is used as the image output device 3 will be described as an example. Will be described. FIG. 2 is a flowchart showing a processing procedure at the time of the preliminary step in the color proofing apparatus 1 of the present embodiment. First, input / output characteristics of a digital camera and a monitor to be used are measured in advance and stored in the storage unit 20 as an input / output characteristics file 22 (step 101). First,
A procedure for creating an input / output characteristic file 22 of a digital camera as an input device will be described. That is, the reference color chart 4 corresponding to the reference color data file 24 stored in the storage unit 20 is photographed under a standard light source by a digital camera to be used, and R (red), G (green) of the obtained image is obtained. ) And B (blue) data are stored in the storage unit 20 as the image data file 25 for the reference color chart. Next, R (red), G (green), and B (blue) data in the image data file 25 are output by the input / output characteristic file creation processing unit 35 in the control unit 30.
An input / output characteristic file 22 representing the correspondence with the reference color data file 24 is created and stored in the storage unit 20. In this case, the reference color data used at the time of creating the input / output characteristic file 22 is data composed of the colorimetric values (for example, CIE XYZ tristimulus values) of the reference color chart measured under the standard light source. is there. Here, (R, G, B) is a coordinate value in an RGB color space used as an element constituting each pixel of an image, and is an input / output device (for example, a digital camera).
Is data that depends on On the other hand, tristimulus values (X, Y,
Z) is data in a physical space that does not depend on the input device, the Y component represents luminance (brightness), and X, Y, Z
, Ie, the ratio of X and the ratio of Y to the sum of X, Y, and Z represents the color. For the relationship between the tristimulus values (X, Y, Z) and the brightness component and the color component, see Reference: Japan Standards Association Motoro Kawakami.
It is described in detail in the book "New Edition of Common Color".
【0008】次に、出力機器であるモニタの入出力特性
ファイル22の作成手順を示す。モニタの表示画面に、
記憶部20内の基準色データファイル24に含まれるデ
ータを色票のように表示し、この表示画面の発光を測色
器6で測定する。次に、この測色器6で得られた測色デ
ータを入力インタフェース部50を介して制御部30内
の入出力特性ファイル作成処理部35に取り込み、この
入出力特性ファイル作成処理部35により、測色器6で
得られた測色データとモニタの表示画面に表示された基
準色データとの対応関係を表す入出力特性ファイル22
を作成して、記憶部20に保存する。この場合に、この
入出力特性ファイル22の作成の際に使用した基準色デ
ータは、R・G・Bデータから構成されるものである。Next, a procedure for creating the input / output characteristic file 22 of the monitor as the output device will be described. On the monitor display screen,
The data contained in the reference color data file 24 in the storage unit 20 is displayed as a color chart, and the light emission of this display screen is measured by the colorimeter 6. Next, the colorimetric data obtained by the colorimeter 6 is taken into the input / output characteristic file creation processing unit 35 in the control unit 30 via the input interface unit 50, and the input / output characteristic file creation processing unit 35 An input / output characteristic file 22 representing the correspondence between the colorimetric data obtained by the colorimeter 6 and the reference color data displayed on the display screen of the monitor.
Is created and stored in the storage unit 20. In this case, the reference color data used in creating the input / output characteristic file 22 is composed of RGB data.
【0009】以下に、画像入力装置2および画像出力装
置3の入出力特性ファイル22を作成する際の手法の一
例について説明する。なお、以下の説明では、例えば、
青果物等の入力対象物の色の出現頻度が予め既知である
ものとする。ここで言う出現頻度とは、入力対象物の色
に、色空間のある領域、例えば、赤系統の色相が多いと
か、明度の高い色(即ち、明るい色)が多い、といった
情報である。ここでは、入力対象物の色に赤系統の色相
が高い頻度で現れるものとする。以下、画像入力装置2
がディジタルカメラである場合の入出力特性ファイル2
2の作成手順について説明する。先ず、基準色票4を昼
光のような基準光源の下で、ディジタルカメラを用いて
撮影し、取得された画像データを色校正装置1の記憶部
20上に画像入力インタフエース部10を介して基準色
票に対する画像データファイル25として保存する。こ
こで得られた画像データファイル25は、R・G・Bの
組み合わせから成る画像データである。この画像データ
ファイル25に対して、各色領域に対する平均の色を求
める。次に、入出力特性ファイル22を得るために、出
現頻度の高い色領域を指定する。この操作には、例え
ば、ディジタルカメラで撮影された画像をモニタのよう
な出力機器に表示してマウスやキーボード等の操作で出
現頻度の高い領域を指定する方法、あるいは、画像デー
タファイル25から得られた各色領域の平均色データ
(テキストデータ)に対して出現頻度の高い領域を指定
する方法があるが、どちらでも構わない。画像データフ
ァイル25から得られた各色領域の平均の色データおよ
び記憶部20にある基準色データ(基準色票4を基準光
源下で測定した機器に依存しないデータ)に対し、指定
された高い出現頻度の色以外に対する領域のデータを色
票上で1つもしくは2つおきの間隔で選択する。出現頻
度の指定に関しては、上述の通り、選択する色の間引き
方を変える方法の他に、出現頻度の高い色に段階的に重
み付けをする方法もある。選択後の、画像データファイ
ル25の平均色データ及び基準色データに基づいて、デ
ィジタルカメラの入出力特性ファイル22を作成する。
また、画像出力装置3の入出力特性ファイル22につい
ては、基準色票やそれに対応するデータの取得方法が異
なるのみであり、それ以外の手続きについては画像入力
装置の場合と同様である。即ち、例えば、画像出力装置
3がプリンタの場合には、基準色データは、プリンタに
依存する色空間であるRGB、もしくはCMYKで表現
されたものであり、そのデータを印刷したものを色票と
して測色器6で測定し、その結果を、キーボード等を通
して色校正装置1に入力する。その後の、色空間全体の
中での出現頻度の高い色領域の色選択方法については前
記したディジタルカメラの場合と同様である。この手法
によれば、実際に出現頻度の高い色領域に対しては、色
空間上での細かな色合わせができるため、精度の高い色
合わせが可能となる。An example of a method for creating the input / output characteristic file 22 of the image input device 2 and the image output device 3 will be described below. In the following description, for example,
It is assumed that the appearance frequency of the color of the input object such as fruits and vegetables is known in advance. The appearance frequency referred to here is information such as that the color of the input object has a certain region in a color space, for example, that there are many red-based hues or that there are many colors with high lightness (that is, bright colors). Here, it is assumed that a red-based hue appears at a high frequency in the color of the input object. Hereinafter, the image input device 2
Input / output characteristics file 2 when is a digital camera
2 will be described. First, the reference color chart 4 is photographed using a digital camera under a reference light source such as daylight, and the obtained image data is stored in the storage unit 20 of the color proofing device 1 via the image input interface unit 10. As an image data file 25 for the reference color chart. The image data file 25 obtained here is image data composed of a combination of RGB. With respect to the image data file 25, an average color for each color area is obtained. Next, in order to obtain the input / output characteristic file 22, a color region having a high appearance frequency is specified. This operation may be performed, for example, by displaying an image photographed by a digital camera on an output device such as a monitor and designating a frequently appearing area by operating a mouse or a keyboard, or by obtaining an image from the image data file 25. There is a method of designating a region having a high appearance frequency with respect to the average color data (text data) of each of the obtained color regions. For the average color data of each color area obtained from the image data file 25 and the reference color data in the storage unit 20 (data that does not depend on the device obtained by measuring the reference color chart 4 under the reference light source), a specified high appearance The data of the area other than the frequency color is selected on the color chart at every one or two intervals. Regarding the specification of the appearance frequency, as described above, in addition to the method of changing the method of thinning out the color to be selected, there is also a method of weighting colors having a high appearance frequency in a stepwise manner. Based on the selected average color data and reference color data of the image data file 25, the digital camera input / output characteristic file 22 is created.
The input / output characteristic file 22 of the image output device 3 is different only in the method of obtaining the reference color chart and the data corresponding thereto, and the other procedures are the same as those of the image input device. That is, for example, when the image output device 3 is a printer, the reference color data is expressed in RGB or CMYK, which is a color space depending on the printer, and a printout of the data is used as a color chart. The measurement is performed by the colorimeter 6, and the result is input to the color proofing device 1 through a keyboard or the like. The subsequent color selection method for a color region having a high appearance frequency in the entire color space is the same as that of the above-described digital camera. According to this method, fine color matching in a color space can be performed for a color region that actually has a high frequency of appearance, so that highly accurate color matching can be performed.
【0010】次に、ディジタルカメラ2が撮影する環境
に於ける照明光の特性を、予め基準白色に対して測定
し、照明光データファイル23として記憶部20に保存
する(ステップ102)。照明光データについては、実
際に、ディジタルカメラで青果物を撮影する環境下で、
基準色票4の基準白色からの反射光を測色器5で測定
し、その測色値を入力インタフェース部50を介して制
御部30内の照明光データファイル作成処理部36に取
り込み、この照明光データファイル作成処理部36によ
り、照明光データファイル23を作成して、記憶部20
に保存する。Next, the characteristics of the illumination light in the environment where the digital camera 2 captures an image are measured in advance with respect to a reference white color and stored in the storage unit 20 as an illumination light data file 23 (step 102). Regarding the illumination light data, in an environment where fruits and vegetables are actually photographed with a digital camera,
The reflected light from the reference white color of the reference color chart 4 is measured by the colorimeter 5, and the colorimetric value is taken into the illumination light data file creation processing unit 36 in the control unit 30 via the input interface unit 50, and The illumination light data file 23 is created by the light data file creation processing unit 36, and is stored in the storage unit 20.
To save.
【0011】図3は、本実施の形態の色校正装置におけ
る色校正時の概略構成を示す機能ブロック図である。本
実施の形態の色校正装置1における色校正時には、記憶
部20内には、画像データファイル21が、さらに格納
される。本実施の形態の色校正装置1における色校正時
に、制御部30は、入力画像色空間変換処理部31、照
明光データ取得部32、色補正処理部33、および出力
画像色空間変換処理部34とで構成される。色補正処理
部33は、色味成分除去処理部331と、明るさ補正処
理部332と、色味成分付加処理部333とで構成され
る。なお、図3には、本発明を分かりやすくするため
に、データの流れも合わせて図示している。以下、本実
施の形態の色校正装置1における色校正時の処理手順、
即ち、ディジタルカメラで対象物体(青果物)の画像を
撮影してから、色校正した画像をモニタに表示するまで
の手順について説明する。なお、以下の説明では、撮影
環境における照明光の情報がない場合の色校正について
説明する。図4は、本実施の形態の色校正装置1におけ
る色校正時の処理手順を示すフローチャートである。初
めに、入出力特性ファイル22が既知であるディジタル
カメラで青果物を撮影し、色校正装置の記憶部20内
に、画像データファイル21として保存する(ステップ
111)。なお、ディジタルカメラで青果物を撮影する
場合には、図5に示すように、全体の画像201の一部
に、基準白色領域202が入るようにする。なお、実際
には、基準白色領域202は白色であるが、図5では、
分かりやすくするために、基準白色領域202を黒色で
表している。次に、撮影した画像データを、ディジタル
カメラの特性に依存しない色空間上のデータに変換する
(ステップ112)。即ち、制御部30の入力画像色空
間変換処理部31は、記憶部20内に保存されている画
像データファイル21をメインメモリ上に読み込み、そ
の読み込んだ画像データファイルのデータを、前記記憶
部20内に保存されているディジタルカメラの入出力特
性ファイル22を用いて、ディジタルカメラの特性に依
存しない色空間上のデータに変換する。このディジタル
カメラの特性に依存しない色空間上のデータは、メイン
メモリ上に画像データファイルとして記憶される。次
に、撮影環境の照明光データを取得する(ステップ11
3)。先ず、照明光データ取得部32は、ステップ11
2で取得された、メインメモリ上のディジタルカメラの
特性に依存しない色空間上のデータから成る画像データ
ファイルにおける、基準白色領域202の測色値データ
の平均値を、以下に示すように正規化して、撮影環境の
照明光データとして求める。次に、求められた照明光デ
ータを、記憶部20内に保存されている複数の照明光デ
ータファイルのデータと比較し、最も近い色の照明光デ
ータファイルを選択して、その結果を、記憶部20内
に、選定された照明光データフアイル231として記憶
する。FIG. 3 is a functional block diagram showing a schematic configuration at the time of color calibration in the color calibration apparatus of the present embodiment. At the time of color proofing in the color proofing device 1 of the present embodiment, an image data file 21 is further stored in the storage unit 20. At the time of color calibration in the color proofing apparatus 1 of the present embodiment, the control unit 30 controls the input image color space conversion processing unit 31, the illumination light data acquisition unit 32, the color correction processing unit 33, and the output image color space conversion processing unit 34. It is composed of The color correction processing unit 33 includes a color component removal processing unit 331, a brightness correction processing unit 332, and a color component addition processing unit 333. FIG. 3 also shows the flow of data to facilitate understanding of the present invention. Hereinafter, processing procedures at the time of color proofing in the color proofing apparatus 1 of the present embodiment,
That is, a procedure from capturing an image of a target object (vegetables) with a digital camera to displaying the color-calibrated image on a monitor will be described. In the following description, color calibration in the case where there is no illumination light information in the shooting environment will be described. FIG. 4 is a flowchart showing a processing procedure at the time of color proofing in the color proofing apparatus 1 of the present embodiment. First, fruits and vegetables are photographed with a digital camera whose input / output characteristic file 22 is known, and stored as an image data file 21 in the storage unit 20 of the color proofing device (step 111). In the case where fruits and vegetables are photographed with a digital camera, the reference white area 202 is included in a part of the entire image 201 as shown in FIG. Although the reference white area 202 is actually white, FIG.
For easy understanding, the reference white area 202 is shown in black. Next, the captured image data is converted into data on a color space that does not depend on the characteristics of the digital camera (step 112). That is, the input image color space conversion processing unit 31 of the control unit 30 reads the image data file 21 stored in the storage unit 20 into the main memory, and stores the data of the read image data file in the storage unit 20. Is converted into data on a color space that does not depend on the characteristics of the digital camera, using the input / output characteristics file 22 of the digital camera stored in the camera. Data on the color space that does not depend on the characteristics of the digital camera is stored as an image data file on the main memory. Next, illumination light data of the shooting environment is acquired (step 11).
3). First, the illumination light data acquisition unit 32 executes Step 11
The average value of the colorimetric value data of the reference white area 202 in the image data file composed of the data in the color space independent of the characteristics of the digital camera on the main memory and obtained in step 2 is normalized as shown below. Then, it is obtained as illumination light data of the shooting environment. Next, the obtained illumination light data is compared with data of a plurality of illumination light data files stored in the storage unit 20, an illumination light data file of the closest color is selected, and the result is stored. The selected illumination light data file 231 is stored in the section 20.
【0012】以下に、前記照明光データの正規化につい
て説明する。基準白色領域202の測色値データの平均
値を(Lx-AVE,Ly-AVE,Lz-AVE)とすると、下記式
(1)により、照明光データを正規化して、(Lx,
Ly,L z)を得る。Hereinafter, the normalization of the illumination light data will be described.
Will be explained. Average of the colorimetric value data of the reference white area 202
Value to (Lx-AVE, Ly-AVE, Lz-AVE), The following equation
According to (1), the illumination light data is normalized, and (Lx,
Ly, L zGet)
【0013】[0013]
【数1】 Lx =Lx-AVE /NORM(Lx-AVE 、Ly-AVE 、Lz-AVE ) Ly =Ly-AVE /NORM(Lx-AVE 、Ly-AVE 、Lz-AVE ) Lz =Lz-AVE /NORM(Lx-AVE 、Ly-AVE 、Lz-AVE ) ・・・・・・・・・・・・・・・・・・ (1) ここで、NORM(Lx-AVE 、Ly-AVE 、Lz-AVE )=
{(Lx-AVE )2 +(Ly-AVE )2 +(Lz-AVE )2 }
1/2 そして、前記(1)式により求められた照明光データ
(Lx,Ly,Lz)を、記憶部20内の照明光データフ
ァイル23の複数の照明光の色データと比較し、最も誤
差の小さいものを照明光データファイル231として選
定する。なお、以下の説明では、照明光の色データ(L
x,Ly,Lz)は、記憶部20内の選択された照明光デ
ータファイル231の照明光の色データを表す。次に、
ディジタルカメラの特性に依存しない色空間上のデータ
から、照明光の色味成分の影響を除去する(ステップ1
14)。即ち、色補正処理部33の色味成分除去処理部
331は、前記ステップ113で選択された照明光デー
タファイル231の照明光の色データを用いて、メイン
メモリ上に保存されている画像データファイルの、ディ
ジタルカメラの特性に依存しない色空間上のデータから
照明光の色味成分を除去する。以下に、色味成分除去処
理部331の処理について説明する。ここで、青果物を
撮影した画像データの基準白色領域202から得られ、
選択された照明光の色データを(Lx、Ly、Lz)と
し、メインメモリ上に画像データファイルとして保存さ
れ、ディジタルカメラの特性に依存しない色空間上のデ
ータの各画素値を(Xi,Yi,Zi)とすると、照明光
の色味を除去した画像データ(Xi’,Yi’,Zi’)
は、下記(2)式により求められる。(Equation 1) Lx= Lx-AVE/ NORM (Lx-AVE, Ly-AVE, Lz-AVE) Ly= Ly-AVE/ NORM (Lx-AVE, Ly-AVE, Lz-AVE) Lz= Lz-AVE/ NORM (Lx-AVE, Ly-AVE, Lz-AVE(1) Here, NORM (Lx-AVE, Ly-AVE, Lz-AVE) =
{(Lx-AVE)Two + (Ly-AVE)Two + (Lz-AVE)Two }
1/2 Then, the illumination light data obtained by the above equation (1)
(Lx, Ly, Lz) Is replaced with the illumination light data file in the storage unit 20.
File 23 is compared with the color data of the plurality of
The one with the smaller difference is selected as the illumination light data file 231.
Set. In the following description, the color data (L
x, Ly, Lz) Indicates the illumination light data selected in the storage unit 20.
Represents the color data of the illumination light in the data file 231. next,
Data on color space independent of digital camera characteristics
To remove the influence of the tint component of the illumination light (Step 1)
14). That is, the color component removal processing unit of the color correction processing unit 33
331 is the illumination light data selected in step 113.
Using the color data of the illumination light in the data file 231
The image data file saved in the memory
From data on color space independent of digital camera characteristics
Removes color components of illumination light. The following describes the color component removal process.
The processing of the management unit 331 will be described. Where the fruits and vegetables
Obtained from the reference white area 202 of the captured image data,
The color data of the selected illumination light is represented by (Lx, Ly, Lz)When
Stored in the main memory as an image data file.
Data in a color space independent of digital camera characteristics.
Each pixel value of the data (Xi, Yi, Zi), The illumination light
Image data (Xi’, Yi’, Zi’)
Is determined by the following equation (2).
【0014】[0014]
【数2】 Xi ’=Xi /Lx Yi ’=Yi /Ly Zi ’=Zi /Lz ・・・・・・・・・・・・・・・・・・ (2) 次に、照明光の色味成分の影響を除去されたディジタル
カメラの特性に依存しない色空間上のデータに対して、
撮影環境の照明光の明るさ補正を行う(ステップ11
5)。即ち、色補正処理部33の明るさ補正処理部33
2は、前記(2)式により得られた画像データ
(Xi’,Yi’,Zi’)に対して、撮影環境の照明光
の明るさ補正を行う。昼光下で取得された基準白色領域
202の平均画素値を、Lxw、Lyw、Lzwとすると、下
記(3)式により、明るさ補正後の画像データ
(Xi”,Yi”,Zi”)が求められる。X i ′ = X i / L x Y i ′ = Y i / L y Z i ′ = Z i / L z (2) 2) Next, for data in a color space that does not depend on the characteristics of the digital camera from which the influence of the tint component of the illumination light has been removed,
Correct the brightness of the illumination light of the shooting environment (step 11)
5). That is, the brightness correction processing unit 33 of the color correction processing unit 33
2 corrects the brightness of the illumination light in the shooting environment for the image data (X i ′, Y i ′, Z i ′) obtained by the above equation (2). The daytime mean pixel value of the reference white region 202 obtained under light, L xw, L yw, When L zw, by the following equation (3), the image data after the luminance correction (X i ", Y i" , Z i ″).
【0015】[0015]
【数3】 Xi ”=k・Xi ’ Yi ”=k・Yi ’ Zi ”=k・Zi ’ ・・・・・・・・・・・・・・・・・・ (3) ここで、k=Lyw/Ly-AVEである。X i ″ = k · X i ′ Y i ″ = k · Y i ′ Z i ″ = k · Z i ′ (3) 3) Here, k = Lyw / Ly -AVE .
【0016】但し、Lywは昼光下での基準白色の明るさ
成分の平均値、Ly-AVEは、撮影した画像における基準
白色領域202の平均の色の明るさ成分である。なお、
前記(3)式により求められる明るさ補正後の画像デー
タ(Xi”,Yi”,Zi”)において、もし、 Xi”>
255、Yi”>255、またはZi”>255となった
場合は、該当する値を255とする。次に、照明光の色
味成分の影響が除去され、かつ撮影環境の照明光の明る
さ補正が行われたディジタルカメラの特性に依存しない
色空間上のデータに、所定の照明光の色味成分を付加す
る(ステップ116)。即ち、色補正処理部33の色味
成分付加処理部333は、前記(2)、(3)式により
得られた画像データ(Xi”,Yi”,Zi”)に対し
て、昼光の色味をつけ加えた画像データ(Xi-new,Y
i-new,Zi-new)を、下記(4)式により求める。Here, Lyw is the average value of the brightness component of the reference white under daylight, and Ly -AVE is the brightness component of the average color of the reference white area 202 in the captured image. In addition,
The image data after the luminance correction obtained by (3) (X i ", Y i" , Z i ") in, if, X i">
If 255, Y i ″> 255, or Z i ″> 255, the corresponding value is set to 255. Next, the data on the color space, which does not depend on the characteristics of the digital camera in which the influence of the tint component of the illumination light has been removed and the illumination light of the shooting environment has been corrected, is added to the predetermined tint of the illumination light. A component is added (step 116). That is, the color component addition processing section 333 of the color correction processing section 33 applies the image data (X i ″, Y i ″, Z i ″) obtained by the equations (2) and (3) Image data (X i-new , Y
i-new , Z i-new ) is obtained by the following equation (4).
【0017】[0017]
【数4】 Xi-new =Xi ”・Lxw/NORM(Lxw、Lyw、Lzw) Yi-new =Yi ”・Lyw/NORM(Lxw、Lyw、Lzw) Zi-new =Zi ”・Lzw/NORM(Lxw、Lyw、Lzw) ・・・・・・・・・・・・・・・・・・ (4) ここで、NORM(Lxw、Lyw、Lzw)={(Lxw)2
+(Lyw)2 +(Lzw)2 )}1/2 これにより、得られた画像データ(Xi-new、Yi-new、
Zi-new)は、メインメモリ上に、画像データファイル
として保存される。最後に、所定の照明光の色味成分を
付加された、ディジタルカメラの特性に依存しない色空
間上のデータを、モニタに出力する画像データに変換
し、モニタに出力する(ステップ117)。即ち、制御
部30の出力画像色空間変換処理部34は、前記(4)
式により得られた画像データ(Xi-new,Yi-new,Z
i-new)を、記憶部20に格納されている、CRT表示
装置等のモニタの入出力特性ファイル22に基づいて、
モニタヘの出力形式であるRGB空間上の画素値に変換
し、画像出力インタフエース部40を経由してモニタ上
に表示する。なお、前記説明では、明るさの補正を行う
処理を実施した後に、色味の付加を行う処理を実施して
いるが、この順番はどちらが先に行われても問題なく、
色味の付加を行う処理の後に明るさを補正を行う処理を
実施してもよい。また、前記説明では、撮影環境におけ
る照明光の情報がない場合の色校正について説明した
が、撮影環境における照明光が既知である場合には、前
記ステップ113において、記憶部20の照明光データ
ファイル23の該当する照明光データファイルを照明光
データファイル231として選定すればよい。また、前
記ステップ115の撮影環境の照明光の明るさ補正にお
いては、前記(3)式を使用する代わりに、下記(5)
式を用いて明るさ補正後の画像データ(Xi”,Yi”,
Zi”)を求めてもよい。[Expression 4] Xi-new= Xi”・ Lxw/ NORM (Lxw, Lyw, Lzw) Yi-new= Yi”・ Lyw/ NORM (Lxw, Lyw, Lzw) Zi-new= Zi”・ Lzw/ NORM (Lxw, Lyw, Lzw(4) where NORM (Lxw, Lyw, Lzw) = {(Lxw)Two
+ (Lyw)Two + (Lzw)Two )}1/2 Thus, the obtained image data (Xi-new, Yi-new,
Zi-new) Is the image data file on the main memory
Will be saved as Finally, the color component of the predetermined illumination light
Added color sky independent of digital camera characteristics
Convert data on the screen to image data to be output to the monitor
Then, the data is output to the monitor (step 117). That is, control
The output image color space conversion processing unit 34 of the unit 30 performs the processing described in (4) above.
The image data (Xi-new, Yi-new, Z
i-new) Is displayed on the CRT display stored in the storage unit 20.
Based on the input / output characteristics file 22 of the monitor of the device, etc.,
Convert to pixel value in RGB space which is output format to monitor
And on the monitor via the image output interface unit 40.
To be displayed. In the above description, the brightness is corrected.
After performing the process, perform the process of adding color
However, this order does not matter which one is performed first,
After the process of adding color, the process of correcting the brightness
May be implemented. Also, in the above description,
Explained color calibration when there is no information on illumination light
However, if the illumination light in the shooting environment is known,
In step 113, the illumination light data in the storage unit 20 is stored.
The corresponding illumination light data file in file 23
What is necessary is just to select as the data file 231. Also before
In step 115, the brightness correction of the illumination light in the shooting environment is performed.
Therefore, instead of using the above equation (3), the following (5)
The image data (Xi", Yi”,
Zi)).
【0018】[0018]
【数5】 Xi ”=k・Xi ’ Yi ”=k・Yi ’ Zi ”=k・Zi ’ ・・・・・・・・・・・・・・・・・・ (5) ここで、k=255/Ly-AVEであり、Ly-AVEは、撮影
した画像における基準白色領域202の平均の色の明る
さ成分である。なお、前記(5)式により求められる明
るさ補正後の画像データ(Xi”,Yi”,Zi”)にお
いて、もし、 Xi”>255、Yi”>255、または
Zi”>255となった場合は、該当する値を255と
する。また、前記ステップ115の撮影環境の照明光の
明るさ補正においては、前記(3)式を使用する代わり
に、下記(6)式を用いて明るさ補正後の画像データ
(Xi”,Yi”,Zi”)を求めてもよい。X i ″ = k · X i ′ Y i ″ = k · Y i ′ Z i ″ = k · Z i ′ (5) 5) Here, k = 255 / Ly-AVE , where Ly -AVE is the brightness component of the average color of the reference white area 202 in the captured image, which is obtained by the above equation (5). image data after the luminance correction for (X i ", Y i" , Z i ") in, if, X i" If a> 255, Y i "> 255 or Z i,"> 255, the corresponding In addition, in the brightness correction of the illumination light of the photographing environment in step 115, instead of using the expression (3), the image after the brightness correction using the following expression (6) is used. data (X i ", Y i" , Z i ") may be obtained.
【0019】[0019]
【数6】 Xi ”=k・Xi ’ Yi ”=k・Yi ’ Zi ”=k・Zi ’ ・・・・・・・・・・・・・・・・・・ (6) ここで、k=255/Y’MAXであり、Y’MAXは、
Yi’の中で最大となる値である。さらに、撮影された
画像データの基準白色領域202に対するYi’の平均
値Y’BASを計算し、このY’BASを、前記(3)式のk
=Lyw/Ly-AVE、前記(5)式のk=255/Ly-AVE
における、Ly-AVEの代わりに使用するようにしてもよ
い。一般に、前記照明光データは、明るさ成分(輝度デ
ータ)と色味成分(色度データ)とから構成される。も
し、前記説明のように、撮影した環境で使用している照
明光の特性が不明である場合に、例えば、誘電体におけ
る鏡面反射成分を用いた2色性反射モデル(G.J.Klinke
r,S.A.Shafer,and T.Kanade,”Using a color reflecti
on model toseparate highlights from object colo
r,”Proceedings of the First International Confere
nce on Computer Vision(ICCV),pp.145-150,1987.)等
を用いて、撮影した画像データから照明光を推定するよ
うにしてもよい。元々、ある照明により取得される物体
の色は、照明の光が物体に照射して物体表面で反射した
光の色であり、物体の分光反射率と照明光の分光分布の
積で表現されるため、物体や照明光の色に関する仮定を
用いて照明光を推定することができる。このように、本
実施の形態の色校正装置1によれば、画像データを取得
した環境が、倉庫等のように、暗い環境の場合について
特に有効な方法であるが、前記(3)式の場合には、画
像データを取得した環境が昼光下より明るい場合にk
(=Lyw/Ly-AVE)<1となり、明るさを抑えること
ができるので、あらゆる環境で有効である。以上、本発
明者によってなされた発明を、前記実施の形態に基づき
具体的に説明したが、本発明は、前記実施の形態に限定
されるものではなく、その要旨を逸脱しない範囲におい
て種々変更可能であることは勿論である。X i ″ = k · X i ′ Y i ″ = k · Y i ′ Z i ″ = k · Z i ′ 6) Here, k = 255 / Y ′ MAX , and Y ′ MAX is
This is the maximum value among Y i ′. Further, the average value Y ′ BAS of Y i ′ of the captured image data with respect to the reference white area 202 is calculated, and this Y ′ BAS is calculated as k in Expression (3).
= L yw / L y-AVE , the equation (5) k = 255 / L y-AVE
May be used instead of Ly-AVE . Generally, the illumination light data includes a brightness component (luminance data) and a tint component (chromaticity data). If the characteristics of the illumination light used in the shooting environment are unknown as described above, for example, a dichroic reflection model (GJKlinke
r, SAShafer, and T.Kanade, ”Using a color reflecti
on model toseparate highlights from object colo
r, ”Proceedings of the First International Confere
nce on Computer Vision (ICCV), pp. 145-150, 1987.) or the like, and the illumination light may be estimated from the captured image data. Originally, the color of an object obtained by a certain illumination is the color of the light reflected by the surface of the object when the light of the illumination illuminates the object, and is expressed by the product of the spectral reflectance of the object and the spectral distribution of the illumination light. Therefore, the illumination light can be estimated using assumptions regarding the color of the object and the illumination light. As described above, according to the color proofing apparatus 1 of the present embodiment, the environment from which the image data is acquired is a particularly effective method for a dark environment such as a warehouse. If the environment where the image data was acquired is brighter than under daylight,
(= Lyw / Ly -AVE ) <1, and the brightness can be suppressed, so that it is effective in any environment. As described above, the invention made by the inventor has been specifically described based on the embodiment. However, the present invention is not limited to the embodiment, and can be variously modified without departing from the gist of the invention. Of course, it is.
【0020】[0020]
【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば、下
記の通りである。 (1)本発明によれば、種々の環境下で収集した画像デ
ータに対し、本来の色を正しく再現することが可能とな
る。 (2)本発明によれば、倉庫のような特殊な環境下で保
存されている(生鮮)食品の鮮度や腐り具合をリモート
の端末から観察することが可能となる。The effects obtained by typical ones of the inventions disclosed in the present application will be briefly described as follows. (1) According to the present invention, original colors can be correctly reproduced with respect to image data collected under various environments. (2) According to the present invention, it is possible to observe the freshness and decay of (fresh) food stored in a special environment such as a warehouse from a remote terminal.
【図1】本発明の実施の形態の色校正装置における予備
ステップ時の概略構成を示す機能ブロック図である。FIG. 1 is a functional block diagram showing a schematic configuration at a preliminary step in a color proofing apparatus according to an embodiment of the present invention.
【図2】本実施の形態の色校正装置における予備ステッ
プ時の処理手順を示すフローチャートである。FIG. 2 is a flowchart showing a processing procedure at the time of a preliminary step in the color proofing apparatus of the present embodiment.
【図3】本実施の形態の色校正装置における色校正時の
概略構成を示す機能ブロック図である。FIG. 3 is a functional block diagram showing a schematic configuration at the time of color proofing in the color proofing device of the present embodiment.
【図4】本実施の形態の色校正装置における色校正時の
処理手順を示すフローチャートである。FIG. 4 is a flowchart showing a processing procedure at the time of color proofing in the color proofing device of the present embodiment.
【図5】本実施の形態において、ディジタルカメラで撮
影された画像を示す図である。FIG. 5 is a diagram showing an image captured by a digital camera in the present embodiment.
1…色校正装置、2…画像入力装置、3…画像出力装
置、4…基準色票、5,6…測色器、10…画像入力イ
ンタフェース部、20…記憶部、21…画像データファ
イル、22…入出力特性ファイル、23…照明光データ
ファイル、231…選択された照明光データファイル、
24…基準色データファイル、25…基準色票に対する
画像データファイル、30…制御部、31…入力画像色
空間変換処理部、32…照明光データ取得部、33…色
補正処理部、331…色味成分除去処理部、332…明
るさ補正処理部、333…色味成分付加処理部、34…
出力画像色空間変換処理部、35…入出力特性ファイル
作成処理部、36…照明光データファイル作成処理部、
40…画像出力インタフェース部、50…入力インタフ
ェース部、201…全体の画像、202…基準白色領
域。DESCRIPTION OF SYMBOLS 1 ... Color proofing device, 2 ... Image input device, 3 ... Image output device, 4 ... Reference color chart, 5, 6 ... Colorimeter, 10 ... Image input interface unit, 20 ... Storage unit, 21 ... Image data file, 22 input / output characteristic file, 23 illumination light data file, 231 selected illumination light data file,
24: Reference color data file, 25: Image data file for reference color chip, 30: Control unit, 31: Input image color space conversion processing unit, 32: Illumination light data acquisition unit, 33: Color correction processing unit, 331: Color Taste component removal processing unit, 332 ... Brightness correction processing unit, 333 ... Taste component addition processing unit, 34 ...
Output image color space conversion processing unit, 35: input / output characteristic file creation processing unit, 36: illumination light data file creation processing unit,
40: image output interface unit, 50: input interface unit, 201: entire image, 202: reference white area.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 中村 能章 東京都新宿区西新宿三丁目19番2号 日本 電信電話株式会社内 (72)発明者 谷本 佳己 東京都新宿区西新宿三丁目19番2号 日本 電信電話株式会社内 Fターム(参考) 5B057 AA15 CA01 CB01 CE17 DA17 DB06 DC25 5C066 AA01 BA20 CA08 CA13 DA02 DB02 EA15 EA17 EB02 EC01 EF02 FA02 GA01 GA11 GA32 GA33 GB03 KD06 KE07 KE17 KF01 KN03 KN04 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Noriaki Nakamura 3-19-2 Nishi-Shinjuku, Shinjuku-ku, Tokyo Inside Nippon Telegraph and Telephone Corporation (72) Yoshimi Tanimoto 3-19, Nishishinjuku, Shinjuku-ku, Tokyo No. 2 Nippon Telegraph and Telephone Corporation F term (reference) 5B057 AA15 CA01 CB01 CE17 DA17 DB06 DC25 5C066 AA01 BA20 CA08 CA13 DA02 DB02 EA15 EA17 EB02 EC01 EF02 FA02 GA01 GA11 GA32 GA33 GB03 KD06 KE07 KE17 KF01 KN03 KN04
Claims (14)
タの色を校正して画像出力装置に出力する色校正方法で
あって、 使用する画像入力装置及び画像出力装置の入出力特性
を、予め測定して入出力特性ファイルとして記憶部に保
存する予備ステップ1と、 画像入力装置が撮影する環境に於ける照明光の特性を、
予め基準白色に対して測定し、照明光データファイルと
して記憶部に保存する予備ステップ2と、 画像入力装置により対象物の画像を基準白色と共に撮影
する撮影ステップと、 前記撮影ステップで撮影された画像データを、前記記憶
部に保存されている前記画像入力装置の入出力特性ファ
イルのデータを用いて、機器の特性に依存しない色空間
上のデータに変換する入力データ変換ステップと、 前記画像データが撮影された環境の照明光が既知である
場合には、該当する照明光データを前記記憶部から取得
し、また、前記画像データが撮影された環境の照明光が
不明の場合には、前記撮影された画像データの基準白色
領域部分のデータと前記記憶部に保存されている照明光
データとを比較して、最も差の小さな照明光データを撮
影環境の照明光データとして取得する照明光データ取得
ステップと、 前記照明光データ取得ステップで取得された照明光デー
タを用いて、前記入力データ変換ステップで変換された
機器の特性に依存しない色空間上のデータから、照明光
の色味成分の影響を除去する色味成分除去ステップと、 前記色味成分除去ステップで照明光の色味成分の影響が
除去された、機器の特性に依存しない色空間上のデータ
に対して、所定の照明光の色味成分を付加する色味成分
付加ステップと、 前記色味成分付加ステップで所定の照明光の色味成分が
付加された、機器の特性に依存しない色空間上のデータ
に対して、撮影環境の照明光の明るさ成分を補正する明
るさ補正ステップと、 前記明るさ補正ステップで照明光の明るさ成分が補正さ
れた、機器の特性に依存しない色空間上のデータを、前
記記憶部に保存されている出力先の画像出力装置の入出
力特性ファイルのデータを用いて、出力先の画像出力装
置の特性に依存する画像データに変換する出力データ変
換ステップとを有することを特徴とする色校正方法。1. A color calibration method for calibrating a color of image data photographed by an image input device and outputting the color to an image output device, wherein input / output characteristics of the image input device and the image output device to be used are measured in advance. And a preliminary step 1 of storing the input / output characteristic file in the storage unit as an input / output characteristic file.
Preliminary step 2 in which the reference white is measured in advance and stored in the storage unit as an illumination light data file; a photographing step in which an image of the object is photographed together with the reference white by an image input device; An input data conversion step of converting data into data on a color space that does not depend on device characteristics, using data of an input / output characteristics file of the image input device stored in the storage unit; If the illumination light of the environment in which the image was captured is known, the corresponding illumination light data is obtained from the storage unit, and if the illumination light of the environment in which the image data is captured is unknown, the The data of the reference white area portion of the obtained image data is compared with the illumination light data stored in the storage unit, and the illumination light data with the smallest difference is illuminated in the shooting environment. Illumination light data acquisition step to acquire as light data, using the illumination light data acquired in the illumination light data acquisition step, from the data in the color space that does not depend on the device characteristics converted in the input data conversion step A tint component removing step of removing an influence of a tint component of illumination light; and a data in a color space independent of a device characteristic, in which the tint component of the illumination light is removed in the tint component removing step. A tint component adding step of adding a tint component of a predetermined illumination light; and a color space independent of device characteristics, wherein the tint component of the predetermined illumination light is added in the tint component adding step. A brightness correction step of correcting the brightness component of the illumination light in the shooting environment with respect to the above data; and the brightness component of the illumination light is corrected in the brightness correction step. Output data for converting data on a color space into image data depending on characteristics of an output destination image output device using data of an input / output characteristic file of an output destination image output device stored in the storage unit. And a conversion step.
タの色を校正して画像出力装置に出力する場合の色校正
方法であって、 使用する画像入力装置及び画像出力装置の入出力特性
を、予め測定して入出力特性ファイルとして記憶部に保
存する予備ステップ1と、 画像入力装置が撮影する環境に於ける照明光の特性を、
予め基準白色に対して測定し、照明光データファイルと
して記憶部に保存する予備ステップ2と、 画像入力装置により対象物の画像を基準白色と共に撮影
する撮影ステップと、 前記撮影ステップで撮影された画像データを、前記記憶
部に保存されている前記画像入力装置の入出力特性ファ
イルのデータを用いて、機器の特性に依存しない色空間
上のデータに変換する入力データ変換ステップと、 前記画像データが撮影された環境の照明光が既知である
場合には、該当する照明光データを前記記憶部から取得
し、また、前記画像データが撮影された環境の照明光が
不明の場合には、前記撮影された画像データの基準白色
領域部分のデータと前記記憶部に保存されている照明光
データとを比較して、最も差の小さな照明光データを撮
影環境の照明光データとして取得する照明光データ取得
ステップと、 前記照明光データ取得ステップで取得された照明光デー
タを用いて、前記入力データ変換ステップで変換された
機器の特性に依存しない色空間上のデータから、照明光
の色味成分の影響を除去する色味成分除去ステップと、 前記色味成分除去ステップで照明光の色味成分の影響が
除去された、機器の特性に依存しない色空間上のデータ
に対して、撮影環境の照明光の明るさ成分を補正する明
るさ補正ステップと、 前記明るさ補正ステップで撮影環境の照明光の明るさ成
分が補正された、機器の特性に依存しない色空間上のデ
ータに対して、所定の照明光の色味成分を付加する色味
成分付加ステップと、 前記色味成分付加ステップで所定の照明光の色味成分が
付加された、機器の特性に依存しない色空間上のデータ
を、前記記憶部に保存されている出力先の画像出力装置
の入出力特性ファイルのデータを用いて、出力先の画像
出力装置の特性に依存する画像データに変換する出力デ
ータ変換ステップとを有することを特徴とする色校正方
法。2. A color calibration method for calibrating a color of image data captured by an image input device and outputting the color to an image output device, wherein the input / output characteristics of the image input device and the image output device to be used are: Preliminary step 1 of measuring in advance and storing it as an input / output characteristic file in the storage unit;
Preliminary step 2 in which the reference white is measured in advance and stored in the storage unit as an illumination light data file; a photographing step in which an image of the object is photographed together with the reference white by an image input device; and an image photographed in the photographing step An input data conversion step of converting data into data on a color space that does not depend on device characteristics, using data of an input / output characteristics file of the image input device stored in the storage unit; If the illumination light of the environment in which the image was captured is known, the corresponding illumination light data is obtained from the storage unit, and if the illumination light of the environment in which the image data is captured is unknown, the The data of the reference white area portion of the obtained image data is compared with the illumination light data stored in the storage unit, and the illumination light data with the smallest difference is illuminated in the shooting environment. Illumination light data acquisition step to acquire as light data, using the illumination light data acquired in the illumination light data acquisition step, from the data in the color space that does not depend on the device characteristics converted in the input data conversion step A tint component removing step of removing an influence of a tint component of illumination light; and a data in a color space independent of a device characteristic, in which the tint component of the illumination light is removed in the tint component removing step. A brightness correction step of correcting the brightness component of the illumination light of the shooting environment; and a color space independent of device characteristics, wherein the brightness component of the illumination light of the shooting environment is corrected in the brightness correction step. A tint component adding step of adding a predetermined tint component of the illumination light to the above data; and a characteristic of the device, wherein the tint component of the predetermined illumination light is added in the tint component adding step. The data in the color space that does not depend on is converted into image data that depends on the characteristics of the image output device of the output destination by using the data of the input / output characteristics file of the image output device of the output destination stored in the storage unit. An output data conversion step.
分除去ステップで照明光の色味成分の影響が除去され
た、機器の特性に依存しない色空間上のデータを(X
i’,Yi’,Zi’)とし、照明光の明るさ成分補正
後のデータを(Xi”,Yi”,Zi”)とした時、 前記照明光データ取得ステップで取得した、前記記憶部
に保存されている照明光データの明るさ成分をLy-AVE
として、 k=(255/Ly-AVE)の関係式からkの値を求め、 次に、Xi”=k×Xi’、Yi”=k×Yi’、Z
i”=k×Zi’の関係式から、照明光の明るさ成分補
正後のデータ(Xi”,Yi”,Zi”)を求め、 当該求めた照明光の明るさ成分補正後のデータのX
i”、Yi”、あるいはZi”の値が255を越える場
合には、該当する値を255として撮影環境の照明光の
明るさ成分を補正することを特徴とする請求項1または
請求項2に記載の色校正方法。3. The method according to claim 1, wherein the brightness correction step includes converting data in a color space that does not depend on device characteristics, from which the influence of the tint component of the illumination light has been removed in the tint component removing step, to (X
i ′, Yi ′, Zi ′), and the data after the brightness component correction of the illumination light is (Xi ″, Yi ″, Zi ″). The brightness component of the stored illumination light data is L y-AVE
The value of k is obtained from the relational expression of k = (255 / L y-AVE ). Then, Xi ″ = k × Xi ′, Yi ″ = k × Yi ′, Z
From the relational expression of i ″ = k × Zi ′, data (Xi ″, Yi ″, Zi ″) after correction of the brightness component of the illumination light is obtained, and X of the obtained data after correction of the brightness component of the illumination light is obtained.
3. When the value of i ", Yi" or Zi "exceeds 255, the corresponding value is set to 255 to correct the brightness component of the illumination light in the shooting environment. The color proofing method described.
分除去ステップで照明光の色味成分の影響が除去され
た、機器の特性に依存しない色空間上のデータを(X
i’,Yi’,Zi’)とし、照明光の明るさ成分補正
後のデータを(Xi”,Yi”,Zi”)とした時、 前記照明光データ取得ステップで取得した、前記記憶部
に保存されている照明光データの明るさ成分を
Ly-AVE、昼光下での基準白色領域の平均値をY’DAYと
して、 k=(Y’DAY/Ly-AVE)の関係式からkの値を求め、 次に、Xi”=k×Xi’、Yi”=k×Yi’、Z
i”=k×Zi’の関係式から、照明光の明るさ成分補
正後のデータ(Xi”,Yi”,Zi”)を求め、 当該求めた照明光の明るさ成分補正後のデータのX
i”、Yi”、あるいはZi”の値が255を越える場
合には、該当する値を255として、撮影環境の照明光
の明るさ成分を補正することを特徴とする請求項1また
は請求項2に記載の色校正方法。4. The method according to claim 1, wherein in the brightness correction step, data in a color space that does not depend on the characteristics of the device and that has been subjected to the influence of the color component of the illumination light in the color component removal step is removed.
i ′, Yi ′, Zi ′), and the data after the brightness component correction of the illumination light is (Xi ″, Yi ″, Zi ″). saved the brightness component of the illumination light data are L y-AVE, from noon the average value of the reference white region of the under light 'as dAY, k = (Y' Y relational expression dAY / L y-AVE) The value of k is determined, and then Xi ″ = k × Xi ′, Yi ″ = k × Yi ′, Z
From the relational expression of i ″ = k × Zi ′, data (Xi ″, Yi ″, Zi ″) after correction of the brightness component of the illumination light is obtained, and X of the obtained data after correction of the brightness component of the illumination light is obtained.
3. The method according to claim 1, wherein when the value of i ", Yi" or Zi "exceeds 255, the corresponding value is set to 255 and the brightness component of the illumination light in the shooting environment is corrected. Color proofing method described in 1.
分除去ステップで照明光の色味成分の影響が除去され
た、機器の特性に依存しない色空間上のデータを(X
i’,Yi’,Zi’)とし、照明光の明るさ成分補正
後のデータを(Xi”,Yi”,Zi”)とした時、 前記Yi’の中で最大となる値をY’MAXとして求め、 k=(255/Y’MAX)の関係式からkの値を算出
し、 次に、Xi”=k×Xi’、Yi”=k×Yi’、Z
i”=k×Zi’の関係式から、照明光の明るさ成分補
正後のデータ(Xi”,Yi”,Zi”)を求めて、撮
影環境の照明光の明るさ成分を補正することを特徴とす
る請求項1または請求項2に記載の色校正方法。5. The method according to claim 1, wherein the brightness correction step includes converting data in a color space independent of device characteristics, from which the influence of the color component of the illumination light has been removed in the color component removal step, to (X
i ′, Yi ′, Zi ′), and when the data after correcting the brightness component of the illumination light is (Xi ″, Yi ″, Zi ″), the maximum value of the Yi ′ is Y ′ MAX. The value of k is calculated from the relational expression of k = (255 / Y ′ MAX ). Then, Xi ″ = k × Xi ′, Yi ″ = k × Yi ′, Z
The data (Xi ″, Yi ″, Zi ″) after the correction of the brightness component of the illumination light is obtained from the relational expression of i ″ = k × Zi ′ to correct the brightness component of the illumination light in the shooting environment. The color proofing method according to claim 1 or 2, wherein
準白色領域に対応するデータYi’の平均値をY’BAS
として算出し、 当該Y’BASを、前記照明光データの明るさ成分Ly-AVE
の代わりに用いて、前記kの値を算出することを特徴と
する請求項3または請求項4に記載の色校正方法。6. An average value of data Yi ′ corresponding to a reference white area is defined as Y ′ BAS
The Y ′ BAS is calculated as the brightness component L y-AVE of the illumination light data.
The color proofing method according to claim 3 or 4, wherein the value of k is calculated by using instead of (i).
装置の入出力特性ファイルを作成するステップは、画像
入力装置が撮影する物体の色に対して、細かい間隔で入
出力データを取得し、前記物体の色以外の色に対して
は、粗い間隔で入出力データを取得して、入出力特性フ
ァイルを作成することを特徴とする請求項1ないし請求
項6のいずれか1項に記載の色校正方法。7. The step of creating an input / output characteristic file of the image input device in the preliminary step 1 includes obtaining input / output data at small intervals with respect to the color of the object captured by the image input device, The color proofing according to any one of claims 1 to 6, wherein input / output data is obtained at coarse intervals for a color other than the above color to create an input / output characteristic file. Method.
タの色を校正して画像出力装置に出力する色校正装置で
あって、 予め測定された入出力データに基づき作成された、使用
する画像入力装置および画像出力装置の入出力特性ファ
イルと、予め基準白色に対して測定された、画像入力装
置が撮影する環境に於ける照明光のデータとを保存する
記憶部と、 画像入力装置により対象物の画像を基準白色と共に撮影
する画像撮影部と、 前記画像撮影部で撮影された画像データを、前記記憶部
に保存されている前記画像入力装置の入出力特性ファイ
ルのデータを用いて、機器の特性に依存しない色空間上
のデータに変換する入力画像色空間変換処理部と、 前記画像データが撮影された環境の照明光が既知である
場合には、該当する照明光データを前記記憶部から取得
し、また、前記画像データが撮影された環境の照明光が
不明の場合には、前記撮影された画像データの基準白色
領域部分のデータと前記記憶部に保存されている照明光
データとを比較して、最も差の小さな照明光データを撮
影環境の照明光データとして取得する照明光データ取得
部と、 前記照明光データ取得部で取得した照明光データを用い
て、前記入力画像色空間変換処理部で変換された機器の
特性に依存しない色空間上のデータから、照明光の色味
成分の影響を除去する色味成分除去処理部と、 前記色味成分除去処理部で照明光の色味成分の影響が除
去された、機器の特性に依存しない色空間上のデータに
対して、所定の照明光の色味成分を付加する色味成分付
加処理部と、 前記色味成分除去処理部で照明光の色味成分の影響が除
去された、機器の特性に依存しない色空間上のデータに
対して、撮影環境の照明光の明るさ成分を補正する明る
さ補正処理部と、 前記色味成分付加処理部および明るさ補正処理部で照明
光の色味成分および明るさ成分が補正された、機器の特
性に依存しない色空間上のデータを、前記記憶部に保存
されている出力先の画像出力装置の入出力特性ファイル
のデータを用いて、出力先の画像出力装置に依存する画
像データに変換する出力画像色空間変換処理部とを有す
ることを特徴とする色校正装置。8. A color proofing device for calibrating colors of image data photographed by an image input device and outputting the corrected data to an image output device, wherein an image input device used based on input / output data measured in advance. A storage unit for storing input / output characteristic files of the device and the image output device, and data of illumination light measured in advance in the environment where the image input device is photographed with respect to the reference white; An image capturing unit that captures the image of the image together with the reference white, and image data captured by the image capturing unit, using data of an input / output characteristic file of the image input device stored in the storage unit. An input image color space conversion processing unit that converts data into a color space that does not depend on characteristics.If the illumination light of the environment where the image data is captured is known, the corresponding illumination light data is converted. If the illumination light of the environment in which the image data is captured is unknown, the data of the reference white area portion of the captured image data and the illumination stored in the storage unit are obtained. Comparing the light data, the illumination light data acquisition unit that acquires the illumination light data with the smallest difference as illumination light data of the shooting environment, using the illumination light data acquired by the illumination light data acquisition unit, From the data on the color space that does not depend on the characteristics of the device converted by the image color space conversion processing unit, a color component removal processing unit that removes the influence of the color component of the illumination light, and the color component removal processing unit A tint component addition processing unit that adds a tint component of predetermined illumination light to data in a color space that does not depend on the characteristics of the device and that removes the influence of the tint component of the illumination light; Color tone of illumination light in component removal processing section For the data in the color space that does not depend on the characteristics of the device from which the influence of the minute has been removed, a brightness correction processing unit that corrects the brightness component of the illumination light in the shooting environment, and the tint component addition processing unit The data in the color space, which is independent of the device characteristics and whose color component and brightness component of the illuminating light have been corrected by the brightness correction processing unit, is input to the output destination image output device stored in the storage unit. An output image color space conversion processing unit that converts data of the output characteristic file into image data dependent on an output destination image output device.
除去処理部で照明光の色味成分の影響が除去された、機
器の特性に依存しない色空間上のデータを(Xi’,Y
i’,Zi’)とし、照明光の明るさ成分補正後のデー
タを(Xi”,Yi”,Zi”)とした時、 前記照明光データ取得部で取得した、前記記憶部に保存
されている照明光データの明るさ成分をLy-AVEとし
て、 k=(255/Ly-AVE)の関係式からkの値を算出
し、 次に、Xi”=k×Xi’、Yi”=k×Yi’、Z
i”=k×Zi’の関係式から、照明光の明るさ成分補
正後のデータ(Xi”,Yi”,Zi”)を求め、 当該求めた照明光の明るさ成分補正後のデータのX
i”、Yi”、あるいは、Zi”の値が255を越える
場合には、該当する値を255として撮影環境の照明光
の明るさ成分を補正することを特徴とする請求項8に記
載の色校正装置。9. The brightness correction processing unit converts data in a color space independent of the characteristics of the device, from which the influence of the tint component of the illumination light has been removed by the tint component removal processing unit, into (Xi ′, Y
i ′, Zi ′) and the data after correcting the brightness component of the illumination light is (Xi ″, Yi ″, Zi ″), and is stored in the storage unit acquired by the illumination light data acquisition unit. Assuming that the brightness component of the existing illumination light data is Ly -AVE , the value of k is calculated from the relational expression of k = (255 / Ly-AVE ). Then, Xi ″ = k × Xi ′, Yi ″ = k x Yi ', Z
From the relational expression of i ″ = k × Zi ′, data (Xi ″, Yi ″, Zi ″) after correction of the brightness component of the illumination light is obtained, and X of the obtained data after correction of the brightness component of the illumination light is obtained.
9. The color according to claim 8, wherein when the value of i ", Yi" or Zi "exceeds 255, the corresponding value is set to 255 to correct the brightness component of the illumination light in the shooting environment. Calibration device.
分除去処理部で照明光の色味成分の影響が除去された、
機器の特性に依存しない色空間上のデータを(Xi’,
Yi’,Zi’)とし、照明光の明るさ成分補正後のデ
ータを(Xi”,Yi”,Zi”)とした時、 前記照明光データ取得部で取得した、前記記憶部に保存
されている照明光データの明るさ成分をLy-AVE、昼光
下での基準白色領域の平均値をY’DAYとして、k=
(Y’DAY/Ly-AVE)の関係式からkの値を求め、 次に、Xi”=k×Xi’、Yi”=k×Yi’、Z
i”=k×Zi’の関係式から、照明光の明るさ成分補
正後のデータ(Xi”,Yi”,Zi”)を求め、 当該求めた照明光の明るさ成分補正後のデータのX
i”、Yi”、あるいはZi”の値が255を越える場
合には、該当する値を255として、撮影環境の照明光
の明るさ成分を補正することを特徴とする請求項8に記
載の色校正装置。10. The brightness correction processing section, wherein the influence of the tint component of the illumination light has been removed by the tint component removal processing section.
Data in a color space that does not depend on the characteristics of the device is represented by (Xi ′,
Yi ′, Zi ′), and when the data after the correction of the brightness component of the illumination light is (Xi ″, Yi ″, Zi ″), the data obtained by the illumination light data acquisition unit and stored in the storage unit The brightness component of the present illumination light data is L y-AVE , and the average value of the reference white area under daylight is Y ′ DAY , and k =
The value of k is obtained from the relational expression of (Y ′ DAY / L y-AVE ). Then, Xi ″ = k × Xi ′, Yi ″ = k × Yi ′, Z
From the relational expression of i ″ = k × Zi ′, data (Xi ″, Yi ″, Zi ″) after correction of the brightness component of the illumination light is obtained, and X of the obtained data after correction of the brightness component of the illumination light is obtained.
9. The color according to claim 8, wherein when the value of i ", Yi" or Zi "exceeds 255, the corresponding value is set to 255 and the brightness component of the illumination light in the shooting environment is corrected. Calibration device.
分除去処理部で照明光の色味成分の影響が除去された、
機器の特性に依存しない色空間上のデータを(Xi’,
Yi’,Zi’)とし、照明光の明るさ成分補正後のデ
ータを(Xi”,Yi”,Zi”)とした時、 前記Yi’の中で最大となる値をY’MAXとして求め、 k=(255/Y’MAX )の関係式からkの値を算出
し、 次に、Xi”=k×Xi’、Yi”=k×Yi’、Z
i”=k×Zi’の関係式から、照明光の明るさ成分補
正後のデータ(Xi”,Yi”,Zi”)を求めて、撮
影環境の照明光の明るさ成分を補正することを特徴とす
る請求項8に記載の色校正装置。11. The brightness correction processing section, wherein the influence of the tint component of the illumination light has been removed by the tint component removal processing section.
Data in a color space that does not depend on the characteristics of the device is represented by (Xi ′,
Yi ′, Zi ′), and when the data after correcting the brightness component of the illumination light is (Xi ″, Yi ″, Zi ″), the maximum value of Yi ′ is obtained as Y ′ MAX , The value of k is calculated from the relational expression of k = (255 / Y ′ MAX ). Then, Xi ″ = k × Xi ′, Yi ″ = k × Yi ′, Z
The data (Xi ″, Yi ″, Zi ″) after the correction of the brightness component of the illumination light is obtained from the relational expression of i ″ = k × Zi ′ to correct the brightness component of the illumination light in the shooting environment. The color proofing device according to claim 8, wherein
像部で撮影された画像データの中の、基準白色領域に対
応するデータYi’の平均値をY’BASとして算出し、 当該Y’BASを、前記記憶部に保存されている照明光デ
ータの明るさ成分Ly-A VEの代わりに用いて、前記kの
値を算出することを特徴とする請求項9または請求項1
0に記載の色校正装置。12. The brightness correction processing unit calculates, as Y ′ BAS , an average value of data Yi ′ corresponding to a reference white area in image data captured by the image capturing unit, and calculates Y ′ BAS. the BAS, used instead of the lightness components L yA VE of the illumination light data stored in the storage unit, according to claim 9 or claim 1, characterized in that to calculate the value of the k
The color proofing device according to 0.
により撮影された画像データの色を校正して画像出力装
置に出力させる色校正方法を実行させるためのプログラ
ムを記憶した記録媒体であって、 当該プログラムは、コンピュータに、予め測定された入
出力データに基づき、使用する画像入力装置および画像
出力装置の入出力特性ファイルを作成させて記憶部に保
存させる予備手順1と、 予め基準白色に対して測定された、画像入力装置が撮影
する環境に於ける照明光のデータに基づき、照明光デー
タファイルを作成させて記憶部に保存させる予備手順2
と、 画像入力装置により撮影された対象物の画像データを、
前記記憶部に保存されている前記画像入力装置の入出力
特性ファイルのデータを用いて、機器の特性に依存しな
い色空間上のデータに変換させる手順1と、 前記画像データが撮影された環境の照明光が既知である
場合には、該当する照明光データを前記記憶部から取得
させ、また、前記画像データが撮影された環境の照明光
が不明の場合には、前記撮影された画像データの基準白
色領域部分のデータと前記記憶部に保存されている照明
光データとを比較して、最も差の小さな照明光データを
撮影の照明光データとして取得させる手順2と、 前記手順2で取得させた照明光データを用いて、前記手
順1で変換させた機器の特性に依存しない色空間上のデ
ータから、照明光の色味成分の影響を除去させる手順3
と、 前記手順3で照明光の色味成分の影響を除去させた機器
の特性に依存しない色空間上のデータに対して、所定の
照明光の色味成分を付加させる手順4と、 前記手順4で前記所定の照明光の色味成分を付加させ
た、機器の特性に依存しない色空間上のデータに対し
て、撮影環境の照明光の明るさ成分を補正させる手順5
と、 前記手順5で照明光の明るさ成分を補正させた機器の特
性に依存しない色空間上のデータを、前記記憶部に保存
されている出力先の画像出力装置の入出力特性ファイル
のデータを用いて、出力先の画像出力装置に依存する画
像データに変換させる手順6とを実行させることを特徴
とするプログラムを記憶した記録媒体。13. A recording medium storing a program for executing, by a computer, a color calibration method for calibrating the color of image data photographed by an image input device and outputting the color to an image output device, the program comprising: A preliminary procedure 1 in which a computer creates an input / output characteristic file of an image input device and an image output device to be used based on input / output data measured in advance and stores the file in a storage unit; A preliminary procedure 2 in which an illumination light data file is created based on the illumination light data in the environment where the image input device captures an image and stored in the storage unit.
And the image data of the object photographed by the image input device,
Using the data of the input / output characteristic file of the image input device stored in the storage unit, converting the data into data on a color space that does not depend on the characteristics of the device; If the illumination light is known, the corresponding illumination light data is obtained from the storage unit, and if the illumination light of the environment where the image data is captured is unknown, the captured image data Step 2 of comparing the data of the reference white area with the illumination light data stored in the storage unit, and acquiring the illumination light data with the smallest difference as illumination light data for photographing; Using the obtained illumination light data to remove the influence of the tint component of the illumination light from the data in the color space that does not depend on the characteristics of the device converted in step 1 above.
A step 4 of adding a predetermined color component of the illumination light to the data in the color space that does not depend on the characteristics of the device from which the influence of the color component of the illumination light has been removed in the step 3; Step 5 of correcting the brightness component of the illumination light of the shooting environment with respect to the data in the color space that does not depend on the characteristics of the device and to which the color component of the predetermined illumination light is added in 4
The data in the color space that does not depend on the characteristics of the device whose brightness component of the illuminating light has been corrected in step 5 is converted into the data of the input / output characteristic file of the output image output device stored in the storage unit. A program for converting the image data into image data dependent on the image output device of the output destination using the program.
により撮影させた画像データの色を校正して画像出力装
置に出力させる色校正方法を実行させるためのプログラ
ムを記憶した記録媒体であって、 当該プログラムは、コンピュータに、予め測定された入
出力データに基づき、使用する画像入力装置および画像
出力装置の入出力特性ファイルを作成させて記憶部に保
存させる予備手順1と、 予め基準白色に対して測定された、画像入力装置が撮影
する環境に於ける照明光のデータに基づき、照明光デー
タファイルを作成させて記憶部に保存させる予備手順2
と、 画像入力装置により撮影された対象物の画像データを、
前記記憶部に保存されている前記画像入力装置の入出力
特性ファイルのデータを用いて、機器の特性に依存しな
い色空間上のデータに変換させる手順1と、 前記画像データが撮影された環境の照明光が既知である
場合には、該当する照明光データを前記記憶部から取得
させ、また、前記画像データが撮影された環境の照明光
が不明の場合には、前記撮影された画像データの基準白
色領域部分のデータと前記記憶部に保存されている照明
光データとを比較して、最も差の小さな照明光データを
撮影の照明光データとして取得させる手順2と、 前記手順2で取得させた照明光データを用いて、前記手
順1で変換させた機器の特性に依存しない色空間上のデ
ータから、照明光の色味成分の影響を除去させる手順3
と、 前記手順3で照明光の色味成分の影響を除去させた機器
の特性に依存しない色空間上のデータに対して、撮影環
境の照明光の明るさ成分を補正させる手順4と、 前記手順4で撮影環境の照明光の明るさ成分を補正させ
た機器の特性に依存しない色空間上のデータに対して、
所定の照明光の色味成分を付加させる手順5と、 前記手順5で所定の照明光の色味成分を付加させた、機
器の特性に依存しない色空間上のデータを、前記記憶部
に保存されている出力先の画像出力装置の入出力特性フ
ァイルのデータを用いて、出力先の画像出力装置に依存
する画像データに変換させる手順6とを実行させること
を特徴とするプログラムを記憶した記録媒体。14. A recording medium storing a program for executing, by a computer, a color calibration method for calibrating colors of image data photographed by an image input device and outputting the color to an image output device, the program comprising: A preliminary procedure 1 in which a computer creates an input / output characteristic file of an image input device and an image output device to be used based on input / output data measured in advance and stores the file in a storage unit; A preliminary procedure 2 in which an illumination light data file is created based on the illumination light data in the environment where the image input device captures an image and stored in the storage unit.
And the image data of the object photographed by the image input device,
Using the data of the input / output characteristic file of the image input device stored in the storage unit, converting the data into data on a color space that does not depend on the characteristics of the device; If the illumination light is known, the corresponding illumination light data is obtained from the storage unit, and if the illumination light of the environment where the image data is captured is unknown, the captured image data Step 2 of comparing the data of the reference white area with the illumination light data stored in the storage unit, and acquiring the illumination light data with the smallest difference as illumination light data for photographing; Using the obtained illumination light data to remove the influence of the tint component of the illumination light from the data in the color space that does not depend on the characteristics of the device converted in step 1 above.
And correcting the brightness component of the illumination light in the shooting environment with respect to the data in the color space that does not depend on the characteristics of the device from which the influence of the tint component of the illumination light has been removed in the procedure 3. For the data on the color space that does not depend on the characteristics of the device whose brightness component of the illumination light of the shooting environment has been corrected in step 4,
Step 5 of adding a predetermined color component of the illumination light; and storing data in a color space independent of device characteristics, to which the predetermined color component of the illumination light is added in the step 5. Using the data of the input / output characteristic file of the output destination image output device to convert the image data into image data dependent on the output destination image output device. Medium.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11172985A JP2001008221A (en) | 1999-06-18 | 1999-06-18 | Color proofing method, color proofing device, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11172985A JP2001008221A (en) | 1999-06-18 | 1999-06-18 | Color proofing method, color proofing device, and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001008221A true JP2001008221A (en) | 2001-01-12 |
Family
ID=15952047
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11172985A Pending JP2001008221A (en) | 1999-06-18 | 1999-06-18 | Color proofing method, color proofing device, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001008221A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008001941A1 (en) * | 2006-06-30 | 2008-01-03 | Fujifilm Corporation | Method and apparatus for diffusion based illumination normalization |
| WO2008001943A1 (en) * | 2006-06-30 | 2008-01-03 | Fujifilm Corporation | Method and apparatus for diffusion based image relighting |
| JP2012194126A (en) * | 2011-03-17 | 2012-10-11 | Topcon Corp | Image color correction device and image color correction method |
| CN117765840A (en) * | 2022-09-19 | 2024-03-26 | 广州视创显示科技有限公司 | Color calibration file generation method, storage medium and electronic device |
-
1999
- 1999-06-18 JP JP11172985A patent/JP2001008221A/en active Pending
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008001941A1 (en) * | 2006-06-30 | 2008-01-03 | Fujifilm Corporation | Method and apparatus for diffusion based illumination normalization |
| WO2008001943A1 (en) * | 2006-06-30 | 2008-01-03 | Fujifilm Corporation | Method and apparatus for diffusion based image relighting |
| JP2009543161A (en) * | 2006-06-30 | 2009-12-03 | 富士フイルム株式会社 | Method and apparatus for diffusion-based image relighting |
| US7747045B2 (en) | 2006-06-30 | 2010-06-29 | Fujifilm Corporation | Method and apparatus for diffusion based illumination normalization |
| JP2012194126A (en) * | 2011-03-17 | 2012-10-11 | Topcon Corp | Image color correction device and image color correction method |
| CN117765840A (en) * | 2022-09-19 | 2024-03-26 | 广州视创显示科技有限公司 | Color calibration file generation method, storage medium and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6628823B1 (en) | Pictorial digital image processing incorporating adjustments to compensate for dynamic range differences | |
| US7822269B2 (en) | Projector color correcting method | |
| US6594388B1 (en) | Color image reproduction of scenes with preferential color mapping and scene-dependent tone scaling | |
| EP2227898B1 (en) | Image sensor apparatus and method for scene illuminant estimation | |
| KR100278642B1 (en) | Color image processing apparatus and method | |
| US5809164A (en) | System and method for color gamut and tone compression using an ideal mapping function | |
| US5793884A (en) | Spectral based color image editing | |
| JP2005117612A (en) | Image processing method and apparatus | |
| JP2000013626A (en) | Image processing method and apparatus and storage medium | |
| JP2001285889A (en) | Reproduction of color image for scene attended with preferred color mapping | |
| JP2005210370A (en) | Image processor, photographic device, image processing method, image processing program | |
| US7298892B2 (en) | Producing a balanced digital color image having minimal color errors | |
| JP3372537B2 (en) | How to automatically select a color calibration value | |
| JP2005210495A (en) | Image processing apparatus, method, and program | |
| JP2978615B2 (en) | Apparatus and method for adjusting color balance | |
| JP2001128191A (en) | Method and device for processing image and recording medium | |
| US11825245B2 (en) | Image processing device, image display system, image processing method, and program | |
| US20080013827A1 (en) | Method of Electronic Color Image Saturation Processing | |
| US20040240732A1 (en) | Active color correction to compensate for near field color cast | |
| JP5156423B2 (en) | Color processing apparatus and color processing method | |
| US20170180694A1 (en) | Method of encoding raw color coordinates provided by a camera representing colors of a scene having two different illuminations | |
| JP2008510382A (en) | Digital color fidelity | |
| JP2001008221A (en) | Color proofing method, color proofing device, and storage medium | |
| US20040119860A1 (en) | Method of colorimetrically calibrating an image capturing device | |
| US8922580B2 (en) | Method and system to modify a color lookup table |