JP2003149050A - Colorimetric apparatus, colorimetric method, colorimetry control program, and recording medium in which colorimetry control program has been stored and can be read by computer - Google Patents
Colorimetric apparatus, colorimetric method, colorimetry control program, and recording medium in which colorimetry control program has been stored and can be read by computerInfo
- Publication number
- JP2003149050A JP2003149050A JP2001343761A JP2001343761A JP2003149050A JP 2003149050 A JP2003149050 A JP 2003149050A JP 2001343761 A JP2001343761 A JP 2001343761A JP 2001343761 A JP2001343761 A JP 2001343761A JP 2003149050 A JP2003149050 A JP 2003149050A
- Authority
- JP
- Japan
- Prior art keywords
- color
- colorimetric
- color image
- conversion coefficient
- image signals
- 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
- 238000004737 colorimetric analysis Methods 0.000 title abstract description 8
- 238000006243 chemical reaction Methods 0.000 claims abstract description 169
- 238000005259 measurement Methods 0.000 claims abstract description 90
- 238000003384 imaging method Methods 0.000 claims abstract description 33
- 230000003287 optical effect Effects 0.000 claims abstract description 21
- 238000012937 correction Methods 0.000 claims description 77
- 238000000034 method Methods 0.000 claims description 26
- 238000003860 storage Methods 0.000 claims description 25
- 230000006870 function Effects 0.000 claims description 14
- 238000000691 measurement method Methods 0.000 claims 1
- 239000003086 colorant Substances 0.000 abstract description 8
- 239000000126 substance Substances 0.000 abstract 1
- 239000011159 matrix material Substances 0.000 description 37
- 238000012545 processing Methods 0.000 description 26
- 230000003595 spectral effect Effects 0.000 description 20
- 238000003705 background correction Methods 0.000 description 18
- 230000000875 corresponding effect Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 15
- 238000005286 illumination Methods 0.000 description 10
- 230000035945 sensitivity Effects 0.000 description 10
- 230000009466 transformation Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000009826 distribution Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 238000009825 accumulation Methods 0.000 description 3
- 239000003990 capacitor Substances 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000001454 recorded image Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 102100039607 Erlin-1 Human genes 0.000 description 1
- 101000814010 Homo sapiens Erlin-1 Proteins 0.000 description 1
- 101150065817 ROM2 gene Proteins 0.000 description 1
- 238000001444 catalytic combustion detection Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000011514 reflex Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Spectrometry And Color Measurement (AREA)
- Cameras In General (AREA)
- Color Television Image Signal Generators (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、比較的簡易なカラ
ー撮像手段を用いて精度良く測色を行うようにした測色
技術に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a colorimetry technique for performing accurate colorimetry using a relatively simple color image pickup means.
【0002】[0002]
【従来の技術】従来、三刺激値直読型色彩計では、CI
Eの三刺激値X,Y,Zの等色関数x(λ),y(λ),z
(λ)に高精度に一致する分光透過特性を有するフィルタ
を介して測定対象からの光を受光し、その受光強度に基
づき測色値を求めるようにしている。2. Description of the Related Art Conventionally, in a tristimulus value direct reading colorimeter, a CI
Color matching functions x (λ), y (λ), z of tristimulus values X, Y, Z of E
Light from a measurement target is received through a filter having a spectral transmission characteristic that matches (λ) with high accuracy, and a colorimetric value is obtained based on the received light intensity.
【0003】[0003]
【発明が解決しようとする課題】しかし、等色関数に一
致するフィルタは高価なものであり、一般的な使用者が
簡易に測色を行うのには向いておらず、汎用されている
カラーCCDを用いて、測色を簡易に、かつ精度良く行
うことが望まれていた。However, a filter that matches the color matching function is expensive and is not suitable for general users to easily perform color measurement. There has been a demand for simple and accurate color measurement using a CCD.
【0004】そこで、従来、汎用されているカラーCC
Dカメラを用いて測定対象の色の持つ属性を定量的に高
精度に測定する測色装置が提案されている(特開200
0−9535号公報)。この装置では、ブラウン管や液
晶ディスプレイなどの測定対象の発光分光特性を測定デ
ータと記憶データとを用いて推定し、この推定結果を用
いて色度座標値を算出するようにしている。Therefore, conventionally used color CC
There has been proposed a colorimetric device that quantitatively and accurately measures the attribute of a color to be measured using a D camera (Japanese Patent Laid-Open No. 200-200200).
0-9535). In this apparatus, the emission spectral characteristic of a measurement target such as a cathode ray tube or a liquid crystal display is estimated using the measurement data and the storage data, and the chromaticity coordinate value is calculated using the estimation result.
【0005】ところが、この測色装置は、測定対象がブ
ラウン管や液晶ディスプレイなどの発光体に限られてお
り、一般の物体色を精度良く測定することについては開
示されていない。However, this colorimetric device is limited to measuring light-emitting bodies such as cathode ray tubes and liquid crystal displays, and does not disclose accurate measurement of general object colors.
【0006】本発明は、上記に鑑みてなされたもので、
一般的なカラー撮像手段を用いて一般の物体色を簡易
に、かつ精度良く測定することが可能な測色装置、測色
方法、測色制御プログラムおよび測色制御プログラムが
格納されたコンピュータ読み取り可能な記録媒体を提供
することを目的とする。The present invention has been made in view of the above,
A color measuring device, a color measuring method, a color measuring control program, and a computer readable program storing a color measuring control program capable of easily and accurately measuring a general object color by using a general color image pickup means. The purpose of the present invention is to provide a stable recording medium.
【0007】[0007]
【課題を解決するための手段】請求項1記載の発明は、
撮影光学系を介して測定対象の光像を受光し、その光強
度に応じた所定の三原色画像信号を出力するカラー撮像
手段と、上記三原色画像信号を所定の標準三色表色系に
基づく測色値に変換するための変換係数群を複数組記憶
する記憶手段と、測定対象を撮像したときに上記カラー
撮像手段から出力される三原色画像信号に応じて、上記
複数組の変換係数群から一組の変換係数群を選択する選
択手段と、この選択手段により選択された変換係数群を
用いて上記カラー撮像手段によって得られた三原色画像
信号から上記標準三色表色系に基づく測色値を算出する
変換演算手段とを備えたことを特徴としている。The invention according to claim 1 is
A color image pickup means for receiving an optical image of an object to be measured through a photographing optical system and outputting a predetermined three-primary-color image signal corresponding to the light intensity; A storage means for storing a plurality of sets of conversion coefficient groups for converting into color values, and one of the plurality of sets of conversion coefficient groups in accordance with the three primary color image signals output from the color imaging means when the measurement target is imaged. Selecting means for selecting a set of conversion coefficient groups, and a colorimetric value based on the standard three-color color system from the three primary color image signals obtained by the color imaging means using the conversion coefficient group selected by the selecting means. It is characterized by including a conversion calculation means for calculating.
【0008】この構成によれば、測定対象を撮像したと
きに、カラー撮像手段により、撮影光学系を介して測定
対象の光像が受光され、その光強度に応じた所定の三原
色画像信号が出力される。例えば、R,G,Bのカラー
フィルタを備えた光電変換素子が2次元的に配列されて
カラー撮像手段が構成されている場合には、三原色画像
信号として画像信号R,G,Bが出力される。According to this structure, when the object to be measured is imaged, the color imager receives the optical image of the object to be measured through the photographing optical system, and outputs the predetermined three primary color image signals corresponding to the light intensity. To be done. For example, when photoelectric conversion elements having R, G, B color filters are two-dimensionally arranged to form a color image pickup means, image signals R, G, B are output as three primary color image signals. It
【0009】一方、記憶手段には、三原色画像信号を所
定の標準三色表色系に基づく測色値に変換するための変
換係数群が複数組記憶されている。所定の標準三色表色
系としては、例えばCIEで採択されているXYZ表色
系が用いられる。On the other hand, the storage means stores a plurality of sets of conversion coefficient groups for converting the three primary color image signals into colorimetric values based on a predetermined standard three-color color system. As the predetermined standard three-color color system, for example, the XYZ color system adopted by CIE is used.
【0010】そして、カラー撮像手段から出力される三
原色画像信号に応じて、複数組の変換係数群から一組の
変換係数群が選択され、この選択された変換係数群を用
いて三原色画像信号から標準三色表色系に基づく測色値
が算出される。Then, one set of conversion coefficient groups is selected from a plurality of sets of conversion coefficient groups in accordance with the three primary color image signals output from the color image pickup means, and the selected conversion coefficient group is used to convert the three primary color image signals. A colorimetric value is calculated based on the standard three-color color system.
【0011】これによって、測定対象の撮像によって得
られた三原色画像信号に適合する変換係数群が選択され
ることから、標準三色表色系に基づく測色値が精度良く
求められることとなる。As a result, the conversion coefficient group suitable for the image signals of the three primary colors obtained by imaging the object to be measured is selected, so that the colorimetric values based on the standard three-color color system can be accurately obtained.
【0012】請求項2記載の発明は、上記カラー撮像手
段を備えたデジタルスチルカメラと、上記記憶手段、選
択手段および変換演算手段を備えたパーソナルコンピュ
ータとを含み、上記デジタルスチルカメラは、測定対象
を撮像したときに上記カラー撮像手段から出力される三
原色画像信号を上記パーソナルコンピュータに送信する
送信手段を備え、上記パーソナルコンピュータは、上記
デジタルスチルカメラから送信される上記三原色画像信
号を受信する受信手段を備えていることを特徴としてい
る。According to a second aspect of the present invention, there is provided a digital still camera having the color image pickup means, and a personal computer having the storage means, the selection means and the conversion calculation means. A transmitting means for transmitting the three primary color image signals output from the color image capturing means to the personal computer when the image is captured, the personal computer receiving means for receiving the three primary color image signals transmitted from the digital still camera. It is characterized by having.
【0013】この構成によれば、測定対象を撮像したと
きに、デジタルスチルカメラのカラー撮像手段により、
撮影光学系を介して測定対象の光像が受光され、その光
強度に応じた所定の三原色画像信号が出力され、この三
原色画像信号は、デジタルスチルカメラからパーソナル
コンピュータに向けて送信され、パーソナルコンピュー
タは、この三原色画像信号を受信する。According to this structure, when the measurement target is imaged, the color imaging means of the digital still camera allows
An optical image of a measurement target is received via a photographing optical system, and predetermined three-primary-color image signals corresponding to the light intensity are output. The three-primary-color image signals are transmitted from a digital still camera to a personal computer, and a personal computer Receives the three primary color image signals.
【0014】そして、パーソナルコンピュータは、例え
ば、当該パーソナルコンピュータを上記選択手段と、上
記変換演算手段として機能させる測色制御プログラムを
備えることにより、受信した三原色画像信号に応じて、
複数組の変換係数群から一組の変換係数群が選択され、
この選択された変換係数群を用いて三原色画像信号から
標準三色表色系に基づく測色値が算出されることとな
る。従って、デジタルスチルカメラに対する演算負荷が
軽減される。The personal computer is provided with, for example, a colorimetric control program that causes the personal computer to function as the selecting means and the conversion computing means, so that the personal computer responds to the received three-primary-color image signals.
A set of conversion coefficient groups is selected from a plurality of sets of conversion coefficient groups,
The selected conversion coefficient group is used to calculate the colorimetric value based on the standard three-color color system from the three primary color image signals. Therefore, the calculation load on the digital still camera is reduced.
【0015】請求項3記載の発明は、上記カラー撮像手
段、選択手段および変換演算手段は、デジタルスチルカ
メラに配設されたもので、このデジタルスチルカメラ
は、動作モードとして測色モードを設定するための外部
から操作可能な操作手段を備え、上記測色モードが設定
されると上記選択手段および変換演算手段が動作するよ
うに構成されていることを特徴としている。According to a third aspect of the present invention, the color image pickup means, the selection means, and the conversion calculation means are provided in a digital still camera, and the digital still camera sets a color measurement mode as an operation mode. It is characterized in that it is provided with an operating means that can be operated from the outside, and that the selecting means and the conversion calculating means operate when the color measurement mode is set.
【0016】この構成によれば、操作手段が操作されて
動作モードとして測色モードが設定されると、選択手段
および変換演算手段が動作することから、デジタルスチ
ルカメラを用いることにより、測定対象の標準三色表色
系に基づく測色値が、簡易に、かつ精度良く算出され
る。According to this structure, when the operation means is operated and the colorimetric mode is set as the operation mode, the selection means and the conversion operation means operate. Therefore, by using the digital still camera, an object to be measured can be measured. Colorimetric values based on the standard three-color color system can be calculated easily and accurately.
【0017】請求項4記載の発明は、上記デジタルスチ
ルカメラは、表示手段と、上記測色モードが設定される
と上記表示手段に測色のための撮影手順を表示する表示
制御手段とを備えたものであることを特徴としている。According to a fourth aspect of the present invention, the digital still camera includes display means and display control means for displaying a photographing procedure for color measurement on the display means when the color measurement mode is set. It is characterized by being
【0018】この構成によれば、測色モードが設定され
ると、表示手段に測色のための撮影手順が表示される。
これにより、使用者は測色手順が誘導されることから、
通常の撮影と手順が異なる測色動作に不慣れな使用者に
対しても、確実に測色を行わせることが可能になる。According to this structure, when the color measurement mode is set, the photographing procedure for color measurement is displayed on the display means.
This will guide the user through the color measurement procedure,
Even a user who is unfamiliar with the color measurement operation, which is different from the procedure of normal photographing, can surely be made to perform the color measurement.
【0019】請求項5記載の発明は、上記記憶手段に格
納されている複数組の変換係数群は、上記標準三色表色
系に基づく測色値が既知の複数の補正用被写体を上記カ
ラー撮像手段により撮像して得られる複数の上記三原色
画像信号と当該既知の測色値との関係に基づき求められ
たものであることを特徴としている。According to a fifth aspect of the present invention, the plurality of sets of conversion coefficient groups stored in the storage means include a plurality of correction subjects whose colorimetric values based on the standard three-color color system are known. It is characterized in that it is obtained based on the relationship between the plurality of the three primary color image signals obtained by imaging by the imaging means and the known colorimetric values.
【0020】この構成によれば、記憶手段に格納されて
いる複数組の変換係数群は、標準三色表色系に基づく測
色値が既知の複数の補正用被写体をカラー撮像手段によ
り撮像して得られる複数の三原色画像信号と当該既知の
測色値との関係に基づき求められたものであることか
ら、これらの変換係数群を用いることにより、測定対象
を撮像したときの三原色画像信号から標準三色表色系に
基づく測色値が精度良く求められることとなる。According to this structure, the plurality of sets of conversion coefficient groups stored in the storage means pick up a plurality of correction subjects whose colorimetric values based on the standard three-color color system are known by the color image pickup means. Since it was obtained based on the relationship between a plurality of three primary color image signals obtained and the known colorimetric values, by using these conversion coefficient groups, the three primary color image signals when the measurement target was imaged Colorimetric values based on the standard three-color color system can be accurately obtained.
【0021】請求項6記載の発明は、上記記憶手段に格
納されている複数組の変換係数群は、上記複数の補正用
被写体全てを用いて求められた一組の第1変換係数群
と、色相値が所定範囲内に属する所定数の補正用被写体
を用いてそれぞれ求められた複数組の第2変換係数群と
からなるもので、上記選択手段は、上記カラー撮像手段
により測定対象を撮像して得られる三原色画像信号から
上記第1変換係数群を用いて上記標準三色表色系に基づ
く測色値を仮に算出し、その結果を用いて色相値を算出
し、上記複数組の第2変換係数群のうちから当該色相値
に対応する一組の第2変換係数群を選択するものである
ことを特徴としている。According to a sixth aspect of the present invention, the plurality of sets of conversion coefficient groups stored in the storage means are a set of first conversion coefficient groups obtained by using all of the plurality of correction subjects. The hue value is composed of a plurality of sets of second conversion coefficient groups respectively obtained by using a predetermined number of correction subjects belonging to a predetermined range, and the selection means captures an image of the measurement target by the color imaging means. The colorimetric value based on the standard three-color color system is provisionally calculated from the three primary color image signals obtained by using the first conversion coefficient group, and the hue value is calculated using the result, and the plurality of sets of the second color group are calculated. It is characterized in that a set of second conversion coefficient groups corresponding to the hue value is selected from the conversion coefficient group.
【0022】この構成によれば、カラー撮像手段により
測定対象を撮像して得られる三原色画像信号から第1変
換係数群を用いて標準三色表色系に基づく測色値が仮に
算出され、その結果を用いて色相値が算出され、複数組
の第2変換係数群のうちから当該色相値に対応する一組
の第2変換係数群が選択される。According to this structure, the colorimetric values based on the standard three-color color system are provisionally calculated from the three primary color image signals obtained by imaging the object to be measured by the color imaging means using the first conversion coefficient group. The hue value is calculated using the result, and one set of second conversion coefficient groups corresponding to the hue value is selected from the plurality of sets of second conversion coefficient groups.
【0023】そして、この選択された第2変換係数群を
用いて標準三色表色系に基づく測色値が算出されること
から、より一層精度良く測色値の算出が行えることとな
る。Since the colorimetric value based on the standard three-color color system is calculated by using the selected second conversion coefficient group, the colorimetric value can be calculated with higher accuracy.
【0024】請求項7記載の発明は、上記標準三色表色
系に基づく測色値が既知の複数の補正用被写体を上記カ
ラー撮像手段により撮像して得られる複数の上記三原色
画像信号と当該既知の測色値との関係に基づき複数組の
上記変換係数群を算出し、その算出結果を上記記憶手段
に格納する係数演算手段を備えたことを特徴としてい
る。According to a seventh aspect of the present invention, a plurality of the three primary color image signals obtained by picking up a plurality of correction subjects whose colorimetric values based on the standard three-color color system are known by the color image pickup means, The present invention is characterized in that a coefficient calculation means for calculating a plurality of sets of the conversion coefficient groups based on the relationship with a known colorimetric value and storing the calculation results in the storage means is provided.
【0025】この構成によれば、標準三色表色系に基づ
く測色値が既知の複数の補正用被写体をカラー撮像手段
により撮像して得られる複数の三原色画像信号と、当該
既知の測色値との関係に基づき複数組の変換係数群が算
出され、その算出結果が記憶手段に格納されることか
ら、カラー撮像手段の分光特性などが経時劣化により変
化した場合でも、複数組の変換係数群を改めて算出して
記憶手段に格納することにより、高精度の測色値算出機
能が長期間に亘って維持されることとなる。According to this configuration, a plurality of three-primary-color image signals obtained by picking up a plurality of correction subjects whose colorimetric values based on the standard three-color color system are known by the color imaging means, and the known colorimetric measurements. Since a plurality of sets of conversion coefficient groups are calculated based on the relationship with the values and the calculation results are stored in the storage means, even if the spectral characteristics of the color image pickup means change due to deterioration over time, a plurality of sets of conversion coefficients are obtained. By calculating the group again and storing it in the storage means, the highly accurate colorimetric value calculating function can be maintained for a long period of time.
【0026】請求項8記載の発明は、上記三原色画像信
号を所定の標準三色表色系に基づく測色値に変換するた
めの変換係数群を複数組記憶しておき、撮影光学系を介
して測定対象の光像を受光し、その光強度に応じた所定
の三原色画像信号を出力するカラー撮像手段から、測定
対象を撮像したときに出力される三原色画像信号に応じ
て、上記複数組の変換係数群から一組の変換係数群を選
択し、この選択された変換係数群を用いて上記カラー撮
像手段によって得られた三原色画像信号から上記標準三
色表色系に基づく測色値を算出することを特徴としてい
る。According to an eighth aspect of the present invention, a plurality of sets of conversion coefficient groups for converting the three primary color image signals into colorimetric values based on a predetermined standard three-color color system are stored in advance, and the conversion coefficient group is stored through the photographing optical system. A light image of a measurement target is received by a color image pickup means that outputs predetermined three primary color image signals corresponding to the light intensity, and the plurality of sets of the plurality of sets are set in accordance with the three primary color image signals output when the measurement target is imaged. A set of conversion coefficient groups is selected from the conversion coefficient group, and a colorimetric value based on the standard three-color color coordinate system is calculated from the three primary color image signals obtained by the color image pickup means using the selected conversion coefficient group. It is characterized by doing.
【0027】この構成によれば、測定対象を撮像したと
きに、カラー撮像手段から、撮影光学系を介して測定対
象の光像を受光したときの光強度に応じた所定の三原色
画像信号が出力される。例えば、R,G,Bのカラーフ
ィルタを備えた光電変換素子が2次元的に配列されてカ
ラー撮像手段が構成されている場合には、三原色画像信
号として画像信号R,G,Bが出力される。According to this structure, when the measurement target is imaged, the predetermined three primary color image signals corresponding to the light intensities when the optical image of the measurement target is received from the color imaging means are output from the color imaging means. To be done. For example, when photoelectric conversion elements having R, G, B color filters are two-dimensionally arranged to form a color image pickup means, image signals R, G, B are output as three primary color image signals. It
【0028】一方、三原色画像信号を所定の標準三色表
色系に基づく測色値に変換するための変換係数群が複数
組記憶されている。所定の標準三色表色系としては、例
えばCIEで採択されているXYZ表色系が用いられ
る。On the other hand, a plurality of sets of conversion coefficient groups for converting the three primary color image signals into colorimetric values based on a predetermined standard three-color color system are stored. As the predetermined standard three-color color system, for example, the XYZ color system adopted by CIE is used.
【0029】そして、カラー撮像手段から出力される三
原色画像信号に応じて、複数組の変換係数群から一組の
変換係数群が選択され、この選択された変換係数群を用
いて三原色画像信号から標準三色表色系に基づく測色値
が算出される。Then, one set of conversion coefficient groups is selected from a plurality of sets of conversion coefficient groups in accordance with the three primary color image signals output from the color image pickup means, and the selected conversion coefficient group is used to convert the three primary color image signals. A colorimetric value is calculated based on the standard three-color color system.
【0030】これによって、測定対象の撮像によって得
られた三原色画像信号に適合する変換係数群が選択され
ることから、標準三色表色系に基づく測色値が精度良く
求められることとなる。As a result, the conversion coefficient group suitable for the three primary color image signals obtained by imaging the measurement object is selected, so that the colorimetric value based on the standard three-color color system can be accurately obtained.
【0031】請求項9記載の発明は、測定対象の色を測
定するための測色制御プログラムであって、撮影光学系
を介して測定対象の光像を受光し、その光強度に応じた
所定の三原色画像信号を出力するカラー撮像手段と、上
記三原色画像信号を所定の標準三色表色系に基づく測色
値に変換するための変換係数群を複数組記憶する記憶手
段とを備えた測色装置を、測定対象を撮像したときに上
記カラー撮像手段から出力される三原色画像信号に応じ
て、上記複数組の変換係数群から一組の変換係数群を選
択する選択手段と、この選択手段により選択された変換
係数群を用いて上記カラー撮像手段によって得られた三
原色画像信号から上記標準三色表色系に基づく測色値を
算出する変換演算手段として機能させることを特徴とす
る測色制御プログラムである。According to a ninth aspect of the present invention, there is provided a colorimetric control program for measuring a color of an object to be measured, which receives an optical image of the object to be measured through a photographing optical system, and a predetermined value corresponding to the light intensity. Color image pickup means for outputting the three primary color image signals, and storage means for storing a plurality of sets of conversion coefficient groups for converting the three primary color image signals into colorimetric values based on a predetermined standard three color color system. Selecting means for selecting one set of conversion coefficient groups from the plurality of sets of conversion coefficient groups in accordance with the three primary color image signals output from the color image pickup means when the color device picks up an image of a measurement object; A colorimetric measurement functioning as a conversion calculation means for calculating a colorimetric value based on the standard three-color color system from the three primary color image signals obtained by the color image pickup means using the conversion coefficient group selected by Control program It is a non.
【0032】この構成によれば、測定対象を撮像したと
きに、カラー撮像手段から、撮影光学系を介して測定対
象の光像を受光したときの光強度に応じた所定の三原色
画像信号が出力される。一方、三原色画像信号を所定の
標準三色表色系に基づく測色値に変換するための変換係
数群が複数組記憶されている。According to this structure, when the measurement target is imaged, the predetermined three primary color image signals corresponding to the light intensities when the optical image of the measurement target is received from the color imaging means are output from the color imaging means. To be done. On the other hand, a plurality of sets of conversion coefficient groups for converting the three primary color image signals into colorimetric values based on a predetermined standard three color system are stored.
【0033】そして、この測色制御プログラムをコンピ
ュータで読み取って実行させると、カラー撮像手段から
出力される三原色画像信号に応じて、複数組の変換係数
群から一組の変換係数群が選択され、この選択された変
換係数群を用いて三原色画像信号から標準三色表色系に
基づく測色値が算出される。When this color measurement control program is read and executed by a computer, one set of conversion coefficient groups is selected from a plurality of sets of conversion coefficient groups in accordance with the three primary color image signals output from the color image pickup means. A colorimetric value based on the standard three-color color system is calculated from the three primary color image signals using the selected conversion coefficient group.
【0034】これによって、測定対象の撮像によって得
られた三原色画像信号に適合する変換係数群が選択され
ることから、標準三色表色系に基づく測色値が精度良く
求められることとなる。As a result, the conversion coefficient group suitable for the image signals of the three primary colors obtained by picking up the image of the object to be measured is selected, so that the colorimetric values based on the standard three-color color system can be accurately obtained.
【0035】請求項10記載の発明は、請求項9記載の
測色制御プログラムが格納されたコンピュータ読み取り
可能な記録媒体である。A tenth aspect of the present invention is a computer-readable recording medium in which the colorimetric control program according to the ninth aspect is stored.
【0036】この構成によれば、測定対象を撮像したと
きに、カラー撮像手段から、撮影光学系を介して測定対
象の光像を受光したときの光強度に応じた所定の三原色
画像信号が出力される。一方、三原色画像信号を所定の
標準三色表色系に基づく測色値に変換するための変換係
数群が複数組記憶されている。According to this structure, when the measurement target is imaged, the predetermined three primary color image signals corresponding to the light intensities when the optical image of the measurement target is received from the color imaging means are output from the color imaging means. To be done. On the other hand, a plurality of sets of conversion coefficient groups for converting the three primary color image signals into colorimetric values based on a predetermined standard three color system are stored.
【0037】そして、この記録媒体に格納された測色制
御プログラムをコンピュータで読み取って実行させる
と、カラー撮像手段から出力される三原色画像信号に応
じて、複数組の変換係数群から一組の変換係数群が選択
され、この選択された変換係数群を用いて三原色画像信
号から標準三色表色系に基づく測色値が算出される。When the computer executes the colorimetric control program stored in this recording medium, the colorimetric control program is read and executed. In accordance with the three primary color image signals output from the color image pickup means, one set of conversion coefficient groups is converted. A coefficient group is selected, and a colorimetric value based on the standard three-color color system is calculated from the three primary color image signals using the selected conversion coefficient group.
【0038】これによって、測定対象の撮像によって得
られた三原色画像信号に適合する変換係数群が選択され
ることから、標準三色表色系に基づく測色値が精度良く
求められることとなる。As a result, the conversion coefficient group suitable for the three primary color image signals obtained by imaging the measurement object is selected, so that the colorimetric value based on the standard three-color colorimetric system can be accurately obtained.
【0039】なお、請求項7記載の測色装置において、
上記係数演算手段は、上記複数の補正用被写体全てを用
いて一組の第1変換係数群を算出するとともに、色相値
が所定範囲内に属する所定数の補正用被写体を用いて複
数組の第2変換係数群をそれぞれ算出するもので、上記
選択手段は、上記第1変換係数群を用いて上記カラー撮
像手段によって得られた三原色画像信号から上記標準三
色表色系に基づく測色値を仮に算出し、その結果に基づ
き色相値を算出し、上記複数組の第2変換係数群のうち
から当該色相値に対応する一組の第2変換係数群を選択
するものとしてもよい。Incidentally, in the color measuring device according to claim 7,
The coefficient calculation means calculates a set of first conversion coefficient groups using all of the plurality of correction subjects, and uses a plurality of correction subjects of a predetermined number whose hue value is within a predetermined range. Each of the two conversion coefficient groups is calculated, and the selecting means uses the first conversion coefficient group to obtain a colorimetric value based on the standard three-color color system from the three primary color image signals obtained by the color imaging means. It is also possible to tentatively calculate, calculate a hue value based on the result, and select a set of second conversion coefficient groups corresponding to the hue value from the plurality of sets of second conversion coefficient groups.
【0040】この構成によれば、カラー撮像手段により
測定対象を撮像して得られる三原色画像信号から第1変
換係数群を用いて標準三色表色系に基づく測色値が仮に
算出され、その結果を用いて色相値が算出され、複数組
の第2変換係数群のうちから当該色相値に対応する一組
の第2変換係数群が選択される。According to this structure, the colorimetric values based on the standard three-color color system are provisionally calculated from the three primary color image signals obtained by imaging the object to be measured by the color imaging means using the first conversion coefficient group, and The hue value is calculated using the result, and one set of second conversion coefficient groups corresponding to the hue value is selected from the plurality of sets of second conversion coefficient groups.
【0041】そして、この選択された第2変換係数群を
用いて標準三色表色系に基づく測色値が算出されること
から、より一層精度良く測色値の算出が行えることとな
る。Since the colorimetric value based on the standard three-color color system is calculated using the selected second conversion coefficient group, the colorimetric value can be calculated with higher accuracy.
【0042】また、上記構成の測色装置または請求項6
記載の測色装置において、上記複数組の第2変換係数群
を算出するために用いる上記所定数の補正用被写体の各
色相値が属する上記所定範囲は、色相値が隣接するもの
同士で互いに重複するように設定されていてもよい。A color measuring device having the above structure or claim 6
In the color measurement device described above, the predetermined range to which the hue values of the predetermined number of correction subjects used to calculate the plurality of sets of second conversion coefficient groups belong to each other, and the hue ranges are adjacent to each other. It may be set to do.
【0043】この構成によれば、第1変換係数群を用い
てカラー撮像手段によって得られた三原色画像信号から
標準三色表色系に基づく測色値が仮に算出され、その結
果に基づき色相値が算出され、複数組の第2変換係数群
のうちから当該色相値に対応する一組の第2変換係数群
が選択される。According to this structure, a colorimetric value based on the standard three-color color system is provisionally calculated from the three primary color image signals obtained by the color image pickup means using the first conversion coefficient group, and the hue value is based on the result. Is calculated, and one set of second conversion coefficient groups corresponding to the hue value is selected from the plurality of sets of second conversion coefficient groups.
【0044】このとき、第1の測定対象において仮に算
出された測色値に基づき算出される第1の色相値と、第
2の測定対象において仮に算出された測色値に基づき算
出される第2の色相値とが互いに所定の境界の反対側に
位置する場合には、その第1の色相値と第2の色相値と
の差が小さい場合、すなわち第1の測定対象と第2の測
定対象の色の差が小さい場合でも、選択される第2変換
係数群が異なるものとなってしまう。At this time, the first hue value calculated based on the colorimetric value tentatively calculated for the first measurement object and the first hue value calculated based on the tentatively calculated colorimetric value for the second measurement object. When the second hue value and the second hue value are located on opposite sides of the predetermined boundary, the difference between the first hue value and the second hue value is small, that is, the first measurement target and the second measurement value. Even when the target color difference is small, the selected second conversion coefficient group is different.
【0045】しかし、この異なる第2変換係数群は、互
いにその一部が共通する補正用被写体を用いて算出され
ているので、第1の測定対象と第2の測定対象の測色値
の算出において段差が生じ、算出される測色値が大きく
異なるものとなることが未然に防止され、標準三色表色
系に基づく測色値が精度良く求められることとなる。However, since the different second conversion coefficient groups are calculated by using the correction subject whose part is common to each other, the calorimetric values of the first measurement object and the second measurement object are calculated. In this case, it is possible to prevent a step from occurring and the calculated colorimetric values are greatly different from each other, and the colorimetric values based on the standard three-color color system can be accurately obtained.
【0046】[0046]
【発明の実施の形態】まず、図1〜図3を参照して、本
発明に係る測色装置の一実施形態であるデジタルスチル
カメラの構成について説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the configuration of a digital still camera, which is an embodiment of a color measuring device according to the present invention, will be described with reference to FIGS.
【0047】図1に示すように、本デジタルスチルカメ
ラ1は、カメラ本体2とこのカメラ本体2の正面略中央
に着脱可能に装着される交換レンズ3とを備えた一眼レ
フレックスカメラで構成されており、図2に示すよう
に、カメラ本体2の上部に、電子ビューファインダ4
(EVF;Electronic View Finder)とポップアップタ
イプのフラッシュ5(図4)とを備えている。As shown in FIG. 1, the present digital still camera 1 is composed of a single-lens reflex camera having a camera body 2 and an interchangeable lens 3 which is detachably attached to the front center of the camera body 2. As shown in FIG. 2, the electronic viewfinder 4 is provided on the top of the camera body 2.
(EVF: Electronic View Finder) and pop-up type flash 5 (FIG. 4) are provided.
【0048】図1において、グリップ部11の内部には
電池収納室12とカード収納室13とが設けられてい
る。電池収納室12にはカメラの電源として4本の単3
形乾電池が収納されており、カード収納室13には撮影
画像の画像データを記録するためのメモリカード14が
着脱可能に収納されるようになっている。In FIG. 1, a battery storage chamber 12 and a card storage chamber 13 are provided inside the grip portion 11. Four AA batteries are used as the power source for the camera in the battery compartment 12.
A dry battery is stored, and a memory card 14 for recording image data of a captured image is detachably stored in the card storage chamber 13.
【0049】また、マウント部に交換レンズ3が装着さ
れたときの当該レンズ3の光軸15上であってカメラ本
体2内の適所には、カラー撮像素子16が配設されてい
る。Further, a color image pickup device 16 is arranged at an appropriate position within the camera body 2 on the optical axis 15 of the interchangeable lens 3 when the interchangeable lens 3 is mounted on the mount portion.
【0050】カラー撮像素子(以下「CCD」とい
う。)16は、図3に示すように、CCD(Charge Cou
pled Device)が2次元状に配置されたエリアセンサ1
7の各CCDの表面に、R(赤),G(緑),B(青)
のカラーフィルタ18が市松模様状に貼り付けられた、
いわゆるベイヤー方式と呼ばれる単板式カラーエリアセ
ンサで構成されており、本実施形態では例えば1600
(X方向)×1200(Y方向)=192万個のCCD
(以下「画素」ともいう。)を有している。A color image pickup device (hereinafter referred to as "CCD") 16 has a CCD (Charge Cou) as shown in FIG.
area sensor 1 in which pled devices) are arranged two-dimensionally
R (red), G (green), B (blue) on the surface of each CCD of 7.
Color filter 18 of is attached in a checkered pattern,
It is configured by a so-called Bayer type single plate type color area sensor, and in the present embodiment, for example, 1600.
(X direction) x 1200 (Y direction) = 1.92 million CCDs
(Hereinafter, also referred to as “pixel”).
【0051】なお、図3に示すように、エリアセンサ1
7のi行j列目の画素位置を(i,j)とすると、R,
G,Bの各カラーフィルタは、Rは(2h+1,2k+
1)、Gは(2h+2,2k+1),(2h+1,2k
+2)、Bは(2h+2,2k+2)の画素位置に配置
されている。但し、
i=1,2,…,n、
j=1,2,…,m、
n=1600、
m=1200、
h=0,1,2,…,n/2(=800)、
k=0,1,2,…,m/2(=600)
である。As shown in FIG. 3, the area sensor 1
If the pixel position of the i-th row and the j-th column of 7 is (i, j), R,
For each of the G and B color filters, R is (2h + 1, 2k +
1) and G are (2h + 2,2k + 1), (2h + 1,2k
+2) and B are arranged at pixel positions of (2h + 2,2k + 2). However, i = 1,2, ..., n, j = 1,2, ..., m, n = 1600, m = 1200, h = 0,1,2, ..., n / 2 (= 800), k = 0, 1, 2, ..., M / 2 (= 600).
【0052】図2において、カメラ本体2の上面には、
シャッタボタン19が設けられている。このシャッタボ
タン19は、途中まで押し込んだ「半押し状態」の操作
と、さらに押し込んだ「全押し状態」の操作とが可能に
構成されており、シャッタボタン19が半押しされる
と、被写体の静止画を撮影するための準備動作(露出制
御値の設定や焦点調節等の準備動作)が実行され、シャ
ッタボタン19が全押しされると、撮影動作(CCD1
6を露光し、その露光によって得られた画像信号に所定
の画像処理を施してメモリカード14に記録する一連の
動作)が実行される。In FIG. 2, on the upper surface of the camera body 2,
A shutter button 19 is provided. The shutter button 19 is configured so that it can be operated in a "half-pressed state" in which it is pressed halfway and in an "full-pressed state" in which it is further pressed. When a preparatory operation (a preparatory operation such as setting of an exposure control value and focus adjustment) for photographing a still image is executed and the shutter button 19 is fully pressed, the photographing operation (CCD 1
6 is exposed, and the image signal obtained by the exposure is subjected to predetermined image processing and recorded in the memory card 14).
【0053】電子ビューファインダ4は、接眼レンズ2
0、ファインダ窓21を備えるとともに、ファインダ表
示部22(図4)を内蔵している。ファインダ表示部2
2は、本実施形態では、例えば画素数が200(X方
向)×150(Y方向)=30000のカラー液晶表示
素子からなり、CCD16で撮影された被写体のモニタ
画像、すなわちシャッタボタン19が操作されていない
撮影待機状態においてCCD16により動画撮影された
被写体の画像を表示するものである。接眼レンズ20
は、このファインダ表示部22に表示されたモニタ画像
をファインダ窓21の外側に導くものである。このよう
な構成により、撮影者はファインダ窓21を覗くことに
よって、ファインダ表示部22に表示されるモニタ画像
により被写体を視認することができる。The electronic viewfinder 4 includes the eyepiece lens 2
0, a finder window 21 is provided, and a finder display section 22 (FIG. 4) is incorporated. Viewfinder display 2
In the present embodiment, reference numeral 2 is a color liquid crystal display device having, for example, 200 (X direction) × 150 (Y direction) = 30000 pixels, and a monitor image of a subject photographed by the CCD 16, that is, the shutter button 19 is operated. The image of the subject captured by the CCD 16 as a moving image is displayed in the non-shooting standby state. Eyepiece 20
For guiding the monitor image displayed on the finder display section 22 to the outside of the finder window 21. With such a configuration, the photographer can visually recognize the subject by looking through the finder window 21 on the monitor image displayed on the finder display unit 22.
【0054】なお、モニタ画像はファインダ表示部22
に表示するためのものであるから、撮影待機状態では、
CCD16を通常の静止画撮影と異なる動作モード(以
下「ドラフトモード」という。)で動作させてファイン
ダ表示部22の表示サイズと同一サイズのモニタ画像を
撮影するようにしている。すなわち、本実施形態では、
ファインダ表示部22は画素数が200×150で構成
されているので、撮影待機状態においては、CCD16
の全画素で受光は行うが、画像データの読出しは、X,
Yの両方向について8画素ピッチ、すなわち1/8の間
引き読出しにより行われ、これによって画素数が200
×150のモニタ画像を高速で得るようにしている。The monitor image is displayed on the finder display section 22.
Since it is for displaying on the
The CCD 16 is operated in an operation mode (hereinafter referred to as “draft mode”) different from normal still image shooting to shoot a monitor image of the same size as the display size of the finder display unit 22. That is, in this embodiment,
Since the finder display section 22 is composed of 200 × 150 pixels, the CCD 16
Light is received by all the pixels of, but image data is read by X,
The pixel number is set to 200 in both Y directions by thinning-out with 8 pixel pitch, that is, 1/8.
A × 150 monitor image is obtained at high speed.
【0055】カメラ本体2の背面の略中央には、外部表
示部23が設けられている。外部表示部23は、本実施
形態では例えば画素数が200(X方向)×150(Y
方向)=30000のカラー液晶表示素子からなり、記
録モードにおいて露出制御に関するモード、撮影シーン
に関するモードや撮影条件等を設定するためのメニュー
画面を表示したり、再生モードにおいてメモリカード1
4に記録された撮影画像を再生表示するものである。An external display section 23 is provided in the rear surface of the camera body 2 substantially in the center thereof. In the present embodiment, the external display unit 23 has, for example, a pixel count of 200 (X direction) × 150 (Y
Direction) = 30000 color liquid crystal display device, and displays a menu screen for setting a mode related to exposure control, a mode related to a shooting scene, shooting conditions, etc. in the recording mode, and a memory card 1 in the playback mode.
The captured image recorded in No. 4 is reproduced and displayed.
【0056】外部表示部23の左側には電源スイッチ3
1が設けられている。この電源スイッチ31は記録モー
ド(写真撮影の機能を果たすモード)及び再生モード
(記録画像を外部表示部23に再生するモード)を切換
設定するモード設定スイッチを兼ねている。すなわち、
電源スイッチ31は3点スライドスイッチからなり、接
点を中央の「OFF」位置に設定すると、電源がオフに
なり、接点を上方の「REC」位置に設定すると、電源
がオンになるとともに記録モードが設定され、接点を下
方の「PLAY」位置に設定すると、電源がオンになる
とともに再生モードが設定される。On the left side of the external display section 23 is the power switch 3
1 is provided. The power switch 31 also serves as a mode setting switch that switches and sets a recording mode (a mode that performs a function of taking a picture) and a reproduction mode (a mode that reproduces a recorded image on the external display unit 23). That is,
The power switch 31 is a three-point slide switch. When the contact is set to the central "OFF" position, the power is turned off. When the contact is set to the upper "REC" position, the power is turned on and the recording mode is changed. When the contact is set and the contact is set to the lower "PLAY" position, the power is turned on and the reproduction mode is set.
【0057】外部表示部23の右側上方位置には4連ス
イッチ32が設けられている。4連スイッチ32は円形
の操作ボタンを有し、この操作ボタンにおける上下左右
の4方向の押圧操作が、上スイッチ32U、下スイッチ
32D、左スイッチ32L、右スイッチ32Rの操作と
して、それぞれ検出されるようになっている。4連スイ
ッチ32は多機能化されており、例えば外部表示部23
に表示される撮影シーン設定のためのメニュー画面にお
いて選択された項目を変更するための操作スイッチとし
て機能し、複数のサムネイル画像が配列表示されるイン
デックス画面において選択された再生対象のコマを変更
するための操作スイッチとして機能し、左スイッチ32
Lおよび右スイッチ32Rは、交換レンズ3のズームレ
ンズの焦点距離を変更するためのズームスイッチとして
機能する。A quad switch 32 is provided on the upper right side of the external display section 23. The quadruple switch 32 has a circular operation button, and pressing operations in four directions of up, down, left, and right on the operation button are detected as operations of the upper switch 32U, the lower switch 32D, the left switch 32L, and the right switch 32R, respectively. It is like this. The quad switch 32 has multiple functions, and for example, the external display unit 23
It functions as an operation switch for changing the item selected on the menu screen for shooting scene setting displayed in, and changes the selected playback target frame on the index screen where multiple thumbnail images are displayed in an array. Functioning as an operating switch for the left switch 32
The L and right switch 32R functions as a zoom switch for changing the focal length of the zoom lens of the interchangeable lens 3.
【0058】外部表示部23の右側下方位置には、外部
表示部23の表示や表示内容に関する操作を行うための
スイッチとして、取消スイッチ33、確定スイッチ3
4、メニュー表示スイッチ35および表示切換スイッチ
36が設けられている。At the lower right position of the external display unit 23, a cancel switch 33 and a confirm switch 3 are provided as switches for performing operations relating to the display and display contents of the external display unit 23.
4, a menu display switch 35 and a display changeover switch 36 are provided.
【0059】取消スイッチ33はメニュー画面で選択さ
れた内容を取り消すためのスイッチである。確定スイッ
チ34はメニュー画面で選択された内容を確定するため
のスイッチである。メニュー表示スイッチ35は外部表
示部23にメニュー画面を表示させたり、メニュー画面
の内容(例えば撮影シーン設定画面や露出制御に関する
モード設定画面など)を切り換えるためのスイッチで、
メニュー表示スイッチ35を押すごとにメニュー画面が
切り換わる。表示切換スイッチ36は外部表示部23へ
の表示を行わせたり、その表示をオフにするスイッチ
で、表示切換スイッチ36を押すごとに外部表示部23
の表示と非表示とが交互に行われる。なお、電池の節電
を図るため、カメラ起動時には外部表示部23の表示は
行われないようになっている。The cancel switch 33 is a switch for canceling the contents selected on the menu screen. The confirmation switch 34 is a switch for confirming the content selected on the menu screen. The menu display switch 35 is a switch for displaying a menu screen on the external display unit 23, and for switching the contents of the menu screen (for example, a shooting scene setting screen and a mode setting screen regarding exposure control).
Each time the menu display switch 35 is pressed, the menu screen switches. The display changeover switch 36 is a switch for making a display on the external display section 23 or turning off the display. Every time the display changeover switch 36 is pressed, the external display section 23 is displayed.
Are alternately displayed and hidden. In order to save battery power, the external display unit 23 is not displayed when the camera is activated.
【0060】次に、図4、図5を参照して、デジタルス
チルカメラ1の電気的構成について説明する。なお、図
4では、図1〜図3と同一物には同一符号を付してお
り、また、説明の便宜上、交換レンズ3は2箇所に分け
て記載している。Next, the electrical configuration of the digital still camera 1 will be described with reference to FIGS. Note that, in FIG. 4, the same components as those in FIGS. 1 to 3 are denoted by the same reference numerals, and the interchangeable lens 3 is illustrated in two locations for convenience of description.
【0061】デジタルスチルカメラ1は、交換レンズ
3、撮像部40、信号処理部50、発光制御部58、レ
ンズ制御部60、表示部70、操作部80および全体制
御部90などを備えている。The digital still camera 1 includes an interchangeable lens 3, an image pickup section 40, a signal processing section 50, a light emission control section 58, a lens control section 60, a display section 70, an operation section 80, an overall control section 90 and the like.
【0062】交換レンズ3は、フォーカスレンズ6、ズ
ームレンズ7および透過光量を調節するための絞り8を
備えるとともに、当該レンズに関する固有の情報(開放
F値や焦点距離等の情報)が格納されたレンズROM2
4を備えている。レンズROM24は、電気的接点25
を介して全体制御部90に接続されている。The interchangeable lens 3 is provided with a focus lens 6, a zoom lens 7 and a diaphragm 8 for adjusting the amount of transmitted light, and stores peculiar information (information such as the open F value and focal length) relating to the lens. Lens ROM2
It is equipped with 4. The lens ROM 24 has an electrical contact 25
It is connected to the overall control unit 90 via.
【0063】撮像部40は、交換レンズ3を通して入射
する被写体光像を光電変換して画像信号として出力する
もので、CCD16、タイミングジェネレータ41、タ
イミング制御回路42を備えている。The image pickup section 40 photoelectrically converts the subject light image incident through the interchangeable lens 3 and outputs it as an image signal, and includes a CCD 16, a timing generator 41, and a timing control circuit 42.
【0064】CCD16は、タイミングジェネレータ4
1から入力される駆動制御信号(蓄積開始信号・蓄積終
了信号)に基づき被写体光像を所定の露光時間だけ受光
して画像信号(電荷蓄積信号)に変換し、その画像信号
をタイミングジェネレータ41から入力される読出制御
信号(水平同期信号、垂直同期信号、転送信号等)に従
って信号処理部50に送出する。The CCD 16 is the timing generator 4
Based on the drive control signal (accumulation start signal / accumulation end signal) input from 1, the subject light image is received for a predetermined exposure time and converted into an image signal (charge accumulation signal), and the image signal is output from the timing generator 41. The signal is sent to the signal processing unit 50 in accordance with the input read control signal (horizontal synchronizing signal, vertical synchronizing signal, transfer signal, etc.).
【0065】このとき、画像信号は各色成分R,G,B
に分離されて信号処理部50に送出される。すなわち、
画素位置(2h+1,2k+1)の各画素で受光された
画像信号を順次読み出すことで色成分Rの画像信号が送
出され、画素位置(2h+2,2k+1),(2h+
1,2k+2)の各画素で受光された画像信号を順次読
み出すことで色成分Gの画像信号が送出され、画素位置
(2h+2,2k+2)の各画素で受光された画像信号
を順次読み出すことで色成分Bの画像信号が送出され
る。At this time, the image signal has the respective color components R, G, B.
And is sent to the signal processing unit 50. That is,
The image signal of the color component R is transmitted by sequentially reading the image signal received by each pixel at the pixel position (2h + 1, 2k + 1), and the pixel position (2h + 2, 2k + 1), (2h +
The image signal of the color component G is transmitted by sequentially reading the image signal received by each pixel of (1, 2k + 2), and the image signal received by each pixel of the pixel position (2h + 2, 2k + 2) is sequentially read to obtain the color. The image signal of the component B is transmitted.
【0066】なお、以下において、説明の便宜上、各画
素の受光信号とこれらの集合により撮影画像を構成する
画像信号とを区別するため、必要に応じて各画素の受光
信号を画素信号(アナログ値)または画素データ(デジ
タル値)という。In the following description, for convenience of description, the light-receiving signal of each pixel is distinguished from the image signal forming a photographed image by the set thereof in order to distinguish the light-receiving signal of each pixel from the pixel signal (analog value). ) Or pixel data (digital value).
【0067】タイミングシェネレータ41は、タイミン
グ制御回路42から入力される制御信号に基づき駆動制
御信号を生成するとともに、基準クロック信号に基づき
読出制御信号を生成し、それぞれCCD16に送出す
る。The timing generator 41 generates a drive control signal based on the control signal input from the timing control circuit 42 and a read control signal based on the reference clock signal, and sends them to the CCD 16.
【0068】タイミング制御回路42は、CCD16の
撮影動作を制御するもので、全体制御部90から入力さ
れる制御信号に基づき撮影制御信号を生成する。この撮
影制御信号は、記録モードにおいて撮影待機中に被写体
の動画像(以下「ライブビュー画像」という。)を電子
ビューファインダ4のファインダ表示部22にモニタ表
示するための制御信号、シャッタボタン19が操作され
て被写体の静止画(以下「記録画像」という。)を撮影
するための制御信号、基準クロック信号、CCD16か
ら送出される画像信号を信号処理部50で信号処理する
ためのタイミング信号(同期クロック信号)などを含
む。このタイミング信号は、信号処理部50内のアナロ
グ信号処理回路51およびA/D変換回路52に入力さ
れる。The timing control circuit 42 controls the photographing operation of the CCD 16 and generates a photographing control signal based on the control signal input from the overall control section 90. This shooting control signal is a control signal for displaying a moving image of a subject (hereinafter referred to as “live view image”) on the finder display unit 22 of the electronic viewfinder 4 while the shooting is in standby in the recording mode. A control signal for operating a still image of a subject (hereinafter referred to as “recorded image”), a reference clock signal, and a timing signal for synchronizing the image signal sent from the CCD 16 with the signal processing unit 50 (synchronization). Clock signal) etc. This timing signal is input to the analog signal processing circuit 51 and the A / D conversion circuit 52 in the signal processing unit 50.
【0069】信号処理部50は、CCD16から送出さ
れる画像信号に所定のアナログ信号処理およびデジタル
信号処理を施すもので、画像信号の信号処理は当該画像
信号を構成する各画素信号ごとに行われる。この信号処
理部50は、アナログ信号処理回路51、A/D変換回
路52、黒レベル補正回路53、ホワイトバランス(W
B)回路54、γ補正回路55および画像メモリ56を
備えており、黒レベル補正回路53、WB回路54およ
びγ補正回路55はデジタル信号処理を施す回路を構成
する。The signal processing section 50 performs predetermined analog signal processing and digital signal processing on the image signal sent from the CCD 16, and the signal processing of the image signal is performed for each pixel signal constituting the image signal. . The signal processing unit 50 includes an analog signal processing circuit 51, an A / D conversion circuit 52, a black level correction circuit 53, a white balance (W
B) The circuit 54, the γ correction circuit 55, and the image memory 56 are provided, and the black level correction circuit 53, the WB circuit 54, and the γ correction circuit 55 constitute a circuit that performs digital signal processing.
【0070】アナログ信号処理回路51は、CCD16
から出力されるアナログ値の画像信号に所定のアナログ
信号処理を施すもので、画像信号のサンプリングノイズ
の低減を行うCDS(相関二重サンプリング)回路と、
画像信号のレベル調整を行うAGC(オートゲインコン
トロール)回路とを備えている。The analog signal processing circuit 51 includes the CCD 16
And a CDS (correlated double sampling) circuit for performing a predetermined analog signal processing on an image signal of an analog value output from the CDS (correlated double sampling) circuit,
An AGC (auto gain control) circuit for adjusting the level of the image signal is provided.
【0071】A/D変換回路52は、アナログ信号処理
回路51から出力される画像信号をデジタル値の画像信
号(以下「画像データ」という。)に変換するもので、
各画素で受光して得られる画素信号を例えば10ビット
の画素データに変換する。黒レベル補正回路53は、A
/D変換された各画素データの黒レベルを基準の黒レベ
ルに補正するものである。The A / D conversion circuit 52 converts the image signal output from the analog signal processing circuit 51 into a digital value image signal (hereinafter referred to as "image data").
A pixel signal obtained by receiving light at each pixel is converted into, for example, 10-bit pixel data. The black level correction circuit 53 is
The black level of each pixel data that has been / D converted is corrected to a reference black level.
【0072】WB回路54は、撮影画像のホワイトバラ
ンスを調整するもので、全体制御部90から入力される
レベル変換テーブルを用いて各色成分R,G,Bの画素
データのレベルを変換することで撮影画像のホワイトバ
ランスを調整する。なお、レベル変換テーブルの各色成
分の変換係数は全体制御部90により撮影画像ごとに設
定される。The WB circuit 54 adjusts the white balance of the photographed image, and converts the level of the pixel data of each color component R, G, B by using the level conversion table input from the overall control unit 90. Adjust the white balance of the shot image. The conversion coefficient of each color component in the level conversion table is set by the overall control unit 90 for each captured image.
【0073】γ補正回路55は、画素データのγ特性を
補正することにより階調補正を行うもので、γ特性の異
なる例えば5種類のγ補正テーブルをルックアップテー
ブル(LUT)として有し、設定された撮影シーンに応
じて所定のγ補正テーブルにより画素データのγ補正を
行う。なお、このγ補正処理において、10ビットの画
素データは、8ビット(256階調)の画素データに変
換される。γ補正処理前の画素データを10ビットデー
タとしているのは、非線形性の強いγ特性でγ補正を行
った場合の画質劣化を防止するためである。また、各色
成分R,G,Bの画素データはWB回路54で所定のレ
ベル変換が行われており、これらの画素データをそれぞ
れγ補正テーブルでγ補正する。The γ correction circuit 55 performs gradation correction by correcting the γ characteristic of pixel data, and has, for example, five types of γ correction tables having different γ characteristics as a look-up table (LUT) and set. The γ correction of the pixel data is performed by a predetermined γ correction table according to the captured scene. In this γ correction process, 10-bit pixel data is converted into 8-bit (256 gradations) pixel data. The pixel data before the γ correction processing is set to 10-bit data in order to prevent the image quality from being deteriorated when the γ correction is performed with the γ characteristic having strong nonlinearity. Further, the pixel data of each color component R, G, B has undergone a predetermined level conversion in the WB circuit 54, and these pixel data are respectively γ-corrected by the γ-correction table.
【0074】画像メモリ56は、信号処理の終了した画
像データを一時的に保存するメモリで、本実施形態では
例えば8フレーム分の画像データを記憶し得る容量を有
している。The image memory 56 is a memory for temporarily storing the image data for which signal processing has been completed, and has a capacity capable of storing, for example, image data for 8 frames in this embodiment.
【0075】なお、1フレーム分の画像データを記憶し
得る記憶容量は、本実施形態では例えばCCD16の画
素数が1600×1200=192万であるので、19
2万個のカラー画素データを記憶し得る容量になる。The storage capacity for storing one frame of image data is 19 since the number of pixels of the CCD 16 is 1600 × 1200 = 1920,000 in this embodiment.
The capacity is capable of storing 20,000 color pixel data.
【0076】発光制御部58は、全体制御部90から入
力される発光制御信号に基づきフラッシュ5の発光を制
御するもので、発光制御信号には、発光準備の指示、発
光タイミングおよび発光量が含まれる。The light emission control unit 58 controls the light emission of the flash 5 based on the light emission control signal input from the overall control unit 90. The light emission control signal includes a light emission preparation instruction, a light emission timing, and a light emission amount. Be done.
【0077】発光制御部58は、全体制御部90から発
光準備の指示信号が送出されるとメインコンデンサを充
電して発光可能状態にし、さらに発光タイミング信号が
送出されると当該タイミング信号に同期してメインコン
デンサの蓄積電荷を放電し、これによってフラッシュ5
を発光させる。そして、全体制御部90から発光停止信
号が送出されるとメインコンデンサの放電を停止させ、
これによってフラッシュ5は所要の発光量で発光するこ
ととなる。The light emission control unit 58 charges the main capacitor to make the light emission possible when the light emission preparation instruction signal is sent from the overall control unit 90, and synchronizes with the timing signal when the light emission timing signal is further sent. To discharge the stored charge of the main capacitor, which causes the flash 5
Light up. Then, when the light emission stop signal is sent from the overall control unit 90, the discharge of the main capacitor is stopped,
As a result, the flash 5 emits a required amount of light.
【0078】レンズ制御部60は、フォーカスレンズ駆
動用モータ(FM)27、ズームレンズ駆動用モータ
(ZM)28を備えるとともに、絞り制御回路61、フ
ォーカス制御回路62、ズーム制御回路63を備えてい
る。The lens controller 60 includes a focus lens driving motor (FM) 27 and a zoom lens driving motor (ZM) 28, and an aperture control circuit 61, a focus control circuit 62, and a zoom control circuit 63. .
【0079】絞り制御回路61は、絞り8の絞り値を制
御するもので、全体制御部90から入力される絞り値に
基づき絞り8を駆動し、その開口量を当該絞り値に設定
している。フォーカス制御回路62は、FM27の駆動
を制御するもので、全体制御部90から入力されるAF
制御信号(例えば駆動パルス数等の制御値)に基づきF
M27を駆動してフォーカスレンズ6を焦点位置に移動
させている。FM27の駆動力は、カプラ26を介して
フォーカスレンズ6に伝達される。The aperture control circuit 61 controls the aperture value of the aperture 8. The aperture control circuit 61 drives the aperture 8 based on the aperture value input from the overall control unit 90 and sets the aperture amount to the aperture value. . The focus control circuit 62 controls the drive of the FM 27, and the AF input from the overall control unit 90.
F based on a control signal (for example, a control value such as the number of drive pulses)
The focus lens 6 is moved to the focal position by driving M27. The driving force of the FM 27 is transmitted to the focus lens 6 via the coupler 26.
【0080】ズーム制御回路63は、ZM28の駆動を
制御するもので、全体制御部90から入力されるズーム
制御信号(4連スイッチ32の操作情報)に基づきZM
28を駆動してズームレンズ7を移動させている。この
ズーム制御回路63は、全体制御部90から4連スイッ
チ32の右スイッチ32Rの操作情報が入力されると、
ZM28を正方向に駆動してズームレンズ7を広角(ワ
イド)側に移動させ、4連スイッチ32の左スイッチ3
2Lの操作情報が入力されると、ZM28を逆方向に駆
動してズームレンズ7を望遠(テレ)側に移動させる。
ZM28の駆動力は、カプラ26を介してズームレンズ
7に伝達される。The zoom control circuit 63 controls the drive of the ZM 28 and is based on the zoom control signal (operation information of the quad switch 32) input from the overall control section 90.
28 is driven to move the zoom lens 7. The zoom control circuit 63 receives the operation information of the right switch 32R of the quad switch 32 from the overall control section 90,
The ZM 28 is driven in the positive direction to move the zoom lens 7 to the wide-angle side, and the left switch 3 of the quad switch 32 is selected.
When the 2L operation information is input, the ZM 28 is driven in the reverse direction to move the zoom lens 7 to the telephoto side.
The driving force of the ZM 28 is transmitted to the zoom lens 7 via the coupler 26.
【0081】表示部70は、上記ファインダ表示部(E
VF)22および外部表示部(LCD)23を備えると
ともに、VRAM71,72を備えている。VRAM7
1は、外部表示部23への表示画像を格納するためのバ
ッファメモリで、外部表示部23の画素数に対応して3
万個のカラー画素データが記憶可能なメモリ容量を有し
ている。RAM72は、ファインダ表示部22への表示
画像を格納するためのバッファメモリで、ファインダ表
示部22の画素数に対応して3万個のカラー画素データ
が記憶可能なメモリ容量を有している。The display section 70 is the finder display section (E
A VF 22 and an external display unit (LCD) 23 are provided, and VRAMs 71 and 72 are provided. VRAM7
Reference numeral 1 denotes a buffer memory for storing a display image on the external display unit 23, which corresponds to 3 pixels corresponding to the number of pixels of the external display unit 23.
It has a memory capacity capable of storing 10,000 color pixel data. The RAM 72 is a buffer memory for storing a display image on the finder display unit 22, and has a memory capacity capable of storing 30,000 color pixel data corresponding to the number of pixels of the finder display unit 22.
【0082】操作部80は、シャッタボタン19(図
2)が半押しされるとオンになるロックスイッチ81
と、シャッタボタン19(図2)が全押しされるとオン
になるレリーズスイッチ82とを備えるとともに、図2
に示すスイッチ群31〜36が含まれ、これらの操作情
報が全体制御部90に入力される。The operation section 80 has a lock switch 81 which is turned on when the shutter button 19 (FIG. 2) is half pressed.
And a release switch 82 that is turned on when the shutter button 19 (FIG. 2) is fully pressed.
The switch groups 31 to 36 shown in are included, and these operation information are input to the overall control unit 90.
【0083】EEPROM86は、全体制御部90のC
PUの動作を制御する制御プログラムを記憶するもの
で、その制御プログラムの一部として、測色制御プログ
ラムが含まれている。RAM87は、演算処理や制御処
理などにおける種々のデータを一時的に格納するもので
ある。The EEPROM 86 is a C of the overall control unit 90.
The control program for controlling the operation of the PU is stored, and the color measurement control program is included as a part of the control program. The RAM 87 temporarily stores various data in arithmetic processing and control processing.
【0084】全体制御部90は、CPUなどからなり、
EEPROM86に格納された制御プログラムに従って
本デジタルスチルカメラ1の各部の動作を制御するもの
で、シャッタボタン19が半押しされ、ロックスイッチ
81のオン信号が検出されると、被写体の静止画を撮影
するための準備動作(露出制御値の設定や焦点調節等の
準備動作)を実行し、シャッタボタン19が全押しさ
れ、レリーズスイッチ82のオン信号が検出されると、
撮影動作(CCD16を露光し、その露光によって得ら
れた画像信号に所定の画像処理を施してメモリカード1
4に記録する一連の動作)を実行する機能を有する。The overall control unit 90 is composed of a CPU and the like,
The operation of each part of the digital still camera 1 is controlled according to the control program stored in the EEPROM 86. When the shutter button 19 is half pressed and the ON signal of the lock switch 81 is detected, a still image of the subject is taken. When the shutter button 19 is fully pressed and the ON signal of the release switch 82 is detected, a preparatory operation for setting (exposure control value setting, preparatory operation such as focus adjustment) is performed.
Shooting operation (exposure of the CCD 16 and subjecting the image signal obtained by the exposure to predetermined image processing
4 has a function of executing a series of operations recorded in 4).
【0085】この全体制御部90は、カードI/F11
1を介してメモリカード14に接続可能に構成されてい
る。カードI/F111は、メモリカード14への画像
データの書込み及び画像データの読出しを行うためのイ
ンターフェースである。また、全体制御部90は、通信
用I/F112を介して外部のパーソナルコンピュータ
(PC)113に接続可能に構成されている。通信用I
/F112は、例えばUSB規格に準拠したインターフ
ェースで、PC113と通信可能にするためのものであ
る。The overall control unit 90 uses the card I / F 11
It is configured to be connectable to the memory card 14 via 1. The card I / F 111 is an interface for writing image data to the memory card 14 and reading image data. Further, the overall control unit 90 is configured to be connectable to an external personal computer (PC) 113 via the communication I / F 112. I for communication
The / F 112 is, for example, an interface conforming to the USB standard and is for enabling communication with the PC 113.
【0086】この全体制御部90は、機能ブロックとし
て、動作モード制御部91、測色制御部92を備えてい
る。The overall control section 90 includes an operation mode control section 91 and a colorimetric control section 92 as functional blocks.
【0087】動作モード制御部91は、カメラの動作モ
ードの設定を制御するもので、モード設定のためのメニ
ュー画面を表示した状態で行われる操作部80に対する
操作に基づき設定される。動作モードには撮影モードお
よび測色モードが含まれ、撮影モードには撮影シーンに
関するモードおよび露出制御に関するモードが含まれ
る。The operation mode control unit 91 controls the setting of the operation mode of the camera, and is set based on the operation on the operation unit 80 performed while the menu screen for mode setting is displayed. The operation mode includes a shooting mode and a colorimetric mode, and the shooting mode includes a shooting scene mode and an exposure control mode.
【0088】メニュー画面では、例えば複数の項目が配
列表示され、現在選択されている項目に選択状態を示す
表示(例えばカーソルや反転表示等)が行われる。動作
モード選択のための初期画面として、外部表示部23に
は、例えば図5に示すようなメニュー画面が表示され
る。なお、図5では、説明の便宜上、太枠表示により反
転表示を表わしている。On the menu screen, for example, a plurality of items are displayed in an array, and the currently selected item is displayed to show the selected state (for example, cursor or reverse display). As the initial screen for selecting the operation mode, the external display unit 23 displays a menu screen as shown in FIG. 5, for example. Note that, in FIG. 5, for the sake of convenience of description, the thick frame display is used to indicate the reverse display.
【0089】図5のメニュー画面において、4連スイッ
チ32の上スイッチ32Uが押されると反転表示位置が
上方向にサイクリックに移動し、4連スイッチ32の下
スイッチ32Dが押されると反転表示位置が下方向にサ
イクリックに移動する。そして、確定スイッチ34が押
されると、そのとき反転表示されている項目(図5では
撮影モード)が動作モードとして設定される。In the menu screen of FIG. 5, when the upper switch 32U of the quad switch 32 is pressed, the reverse display position cyclically moves upward, and when the lower switch 32D of the quad switch 32 is pressed, the reverse display position is displayed. Moves cyclically downward. Then, when the confirmation switch 34 is pressed, the item (shooting mode in FIG. 5) highlighted at that time is set as the operation mode.
【0090】従って、使用者は動作モード選択用のメニ
ュー画面において、4連スイッチ32を上下方向に操作
して所望の動作モードを選択し、確定スイッチ34を操
作することでその動作モードを設定することができる。Therefore, the user operates the quadruple switches 32 in the vertical direction on the menu screen for selecting the operation mode to select a desired operation mode, and operates the confirm switch 34 to set the operation mode. be able to.
【0091】撮影シーンに関するモードは、例えばポー
トレート、風景、夜景などから撮影シーンが選択され
る。As the mode relating to the shooting scene, the shooting scene is selected from portrait, landscape, night view, etc., for example.
【0092】露出制御に関するモードは、撮影(画像記
録)時の露出制御値、すなわち絞り8の絞り値と露光時
間の決定の仕方に関するモードである。露出制御に関す
るモードには、本実施形態では、例えばプログラムモー
ド、シャッタ優先モード、絞り優先モードが含まれる。
露出制御値は予め設定された複数のプログラム線図のい
ずれか1つを用いて設定されるようになっており、プロ
グラムモードでは標準的なプログラム線図を用いて露出
制御値が設定され、シャッタ優先モードでは絞り値より
シャッタ速度(露光時間)を優先するようなプログラム
線図を用いて露出制御値が設定され、絞り優先モードで
はシャッタ速度より絞り値を優先するようなプログラム
線図を用いて露出制御値が設定される。The mode relating to exposure control is a mode relating to how to determine the exposure control value at the time of photographing (image recording), that is, the aperture value of the diaphragm 8 and the exposure time. In this embodiment, the mode relating to the exposure control includes, for example, a program mode, a shutter priority mode, and an aperture priority mode.
The exposure control value is set by using one of a plurality of preset program charts. In the program mode, the exposure control value is set by using a standard program chart, and the shutter is set. In the priority mode, the exposure control value is set using the program diagram that gives priority to the shutter speed (exposure time) over the aperture value, and in the aperture priority mode, the program diagram that gives priority to the aperture value over the shutter speed is used. The exposure control value is set.
【0093】これらの撮影シーンに関するモードおよび
露出制御に関するモードについても、4連スイッチ32
を用いて同様に所望のモードを設定することができる。
設定された内容はRAM87に格納される。Also in the modes relating to these photographing scenes and the modes relating to the exposure control, the quad switch 32 is used.
Similarly, a desired mode can be set by using.
The set contents are stored in the RAM 87.
【0094】測色制御部92は、動作モードとして測色
モードが設定されたときに所定の測色手順に従ってデジ
タルスチルカメラ1の各部を動作させるもので、機能ブ
ロックとして、測色手順表示制御部93、係数演算部9
4、選択部95、測色演算部96を備えている。その測
色手順を含む動作の詳細については、フローチャートな
どを参照して後述する。The color measurement control section 92 operates each section of the digital still camera 1 in accordance with a predetermined color measurement procedure when the color measurement mode is set as the operation mode. As a functional block, the color measurement procedure display control section 93, coefficient calculator 9
4, a selection unit 95, and a colorimetric calculation unit 96. Details of the operation including the color measurement procedure will be described later with reference to a flowchart and the like.
【0095】この測色制御部92は、測色モードが設定
されると、ズームレンズ7および絞り8を所定の位置に
固定するとともに、アナログ信号処理回路51およびデ
ジタル信号処理回路53〜55の動作を停止し、CCD
16から出力される画像信号がA/D変換器52により
変換されたデジタル値に対して演算処理を行う。When the color measurement mode is set, the color measurement control unit 92 fixes the zoom lens 7 and the diaphragm 8 at predetermined positions and operates the analog signal processing circuit 51 and the digital signal processing circuits 53 to 55. Stop the CCD
The image signal output from 16 is subjected to arithmetic processing on the digital value converted by the A / D converter 52.
【0096】測色手順表示制御部93は、動作モードと
して測色モードが設定されたときに、使用者による操作
を誘導するための測色ウィザードを外部表示部23に表
示するものである。The colorimetric procedure display control section 93 displays a colorimetric wizard for guiding the user's operation on the external display section 23 when the colorimetric mode is set as the operation mode.
【0097】係数演算部94は、補正用撮影を行って得
られた画素データに基づき、複数の変換行列(複数組の
変換係数群)を算出し、算出結果をEEPROM86に
格納するものである。The coefficient calculator 94 calculates a plurality of conversion matrices (a plurality of sets of conversion coefficient groups) based on the pixel data obtained by performing the correction photographing, and stores the calculation results in the EEPROM 86.
【0098】選択部95は、測色対象を撮像したときに
CCD16から出力される画素データに基づき、EEP
ROM86に格納されている複数の変換行列のうちから
1つの変換行列を選択するものである。The selecting section 95 uses the EEP based on the pixel data output from the CCD 16 when the color measurement object is imaged.
One conversion matrix is selected from a plurality of conversion matrices stored in the ROM 86.
【0099】測色演算部96は、CCD16から出力さ
れる撮像結果および上記選択部95により選択された変
換行列を用いて、測色値を算出するものである。The colorimetric calculation section 96 calculates a colorimetric value using the image pickup result output from the CCD 16 and the conversion matrix selected by the selection section 95.
【0100】次に、図7〜図12を参照しつつ、図6の
フローチャートに従って、本デジタルスチルカメラ1の
測色制御プログラムによる動作手順について説明する。Next, referring to FIGS. 7 to 12, the operation procedure of the digital still camera 1 according to the color measurement control program will be described according to the flowchart of FIG.
【0101】外部表示部23に図5に示すメニュー画面
が表示された状態で測色ウィザードが選択されて確定ス
イッチ34が押されると、測色モードに移行して図6の
ルーチンが開始されて、まず、補正用撮影が行われる
(#100)。When the colorimetric wizard is selected and the confirmation switch 34 is pressed while the menu screen shown in FIG. 5 is displayed on the external display section 23, the mode is shifted to the colorimetric mode and the routine of FIG. 6 is started. First, correction shooting is performed (# 100).
【0102】補正用撮影の被写体は、
・CCDの感度ばらつきを補正するシェーディング補正
用の白色校正板、
・暗電流や迷光による影響を補正するオフセット補正用
の三刺激値Yが0に近い黒色校正板、
・それぞれ三刺激値X,Y,Zが既知の互いに階調が異
なる複数のグレーパッチからなるグレースケールチャー
ト、
・それぞれ三刺激値X,Y,Zが既知の複数のカラーパ
ッチからなる変換行列作成用チャート、
が用いられる。The subject of the correction shooting is: a white calibration plate for shading correction that corrects the sensitivity variations of the CCD, and a black calibration for which the tristimulus value Y is close to 0 for offset correction that corrects the effects of dark current and stray light. A plate, a gray scale chart consisting of a plurality of gray patches with known different tristimulus values X, Y and Z, and a conversion consisting of a plurality of color patches with known tristimulus values X, Y and Z respectively Matrix creation chart, is used.
【0103】このとき、図7に示す画面により白色校正
板の撮影が促され、続いて、図8に示す画面によりグレ
ースケールチャートの撮影が促される。ここでは、図
7、図8に示すように、撮影すべきチャートの種類が表
示部23の上端部73に表示され、位置合わせ用の枠7
4が表示部23のほぼ中央に表示される。従って、使用
者はこの枠74内に各チャートが収まるように撮影を行
えばよい。また、続いて黒色校正板および変換行列作成
用チャートの撮影が促される(図示省略)。At this time, the screen shown in FIG. 7 prompts the user to shoot the white calibration plate, and then the screen shown in FIG. 8 prompts the user to shoot the gray scale chart. Here, as shown in FIGS. 7 and 8, the type of chart to be photographed is displayed on the upper end portion 73 of the display unit 23, and the frame 7 for alignment is displayed.
4 is displayed almost in the center of the display unit 23. Therefore, the user may perform shooting so that each chart fits within this frame 74. Further, subsequently, photographing of the black calibration plate and the conversion matrix creating chart is prompted (not shown).
【0104】グレースケールチャートおよびオフセット
補正用黒色校正板は、適正露出のシャッタスピード(露
光時間)に加えてEV値で±1の露出で撮影が行われ、
変換行列作成用チャートは、適正露出で1回の撮影が行
われる。ここで「適正露出」とは、最大輝度の画素の
R,G,B値がオーバーフローしない程度の最大露光時
間とする。なお、4連スイッチ32の操作により枠74
の位置を微調整可能とし、撮影するチャートに合わせる
ようにしてもよい。The gray scale chart and the black calibration plate for offset correction are photographed with an exposure of ± 1 in EV value in addition to the shutter speed (exposure time) of proper exposure,
The conversion matrix creation chart is photographed once with proper exposure. Here, the “appropriate exposure” is the maximum exposure time such that the R, G, and B values of the pixel having the maximum brightness do not overflow. In addition, the frame 74
The position of may be finely adjusted so as to match the chart to be photographed.
【0105】また、操作部80の特定のスイッチまたは
特定のスイッチの組合せが操作される(例えば4連スイ
ッチ32の上スイッチ32Uと確定スイッチ34とが同
時に押される)と、測色ウィザードを終了して通常の撮
影モードに戻るようにしてもよい。When a specific switch or a combination of specific switches of the operation unit 80 is operated (for example, the upper switch 32U of the quad switch 32 and the confirmation switch 34 are simultaneously pressed), the color measurement wizard is terminated. Then, the normal shooting mode may be restored.
【0106】図6に戻り、次いで、上記補正用撮影の結
果を用いて、補正用データが作成される(#105)。
この作成手順については図13を参照して後述する。Returning to FIG. 6, the correction data is then created using the result of the above-mentioned correction shooting (# 105).
This creation procedure will be described later with reference to FIG.
【0107】この補正用データの作成中には、図9に示
すように、計算中である旨が外部表示部23の上端部7
3に表示される。そして、この間は取消スイッチ33に
よるキャンセル以外の操作は受け付けないようになって
いる。なお、測色のための演算を撮影動作後に一括して
行うようにしてもよい。その場合には、図9に示す表示
や、キャンセル以外の操作受付禁止の制御は不要にな
る。During the preparation of the correction data, as shown in FIG. 9, the fact that the calculation is in progress indicates that the upper end portion 7 of the external display unit 23 is being operated.
It is displayed in 3. During this time, no operation other than cancellation by the cancel switch 33 is accepted. The calculation for color measurement may be collectively performed after the shooting operation. In that case, the display shown in FIG. 9 and the control for prohibiting operation acceptance other than cancellation are unnecessary.
【0108】そして、画像の不備や計算エラーなどの要
因で補正用データの作成ができなかった場合には、図1
0に示すようにエラーである旨が所定時間だけ表示さ
れ、その後、通常の撮影モードに戻る。If the correction data could not be created due to image defects, calculation errors, etc., FIG.
As indicated by 0, an error message is displayed for a predetermined time, and then the normal shooting mode is resumed.
【0109】図6に戻り、次いで、上記適正露光時間お
よびEV値で±1の3種類の露光時間、すなわち補正用
撮影と同一の撮影条件で測色対象の撮影が行われる(#
110)。このとき、外部表示部23には、図11に示
すように上端部73に撮影を促すメッセージが表示され
る。また、複数枚の撮影が必要な場合(例えば測色対象
の明度差が大きく、EV値で+2,−2の露光時間に設
定した撮影を追加した場合)には、その旨が表示され
る。なお、所定レベル以上の測色精度で測定が可能な枠
75を図12に示すように表示し、この枠75内に測色
対象の配置を使用者に促すようにしてもよい。Returning to FIG. 6, next, three kinds of exposure times of the proper exposure time and EV value of ± 1 are taken, that is, the colorimetric object is shot under the same shooting conditions as the correction shooting (#).
110). At this time, on the external display unit 23, a message prompting the user to shoot is displayed on the upper end portion 73 as shown in FIG. Further, when a plurality of shots are required (for example, when the lightness difference of the colorimetric target is large and the shots set to the exposure time of +2 and −2 in EV value are added), that effect is displayed. It is also possible to display a frame 75 capable of measurement with a colorimetric accuracy of a predetermined level or higher as shown in FIG. 12, and prompt the user to arrange a colorimetric object in this frame 75.
【0110】図6に戻り、次いで、撮影結果および補正
用データを用いて測色値の算出が行われ(#115)、
得られた測色値がEEPROM86またはメモリカード
14に保存される(#120)。この保存は、予め設定
されたフォーマットで行われる。Returning to FIG. 6, the calorimetric values are calculated using the photographing result and the correction data (# 115),
The obtained colorimetric value is stored in the EEPROM 86 or the memory card 14 (# 120). This saving is performed in a preset format.
【0111】図7〜図12に示すように、測色モードに
設定されると、外部表示部23の右下隅に測色モードで
あることを示すマーク76が表示される。また、下端部
には測色手順のステップ番号77が表示される。As shown in FIGS. 7 to 12, when the color measurement mode is set, a mark 76 indicating the color measurement mode is displayed at the lower right corner of the external display section 23. Further, the step number 77 of the color measurement procedure is displayed at the lower end.
【0112】なお、測色モードではフラッシュ発光を禁
止する場合には、図7〜図12に発光禁止マークを表示
するようにしてもよい。When the flash light emission is prohibited in the colorimetric mode, a light emission prohibition mark may be displayed in FIGS. 7 to 12.
【0113】また、メモリカード14には、得られた測
色値X,Y,ZをL*a*b*表色系に変換し、そのT
IFF(Tag Image File Format)画像として保存して
もよい。また、撮影画像のR,G,B値を格納している
TIFF画像やJPEG(Joint Photographic coding
Experts Group)画像ファイル内に設定されている撮影
日時などを記録するためのエリア内に測色値をコメント
として記録するようにしてもよい。Further, in the memory card 14, the obtained colorimetric values X, Y, Z are converted into the L * a * b * color system, and the T
It may be stored as an IFF (Tag Image File Format) image. In addition, TIFF images that store R, G, and B values of captured images and JPEG (Joint Photographic coding)
(Experts Group) The colorimetric value may be recorded as a comment in the area for recording the shooting date and time set in the image file.
【0114】次に、図14〜図18を参照しつつ、図1
3のフローチャートに従って、図6の#105における
補正用データ作成の手順について説明する。Next, referring to FIG. 14 to FIG.
The procedure of creating the correction data in # 105 of FIG. 6 will be described with reference to the flowchart of FIG.
【0115】図13において、まず、白色校正板の撮影
結果を用いて、シェーディング補正データが算出される
(#200)。このとき、撮影画像の中心の所定領域の
G値を基準G値とし、各画素のG値のシェーディング補
正量を、
P(i,j)=G(i,j)/Gref
により算出する。但し、P(i,j)は位置(i,j)の画
素のシェーディング補正量、G(i,j)は位置(i,j)
の画素のG値、Grefは基準G値である。In FIG. 13, first, the shading correction data is calculated by using the photographing result of the white calibration plate (# 200). At this time, the G value of a predetermined area at the center of the captured image is used as a reference G value, and the shading correction amount of the G value of each pixel is calculated by P (i, j) = G (i, j) / Gref. Here, P (i, j) is the shading correction amount of the pixel at the position (i, j), and G (i, j) is the position (i, j).
The G value and Gref of the pixel of are the reference G values.
【0116】そして、他の画素R,Bのシェーディング
補正量は、周囲のG値を用いて補間によって求める。例
えばR値に対するシェーディング補正は、
R’(i,j)=R(i,j)/P(i,j)
によって施される。但し、R’(i,j)はシェーディン
グ補正後の値、R(i,j)は位置(i,j)の画素のR値
(シェーディング補正前の値)である。Then, the shading correction amounts of the other pixels R and B are obtained by interpolation using the surrounding G values. For example, shading correction for the R value is performed by R '(i, j) = R (i, j) / P (i, j). However, R '(i, j) is the value after shading correction, and R (i, j) is the R value of the pixel at position (i, j) (value before shading correction).
【0117】なお、本実施形態ではG値のみを用いて各
画素位置のシェーディング補正量を求めているが、G値
に代えて、R値またはB値を用いて各画素位置のシェー
ディング補正量を求めてもよい。また、R,G,B値を
それぞれ用いて各画素R,G,Bのシェーディング補正
量を求めてもよい。In the present embodiment, the shading correction amount at each pixel position is obtained using only the G value, but the shading correction amount at each pixel position is calculated using the R value or the B value instead of the G value. You may ask. Further, the shading correction amount of each pixel R, G, B may be obtained by using the R, G, B values respectively.
【0118】次いで、シェーディング補正が施されたオ
フセット補正用画像のR,G,B値がオフセット補正デ
ータとされる(#205)。このオフセット補正データ
は、各画素(i,j)ごとに各シャッタスピード(露光時
間)について算出される。Next, the R, G, B values of the image for offset correction which has been subjected to the shading correction are set as the offset correction data (# 205). This offset correction data is calculated for each shutter speed (exposure time) for each pixel (i, j).
【0119】なお、所定の画素数からなるブロックごと
に求めるようにしてもよい。また、オフセット補正用の
黒色校正板に代えて、グレースケールチャートのR,
G,B値の最小値を用いて算出するようにしてもよい。Alternatively, it may be obtained for each block having a predetermined number of pixels. Further, instead of the black calibration plate for offset correction, R of the gray scale chart,
You may make it calculate using the minimum value of G and B value.
【0120】次いで、ガンマ補正データが算出される
(#210)。まず、各グレーパッチのR,G,B値に
シェーディング補正を施し、さらにオフセット補正デー
タを減算する。このようにして求められたR,G,B値
と既知のY値とから、各R,G,B値のガンマおよび傾
きをガンマ補正データとして算出する。例えばR値の場
合には、以下のような手順で算出する。Then, the gamma correction data is calculated (# 210). First, shading correction is performed on the R, G, and B values of each gray patch, and the offset correction data is further subtracted. From the R, G, B values thus obtained and the known Y value, the gamma and slope of each R, G, B value are calculated as gamma correction data. For example, in the case of the R value, it is calculated by the following procedure.
【0121】ガンマおよび傾きとY値およびR値との関
係は、
R=Ar・YGr
で表わされる。但し、ArはR値の傾き、GrはR値の
ガンマである。The relationship between the gamma and the slope and the Y value and the R value is represented by R = Ar.Y Gr . However, Ar is the slope of the R value, and Gr is the gamma of the R value.
【0122】上記式を変形すると、
Y=(R/Ar)1/Gr
となる。この両辺の対数をとると、
log10Y=(1/Gr)・(log10R−log10Ar)
となる。ここで、log10Y=x,log10R=yとおくと、
線形近似式
y=a・x+b
=Gr・x+log10Ar
が得られる。When the above equation is modified, Y = (R / Ar) 1 / Gr . Taking the logarithm of this both sides, the log 10 Y = (1 / Gr ) · (log 10 R-log 10 Ar). Here, if log 10 Y = x and log 10 R = y are set,
Linear approximation equation y = a · x + b = Gr · x + log 10 Ar is obtained.
【0123】そこで、各グレーパッチのR値およびY値
から、例えば最小自乗法を用いて上記線形近似式を求め
ると、その係数(傾き)a=GrがR値のガンマ、定数
(切片)b=log10Arから算出した10b=ArがR値
の傾きとして求められる。Therefore, when the above linear approximation formula is obtained from the R value and the Y value of each gray patch by using, for example, the least squares method, its coefficient (slope) a = Gr is a gamma of the R value and a constant (intercept) b. = 10 b = Ar calculated from log 10 Ar is obtained as the slope of the R value.
【0124】同様にして、G,B値のガンマおよび傾き
を算出する。このガンマおよび傾きの算出は、各シャッ
タスピード(露光時間)ごとに行う。例えばR値のガン
マ補正は、
R’(i,j)=[R(i,j)/Ar]1/Gr
によって施される。Similarly, gamma and slope of G and B values are calculated. The calculation of gamma and inclination is performed for each shutter speed (exposure time). For example, gamma correction of the R value is performed by R '(i, j) = [R (i, j) / Ar] 1 / Gr .
【0125】次いで、変換行列が求められる(#21
5)。まず、変換行列作成用チャートを撮影した画像に
シェーディング補正を施し、オフセット補正データを減
算し、さらにガンマ補正を施して、補正後の各カラーパ
ッチのR,G,B値を求める。Then, the transformation matrix is obtained (# 21
5). First, shading correction is applied to a captured image of a conversion matrix creating chart, offset correction data is subtracted, and gamma correction is applied to obtain R, G, and B values of each corrected color patch.
【0126】次いで、以下のステップ(I)〜(V)に従っ
て、この各カラーパッチの画素値R,G,Bと既知の三
刺激値X,Y,Zとに基づき、3×3の第1変換行列が
作成されるとともに、3×3の第2変換行列が色相ごと
に6個作成される。Then, in accordance with the following steps (I) to (V), based on the pixel values R, G, B of the respective color patches and the known tristimulus values X, Y, Z, a 3 × 3 first image is obtained. A conversion matrix is created and six 3 × 3 second conversion matrices are created for each hue.
【0127】(I)各カラーパッチのX,Y,Z値をL*
a*b*表色系に変換し、色相Hを算出する。(I) X, Y, Z values of each color patch are L *
The hue H is calculated by converting to the a * b * color system.
【0128】この変換は、
L*=116(Y/Yn)1/3−16
a*=500[(X/Xn)1/3−(Y/Yn)1/3]
b*=200[(Y/Yn)1/3−(Z/Zn)1/3]
の公知の変換式を用いて行われる。但し、Xn,Yn,
Znは完全拡散反射面の三刺激値である。This conversion is performed by L * = 116 (Y / Yn) 1 / 3−16 a * = 500 [(X / Xn) 1 / 3− (Y / Yn) 1/3 ] b * = 200 [( Y / Yn) 1 / 3- (Z / Zn) 1/3 ] is used. However, Xn, Yn,
Zn is the tristimulus value of the perfect diffuse reflection surface.
【0129】次いで、 H=tan-1(b/a) により、色相Hを求める。Then, the hue H is obtained from H = tan −1 (b / a).
【0130】(II)複数(本実施形態では例えば6個)の
変換行列を作成する際の中心となるR,G,B値および
C,M,Y値の色相を、以下のステップ〜に従って
求める。これらの色相は、色相範囲を6分割する分割範
囲の中心となるもので、その一例を図14の最内周の円
環に示す。(II) The hues of R, G, B values and C, M, Y values, which are the center when creating a plurality of (for example, six in this embodiment) conversion matrices, are obtained in accordance with the following steps. . These hues are the center of the divided range that divides the hue range into six, and an example thereof is shown in the innermost ring in FIG.
【0131】図15に一例を示すCCD16の分光感
度特性R(λ),G(λ),B(λ)と、図16に一例を示す
照明光の分光分布A(λ)とを取得する。The spectral sensitivity characteristics R (λ), G (λ), B (λ) of the CCD 16 shown in FIG. 15 and the spectral distribution A (λ) of the illumination light shown in FIG. 16 are obtained.
【0132】CCD16の分光感度特性は、例えば工場
出荷時に検査された結果を使用すればよい。この場合、
分光感度特性を入力する入力部を備えてもよく、また、
その検査結果を予めEEPROM86に格納しておいて
もよい。また、照明光の分光分布Aは、操作部80のス
イッチを用いて外部からデータ入力可能に構成しておけ
ばよい。As the spectral sensitivity characteristic of the CCD 16, for example, the result of inspection at the time of factory shipment may be used. in this case,
An input unit for inputting the spectral sensitivity characteristic may be provided, and
The inspection result may be stored in the EEPROM 86 in advance. Further, the spectral distribution A of the illumination light may be configured so that data can be input from the outside using the switch of the operation unit 80.
【0133】CCD16の分光感度特性R,G,Bと
照明光の分光分布Aとの積を求め、当該照明光下におけ
るCCD16の分光感度特性RA(λ),GA(λ),BA
(λ)を求める。この特性RA,GA,BAを図17に示
す。The product of the spectral sensitivity characteristics R, G, B of the CCD 16 and the spectral distribution A of the illumination light is obtained, and the spectral sensitivity characteristics RA (λ), GA (λ), BA of the CCD 16 under the illumination light are obtained.
Find (λ). The characteristics RA, GA, BA are shown in FIG.
【0134】照明光Aの三刺激値X,Y,Zおよび分
光感度特性RA,GA,BAの三刺激値X,Y,Zを求
める。例えば特性RAの三刺激値Xr,Yr,Zrは、
次式によって求められる。
Xr=∫RA(λ)x(λ)dλ
Yr=∫RA(λ)y(λ)dλ
Zr=∫RA(λ)z(λ)dλ
但し、x(λ),y(λ),z(λ)は図18に示す等色関数
である。また、積分範囲は可視光の波長範囲、例えば38
0nm〜780nmである。The tristimulus values X, Y, Z of the illumination light A and the tristimulus values X, Y, Z of the spectral sensitivity characteristics RA, GA, BA are obtained. For example, the tristimulus values Xr, Yr, Zr of the characteristic RA are
It is calculated by the following formula. Xr = ∫RA (λ) x (λ) dλ Yr = ∫RA (λ) y (λ) dλ Zr = ∫RA (λ) z (λ) dλ where x (λ), y (λ), z ( λ) is a color matching function shown in FIG. Further, the integration range is a visible light wavelength range, for example, 38
It is 0 nm to 780 nm.
【0135】特性GAの三刺激値Xg,Yg,Zg、特
性BAの三刺激値Xb,Yb,Zbも同様にして求めら
れる。The tristimulus values Xg, Yg, Zg of the characteristic GA and the tristimulus values Xb, Yb, Zb of the characteristic BA are similarly obtained.
【0136】上記公知の変換式を用いて、各分光感度
特性RA,GA,BAのX,Y,Z値をL*a*b*表
色系に変換し、R,G,Bに対応する各色相Hをそれぞ
れ求める。このとき、上記で求めた照明光Aの三刺激
値X,Y,Zを基準白色Xn,Yn,Znとする。The X, Y, and Z values of the spectral sensitivity characteristics RA, GA, and BA are converted into the L * a * b * color system by using the above-mentioned known conversion formulas, and the X, Y, and Z values are converted into R, G, and B corresponding values. Each hue H is obtained. At this time, the tristimulus values X, Y, Z of the illumination light A obtained above are used as reference whites Xn, Yn, Zn.
【0137】R,G,Bの色相Hにそれぞれ180°ま
たはπラジアンを加算することにより、C,M,Y値の
色相Hを求める。このようにして求められたR,G,
B,C,M,Yの色相を図14の色度図における最内周
の円環に示している。By adding 180 ° or π radian to each of the hues H of R, G and B, the hue H of C, M and Y values is obtained. Thus obtained R, G,
The hues of B, C, M and Y are shown in the innermost ring in the chromaticity diagram of FIG.
【0138】なお、ステップ〜に代えて、一般的な
主要色のR,G,B値およびC,M,Y値の色相を用い
てもよい。Instead of steps (1) to (3), general hues of R, G, B values and C, M, Y values of main colors may be used.
【0139】また、ステップにおいて、例えば昼光、
蛍光灯、フラッシュなどの複数種類の照明光の分光分布
を予めEEPROM86に格納しておき、操作部80の
操作により使用する分光分布を選択するようにしてもよ
い。フラッシュを用いる場合には、環境光が入射しない
状態にしておけばよい。また、蛍光灯下でフラッシュを
使用する場合には、操作部80によりその光量比率を設
定できるようにしてもよい。Also, in the step, for example, daylight,
The spectral distributions of a plurality of types of illumination light such as fluorescent light and flash light may be stored in the EEPROM 86 in advance, and the spectral distribution to be used may be selected by operating the operation unit 80. When using a flash, it is sufficient to keep ambient light from entering. Further, when the flash is used under a fluorescent lamp, the light amount ratio may be set by the operation unit 80.
【0140】また、ステップにおいて、R,G値の色
相を等分する値をY値の色相、G,B値の色相を等分す
る値をC値の色相、B,R値の色相を等分する値をM値
の色相としてもよい。In the step, a value that equally divides the hues of R and G values is a hue of Y value, a value that divides the hues of G and B values is the hue of C value, and a hue of B and R values is equal. The divided value may be the hue of M value.
【0141】(III)変換行列の適用範囲を求める。上述
した手順で求めたR,G,B,C,M,Y値の色相を2
等分する境界を算出し、この境界を変換行列適用の境界
とする。すなわち、後述するように、仮に算出された測
色値によって求められた色相がこの境界で囲まれた領
域、例えば図14の内側から2番目の円環に斜線で示す
領域MR,MG,MB,MC,MM,MYに含まれるも
のについては、同一の変換行列を使用して測色値が算出
されることとなる。(III) Find the applicable range of the transformation matrix. The hues of the R, G, B, C, M, and Y values obtained by the above procedure are set to 2
A boundary for equal division is calculated, and this boundary is used as a boundary for applying the transformation matrix. That is, as will be described later, an area in which the hue obtained by the tentatively calculated colorimetric value is surrounded by this boundary, for example, areas MR, MG, MB, which are shaded in the second ring from the inside in FIG. For those included in MC, MM, MY, the colorimetric values are calculated using the same conversion matrix.
【0142】(IV)変換行列作成に使用する色相範囲を求
める。手順(II)で決定したR,G,B,C,M,Y値の
色相について、隣接する色のうち色相差が小さい方との
色相差を求め、当該色相差を色相差が大きい方に適用し
て得られる色相範囲を変換行列作成に使用する色相範囲
とする。(IV) The hue range used for creating the conversion matrix is obtained. Regarding the hues of R, G, B, C, M, and Y values determined in step (II), the hue difference with the smaller hue difference among the adjacent colors is calculated, and the hue difference is set to the larger hue difference. The hue range obtained by applying is the hue range used for creating the conversion matrix.
【0143】例えば図14において、B値の色相に隣接
する色C,Mのうちで色相差が小さい方であるM値とB
値との色相差θを求め、この色相差θを色相差が大きい
方であるC値側に適用して得られる色相範囲B(最外周
の円環に示す)を変換行列作成に使用する色相範囲とす
る。For example, in FIG. 14, of the colors C and M adjacent to the hue of B value, the M value and B that have the smaller hue difference are used.
The hue range B (shown in the outermost circle) obtained by applying the hue difference θ to the C value side, which has the larger hue difference, is used for the conversion matrix creation. Range.
【0144】色相範囲をこのように設定することによっ
て、図14の最外周およびその直ぐ内側の円環に示すよ
うに、変換行列作成に使用するカラーパッチは、隣接す
る色相範囲で重複して使用されることとなる。変換行列
の適用範囲MR,MG,MB,MC,MM,MYの境界
では適用される変換行列が切り換わるので、変換結果に
段差が生じる可能性があるが、上記のように変換行列作
成用のカラーパッチを隣接する色相範囲で重複して使用
するように設定しているので、そのような段差の発生を
抑制することができる。By setting the hue range in this way, the color patches used for creating the conversion matrix are used in duplicate in the adjacent hue ranges, as shown in the outermost circumference and the ring immediately inside thereof in FIG. Will be done. At the boundary of the conversion matrix application range MR, MG, MB, MC, MM, MY, since the conversion matrix to be applied is switched, a step may occur in the conversion result. Since the color patches are set to be used overlappingly in the adjacent hue ranges, it is possible to suppress the occurrence of such a step.
【0145】(V)変換行列を作成する。まず、変換行列
作成用チャートの全てのカラーパッチを用いて、例えば
最小自乗法によりガンマ補正後のR,G,B値からX,
Y,Z値への3×3の第1変換行列Mallを作成する。(V) Create a transformation matrix. First, using all the color patches of the conversion matrix creation chart, for example, from the R, G, and B values after gamma correction to X,
A 3 × 3 first conversion matrix Mall for Y and Z values is created.
【0146】また、変換行列作成用チャートのカラーパ
ッチのうちで、手順(IV)で決定した色相範囲のカラーパ
ッチのみを用いて、例えば最小自乗法によりガンマ補正
後のR,G,B値からX,Y,Z値への3×3の6個の
第2変換行列Mr,Mg,Mb,Mc,Mm,Myを作
成する。Of the color patches of the conversion matrix creating chart, only the color patches in the hue range determined in step (IV) are used, for example, from the R, G, B values after gamma correction by the least square method. Six second 3 × 3 conversion matrices Mr, Mg, Mb, Mc, Mm, My to X, Y, Z values are created.
【0147】以上のステップ(I)〜(V)により、図13
の#215の変換行列作成ステップが行われ、図13の
ルーチンが終了する。By the above steps (I) to (V), FIG.
The conversion matrix creation step of # 215 is performed, and the routine of FIG. 13 ends.
【0148】次に、図19のフローチャートを参照し
て、図6の#115の測色値取得ステップの手順につい
て説明する。Next, the procedure of the colorimetric value acquisition step of # 115 of FIG. 6 will be described with reference to the flowchart of FIG.
【0149】まず、測色対象の撮影画像における各画素
の有効性確認が行われる(#300)。すなわち、適正
なシャッタスピード(露光時間)における各画素につい
て、R,G,B値が所定値(デジタル値が8ビットの場
合には例えば245)を超えているか否かを確認する。
所定値を超えている画素については、シャッタスピード
(露光時間)が1段短い撮影画像の画素を使用する。First, the validity of each pixel in the photographed image to be measured is checked (# 300). That is, for each pixel at an appropriate shutter speed (exposure time), it is confirmed whether the R, G, B values exceed a predetermined value (for example, 245 when the digital value is 8 bits).
For pixels exceeding a predetermined value, pixels of a captured image with a shutter speed (exposure time) that is one step shorter are used.
【0150】また、同様に各画素について、R,G,B
値が所定値(デジタル値が8ビットの場合には例えば1
5)未満であるか否かを確認する。所定値未満の画素に
ついては、露光時間が1段長い撮影画像の画素を使用す
る。Similarly, for each pixel, R, G, B
The value is a predetermined value (for example, 1 when the digital value is 8 bits)
Check if it is less than 5). As for pixels less than the predetermined value, the pixels of the captured image whose exposure time is one step longer are used.
【0151】次いで、シェーディング補正が施される
(#305)。すなわち、例えばR値であれば、
R’k(i,j)=Rk(i,j)/P(i,j)
により補正が施される。但し、R’k(i,j)はシャッ
タスピードがkのときの(i,j)にある画素のシェーデ
ィング補正後のR値、Rk(i,j)はシャッタスピード
がkのときの(i,j)にある画素のR値、P(i,j)は
(i,j)にある画素のシェーディング補正量である。Then, shading correction is performed (# 305). That is, for example, if it is an R value, it is corrected by R'k (i, j) = Rk (i, j) / P (i, j). Here, R'k (i, j) is the R value after shading correction of the pixel in (i, j) when the shutter speed is k, and Rk (i, j) is (i when the shutter speed is k , J) is the R value of the pixel, P (i, j) is
It is the shading correction amount of the pixel at (i, j).
【0152】次いで、オフセット補正が施される(#3
10)。すなわち、例えばR値であれば、
R''k(i,j)=R’k(i,j)−Ork(i,j)
により補正が施される。但し、R''k(i,j)はシャッ
タスピードがkのときの(i,j)にある画素のオフセッ
ト補正後のR値、Ork(i,j)はシャッタスピードが
kのときの(i,j)にある画素のRオフセット補正量で
ある。Then, offset correction is performed (# 3
10). That is, for example, in the case of the R value, the correction is performed by R ″ k (i, j) = R′k (i, j) −Ork (i, j). However, R ″ k (i, j) is the R value after the offset correction of the pixel at (i, j) when the shutter speed is k, and Ork (i, j) is (when the shutter speed is k) It is the R offset correction amount of the pixel at i, j).
【0153】次いで、ガンマ補正が施される(#31
5)。すなわち、例えばR値であれば、
R'''k(i,j)=[R''k(i,j)/Ark]1/Grk
により補正が施される。但し、R'''k(i,j)はシャ
ッタスピードがkのときの(i,j)にある画素のガンマ
補正後のR値、Arkはシャッタスピードがkのときの
R値の傾き、GrkはシャッタスピードがkのときのR
値のガンマである。Then, gamma correction is performed (# 31).
5). That is, for example, in the case of the R value, the correction is performed by R ′ ″ k (i, j) = [R ″ k (i, j) / Ark] 1 / Grk . Where R '''k (i, j) is the R value after gamma correction of the pixel at (i, j) when the shutter speed is k, Ark is the slope of the R value when the shutter speed is k, Grk is R when the shutter speed is k
The gamma of the value.
【0154】次いで、第1変換行列Mallを用いて次式
により仮変換が行われる(#320)。Next, using the first conversion matrix Mall, temporary conversion is performed by the following equation (# 320).
【0155】[0155]
【数1】 [Equation 1]
【0156】但し、R'''(i,j),G'''(i,j),
B'''(i,j)は(i,j)にある画素のガンマ補正後の
R,G,B値、Xt(i,j),Yt(i,j),Zt
(i,j)は(i,j)にある画素の仮測色値、右辺の3×
3行列が第1変換行列Mallである。However, R '''(i, j), G''' (i, j),
B ″ ′ (i, j) is the R, G, B value after gamma correction of the pixel at (i, j), Xt (i, j), Yt (i, j), Zt.
(i, j) is the provisional colorimetric value of the pixel at (i, j), 3 × on the right side
The three matrices are the first conversion matrix Mall.
【0157】次いで、仮測色値Xt,Yt,Ztを上記
公知の変換式によりL*a*b*表色系に変換し、さら
に色相Hを算出する(#325)。次いで、分割された
色相範囲MR,MM,MB,MC,MG,MY(図14
の内側から2番目の円環参照)のうちで、#325によ
り算出された色相Hが属する色相範囲を判定し、その色
相範囲に対応する第2変換行列を選択し、その第2変換
行列を用いて次式により変換が行われ、測色値が求めら
れる(#330)。Next, the provisional colorimetric values Xt, Yt, Zt are converted into the L * a * b * color system by the above known conversion formula, and the hue H is calculated (# 325). Then, the divided hue ranges MR, MM, MB, MC, MG, MY (see FIG. 14).
Of the second ring from the inside), the hue range to which the hue H calculated in # 325 belongs is determined, the second conversion matrix corresponding to the hue range is selected, and the second conversion matrix is selected. Using the following equation, conversion is performed to obtain a colorimetric value (# 330).
【0158】[0158]
【数2】 [Equation 2]
【0159】但し、X(i,j),Y(i,j),Z(i,
j)は位置(i,j)の画素の測色値であり、右辺の3×
3行列は選択された第2変換行列である。However, X (i, j), Y (i, j), Z (i,
j) is the colorimetric value of the pixel at position (i, j), and is 3 × on the right side.
The 3 matrix is the selected second transformation matrix.
【0160】このように、本実施形態によれば、変換行
列作成用カラーチャートの全カラーパッチを用いて作成
した第1変換行列を用いて、測定対象を撮像してCCD
16から出力されるR,G,B値からXYZ表色系によ
る測色値を仮に算出し、その仮測色値の色相に応じて複
数の第2変換行列のうちから1つの第2変換行列を選択
し、その選択された第2変換行列を用いて上記R,G,
B値から測色値を算出するようにしているので、その測
定対象の色相に適正な第2変換行列を用いることがで
き、これによって、XYZ表色系による測色値を精度良
く求めることができる。As described above, according to the present embodiment, the first conversion matrix created by using all the color patches of the conversion matrix creation color chart is used to image the measuring object and CCD.
16 tentatively calculates a colorimetric value by the XYZ colorimetric system from the R, G, B values output from 16 and selects one of the plurality of second conversion matrices according to the hue of the tentative colorimetric value. And using the selected second transformation matrix, R, G,
Since the colorimetric value is calculated from the B value, the proper second conversion matrix can be used for the hue of the measurement target, and thus the colorimetric value by the XYZ color system can be accurately obtained. it can.
【0161】また、本実施形態によれば、ユーザ側で補
正用撮影を行い、第1、第2変換行列を求めるようにし
ているので、CCD16などの特性の経時変化による影
響を低減することができ、高精度な測色値算出機能を長
期間に亘って維持することができる。Further, according to the present embodiment, since the user performs the photographing for correction and obtains the first and second conversion matrices, it is possible to reduce the influence of the change with time of the characteristics of the CCD 16 and the like. Therefore, the highly accurate colorimetric value calculation function can be maintained for a long period of time.
【0162】なお、本発明は上記実施形態に限られず、
以下の変形形態を採用することができる。The present invention is not limited to the above embodiment,
The following modifications can be adopted.
【0163】(1)上記実施形態では、デジタルスチル
カメラ1において測色値の算出を行っているが、これに
限られない。例えば図4に示すように、デジタルスチル
カメラ1にパーソナルコンピュータ(PC)113を接
続し、このPC113において、演算処理などを行わせ
るようにしてもよい。(1) In the above embodiment, the calorimetric values are calculated in the digital still camera 1, but the invention is not limited to this. For example, as shown in FIG. 4, a personal computer (PC) 113 may be connected to the digital still camera 1 to cause the PC 113 to perform arithmetic processing and the like.
【0164】この形態では、デジタルスチルカメラ1
は、上記実施形態と同様に測色モードを備えており、同
様の手順で補正用撮影や測色対象の撮影を行う。そし
て、得られた画像データは通信ケーブルを介してPC1
13に送出され、PC113において補正用データの算
出や測色値の算出が行われる。In this embodiment, the digital still camera 1
Has a colorimetry mode as in the above embodiment, and performs correction photography and colorimetry target photography in the same procedure. Then, the obtained image data is sent to the PC 1 via the communication cable.
The data is sent to the PC 13, and the PC 113 calculates correction data and colorimetric values.
【0165】なお、画像データは、通信ケーブルに代え
てメモリカード14を介してPC113に送出するよう
にしてもよい。The image data may be sent to the PC 113 via the memory card 14 instead of the communication cable.
【0166】(2)上記実施形態では、補正用データや
測色値の算出を各画素ごとに行っているが、これに限ら
れない。例えば所定数の画素からなるブロックごとに行
ってもよい。また、図20に示すように、所定数の画素
からなるパッチ領域114を所定間隔で設定し、パッチ
領域114に含まれる画素の平均値を用いて各値の算出
を行うようにしてもよい。(2) In the above embodiment, the correction data and the colorimetric value are calculated for each pixel, but the present invention is not limited to this. For example, it may be performed for each block including a predetermined number of pixels. Further, as shown in FIG. 20, the patch areas 114 including a predetermined number of pixels may be set at predetermined intervals, and each value may be calculated using the average value of the pixels included in the patch area 114.
【0167】この変形形態によれば、上記実施形態に比
べて補正用データや測色値の算出に要する時間を短縮す
ることができ、色が細かく変化しないような測色対象に
有効である。According to this modification, the time required for calculating the correction data and the colorimetric value can be shortened as compared with the above-described embodiment, and it is effective for the colorimetric object in which the color does not change finely.
【0168】(3)また、シェーディング補正データや
オフセット補正データのみ図20に示すパッチ領域11
4ごとに算出し、測色値の算出などは各画素(i,j)
ごとに行うようにしてもよい。この場合、画素(i,
j)における補正データは周囲のデータを補間すること
によって求めるようにすればよい。(3) Further, only the shading correction data and the offset correction data are applied to the patch area 11 shown in FIG.
It is calculated for each 4 pixels, and the colorimetric value is calculated for each pixel (i, j).
You may carry out every. In this case, the pixel (i,
The correction data in j) may be obtained by interpolating surrounding data.
【0169】(4)同一色が一定面積以上で分布してい
る物体、例えばカラーチャートなどが測定対象の場合に
は、撮影画像中の信頼性が高い領域のみの画素データを
用いてR,G,B値を平均し、その平均値を用いて測色
値の算出を行うようにしてもよい。ここで、信頼性が高
い領域とは、例えば測定対象の中央付近の所定領域であ
る。また、補正用データについては、当該領域の中央の
画素における測定値を用いて算出すればよい。(4) When an object in which the same color is distributed over a certain area, such as a color chart, is to be measured, R and G are used by using pixel data of only a highly reliable region in the photographed image. , B values may be averaged, and the colorimetric value may be calculated using the average value. Here, the highly reliable region is, for example, a predetermined region near the center of the measurement target. The correction data may be calculated using the measurement value of the pixel at the center of the area.
【0170】この領域は、例えば4連スイッチ32の操
作や、PC113に接続されたマウスにより指定するよ
うにしてもよい。This area may be designated, for example, by operating the quad switch 32 or by a mouse connected to the PC 113.
【0171】また、この領域以外の測定対象を艶消しの
黒いカバーで覆い、測色領域のみを露出させて撮影する
ようにしてもよい。これによって、測色領域のR,G,
B値が周辺領域の明るさに引っ張られて変化するのを抑
制し、測色値の算出を精度良く行うことができる。It is also possible to cover the measurement object other than this area with a matte black cover so that only the colorimetric area is exposed for photographing. As a result, R, G, and
It is possible to prevent the B value from being changed by being pulled by the brightness of the peripheral region, and to accurately calculate the colorimetric value.
【0172】(5)上記実施形態では、変換行列として
3×3の行列を用いているが、これに限られず、3×n
の行列を用いてもよい。例えば次式に示すように、R,
G,B値に加えて定数項を付加した3×4の行列を用い
てもよい。この形態によれば、数値変換におけるオフセ
ットを加味することができ、これによって、更に精度良
く測色値を算出することができる。(5) In the above embodiment, a 3 × 3 matrix is used as the transformation matrix, but the present invention is not limited to this, and 3 × n is used.
May be used. For example, as shown in the following equation, R,
A 3 × 4 matrix in which a constant term is added in addition to the G and B values may be used. According to this aspect, it is possible to add an offset in the numerical conversion, which allows the colorimetric value to be calculated with higher accuracy.
【0173】[0173]
【数3】 [Equation 3]
【0174】また、次式に示すように、R,G,B値の
1次項に加えて2次項や3次項を付加した3×11の行
列を用いてもよい。この形態によれば、CCD16を構
成するエリアセンサ17の各CCDの分光感度特性およ
びカラーフィルタ18(図3参照)の分光透過特性の非
線形性を考慮した数値変換を行うことができ、これによ
って更に精度良く測色値を算出することができる。Further, as shown in the following equation, a 3 × 11 matrix in which a quadratic term and a cubic term are added in addition to the primary term of the R, G, B values may be used. According to this aspect, it is possible to perform the numerical conversion in consideration of the non-linearity of the spectral sensitivity characteristic of each CCD of the area sensor 17 that constitutes the CCD 16 and the spectral transmission characteristic of the color filter 18 (see FIG. 3). The colorimetric value can be calculated accurately.
【0175】[0175]
【数4】 [Equation 4]
【0176】(6)上記実施形態では、ユーザ側で補正
用撮影を行い、第1、第2変換行列を求めてEEPRO
M86に格納しているが、これに限られない。デジタル
スチルカメラ1の工場出荷前に予め補正用撮影を行って
第1、第2変換行列などを求めておき、その結果をEE
PROM86に格納しておくようにしてもよい。この場
合、照明光などの撮影条件について種々の条件で補正用
撮影を行っておき、ユーザによる測色時に選択できるよ
うにしてもよい。(6) In the above-described embodiment, the user performs the photographing for correction, obtains the first and second conversion matrices, and EEPRO.
It is stored in M86, but is not limited to this. Before the digital still camera 1 is shipped from the factory, correction photographing is performed in advance to obtain the first and second conversion matrices, and the result is EE
It may be stored in the PROM 86. In this case, the correction shooting may be performed under various shooting conditions such as illumination light so that the user can select it when the color measurement is performed.
【0177】この形態によれば、ユーザによる補正用撮
影の手間を省くことができ、測色をさらに簡易に行うこ
とができる。According to this aspect, it is possible to save the user the trouble of taking the image for correction, and it is possible to perform the color measurement more easily.
【0178】(7)上記実施形態では、測色モードが設
定される度に補正用撮影を行うようにしているが、これ
に限られない。ズームレンズ、フォーカスレンズの位置
や照明光などの撮影条件が固定されている場合には、図
6の#100,#105は一度だけ行って結果をEEP
ROM86に格納しておき、再度行わないようにしても
よい。(7) In the above embodiment, the correction photographing is performed every time the colorimetric mode is set, but the invention is not limited to this. When the shooting conditions such as the position of the zoom lens and the focus lens and the illumination light are fixed, # 100 and # 105 in FIG. 6 are performed only once and the result is EEP.
It may be stored in the ROM 86 and not performed again.
【0179】(8)上記実施形態では、全体制御部90
の制御プログラムをEEPROM86に格納している
が、これに限られない。例えば図6、図13、図19に
示されるルーチンからなる測色制御プログラムを含む制
御プログラムをメモリカード14に格納しておき、これ
をEEPROM86またはRAM87にダウンロードす
るようにしてもよい。(8) In the above embodiment, the overall controller 90
The control program is stored in the EEPROM 86, but the control program is not limited to this. For example, a control program including a colorimetric control program including the routines shown in FIGS. 6, 13, and 19 may be stored in the memory card 14 and downloaded to the EEPROM 86 or the RAM 87.
【0180】[0180]
【発明の効果】以上説明したように、請求項1,8,
9,10の発明によれば、三原色画像信号を所定の標準
三色表色系に基づく測色値に変換するための変換係数群
を複数組記憶しておき、測定対象を撮像したときにカラ
ー撮像手段から出力される三原色画像信号に応じて、上
記複数組の変換係数群から一組の変換係数群を選択し、
この選択された変換係数群を用いてカラー撮像手段によ
って得られた三原色画像信号から標準三色表色系に基づ
く測色値を算出するようにしているので、測定対象の撮
像によって得られた三原色画像信号に適合する変換係数
群が選択されることから、標準三色表色系に基づく測色
値を精度良く求めることができる。As described above, according to claims 1, 8 and
According to the inventions of 9 and 10, a plurality of sets of conversion coefficient groups for converting a three-primary-color image signal into a colorimetric value based on a predetermined standard three-color color system are stored, and a color is recorded when a measurement target is imaged. According to the three primary color image signals output from the image pickup means, select one set of conversion coefficient group from the plurality of sets of conversion coefficient group,
Since the colorimetric values based on the standard three-color color system are calculated from the three primary color image signals obtained by the color image pickup means using the selected conversion coefficient group, the three primary colors obtained by the image pickup of the measurement target Since the conversion coefficient group suitable for the image signal is selected, the colorimetric value based on the standard three-color color system can be accurately obtained.
【0181】請求項2の発明によれば、カラー撮像手段
を備えたデジタルスチルカメラと、記憶手段、選択手段
および変換演算手段を備えたパーソナルコンピュータと
を含み、三原色画像信号をデジタルスチルカメラからパ
ーソナルコンピュータに伝送するようにしているので、
デジタルスチルカメラに対する演算負荷を軽減すること
ができる。According to the second aspect of the invention, the digital still camera including the color image pickup means and the personal computer including the storage means, the selection means and the conversion calculation means are provided, and the three primary color image signals are transmitted from the digital still camera to the personal computer. Since I am trying to transmit to a computer,
The calculation load on the digital still camera can be reduced.
【0182】請求項3の発明によれば、操作手段により
測色モードに設定することにより、デジタルスチルカメ
ラを用いて測定対象の標準三色表色系に基づく測色値を
簡易に、かつ精度良く算出することが可能になる。According to the third aspect of the present invention, the colorimetric mode is set by the operating means, so that the colorimetric value based on the standard three-color color system of the measuring object can be easily and accurately set by using the digital still camera. It is possible to calculate well.
【0183】請求項4の発明によれば、測色モードが設
定されると表示手段に測色のための撮影手順を表示して
いるので、測色動作が不慣れな使用者に対しても、確実
に測色を行わせることが可能になる。According to the invention of claim 4, since the photographing procedure for color measurement is displayed on the display means when the color measurement mode is set, even for a user who is unfamiliar with the color measurement operation, It is possible to reliably perform color measurement.
【0184】請求項5の発明によれば、複数組の変換係
数群は、標準三色表色系に基づく測色値が既知の複数の
補正用被写体をカラー撮像手段により撮像して得られる
複数の三原色画像信号と当該既知の測色値との関係に基
づき求めるようにしているので、これらの変換係数群を
用いることにより、測定対象を撮像したときの三原色画
像信号から標準三色表色系に基づく測色値を精度良く求
めることができる。According to the invention of claim 5, a plurality of sets of conversion coefficient groups are obtained by imaging a plurality of correction subjects whose colorimetric values based on the standard three-color color system are known by the color imaging means. Since it is determined based on the relationship between the three primary color image signals and the known colorimetric value, by using these conversion coefficient groups, the standard three color system from the three primary color image signals when the measurement target is imaged. The colorimetric value based on can be accurately obtained.
【0185】請求項6の発明によれば、カラー撮像手段
により測定対象を撮像して得られる三原色画像信号から
第1変換係数群を用いて標準三色表色系に基づく測色値
を仮に算出し、その結果を用いて色相値を算出し、複数
組の第2変換係数群のうちから当該色相値に対応する一
組の第2変換係数群を選択するようにしているので、こ
の選択された第2変換係数群を用いて標準三色表色系に
基づく測色値が算出されることから、より一層精度良く
測色値の算出を行うことができる。According to the invention of claim 6, a colorimetric value based on the standard three-color color system is provisionally calculated from the three primary color image signals obtained by imaging the object to be measured by the color imaging means using the first conversion coefficient group. Then, the hue value is calculated using the result, and one set of second conversion coefficient groups corresponding to the hue value is selected from the plurality of sets of second conversion coefficient groups. Since the colorimetric values based on the standard three-color color system are calculated using the second conversion coefficient group, the colorimetric values can be calculated with higher accuracy.
【0186】請求項7の発明によれば、標準三色表色系
に基づく測色値が既知の複数の補正用被写体をカラー撮
像手段により撮像して得られる複数の三原色画像信号
と、当該既知の測色値との関係に基づき複数組の変換係
数群を算出し、その算出結果を記憶手段に格納している
ので、カラー撮像手段の分光特性などが経時劣化により
変化した場合でも、複数組の変換係数群を改めて算出し
て記憶手段に格納することにより、高精度の測色値算出
機能を長期間に亘って維持することができる。According to the invention of claim 7, a plurality of three primary color image signals obtained by picking up a plurality of correction subjects whose colorimetric values based on the standard three-color color system are known by the color image pickup means, and the known three primary color image signals. Since a plurality of sets of conversion coefficient groups are calculated based on the relationship with the colorimetric value of, and the calculation results are stored in the storage means, even if the spectral characteristics of the color image pickup means change with time, By newly calculating the conversion coefficient group of and storing it in the storage means, it is possible to maintain a highly accurate colorimetric value calculation function for a long period of time.
【図1】 本発明に係る測色装置の一実施形態であるデ
ジタルスチルカメラに内蔵される主要部材の配置を示す
上面図である。FIG. 1 is a top view showing an arrangement of main members incorporated in a digital still camera which is an embodiment of a color measuring device according to the present invention.
【図2】 同デジタルスチルカメラの背面図である。FIG. 2 is a rear view of the digital still camera.
【図3】 カラー撮像素子の構成を説明する図である。FIG. 3 is a diagram illustrating a configuration of a color image sensor.
【図4】 デジタルスチルカメラの電気的構成を示すブ
ロック図である。FIG. 4 is a block diagram showing an electrical configuration of a digital still camera.
【図5】 動作モードを選択する際に外部表示部に表示
されるメニュー画面の一例を示す図である。FIG. 5 is a diagram showing an example of a menu screen displayed on an external display unit when an operation mode is selected.
【図6】 測色動作手順のメインルーチンを示すフロー
チャートである。FIG. 6 is a flowchart showing a main routine of a color measurement operation procedure.
【図7】 測色ウィザードとして外部表示部に表示され
る画面例を示す図である。FIG. 7 is a diagram showing an example of a screen displayed on an external display unit as a color measurement wizard.
【図8】 測色ウィザードとして外部表示部に表示され
る画面例を示す図である。FIG. 8 is a diagram showing an example of a screen displayed on an external display unit as a color measurement wizard.
【図9】 測色ウィザードとして外部表示部に表示され
る画面例を示す図である。FIG. 9 is a diagram showing an example of a screen displayed on an external display unit as a color measurement wizard.
【図10】 測色ウィザードとして外部表示部に表示さ
れる画面例を示す図である。FIG. 10 is a diagram showing an example of a screen displayed on an external display unit as a color measurement wizard.
【図11】 測色ウィザードとして外部表示部に表示さ
れる画面例を示す図である。FIG. 11 is a diagram showing an example of a screen displayed on the external display unit as a color measurement wizard.
【図12】 測色ウィザードとして外部表示部に表示さ
れる画面例を示す図である。FIG. 12 is a diagram showing an example of a screen displayed on an external display unit as a color measurement wizard.
【図13】 補正用データ作成サブルーチンの手順を示
すフローチャートである。FIG. 13 is a flowchart showing a procedure of a correction data creation subroutine.
【図14】 変換行列の作成を説明するL*a*b表色
系の色度図である。FIG. 14 is a chromaticity diagram of the L * a * b color system for explaining the creation of a conversion matrix.
【図15】 CCDの分光感度特性を示す図である。FIG. 15 is a diagram showing a spectral sensitivity characteristic of a CCD.
【図16】 照明光の一例として蛍光灯の分光輝度特性
を示す図である。FIG. 16 is a diagram showing a spectral luminance characteristic of a fluorescent lamp as an example of illumination light.
【図17】 図14に示す特性と図16に示す特性の積
を表わす図である。17 is a diagram showing a product of the characteristic shown in FIG. 14 and the characteristic shown in FIG.
【図18】 三刺激値X,Y,Zの等色関数x(λ),y
(λ),z(λ)を示す図である。FIG. 18: Color matching functions x (λ), y of tristimulus values X, Y, Z
It is a figure which shows ((lambda)) and z ((lambda)).
【図19】 図6の#115の測色値取得サブルーチン
を示すフローチャートである。19 is a flowchart showing a colorimetric value acquisition subroutine of # 115 in FIG.
【図20】 撮像面に設けられる補正用データや測色値
を算出するための所定の画素数からなる領域を示す図で
ある。FIG. 20 is a diagram showing an area provided with a correction pixel and a predetermined number of pixels for calculating a colorimetric value, which is provided on the imaging surface.
14 メモリカード(記録媒体) 16 CCD(カラー撮像手段) 23 外部表示部 80 操作部(操作手段) 86 EEPROM(記憶手段) 90 全体制御部 91 撮影モード制御部 92 測色制御部 93 測色手順表示制御部 94 係数演算部 95 選択部 96 測色演算部(変換演算手段) 14 Memory card (recording medium) 16 CCD (color image pickup means) 23 External display 80 Operation unit (operation means) 86 EEPROM (storage means) 90 Overall control unit 91 Shooting mode control unit 92 Color measurement control section 93 Colorimetric procedure display control unit 94 Coefficient calculation unit 95 Selector 96 Colorimetric calculator (conversion calculator)
フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) // H04N 101:00 H04N 101:00 Fターム(参考) 2G020 AA04 AA08 DA12 DA23 DA34 DA65 2H054 AA01 5C065 AA03 BB48 DD02 EE03 FF02 GG26 5C066 AA01 CA17 EC03 EC05 GA01 KE01 KE04 KE07 KM05 KM13Front page continuation (51) Int.Cl. 7 Identification code FI theme code (reference) // H04N 101: 00 H04N 101: 00 F term (reference) 2G020 AA04 AA08 DA12 DA23 DA34 DA65 2H054 AA01 5C065 AA03 BB48 DD02 EE03 FF02 GG26 5C066 AA01 CA17 EC03 EC05 GA01 KE01 KE04 KE07 KM05 KM13
Claims (10)
光し、その光強度に応じた所定の三原色画像信号を出力
するカラー撮像手段と、 上記三原色画像信号を所定の標準三色表色系に基づく測
色値に変換するための変換係数群を複数組記憶する記憶
手段と、 測定対象を撮像したときに上記カラー撮像手段から出力
される三原色画像信号に応じて、上記複数組の変換係数
群から一組の変換係数群を選択する選択手段と、 この選択手段により選択された変換係数群を用いて上記
カラー撮像手段によって得られた三原色画像信号から上
記標準三色表色系に基づく測色値を算出する変換演算手
段とを備えたことを特徴とする測色装置。1. A color image pickup means for receiving an optical image of an object to be measured through a photographing optical system and outputting predetermined three-primary-color image signals corresponding to the light intensity, and a standard standard three-color table for the three-primary-color image signals. A storage unit that stores a plurality of sets of conversion coefficient groups for converting colorimetric values based on a color system, and a plurality of sets of the plurality of sets according to the three primary color image signals output from the color image pickup unit when the measurement target is imaged Selecting means for selecting a set of conversion coefficient groups from the conversion coefficient group, and using the conversion coefficient group selected by the selecting means, from the three primary color image signals obtained by the color image pickup means to the standard three color system A colorimetric apparatus, comprising: a conversion calculation unit that calculates a colorimetric value based on the colorimetric value.
チルカメラと、上記記憶手段、選択手段および変換演算
手段を備えたパーソナルコンピュータとを含み、 上記デジタルスチルカメラは、測定対象を撮像したとき
に上記カラー撮像手段から出力される三原色画像信号を
上記パーソナルコンピュータに送信する送信手段を備
え、上記パーソナルコンピュータは、上記デジタルスチ
ルカメラから送信される上記三原色画像信号を受信する
受信手段を備えていることを特徴とする請求項1記載の
測色装置。2. A digital still camera including the color image pickup means, and a personal computer including the storage means, a selection means, and a conversion calculation means, wherein the digital still camera includes the digital still camera and the personal computer. The personal computer includes a transmitting unit that transmits the three primary color image signals output from the color image capturing unit to the personal computer, and the personal computer includes a receiving unit that receives the three primary color image signals transmitted from the digital still camera. The color measurement device according to claim 1, wherein the color measurement device is a color measurement device.
換演算手段は、デジタルスチルカメラに配設されたもの
で、 このデジタルスチルカメラは、撮影モードとして測色モ
ードを設定するための外部から操作可能な操作手段を備
え、上記測色モードが設定されると上記選択手段および
変換演算手段が動作するように構成されていることを特
徴とする請求項1記載の測色装置。3. The color image pickup means, the selection means, and the conversion calculation means are arranged in a digital still camera, and the digital still camera can be operated from the outside to set a colorimetric mode as a photographing mode. 2. The colorimetric apparatus according to claim 1, further comprising various operating means, wherein the selecting means and the conversion computing means operate when the colorimetric mode is set.
と、上記測色モードが設定されると上記表示手段に測色
のための撮影手順を表示する表示制御手段とを備えたも
のであることを特徴とする請求項3記載の測色装置。4. The digital still camera comprises display means and display control means for displaying a photographing procedure for color measurement on the display means when the color measurement mode is set. The color measurement device according to claim 3, wherein the color measurement device is a color measurement device.
変換係数群は、上記標準三色表色系に基づく測色値が既
知の複数の補正用被写体を上記カラー撮像手段により撮
像して得られる複数の上記三原色画像信号と当該既知の
測色値との関係に基づき求められたものであることを特
徴とする請求項1〜4のいずれかに記載の測色装置。5. The plurality of sets of conversion coefficient groups stored in the storage means capture a plurality of correction subjects whose colorimetric values based on the standard three-color color system are known by the color imaging means. The colorimetric apparatus according to claim 1, wherein the colorimetric apparatus is obtained based on a relationship between a plurality of obtained three primary color image signals and the known colorimetric value.
変換係数群は、上記複数の補正用被写体全てを用いて求
められた一組の第1変換係数群と、色相値が所定範囲内
に属する所定数の補正用被写体を用いてそれぞれ求めら
れた複数組の第2変換係数群とからなるもので、 上記選択手段は、上記カラー撮像手段により測定対象を
撮像して得られる三原色画像信号から上記第1変換係数
群を用いて上記標準三色表色系に基づく測色値を仮に算
出し、その結果を用いて色相値を算出し、上記複数組の
第2変換係数群のうちから当該色相値に対応する一組の
第2変換係数群を選択するものであることを特徴とする
請求項5記載の測色装置。6. A plurality of sets of conversion coefficient groups stored in the storage means, and a set of first conversion coefficient groups obtained by using all of the plurality of correction subjects, and a hue value within a predetermined range. And a plurality of sets of second conversion coefficient groups respectively obtained by using a predetermined number of correction subjects belonging to the three primary color image signals obtained by imaging the measurement target by the color imaging means. Then, a colorimetric value based on the standard three-color color system is tentatively calculated using the first conversion coefficient group, and a hue value is calculated using the result, and the hue value is calculated from the plurality of sets of the second conversion coefficient group. The colorimetric apparatus according to claim 5, wherein a set of second conversion coefficient groups corresponding to the hue value is selected.
知の複数の補正用被写体を上記カラー撮像手段により撮
像して得られる複数の上記三原色画像信号と当該既知の
測色値との関係に基づき複数組の上記変換係数群を算出
し、その算出結果を上記記憶手段に格納する係数演算手
段を備えたことを特徴とする請求項1〜4のいずれかに
記載の測色装置。7. A plurality of the three primary color image signals obtained by imaging a plurality of correction subjects whose colorimetric values based on the standard three-color color system are known by the color imaging means and the known colorimetric values. 5. The colorimetric apparatus according to claim 1, further comprising a coefficient calculation unit that calculates a plurality of sets of the conversion coefficient groups based on the relationship and stores the calculation results in the storage unit. .
色系に基づく測色値に変換するための変換係数群を複数
組記憶しておき、 撮影光学系を介して測定対象の光像を受光し、その光強
度に応じた所定の三原色画像信号を出力するカラー撮像
手段から、測定対象を撮像したときに出力される三原色
画像信号に応じて、上記複数組の変換係数群から一組の
変換係数群を選択し、この選択された変換係数群を用い
て上記カラー撮像手段によって得られた三原色画像信号
から上記標準三色表色系に基づく測色値を算出すること
を特徴とする測色方法。8. A plurality of sets of conversion coefficient groups for converting the three primary color image signals into colorimetric values based on a predetermined standard three-color color system are stored, and an optical image of an object to be measured is taken through a photographing optical system. From a plurality of conversion coefficient groups corresponding to the three primary color image signals output when the object to be measured is imaged from the color image pickup means that receives predetermined three primary color image signals according to the light intensity Is selected, and a colorimetric value based on the standard three-color color system is calculated from the three primary color image signals obtained by the color image pickup means using the selected conversion coefficient group. Color measurement method.
プログラムであって、 撮影光学系を介して測定対象の光像を受光し、その光強
度に応じた所定の三原色画像信号を出力するカラー撮像
手段と、 上記三原色画像信号を所定の標準三色表色系に基づく測
色値に変換するための変換係数群を複数組記憶する記憶
手段とを備えた測色装置を、 測定対象を撮像したときに上記カラー撮像手段から出力
される三原色画像信号に応じて、上記複数組の変換係数
群から一組の変換係数群を選択する選択手段と、 この選択手段により選択された変換係数群を用いて上記
カラー撮像手段によって得られた三原色画像信号から上
記標準三色表色系に基づく測色値を算出する変換演算手
段として機能させることを特徴とする測色制御プログラ
ム。9. A colorimetric control program for measuring a color of an object to be measured, which receives an optical image of the object to be measured through a photographing optical system and outputs predetermined three primary color image signals corresponding to the light intensity. A colorimetric device having a color image pickup means for storing the three primary color image signals and a storage means for storing a plurality of conversion coefficient groups for converting the three primary color image signals into colorimetric values based on a predetermined standard three color system. Selecting means for selecting one set of conversion coefficient groups from the plurality of sets of conversion coefficient groups in accordance with the three primary color image signals output from the color image pickup means when the image is captured, and the conversion coefficient selected by the selecting means. A colorimetric control program which functions as a conversion operation means for calculating a colorimetric value based on the standard three-color color system from the three primary color image signals obtained by the color imaging means using a group.
格納されたコンピュータ読み取り可能な記録媒体。10. A computer-readable recording medium in which the colorimetric control program according to claim 9 is stored.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001343761A JP2003149050A (en) | 2001-11-08 | 2001-11-08 | Colorimetric apparatus, colorimetric method, colorimetry control program, and recording medium in which colorimetry control program has been stored and can be read by computer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001343761A JP2003149050A (en) | 2001-11-08 | 2001-11-08 | Colorimetric apparatus, colorimetric method, colorimetry control program, and recording medium in which colorimetry control program has been stored and can be read by computer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2003149050A true JP2003149050A (en) | 2003-05-21 |
Family
ID=19157393
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001343761A Pending JP2003149050A (en) | 2001-11-08 | 2001-11-08 | Colorimetric apparatus, colorimetric method, colorimetry control program, and recording medium in which colorimetry control program has been stored and can be read by computer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2003149050A (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006064913A1 (en) * | 2004-12-17 | 2006-06-22 | Nikon Corporation | Image processing method |
| JP2006292585A (en) * | 2005-04-12 | 2006-10-26 | Sony Corp | Measuring apparatus and measuring method |
| JP2007163314A (en) * | 2005-12-14 | 2007-06-28 | Dainichi Denshi:Kk | Tint measurement system |
| JP2010057142A (en) * | 2008-08-29 | 2010-03-11 | Sharp Corp | Calibration device, calibration method, sensor, display device, calibration processing program and recording medium recording the calibration processing program |
| JP2013137209A (en) * | 2011-12-28 | 2013-07-11 | Neoark Corp | Polarization change spectrum measuring device, polarization change spectrum measuring method, magneto-optical effect measuring device and magneto-optical effect measuring method |
| JP2015178995A (en) * | 2014-03-19 | 2015-10-08 | 株式会社オプトコム | Tone calibration device, imaging device and tone inspection device |
| JP2016061646A (en) * | 2014-09-17 | 2016-04-25 | 安全自動車株式会社 | Color headlight tester and light-dark branch line search method |
| US9521297B2 (en) | 2014-07-07 | 2016-12-13 | Fujitsu Limited | Reference color selection device, color correction device, and reference color selection method |
| JP2017503168A (en) * | 2013-12-27 | 2017-01-26 | スリーエム イノベイティブ プロパティズ カンパニー | Measuring device, measuring system, and measuring program |
| JP2017101997A (en) * | 2015-12-01 | 2017-06-08 | コニカミノルタ株式会社 | Two-dimensional colorimeter, method, program, and display system |
-
2001
- 2001-11-08 JP JP2001343761A patent/JP2003149050A/en active Pending
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006064913A1 (en) * | 2004-12-17 | 2006-06-22 | Nikon Corporation | Image processing method |
| US7940983B2 (en) | 2004-12-17 | 2011-05-10 | Nikon Corporation | Image processing method |
| JP2006292585A (en) * | 2005-04-12 | 2006-10-26 | Sony Corp | Measuring apparatus and measuring method |
| JP2007163314A (en) * | 2005-12-14 | 2007-06-28 | Dainichi Denshi:Kk | Tint measurement system |
| JP2010057142A (en) * | 2008-08-29 | 2010-03-11 | Sharp Corp | Calibration device, calibration method, sensor, display device, calibration processing program and recording medium recording the calibration processing program |
| JP2013137209A (en) * | 2011-12-28 | 2013-07-11 | Neoark Corp | Polarization change spectrum measuring device, polarization change spectrum measuring method, magneto-optical effect measuring device and magneto-optical effect measuring method |
| JP2017503168A (en) * | 2013-12-27 | 2017-01-26 | スリーエム イノベイティブ プロパティズ カンパニー | Measuring device, measuring system, and measuring program |
| US10200582B2 (en) | 2013-12-27 | 2019-02-05 | 3M Innovative Properties Company | Measuring device, system and program |
| JP2015178995A (en) * | 2014-03-19 | 2015-10-08 | 株式会社オプトコム | Tone calibration device, imaging device and tone inspection device |
| US9521297B2 (en) | 2014-07-07 | 2016-12-13 | Fujitsu Limited | Reference color selection device, color correction device, and reference color selection method |
| JP2016061646A (en) * | 2014-09-17 | 2016-04-25 | 安全自動車株式会社 | Color headlight tester and light-dark branch line search method |
| JP2017101997A (en) * | 2015-12-01 | 2017-06-08 | コニカミノルタ株式会社 | Two-dimensional colorimeter, method, program, and display system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7154547B2 (en) | Solid-state image sensor having control cells for developing signals for image-shooting control under poor illumination | |
| US7015955B2 (en) | Camera having verification display with viewer adaptation compensation for reference illuminants and method | |
| US6989859B2 (en) | Camera having user interface ambient sensor viewer adaptation compensation and method | |
| US7750950B2 (en) | Image pickup apparatus and image processing method | |
| JP4004943B2 (en) | Image composition method and imaging apparatus | |
| US20020080245A1 (en) | Camera having verification display with reverse white balanced viewer adaptation compensation and method | |
| US7274400B2 (en) | Digital camera and composition assist frame selecting method for digital camera | |
| CN105191285A (en) | Solid-state imaging device, electronic apparatus, lens control method, and imaging module | |
| US20020118967A1 (en) | Color correcting flash apparatus, camera, and method | |
| JP2006121612A (en) | Image pickup device | |
| US20020110372A1 (en) | Camera that displays predominant color multi-color scene and/or multi-color captured image of scene | |
| JP5253000B2 (en) | Imaging device | |
| JP5457845B2 (en) | Color characteristic correction apparatus and camera | |
| WO2011132618A1 (en) | Imaging device, captured image processing method, and captured image processing program | |
| US7598986B2 (en) | Image pick-up apparatus and white balance control method | |
| JP2011166753A (en) | Imaging apparatus | |
| US20200374501A1 (en) | Image processing apparatus, image processing method, and program | |
| US7643072B2 (en) | Signal processing method for image capturing apparatus, and image capturing apparatus including calculating image transfer efficiency | |
| JP2003149050A (en) | Colorimetric apparatus, colorimetric method, colorimetry control program, and recording medium in which colorimetry control program has been stored and can be read by computer | |
| JP4049257B2 (en) | Solid-state imaging device and digital camera | |
| US6909463B2 (en) | Camera having verification display and white-compensator and imaging method | |
| JP4649734B2 (en) | Video signal processing apparatus and recording medium on which video signal processing program is recorded | |
| JP4210920B2 (en) | White balance adjustment method and camera | |
| JP2006108988A (en) | Calibration device | |
| JP3903095B2 (en) | White balance control method and digital camera |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20041005 |