JP4477517B2 - Color adjustment method and color adjustment apparatus - Google Patents

Color adjustment method and color adjustment apparatus Download PDF

Info

Publication number
JP4477517B2
JP4477517B2 JP2005031899A JP2005031899A JP4477517B2 JP 4477517 B2 JP4477517 B2 JP 4477517B2 JP 2005031899 A JP2005031899 A JP 2005031899A JP 2005031899 A JP2005031899 A JP 2005031899A JP 4477517 B2 JP4477517 B2 JP 4477517B2
Authority
JP
Japan
Prior art keywords
color adjustment
digital camera
coefficient
adjustment device
color
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.)
Expired - Fee Related
Application number
JP2005031899A
Other languages
Japanese (ja)
Other versions
JP2006222543A (en
Inventor
真哉 高済
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2005031899A priority Critical patent/JP4477517B2/en
Priority to CNB2006100032690A priority patent/CN100428778C/en
Publication of JP2006222543A publication Critical patent/JP2006222543A/en
Application granted granted Critical
Publication of JP4477517B2 publication Critical patent/JP4477517B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、色調整装置毎の個体差による調整ばらつきを軽減して調整を行うことができる色調整方法及び色調整装置に関する。   The present invention relates to a color adjustment method and a color adjustment apparatus capable of performing adjustment while reducing variation in adjustment due to individual differences among color adjustment apparatuses.

一般的なデジタルカメラの撮像系は、撮像レンズ群と、光学的なローパスフィルタとしてのIR(赤外)カットフィルタと、CCD部を有していることが多い。このような構成においては、撮像レンズ群を介して入射した光は、IRカットフィルタを通過することで有害赤外線成分が除去された後に、CCD部に結像される。また、CCD部は、マイクロレンズアレイと、カラーフィルタと、CCD素子とから構成され、マイクロレンズアレイにより画素ごとに集光された光が、例えば原色系ベイヤ配列のカラーフィルタを介してCCD素子に結像される。   An imaging system of a general digital camera often includes an imaging lens group, an IR (infrared) cut filter as an optical low-pass filter, and a CCD unit. In such a configuration, the light incident through the imaging lens group passes through the IR cut filter, and after removing harmful infrared components, is imaged on the CCD unit. The CCD unit is composed of a microlens array, a color filter, and a CCD element, and the light collected for each pixel by the microlens array is applied to the CCD element via, for example, a primary color Bayer array color filter. Imaged.

ここで、撮像レンズ群、IRカットフィルタ、及びCCD部のマイクロレンズアレイとカラーフィルタのうちでも特にIRカットフィルタとカラーフィルタとはそれぞれ分光感度特性上のばらつきが大きく、デジタルカメラによる画像の色再現に大きな影響を与えてしまう。   Here, among the imaging lens group, the IR cut filter, and the micro lens array and the color filter of the CCD unit, the IR cut filter and the color filter have large variations in spectral sensitivity characteristics, respectively, and the color reproduction of the image by the digital camera. It will have a big influence on.

この影響をデジタルカメラ内で最小限に抑えるためには、ホワイトバランスや色補正における補正値を個々のデジタルカメラごとに調整する必要がある。従来、このような調整は、実際に撮影で使用したい光源を用いて特定のカラーチャートを撮影するなどし、この撮影によって得られた結果に基づいて行われている。   In order to minimize this effect in the digital camera, it is necessary to adjust the correction values for white balance and color correction for each digital camera. Conventionally, such adjustment is performed based on the result obtained by photographing a specific color chart using a light source that is actually desired for photographing.

また、特許文献1では、光源とデジタルカメラとの間に複数の特定波長帯の光を通過させる回転式のバンドパスフィルタの円盤を設置するようにしている。このような構成により、1種類の光源を用いた調整作業を行うのみで、その他の実際に存在しないような光源に関しても正確なホワイトバランス及び色の調整を行うことができる。
特開2001−320716号公報
In Patent Document 1, a rotary band-pass filter disk that allows light of a plurality of specific wavelength bands to pass is installed between a light source and a digital camera. With such a configuration, it is possible to perform accurate white balance and color adjustment with respect to other light sources that do not actually exist only by performing adjustment work using one type of light source.
JP 2001-320716 A

しかしながら、特許文献1の手法では、複数種類の光源に関する調整を行うためには、その光源の種類に応じた回数の撮影を行う必要があるために調整に時間がかかる。   However, in the method of Patent Document 1, in order to perform adjustments related to a plurality of types of light sources, it is necessary to perform imaging for the number of times corresponding to the types of the light sources, so that adjustment takes time.

また、特許文献1の手法の調整を複数台の調整装置で行う場合には、例えば調整用の円盤などの構成部材の製造ばらつきにより調整結果に装置毎のばらつきが生じる場合がある。   In addition, when the adjustment of the method of Patent Document 1 is performed by a plurality of adjustment devices, there may be variations in the adjustment results for each device due to, for example, manufacturing variations of components such as adjustment disks.

本発明は、上記の事情に鑑みてなされたもので、調整に時間がかからず、かつ調整装置の構成部材の個体差を考慮して調整を行うことができる色調整方法及び色調整装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and provides a color adjustment method and a color adjustment apparatus that do not take time for adjustment and can be adjusted in consideration of individual differences in components of the adjustment apparatus. The purpose is to provide.

上記の目的を達成するために、本発明の第1の態様による色調整方法は、色調整の対象となる複数台のデジタルカメラの中から少なくとも1台のデジタルカメラを選定し、上記選定されたデジタルカメラを用いて色調整装置の所定の光源を複数回撮影することにより、複数の画像データを取得し、上記デジタルカメラによって取得された複数の画像データに基づいて、上記色調整装置の構成部材の個体差を反映した色調整装置用係数を作成し、上記作成された色調整装置用係数を保存し、上記保存された色調整装置用係数を用いて上記デジタルカメラの色調整を行上記複数回の撮影は、上記所定の光源と上記デジタルカメラとの間に上記色調整装置の構成部材の1つである赤外カットフィルタを介在させずに行う撮影と上記所定の光源と上記デジタルカメラとの間に上記赤外カットフィルタを介在させて行う撮影とを含むことを特徴とする。 In order to achieve the above object, in the color adjustment method according to the first aspect of the present invention, at least one digital camera is selected from among a plurality of digital cameras to be subjected to color adjustment. A plurality of image data is obtained by photographing a predetermined light source of the color adjustment device a plurality of times using a digital camera, and the components of the color adjustment device are based on the plurality of image data obtained by the digital camera individual differences to create a color adjustment apparatus for a coefficient which reflects the, save the color adjusting device for coefficients above created, have rows color adjustment of the digital camera by using the stored color adjustment device coefficient, The plurality of times of photographing are performed without interposing an infrared cut filter that is one of the constituent members of the color adjustment device between the predetermined light source and the digital camera, and the predetermined light source. Serial interposed the infrared cut filter between the digital camera characterized in that it comprises a shooting and performed.

また、本発明の第2の態様の色調整方法は、色調整の対象となる複数台のデジタルカメラを用いて色調整装置の所定の光源を複数回撮影することにより、複数の画像データを取得し、上記複数台のデジタルカメラによって取得された複数の画像データに基づいて、上記色調整装置の構成部材の個体差を反映した複数の色調整装置用係数を作成し、上記作成された複数の色調整装置用係数に基づいて上記色調整装置用係数を作成するのに最適なデジタルカメラを選定し、上記選定されたデジタルカメラに対応した色調整装置用係数を保存し、上記保存された色調整装置用係数を用いて上記複数台のデジタルカメラの色調整を行うことを特徴とする。 The color adjustment method according to the second aspect of the present invention obtains a plurality of image data by photographing a predetermined light source of the color adjustment device a plurality of times using a plurality of digital cameras to be subjected to color adjustment. Then, based on a plurality of image data acquired by the plurality of digital cameras, a plurality of color adjustment device coefficients reflecting individual differences of the constituent members of the color adjustment device are created, and the plurality of created Based on the color adjustment device coefficient, the optimum digital camera for creating the color adjustment device coefficient is selected, the color adjustment device coefficient corresponding to the selected digital camera is stored, and the stored color Color adjustment of the plurality of digital cameras is performed using the adjustment device coefficient.

また、本発明の第3の態様の色調整装置は、A光源と、上記A光源を撮影して画像データを取得するデジタルカメラと、上記A光源と上記デジタルカメラとの間に進退自在に構成され、上記A光源からの光の赤外光成分を除去する赤外カットフィルタと、上記A光源の分光感度特性と、基準となるデジタルカメラの分光感度特性と、基準となる赤外カットフィルタの分光感度特性とをリファレンスデータとして少なくとも記憶するリファレンスデータ記憶部と、上記A光源と上記デジタルカメラとの間に上記赤外カットフィルタを介在させずに行った撮影によって取得された画像データと、上記A光源と上記デジタルカメラとの間に上記赤外カットフィルタを介在させて行った撮影によって取得された画像データと、上記リファレンスデータ記憶部に記憶された上記リファレンスデータとから、上記デジタルカメラを色調整する際の色調整装置毎の上記赤外カットフィルタの個体差を反映した色調整装置用係数を作成する色調整装置用係数作成部と、上記色調整装置用係数作成部によって作成された色調整装置用係数を記憶する色調整装置用係数記憶部とを具備することを特徴とする。   The color adjustment apparatus according to the third aspect of the present invention is configured to freely advance and retract between the A light source, a digital camera that captures the A light source and acquires image data, and the A light source and the digital camera. An infrared cut filter that removes an infrared light component of light from the A light source, a spectral sensitivity characteristic of the A light source, a spectral sensitivity characteristic of a reference digital camera, and a reference infrared cut filter A reference data storage unit that stores at least spectral sensitivity characteristics as reference data, image data acquired by imaging performed without interposing the infrared cut filter between the A light source and the digital camera, and Image data acquired by photographing performed with the infrared cut filter interposed between the A light source and the digital camera, and the reference data Color adjustment device coefficient for creating a color adjustment device coefficient reflecting individual differences of the infrared cut filter for each color adjustment device when color adjusting the digital camera from the reference data stored in the storage unit And a color adjusting device coefficient storage unit for storing the color adjusting device coefficient generated by the color adjusting device coefficient generating unit.

これら、第1〜第の態様によれば、色調整装置の構成部材の個体差を反映した色調整装置用係数を用いて色調整を行うことができる。 According to these 1st- 3rd aspects, color adjustment can be performed using the coefficient for color adjustment apparatuses reflecting the individual difference of the structural member of a color adjustment apparatus.

本発明によれば、調整に時間がかからず、かつ調整装置の構成部材の個体差を考慮して調整を行うことができる色調整方法及び色調整装置を提供することができる。   According to the present invention, it is possible to provide a color adjustment method and a color adjustment apparatus that do not take time for adjustment and can perform adjustment in consideration of individual differences of components of the adjustment apparatus.

以下、図面を参照して本発明の実施形態を説明する。
図1は、本発明の一実施形態に係る色調整装置10の全体の構成図である。
図1の構成を概略的に言えば、外光が入射しないように遮光する遮光部材11内に、光源12を有するビュアー13と、当該色調整装置10を調整するためのデジタルカメラ(以下、単にデジタルカメラと称する)14とが配置され、デジタルカメラ14によってビュアー13を撮影することができるようになっている。ここで、図1のデジタルカメラ14は、色調整装置10の調整対象となる複数のデジタルカメラの中から選択されたカメラである。また、光源12には、例えばA光源が用いられる。このA光源の分光感度特性を図2の特性L21に示す。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is an overall configuration diagram of a color adjustment apparatus 10 according to an embodiment of the present invention.
Referring to the configuration of FIG. 1 schematically, a viewer 13 having a light source 12 and a digital camera for adjusting the color adjusting device 10 (hereinafter simply referred to as “light-shielding member 11” which shields outside light from entering). (Referred to as a digital camera) 14 and the viewer 13 can be photographed by the digital camera 14. Here, the digital camera 14 in FIG. 1 is a camera selected from a plurality of digital cameras to be adjusted by the color adjustment apparatus 10. As the light source 12, for example, an A light source is used. The spectral sensitivity characteristic of the A light source is shown as characteristic L21 in FIG.

また、図1においては、ビュアー13とデジタルカメラ14との間に、設備IRカットフィルタ15が挿入又は退避自在に配置されている。ここで、設備IRカットフィルタ15は取り付け部材16に取り付けられており、更に取り付け部材16はフィルタ移動装置17に取り付けられている。   In FIG. 1, an equipment IR cut filter 15 is disposed between the viewer 13 and the digital camera 14 so as to be freely inserted or retracted. Here, the equipment IR cut filter 15 is attached to the attachment member 16, and the attachment member 16 is further attached to the filter moving device 17.

図3は、設備IRカットフィルタ15、取り付け部材16、及びフィルタ移動装置17の正面図である。図3に示すように、取り付け部材16は、フィルタ移動装置17に対して移動自在に取り付けられており、取り付け部材16を図示矢印方向にスライドさせるように移動させることによって、設備IRカットフィルタ15をビュアー13とデジタルカメラ14の間に挿入し、ビュアー13を介して入射する光の特定波長成分(赤外成分)を除去したり、設備IRカットフィルタ15をビュアー13とデジタルカメラ14との間から退避させたりすることができるようになっている。ここで、一般のIRカットフィルタの分光感度特性は、例えば図4に示すような特性を有している。   FIG. 3 is a front view of the equipment IR cut filter 15, the attachment member 16, and the filter moving device 17. As shown in FIG. 3, the attachment member 16 is movably attached to the filter moving device 17, and the equipment IR cut filter 15 is moved by sliding the attachment member 16 in the direction of the arrow shown in the figure. It is inserted between the viewer 13 and the digital camera 14 to remove a specific wavelength component (infrared component) of light incident through the viewer 13, or the equipment IR cut filter 15 is inserted between the viewer 13 and the digital camera 14. It can be evacuated. Here, the spectral sensitivity characteristic of a general IR cut filter has a characteristic as shown in FIG. 4, for example.

また、図1において、デジタルカメラ14及びフィルタ移動装置17は、それぞれ接続ケーブル18及び19を介してパーソナルコンピュータ20に接続されている。リファレンスデータ記憶部、色調整装置用係数作成部、及び色調整装置用係数記憶部としてのパーソナルコンピュータ20内には、メモリ21と、CPU22とが設けられている。メモリ21は、調整用のプログラムを記憶しておくための調整プログラム記憶部21aや後述するリファレンスデータを記憶しておくためのリファレンスデータ記憶部21bなどを含むメモリである。CPU22は、メモリ21に記憶されているデータなどに基づいて、デジタルカメラ14やフィルタ移動装置17を所望のタイミングで動作させるように制御して、色調整装置10の調整を制御する。   In FIG. 1, the digital camera 14 and the filter moving device 17 are connected to a personal computer 20 via connection cables 18 and 19, respectively. A memory 21 and a CPU 22 are provided in the personal computer 20 as a reference data storage unit, a color adjustment device coefficient creation unit, and a color adjustment device coefficient storage unit. The memory 21 is a memory including an adjustment program storage unit 21a for storing an adjustment program, a reference data storage unit 21b for storing reference data to be described later, and the like. The CPU 22 controls the adjustment of the color adjusting device 10 by controlling the digital camera 14 and the filter moving device 17 to operate at a desired timing based on data stored in the memory 21.

図5は、デジタルカメラ14に用いられている撮像系の構成図である。同図に示すように、撮像レンズ群30を介して入射した光は、光学的なローパスフィルタとしてのIRカットフィルタ31を通過して有害赤外成分が除去された後に、CCD部32に入射される。ここで、取り付け部材16を介してフィルタ移動装置17に取り付けられる設備IRカットフィルタ15は、その赤外カット波長が、デジタルカメラ14のIRカットフィルタ31のカット波長よりも短波長のものを用いるようにする。   FIG. 5 is a configuration diagram of an imaging system used in the digital camera 14. As shown in the figure, the light incident through the imaging lens group 30 passes through an IR cut filter 31 as an optical low-pass filter and is removed from the harmful infrared component, and then incident on the CCD unit 32. The Here, as the equipment IR cut filter 15 attached to the filter moving device 17 via the attachment member 16, an infrared cut wavelength having a shorter wavelength than the cut wavelength of the IR cut filter 31 of the digital camera 14 is used. To.

また、CCD部32は、マイクロレンズアレイ32aと、カラーフィルタ32bと、CCD素子32cとから構成されている。CCD部32のマイクロレンズアレイ32aにより画素ごとに集光された光は、例えば原色系ベイヤ配列のカラーフィルタ32bを介してCCD素子32cに結像される。ここで、原色系ベイヤ配列のカラーフィルタとは、R、Gr、Gb、Bの4ピクセルを1つの画素配列単位とするカラーフィルタである。   The CCD unit 32 includes a microlens array 32a, a color filter 32b, and a CCD element 32c. The light collected for each pixel by the microlens array 32a of the CCD unit 32 is imaged on the CCD element 32c via, for example, a color filter 32b having a primary color Bayer arrangement. Here, the primary color Bayer array color filter is a color filter having four pixels of R, Gr, Gb, and B as one pixel array unit.

図6は、図1に示した如くセットされた色調整装置10の個体差を反映した色調整装置用係数を求めるための全体的な処理内容を示すフローチャートである。図6の処理は、図1のパーソナルコンピュータ20内部の調整プログラム記憶部21aに記憶されたプログラムに従ってCPU22により実行されるものである。また、図6においては、色調整装置用係数として、特に設備IRカットフィルタ15の個体差によるばらつきを補正するための特性パラメータを算出する例について説明する。   FIG. 6 is a flowchart showing the entire processing contents for obtaining the color adjusting device coefficient reflecting the individual difference of the color adjusting device 10 set as shown in FIG. The processing in FIG. 6 is executed by the CPU 22 in accordance with a program stored in the adjustment program storage unit 21a in the personal computer 20 in FIG. In FIG. 6, an example in which a characteristic parameter for correcting variation due to individual differences of the equipment IR cut filter 15 is calculated as the color adjustment device coefficient will be described.

図6において、まず、CPU22は、図1のようにセットされたデジタルカメラ14の回路基板番号を取得する(ステップS1)。ここで、回路基板番号とは、調整対象となるデジタルカメラにそれぞれ設定されている識別情報であり、デジタルカメラの各種調整値を記憶しておくための記憶部(例えば、EEPROMなどで構成される)に記憶されている。以後、回路基板番号をMC_camと表記する。   In FIG. 6, first, the CPU 22 acquires the circuit board number of the digital camera 14 set as shown in FIG. 1 (step S1). Here, the circuit board number is identification information set for each digital camera to be adjusted, and is configured by a storage unit (for example, an EEPROM or the like) for storing various adjustment values of the digital camera. ) Is stored. Hereinafter, the circuit board number is expressed as MC_cam.

次に、CPU22は、ビュアー13とデジタルカメラ14との間に設備IRカットフィルタ15を介在させていない状態で、デジタルカメラ14によってビュアー13の撮影を行わせ、光源12からの光をデジタルカメラ14に受光させる(ステップS2)。そして、CPU22はデジタルカメラ14による撮影によって得られた画像データを取得する(ステップS3)。ここで、ステップS3において取得する画像データは、実際には画像データの白レベルである。この白レベルは、図7に示すように、撮影により得られた画像の中央部の縦32ピクセル×横32ピクセルのR、Gr、Gb、Bの各色成分の平均値を求め、特に、Gr、Gbに関しては更に、
G=(Gr+Gb)/2 (式1)
とすることにより取得する。この場合、R、B成分はそれぞれ256ピクセル、G成分は512ピクセルのデータの平均となる。以後、このようにしてステップS3で得られた白レベルのR成分及びG成分をそれぞれ、White_r_get及びWhite_g_getと表記する。
Next, the CPU 22 causes the digital camera 14 to photograph the viewer 13 in a state where the equipment IR cut filter 15 is not interposed between the viewer 13 and the digital camera 14, and the light from the light source 12 is emitted from the digital camera 14. (Step S2). Then, the CPU 22 acquires image data obtained by photographing with the digital camera 14 (step S3). Here, the image data acquired in step S3 is actually the white level of the image data. As shown in FIG. 7, the white level is obtained by calculating an average value of R, Gr, Gb, and B color components of 32 pixels in the center × 32 pixels in the center of the image obtained by photographing. Regarding Gb,
G = (Gr + Gb) / 2 (Formula 1)
To obtain. In this case, the R and B components are the average of 256 pixels, and the G component is the average of 512 pixels. Hereinafter, the white level R component and the G component obtained in step S3 in this way are denoted as White_r_get and White_g_get, respectively.

次に、CPU22は、ビュアー13とデジタルカメラ14との間に設備IRカットフィルタ15を介在させた状態で、デジタルカメラ14によってビュアー13の撮影を行わせ、光源12からの光を設備IRカットフィルタ15を介してデジタルカメラ14に受光させる(ステップS4)。そして、CPU22はデジタルカメラ14による撮影によって得られた画像データの白レベルをステップS3と同様にして取得する(ステップS5)。以後、ステップS5で得られた白レベルのR成分及びG成分をそれぞれWhite_ir_r_get及びWhite_ir_g_getと表記する。   Next, the CPU 22 causes the digital camera 14 to photograph the viewer 13 with the equipment IR cut filter 15 interposed between the viewer 13 and the digital camera 14, and the light from the light source 12 is transmitted to the equipment IR cut filter. The digital camera 14 receives light through 15 (step S4). And CPU22 acquires the white level of the image data obtained by imaging | photography with the digital camera 14 similarly to step S3 (step S5). Hereafter, the white level R component and G component obtained in step S5 are denoted as White_ir_r_get and White_ir_g_get, respectively.

次に、CPU22は、上記ステップS3及びステップS5で取得した画像データの白レベルとリファレンスデータ記憶部21bに記憶されているリファレンスデータとから、設備IRカットフィルタ15の特性パラメータを算出するための色調整装置用係数算出演算を行う(ステップS6)。この色調整装置用係数算出演算の終了後、図6の処理を終了する。   Next, the CPU 22 calculates the color for calculating the characteristic parameter of the equipment IR cut filter 15 from the white level of the image data acquired in steps S3 and S5 and the reference data stored in the reference data storage unit 21b. An adjustment device coefficient calculation operation is performed (step S6). After completion of the color adjustment device coefficient calculation calculation, the processing of FIG.

次に、ステップS6の色調整装置用係数算出演算について説明する。
まず、リファレンスデータ記憶部21bに記憶されているリファレンスデータについて説明する。このリファレンスデータは、後の演算において用いられる固定値の基準データである。
Next, the color adjustment device coefficient calculation calculation in step S6 will be described.
First, reference data stored in the reference data storage unit 21b will be described. This reference data is reference data having a fixed value used in later calculations.

リファレンスデータ記憶部21bに記憶されている第1のリファレンスデータは、図2に示すA光源の分光感度特性である。以後、このA光源の分光特性をHGVWR_spct_ref_xと表記する。ここで、xは図2の波長値を示しており、380≦x≦720の範囲で1[nm]毎に変化する値である。これ以後も、xは380≦x≦720の範囲で1[nm]毎に変化する波長値を示すものであるとする。   The first reference data stored in the reference data storage unit 21b is the spectral sensitivity characteristic of the A light source shown in FIG. Hereinafter, the spectral characteristic of the A light source is expressed as HGVWR_spct_ref_x. Here, x indicates the wavelength value of FIG. 2, and is a value that changes every 1 [nm] within a range of 380 ≦ x ≦ 720. In the following, it is assumed that x represents a wavelength value that changes every 1 [nm] within a range of 380 ≦ x ≦ 720.

第2のリファレンスデータは、所定の基準となるIRカットフィルタ(以下、リファレンスIRカットフィルタと称する)の分光感度特性である。この特性を図4のL41に示す。以後、このリファレンスIRカットフィルタの分光感度特性をIR_spct_ref_xと表記する。   The second reference data is a spectral sensitivity characteristic of an IR cut filter (hereinafter referred to as a reference IR cut filter) serving as a predetermined reference. This characteristic is indicated by L41 in FIG. Hereinafter, the spectral sensitivity characteristic of the reference IR cut filter is denoted as IR_spct_ref_x.

第3のリファレンスデータは、所定の基準となるデジタルカメラに用いられているCCD素子の長波長帯、即ちR成分のリファレンス分光感度特性である。この特性を図8のL81に示す。また、以後、Rリファレンス分光感度特性をR_ccd_ref_xと表記する。   The third reference data is a long wavelength band of a CCD element used in a digital camera serving as a predetermined reference, that is, a reference spectral sensitivity characteristic of an R component. This characteristic is indicated by L81 in FIG. Hereinafter, the R reference spectral sensitivity characteristic is expressed as R_ccd_ref_x.

第4のリファレンスデータは、所定の基準となるデジタルカメラに用いられているCCD素子の中間波長帯、即ちG成分のリファレンス分光感度特性である。この特性を図8のL82に示す。以後、Gリファレンス分光感度特性をG_ccd_ref_xと表記する。   The fourth reference data is an intermediate wavelength band of a CCD element used in a digital camera serving as a predetermined reference, that is, a G component reference spectral sensitivity characteristic. This characteristic is indicated by L82 in FIG. Hereinafter, the G reference spectral sensitivity characteristic is expressed as G_ccd_ref_x.

ここで、図8に示すRリファレンス分光感度特性L81及びGリファレンス分光感度特性L82はそれぞれ、Gリファレンス分光感度特性L82の最大分光感度が100となるように正規化されている。   Here, the R reference spectral sensitivity characteristic L81 and the G reference spectral sensitivity characteristic L82 shown in FIG. 8 are each normalized so that the maximum spectral sensitivity of the G reference spectral sensitivity characteristic L82 is 100.

第5のリファレンスデータは、Rリファレンス分光感度特性L81とリファレンスIRカットフィルタの分光感度特性L41とを可視波長帯(380[nm]〜720[nm])の範囲で1[nm]毎に積算することによって得られた分光感度特性である。この特性を図8のL84に示す。以後、このデータをR_ir_ccd_ref_xと表記する。   As for the fifth reference data, the R reference spectral sensitivity characteristic L81 and the spectral sensitivity characteristic L41 of the reference IR cut filter are integrated every 1 [nm] in the visible wavelength band (380 [nm] to 720 [nm]). It is the spectral sensitivity characteristic obtained by this. This characteristic is indicated by L84 in FIG. Hereinafter, this data is expressed as R_ir_ccd_ref_x.

第6のリファレンスデータは、Rリファレンス分光感度特性L81と光源12の分光感度特性L21との積を可視波長帯(380[nm]〜720[nm])の範囲で1[nm]毎に積算して和を算出した積分値である。以後、このデータをWhite_r_refと表記する。   The sixth reference data is obtained by integrating the product of the R reference spectral sensitivity characteristic L81 and the spectral sensitivity characteristic L21 of the light source 12 every 1 [nm] in the visible wavelength range (380 [nm] to 720 [nm]). This is the integrated value obtained by calculating the sum. Hereinafter, this data is expressed as White_r_ref.

第7のリファレンスデータは、Gリファレンス分光感度特性L82と光源12の分光感度特性L21との積を可視波長帯(380[nm]〜720[nm])の範囲で1[nm]毎に積算して和を算出した積分値である。以後、このデータをWhite_g_refと表記する。   The seventh reference data is obtained by integrating the product of the G reference spectral sensitivity characteristic L82 and the spectral sensitivity characteristic L21 of the light source 12 every 1 [nm] in the visible wavelength range (380 [nm] to 720 [nm]). This is the integrated value obtained by calculating the sum. Hereinafter, this data is expressed as White_g_ref.

第8のリファレンスデータは、Rリファレンス分光感度特性L81と光源12の分光感度特性L21とリファレンスIRカットフィルタの分光感度特性L41を可視波長帯(380[nm]〜720[nm])の範囲で1[nm]毎に積算し、それらの和を算出した積分値である。以後、このデータをWhite_ir_r_refと表記する。   The eighth reference data includes an R reference spectral sensitivity characteristic L81, a spectral sensitivity characteristic L21 of the light source 12, and a spectral sensitivity characteristic L41 of the reference IR cut filter in the visible wavelength range (380 [nm] to 720 [nm]). It is an integrated value obtained by integrating every [nm] and calculating the sum thereof. Hereinafter, this data is expressed as White_ir_r_ref.

第9のリファレンスデータは、Gリファレンス分光感度特性L82と光源12の分光感度特性L21とリファレンスIRカットフィルタの分光感度特性L41を可視波長帯(380[nm]から720[nm])の範囲で1[nm]毎に積算し、それらの和を算出した積分値である。以後、このデータをWhite_ir_g_refと表記する。   The ninth reference data includes a G reference spectral sensitivity characteristic L82, a spectral sensitivity characteristic L21 of the light source 12, and a spectral sensitivity characteristic L41 of the reference IR cut filter in the visible wavelength range (380 [nm] to 720 [nm]). It is an integrated value obtained by integrating every [nm] and calculating the sum thereof. Hereinafter, this data is expressed as White_ir_g_ref.

なお、色調整装置用係数算出演算においては用いられないが、色調整装置10を用いてデジタルカメラの色調整を行うためには、図8のL83に示すCCD素子の短波長帯、即ちB成分のリファレンス分光感度特性B_ccd_ref_xと、Bリファレンス分光感度特性L83と光源12の分光感度特性L21の積を可視波長帯(380[nm]〜720[nm])の範囲で1[nm]毎に積算し、それらの和を算出した積分値White_b_refもリファレンスデータとして記憶させておく必要がある。   Although not used in the color adjustment device coefficient calculation calculation, in order to perform color adjustment of a digital camera using the color adjustment device 10, the short wavelength band of the CCD element shown in L83 in FIG. The product of the reference spectral sensitivity characteristic B_ccd_ref_x, the B reference spectral sensitivity characteristic L83 and the spectral sensitivity characteristic L21 of the light source 12 is integrated every 1 [nm] in the visible wavelength band (380 [nm] to 720 [nm]). The integrated value White_b_ref obtained by calculating the sum thereof must also be stored as reference data.

図9は、色調整装置用係数算出演算の処理について示すフローチャートである。
図9においては、まず図6のステップS3において設備IRカットフィルタ15を介さずに得られた白レベルより、そのR感度係数k_R_getを、
k_R_get=White_r_get/White_g_get (式2)
から求める(ステップS11)。
FIG. 9 is a flowchart showing the processing for calculating the color adjusting device coefficient.
In FIG. 9, first, the R sensitivity coefficient k_R_get is obtained from the white level obtained without passing through the equipment IR cut filter 15 in step S3 of FIG.
k_R_get = White_r_get / White_g_get (Formula 2)
(Step S11).

次に、図6のステップS3及びステップS5において得られた白レベルより、設備IRカットフィルタ15を介在させる前後で得られる白レベルの変化量を、G成分IRカット係数k_ir_g_getとして、
k_ir_g_get=White_ir_g_get/White_g_get (式3)
から求める(ステップS12)。次に、上記リファレンスデータWhite_ir_g_ref及びWhite_g_refより、リファレンスIRカットフィルタのG成分IRカット係数k_ir_g_refを、
k_ir_g_ref=White_ir_g_ref/White_g_ref (式4)
から求める(ステップS13)。次に、ステップS12で得られたk_ir_g_get及びステップS13で得られたk_ir_g_refより、IRカットフィルタ補正係数k_adj_irを、
k_adj_ir=k_ir_g_get/k_ir_g_ref (式5)
から求める(ステップS14)。
Next, from the white level obtained in step S3 and step S5 in FIG. 6, the change amount of the white level obtained before and after the installation of the equipment IR cut filter 15 is set as a G component IR cut coefficient k_ir_g_get.
k_ir_g_get = White_ir_g_get / White_g_get (Formula 3)
(Step S12). Next, from the reference data White_ir_g_ref and White_g_ref, the G component IR cut coefficient k_ir_g_ref of the reference IR cut filter is
k_ir_g_ref = White_ir_g_ref / White_g_ref (Formula 4)
(Step S13). Next, from k_ir_g_get obtained in step S12 and k_ir_g_ref obtained in step S13, an IR cut filter correction coefficient k_adj_ir is obtained as follows:
k_adj_ir = k_ir_g_get / k_ir_g_ref (Formula 5)
(Step S14).

次に、デジタルカメラ14による撮影によって得られた白レベルから、デジタルカメラ14のR成分の分光感度特性R_cam_cal1_x及びG成分の分光感度特性G_cam_cal1_xを算出する(ステップS15)。   Next, the spectral sensitivity characteristic R_cam_cal1_x of the R component and the spectral sensitivity characteristic G_cam_cal1_x of the G component of the digital camera 14 are calculated from the white level obtained by photographing with the digital camera 14 (step S15).

このために、まず図6のステップS3で取得された白レベルより、RのGに対する相対感度係数kRを、
kR=(White_r_get/White_g_get)/(White_r_ref/White_g_ref) (式6)
から求める。
For this purpose, first, from the white level acquired in step S3 of FIG.
kR = (White_r_get / White_g_get) / (White_r_ref / White_g_ref) (Formula 6)
Ask from.

次に、R分光第1検出データR_ccd_est1_x、G分光第1検出データG_ccd_est1_xをそれぞれ、
R_ccd_est1_x=R_ccd_ref_x×kR(380≦x≦720)
G_ccd_est1_x=G_ccd_ref_x×1(380≦x≦720) (式7)
から求める。更に、R_ccd_est1_xを380≦x≦720の範囲で積算した値sR_ccd_est1を、
sR_ccd_est1=R_ccd_est1_380+ R_ccd_est1_381+ … +R_ccd_est1_720 (式8)
のようにして求める。
Next, R spectrum first detection data R_ccd_est1_x and G spectrum first detection data G_ccd_est1_x are respectively obtained.
R_ccd_est1_x = R_ccd_ref_x × kR (380 ≦ x ≦ 720)
G_ccd_est1_x = G_ccd_ref_x × 1 (380 ≦ x ≦ 720) (Formula 7)
Ask from. Furthermore, a value sR_ccd_est1 obtained by integrating R_ccd_est1_x in the range of 380 ≦ x ≦ 720 is obtained.
sR_ccd_est1 = R_ccd_est1_380 + R_ccd_est1_381 +… + R_ccd_est1_720 (Formula 8)
It asks like this.

ここで、R成分の分光感度特性における、デジタルカメラ14内部のIRカットフィルタ31の分光感度特性の影響を補正するようにする。このために、図6のステップS5で取得された白レベルより、設備IRカットフィルタ15を介した場合のRのGに対する相対感度係数kIRRを、
kIRR=(White_ir_r_get/White_ir_g_get)/(White_ir_r_ref/White_ir_g_ref) (式9)
から求める。
Here, the influence of the spectral sensitivity characteristic of the IR cut filter 31 inside the digital camera 14 on the spectral sensitivity characteristic of the R component is corrected. For this purpose, the relative sensitivity coefficient kIRR of R with respect to G through the equipment IR cut filter 15 is determined from the white level acquired in step S5 of FIG.
kIRR = (White_ir_r_get / White_ir_g_get) / (White_ir_r_ref / White_ir_g_ref) (Formula 9)
Ask from.

次に、設備IRカットフィルタ15を介した場合の相対分光感度特性R_IR_ccd_est_xを、
R_IR_ccd_est_x=R_IR_ccd_ref_x×kIRR(380≦x≦720) (式10)
から求める。
Next, the relative spectral sensitivity characteristic R_IR_ccd_est_x through the equipment IR cut filter 15 is
R_IR_ccd_est_x = R_IR_ccd_ref_x × kIRR (380 ≦ x ≦ 720) (Equation 10)
Ask from.

次に、赤外光のカット波長620[nm]における分光感度に注目して、実際のR分光相対感度係数kR_hを、
kR_h=R_IR_ccd_est_620/R_ccd_ref_620 (式11)
から求める。このR分光相対感度係数kR_hに基づいて、R分光第2検出データR_ccd_est2_xを、
R_ccd_est2_x=R_ccd_ref_x(380≦x≦540)
R_ccd_est2_x=R_ccd_ref_x×kR_h(541≦x≦720) (式12)
から求める。このR分光第2検出データR_ccd_est2_xを、図13の特性L85に示す。次に、こうして求めたR分光第2検出データから、その積算値sR_ccd_est2を、
sR_ccd_est2=R_ccd_est2_380+ R_ccd_est2_381+ … + R_ccd_est2_720 (式13)
のようにして求める。
Next, paying attention to the spectral sensitivity at the cut wavelength 620 [nm] of infrared light, the actual R spectral relative sensitivity coefficient kR_h is
kR_h = R_IR_ccd_est_620 / R_ccd_ref_620 (Formula 11)
Ask from. Based on the R spectral relative sensitivity coefficient kR_h, the R spectral second detection data R_ccd_est2_x is
R_ccd_est2_x = R_ccd_ref_x (380 ≦ x ≦ 540)
R_ccd_est2_x = R_ccd_ref_x × kR_h (541 ≦ x ≦ 720) (Formula 12)
Ask from. The R spectral second detection data R_ccd_est2_x is shown in a characteristic L85 in FIG. Next, the integrated value sR_ccd_est2 is calculated from the R spectrum second detection data thus obtained.
sR_ccd_est2 = R_ccd_est2_380 + R_ccd_est2_381 +… + R_ccd_est2_720 (Formula 13)
It asks like this.

以上求めたような値を用いて図10〜図12の手順に従ってR成分及びG成分の分光感度特性を算出する。   Using the values obtained as described above, the spectral sensitivity characteristics of the R component and the G component are calculated according to the procedure of FIGS.

まず、CPU22は、R分光第2検出データの積算値sR_ccd_est2とR分光第1検出データの積算値sR_ccd_est1との差分dR= sR_ccd_est2-sR_ccd_est1を求める(ステップS21)。次に、ステップS21で求めた差分dRの正負を判定する(ステップS22)。ステップS22の判定において、dRが正の場合にはステップ23に進み、負の場合にはステップS33に進む。   First, the CPU 22 obtains a difference dR = sR_ccd_est2-sR_ccd_est1 between the integrated value sR_ccd_est2 of the R spectral second detection data and the integrated value sR_ccd_est1 of the R spectral first detection data (step S21). Next, it is determined whether the difference dR obtained in step S21 is positive or negative (step S22). If it is determined in step S22 that dR is positive, the process proceeds to step 23. If negative, the process proceeds to step S33.

ステップS22の判定において、差分dRが正の場合には、R分光移動量算出用積算値diffにR_ccd_est2_xの621[nm]の分光感度R_ccd_est2_621を代入して初期化を行う(ステップS23)。次に、図示しないカウンタのカウント値nに0を代入して初期化を行う(ステップS24)。   If the difference dR is positive in the determination in step S22, initialization is performed by substituting the R_ccd_est2_x 621 [nm] spectral sensitivity R_ccd_est2_621 for the R spectral movement amount calculation integrated value diff (step S23). Next, initialization is performed by substituting 0 for the count value n of a counter (not shown) (step S24).

次に、上記のように初期化されたR分光移動量算出用積算値diffと差分dRとを比較して、diff>dRであるか否かを判定する(ステップS25)。ステップS25の判定において、diff≦dRである場合には、diffにR_ccd_est2_(622+n)の値を加算する(ステップS26)。初回は、n=0なのでR_ccd_est2_622の値を加算する。続いてnをインクリメントして(ステップS27)、ステップS25に戻る。即ち、ステップS25の判定において、diff>dRとなるまで、R_ccd_est2_xの622[nm]以後の値を1[nm]刻みで加えながら、ステップS25〜ステップS27の動作を繰り返す。   Next, the R spectral movement amount calculation integrated value diff initialized as described above is compared with the difference dR to determine whether or not diff> dR is satisfied (step S25). If it is determined in step S25 that diff ≦ dR, the value of R_ccd_est2_ (622 + n) is added to diff (step S26). Since n = 0 at the first time, the value of R_ccd_est2_622 is added. Subsequently, n is incremented (step S27), and the process returns to step S25. That is, in the determination of step S25, the operation from step S25 to step S27 is repeated while adding the value after 622 [nm] of R_ccd_est2_x in increments of 1 [nm] until diff> dR.

ステップS25の判定において、diff>dRである場合には、ステップS28に進み、図13の特性L87で示されるR分光第3検出データR_ccd_est3_xを求める(ステップS28)。このR_ccd_est3_xは、621[nm]からn[nm]だけ長波長側にシフトさせたR分光第2検出データR_ccd_est2_(x+n)の621≦x≦700の区間の特性である。また、701≦x≦720の範囲内では、R_ccd_est3_xを0にクリップする(ステップS29)。   If it is determined in step S25 that diff> dR, the process proceeds to step S28, and R spectral third detection data R_ccd_est3_x indicated by the characteristic L87 in FIG. 13 is obtained (step S28). This R_ccd_est3_x is the characteristic of the section of 621 ≦ x ≦ 700 of the R spectral second detection data R_ccd_est2_ (x + n) shifted from 621 [nm] to the long wavelength side by n [nm]. Further, R_ccd_est3_x is clipped to 0 within the range of 701 ≦ x ≦ 720 (step S29).

次に、カウント値nが所定値Max_shift以下であるか否かを判定することにより、nの値の正当性を確認する(ステップS30)。ここで、Max_shiftは例えば20であるとする。ステップS30の判定において、nがMax_shiftを超えているならば、分光特性の算出に誤りがあるとしてあるとして、その旨を出力し、分光算出演算を終了する。   Next, the validity of the value of n is confirmed by determining whether or not the count value n is less than or equal to the predetermined value Max_shift (step S30). Here, it is assumed that Max_shift is 20, for example. If n exceeds Max_shift in the determination in step S30, it is determined that there is an error in the calculation of the spectral characteristic, and that is output, and the spectral calculation calculation is terminated.

一方、ステップS30の判定において、nがMax_shift以下であるならば、R分光移動量shiftにnを代入する(ステップS31)。続いて、図13に示す点P82のx座標a及びy座標b、図13に示す点P83のx座標c及びy座標dをそれぞれ、
a=640-shift
b=R_ccd_est3_640
c=620
d=R_ccd_est3_620 (式14)
の式から求める(ステップS32)。
On the other hand, if it is determined in step S30 that n is equal to or smaller than Max_shift, n is substituted into the R spectral shift amount shift (step S31). Subsequently, the x coordinate a and the y coordinate b of the point P82 shown in FIG. 13 and the x coordinate c and the y coordinate d of the point P83 shown in FIG.
a = 640-shift
b = R_ccd_est3_640
c = 620
d = R_ccd_est3_620 (Formula 14)
(Step S32).

ここで、図13の点P82(シフト後の特徴点)は、R_ccd_est3_xの波長640[nm]における分光感度を示す点P81(シフト前の特徴点)をR分光移動量shiftだけ短波長側に横シフトさせた点である。また、図13の点P83は、R_ccd_est3_xの波長620[nm]における分光感度を示す点である。なお、波長640[nm]は図8の特性L81に示すRリファレンス分光感度特性の変曲点における波長であり、また、波長620[nm]は一般的なIRカットフィルタのIRカット波長である。   Here, a point P82 (characteristic point after the shift) in FIG. 13 is a point P81 (characteristic point before the shift) indicating the spectral sensitivity at the wavelength 640 [nm] of R_ccd_est3_x laterally shifted by the R spectral movement amount shift to the short wavelength side. This is the shifted point. A point P83 in FIG. 13 is a point indicating the spectral sensitivity of R_ccd_est3_x at a wavelength of 620 [nm]. The wavelength 640 [nm] is the wavelength at the inflection point of the R reference spectral sensitivity characteristic shown in the characteristic L81 of FIG. 8, and the wavelength 620 [nm] is the IR cut wavelength of a general IR cut filter.

また、ステップS22の判定において、dRが負の場合には、diffにR_ccd_est2_xの波長621[nm]における分光感度R_ccd_est_621に−1をかけた値を代入して初期化する(ステップS33)。nはステップS24と同様に0で初期化する(ステップS34)。   In the determination of step S22, if dR is negative, initialization is performed by substituting a value obtained by multiplying the spectral sensitivity R_ccd_est_621 at the wavelength 621 [nm] of R_ccd_est2_x by −1 in diff (step S33). n is initialized to 0 as in step S24 (step S34).

次に、ステップS33の如く初期化されたR分光移動量算出用積算値diffと差分dRとを比較して、diff<dRであるか否かを判定する(ステップS35)。ステップS35の判定において、diff≧dRである場合には、diffからR_ccd_est2_(622+n)の値を減算する(ステップS36)。初回は、n=0なのでR_ccd_est2_622の値を減算する。続いてnをインクリメントして(ステップS37)、ステップS35に戻る。即ち、ステップS35の判定において、diff<dRとなるまで、ステップS35〜ステップS37の動作を繰り返す。   Next, the R spectral movement amount calculation integrated value diff initialized as in step S33 is compared with the difference dR to determine whether or not diff <dR (step S35). If diff ≧ dR in the determination in step S35, the value of R_ccd_est2_ (622 + n) is subtracted from diff (step S36). Since n = 0 at the first time, the value of R_ccd_est2_622 is subtracted. Subsequently, n is incremented (step S37), and the process returns to step S35. That is, in the determination in step S35, the operations in steps S35 to S37 are repeated until diff <dR.

ステップS35の判定において、diff<dRである場合には、ステップS38に進む。そして、nが0であるか否かを判定する(ステップS38)。ステップS38の判定において、nが0の場合には、R_ccd_est3_xに、R_ccd_est2_xを621≦x≦700の範囲で代入する(ステップS39)。その後、ステップS42に進む。   If it is determined in step S35 that diff <dR, the process proceeds to step S38. Then, it is determined whether n is 0 (step S38). If it is determined in step S38 that n is 0, R_ccd_est2_x is substituted into R_ccd_est3_x within a range of 621 ≦ x ≦ 700 (step S39). Thereafter, the process proceeds to step S42.

一方、ステップS38の判定において、nが0でない場合には、まずnに1を加えた後(ステップS40)、R_ccd_est3_xに、621[nm]からn[nm]だけ短波長側にシフトさせたR分光第2検出データR_ccd_est2_(x-n)を621≦x≦700の範囲で代入する(ステップS41)。次に、R_ccd_est3_xを701≦x≦720の範囲で0にクリップする(ステップS42)。   On the other hand, if it is determined in step S38 that n is not 0, first, 1 is added to n (step S40), and then R_ccd_est3_x is shifted from 621 [nm] to the short wavelength side by n [nm]. Spectral second detection data R_ccd_est2_ (xn) is substituted in a range of 621 ≦ x ≦ 700 (step S41). Next, R_ccd_est3_x is clipped to 0 in the range of 701 ≦ x ≦ 720 (step S42).

次に、カウント値nが所定値Max_shift以下であるか否かを判定することにより、nの値の正当性を確認する(ステップS43)。ステップS43の判定において、nがMax_shiftを超えているならば、分光の予測に誤りがあるとしてあるとして、その旨を出力し、分光算出演算を終了する。   Next, the validity of the value of n is confirmed by determining whether or not the count value n is less than or equal to the predetermined value Max_shift (step S43). If n exceeds Max_shift in the determination in step S43, it is determined that there is an error in spectral prediction, and that is output, and the spectral calculation calculation ends.

一方、ステップS43の判定において、nがMax_shift以下であるならば、R分光移動量shiftにnを代入する(ステップS44)。続いて、上記a、b、c、dをそれぞれ、
a=640+shift
b=R_ccd_est3_640
c=620
d=R_ccd_est3_620 (式15)
の式から求める(ステップS45)。この場合の点P82は、特性L86として示すR_ccd_est3_xの波長640[nm]における分光感度を示す点P81をR分光移動量shiftだけ長波長側に横シフトさせた点になる。
On the other hand, if it is determined in step S43 that n is equal to or smaller than Max_shift, n is substituted into the R spectral shift amount shift (step S44). Subsequently, the above a, b, c, d are respectively
a = 640 + shift
b = R_ccd_est3_640
c = 620
d = R_ccd_est3_620 (Formula 15)
(Step S45). The point P82 in this case is a point obtained by laterally shifting the point P81 indicating the spectral sensitivity at the wavelength 640 [nm] of R_ccd_est3_x indicated as the characteristic L86 to the long wavelength side by the R spectral movement amount shift.

ステップS32或いはステップS45においてa、b、c、dが得られた後、得られたa、b、c、dを用いて図13に示す点P82と点P83との間を滑らかに補間する。ここで、本一実施形態では図13に示す直線801により直線補間を行っているが、曲線補間するようにしても良い。   After a, b, c, and d are obtained in step S32 or step S45, smooth interpolation is performed between point P82 and point P83 shown in FIG. 13 using the obtained a, b, c, and d. Here, in this embodiment, linear interpolation is performed using the straight line 801 shown in FIG. 13, but curved interpolation may be performed.

次に、直線801を含むR分光第4検出データR_ccd_est4_xを求めるために、まず、上記a、b、c、dから
R_ccd_est4_x={(b-d)/(a-c)}×(x-c)+d(621≦x≦a-1) (式16)
を計算する(ステップS46)。この区間が直線801の部分となる。次に、点P82における波長から波長720[nm]までのR_ccd_est4_xをR_ccd_est3_xとする(ステップS47)。
Next, in order to obtain the R spectral fourth detection data R_ccd_est4_x including the straight line 801, first, from the above a, b, c, d
R_ccd_est4_x = {(bd) / (ac)} × (xc) + d (621 ≦ x ≦ a-1) (Formula 16)
Is calculated (step S46). This section is a portion of the straight line 801. Next, R_ccd_est4_x from the wavelength at the point P82 to the wavelength 720 [nm] is set as R_ccd_est3_x (step S47).

以後は、ステップS46及びステップS47のようにして求められたR分光第4検出データに基づいて、R分光感度特性R_cam_cal1_x及びG分光感度特性G_cam_cal1_xをそれぞれ、
R_cam_cal1_x=R_ccd_est2_x(380≦x≦620)+R_ccd_est4_x(621≦x≦720)
G_cam_cal1_x=G_ccd_est1_x(380≦x≦620) (式17)
から求める。即ち、R分光感度特性に関しては、波長380[nm]から620[nm]までの分光感度特性については2度目の検出結果から得られたR分光第2検出データR_ccd_est2_xをそのまま用い、621[nm]から720[nm]までの分光感度特性についてはR分光第2検出データR_ccd_est2_xから求められたR分光第4検出データR_ccd_est4_xを用いるようにする。これにより、デジタルカメラ14内部のIRカットフィルタ31の分光感度特性の影響を考慮した適切なR分光感度特性を求めることができる。なお、G分光感度特性についてはデジタルカメラ14内部のIRカットフィルタ31による影響が少ないので、設備IRカットフィルタ15を介さずに得られた分光第1検出データをそのまま用いることができる。
Thereafter, the R spectral sensitivity characteristic R_cam_cal1_x and the G spectral sensitivity characteristic G_cam_cal1_x are respectively determined based on the R spectral fourth detection data obtained in steps S46 and S47.
R_cam_cal1_x = R_ccd_est2_x (380 ≦ x ≦ 620) + R_ccd_est4_x (621 ≦ x ≦ 720)
G_cam_cal1_x = G_ccd_est1_x (380 ≦ x ≦ 620) (Equation 17)
Ask from. That is, regarding the R spectral sensitivity characteristic, the R spectral second detection data R_ccd_est2_x obtained from the second detection result is used as it is for the spectral sensitivity characteristic from the wavelength 380 [nm] to 620 [nm], and 621 [nm]. To 720 [nm], the R spectral fourth detection data R_ccd_est4_x obtained from the R spectral second detection data R_ccd_est2_x is used. As a result, an appropriate R spectral sensitivity characteristic considering the influence of the spectral sensitivity characteristic of the IR cut filter 31 inside the digital camera 14 can be obtained. Since the G spectral sensitivity characteristic is less affected by the IR cut filter 31 inside the digital camera 14, the spectral first detection data obtained without using the equipment IR cut filter 15 can be used as it is.

このような手法により、R分光感度特性は図13のR分光第2検出データとR分光第4検出データとを加算した特性L87のようにして得られる。また、G分光感度特性はGリファレンス分光感度特性L82そのものである。なお、図13には、B分光感度特性L88も示している。このB分光感度特性L88はBリファレンス分光感度特性B_ccd_ref_xと、Bリファレンス分光感度特性L83と光源12の分光感度特性L21の積を可視波長帯の範囲で1[nm]毎に積算し、それらの和を算出した積分値White_b_refとを利用して求めることができる。   By such a method, the R spectral sensitivity characteristic is obtained as a characteristic L87 obtained by adding the R spectral second detection data and the R spectral fourth detection data in FIG. The G spectral sensitivity characteristic is the G reference spectral sensitivity characteristic L82 itself. FIG. 13 also shows the B spectral sensitivity characteristic L88. The B spectral sensitivity characteristic L88 is obtained by integrating the product of the B reference spectral sensitivity characteristic B_ccd_ref_x, the B reference spectral sensitivity characteristic L83, and the spectral sensitivity characteristic L21 of the light source 12 every 1 [nm] in the visible wavelength range. Can be obtained using the integrated value White_b_ref calculated.

ここで、再び図9の説明に戻る。図9のステップS15において、R成分の分光感度特性R_cam_cal1_x及びG成分の分光感度特性G_cam_cal1_xを算出した後、CPU22は、リファレンスIRカットフィルタの波長380[nm]〜720[nm]までの分光感度の積算値と設備IRカットフィルタ15の分光感度の積算値との差分dSUM_IR_objを、
SUM_IR_ref=IR_spct_ref_380+ … +IR_spct_ref_720
dSUM_IR_obj=(k_adj_ir-1)×SUM_IR_ref (式18)
から求める(ステップS16)。次に、特性パラメータとして設備IRカットフィルタ分光補正データ算出値IR_spct_obj_cal_x(380≦x≦720)を、
IR_spct_obj_cal_x=IR_spct_ref_x+{(IR_spct_ref_x/SUM_IR_ref)×dSUM_IR_obj}
(380≦x≦619)
IR_spct_obj_cal_x=IR_spct_ref_x (620≦x≦720) (式19)
から求める(ステップS17)。この設備IRカットフィルタ分光補正データ算出値の特性を、図4のL42に示す。
Here, it returns to description of FIG. 9 again. After calculating the R component spectral sensitivity characteristic R_cam_cal1_x and the G component spectral sensitivity characteristic G_cam_cal1_x in step S15 of FIG. The difference dSUM_IR_obj between the integrated value and the integrated value of the spectral sensitivity of the equipment IR cut filter 15 is
SUM_IR_ref = IR_spct_ref_380 +… + IR_spct_ref_720
dSUM_IR_obj = (k_adj_ir-1) × SUM_IR_ref (Formula 18)
(Step S16). Next, the equipment IR cut filter spectral correction data calculated value IR_spct_obj_cal_x (380 ≦ x ≦ 720) as a characteristic parameter,
IR_spct_obj_cal_x = IR_spct_ref_x + {(IR_spct_ref_x / SUM_IR_ref) × dSUM_IR_obj}
(380 ≦ x ≦ 619)
IR_spct_obj_cal_x = IR_spct_ref_x (620 ≦ x ≦ 720) (Formula 19)
(Step S17). A characteristic of the calculated value of the equipment IR cut filter spectral correction data is indicated by L42 in FIG.

次に、設備IRカットフィルタ15の特性パラメータ算出値を求める(ステップS18)。このために、まずステップS17で求めた設備IRカットフィルタ分光補正データ算出値を用いて、
R_spct_ir_obj_x=R_ccd_ref_x×IR_spct_obj_cal_x×HGVWR_spct_ref_x
G_spct_ir_obj_x=G_ccd_ref_x×IR_spct_obj_cal_x×HGVWR_spct_ref_x
(380≦x≦720) (式20)
より、設備IRカットフィルタ15の個体差による分光感度特性のばらつきを補正した状態におけるデジタルカメラ14のR分光感度特性及びG分光感度特性の積算値を求める。そして、これら求めた積算値の和を求めることにより、色調整装置10の特性パラメータ算出値(設備IRカットフィルタ15の分光感度ばらつきを補正した状態の白レベルのR成分及びG成分)White_ir_r_obj_cal及びWhite_ir_g_obj_calを、
White_ir_r_obj_cal=R_spct_ir_obj_380+R_spct_ir_obj_381+ … +R_spct_ir_obj_720
White_ir_g_obj_cal=G_spct_ir_obj_380+G_spct_ir_obj_381+ … +G_spct_ir_obj_720
(式21)
から求める。更に、(式21)のようにして求めた特性パラメータ算出値の係数k_White_ir_obj_calを、
k_White_ir_obj_cal=White_ir_r_obj_cal/White_ir_g_obj_cal (式22)
から求める。同時に、特性パラメータリファレンス係数k_White_ir_refを、
k_White_ir_ref=White_ir_r_ref/White_ir_g_ref (式23)
から求める。そして、(式22)及び(式23)のようにして求めた値から特性パラメータ算出値の係数の差分dk_White_ir_obj_calを、
dk_White_ir_obj_cal=ABS{(k_White_ir_obj_cal/k_White_ir_ref)-1} (式24)
から求める。ここで、(式24)のABSは括弧内の絶対値を計算することを示している。
Next, a characteristic parameter calculation value of the equipment IR cut filter 15 is obtained (step S18). For this purpose, first, using the equipment IR cut filter spectral correction data calculated value obtained in step S17,
R_spct_ir_obj_x = R_ccd_ref_x × IR_spct_obj_cal_x × HGVWR_spct_ref_x
G_spct_ir_obj_x = G_ccd_ref_x × IR_spct_obj_cal_x × HGVWR_spct_ref_x
(380 ≦ x ≦ 720) (Formula 20)
Thus, an integrated value of the R spectral sensitivity characteristic and the G spectral sensitivity characteristic of the digital camera 14 in a state in which the dispersion of the spectral sensitivity characteristic due to the individual difference of the equipment IR cut filter 15 is corrected is obtained. Then, by calculating the sum of these calculated integrated values, the characteristic parameter calculation values of the color adjustment device 10 (the white level R component and G component in a state where the spectral sensitivity variation of the equipment IR cut filter 15 is corrected) White_ir_r_obj_cal and White_ir_g_obj_cal The
White_ir_r_obj_cal = R_spct_ir_obj_380 + R_spct_ir_obj_381 +… + R_spct_ir_obj_720
White_ir_g_obj_cal = G_spct_ir_obj_380 + G_spct_ir_obj_381 +… + G_spct_ir_obj_720
(Formula 21)
Ask from. Further, the coefficient k_White_ir_obj_cal of the characteristic parameter calculated value obtained as in (Equation 21) is
k_White_ir_obj_cal = White_ir_r_obj_cal / White_ir_g_obj_cal (Formula 22)
Ask from. At the same time, the characteristic parameter reference coefficient k_White_ir_ref
k_White_ir_ref = White_ir_r_ref / White_ir_g_ref (Formula 23)
Ask from. Then, the difference dk_White_ir_obj_cal of the coefficient of the characteristic parameter calculation value from the values obtained as in (Expression 22) and (Expression 23) is
dk_White_ir_obj_cal = ABS {(k_White_ir_obj_cal / k_White_ir_ref) -1} (Formula 24)
Ask from. Here, ABS in (Equation 24) indicates that the absolute value in parentheses is calculated.

以後の演算は、設備IRカットフィルタ15の特性パラメータを適切に求めることができたか否かを検算によって確認するためのものである。このために、CPU22は、特性パラメータ算出値White_ir_r_obj_cal及びWhite_ir_g_obj_calを用いて、上記ステップS15の分光算出と同様の手法によりデジタルカメラ14のR分光感度特性R_cam_cal2_x及びG分光感度特性G_cam_cal2_xを算出する(ステップS19)。ただし、ここでは、White_ir_r_refとWhite_ir_g_refをそれぞれWhite_ir_r_obj_calとWhite_ir_g_obj_calに置き換えるようにして演算を行う。   The subsequent calculation is for confirming whether or not the characteristic parameter of the equipment IR cut filter 15 has been properly obtained by verification. For this purpose, the CPU 22 uses the characteristic parameter calculation values White_ir_r_obj_cal and White_ir_g_obj_cal to calculate the R spectral sensitivity characteristic R_cam_cal2_x and the G spectral sensitivity characteristic G_cam_cal2_x of the digital camera 14 by the same method as the spectral calculation in step S15 (step S19). ). However, here, the calculation is performed by replacing White_ir_r_ref and White_ir_g_ref with White_ir_r_obj_cal and White_ir_g_obj_cal, respectively.

ステップS19において分光感度特性を算出した後、白レベルの検算を行う(ステップS20)。この白レベル検算においては、ステップS19で求めたR分光感度特性R_cam_cal2_x及びG分光感度特性G_cam_cal2_xを用いて
R_spct_cal2_x=R_cam_cal_2_x×HGVWR_spct_ref_x(380≦x≦720)
G_spct_cal2_x=G_cam_cal_2_x×HGVWR_spct_ref_x(380≦x≦720) (式25)
のようにして、R分光感度特性及びG分光感度特性の積算を行う。そして、これら求めた積算値の波長成分毎の和を、
White_r_cal2=R_spct_cal2_380+R_spct_cal2_381+ … +R_spct_cal2_720
White_g_cal2=G_spct_cal2_380+G_spct_cal2_381+ … +G_spct_cal2_720 (式26)
のようにして求める。更に、(式26)のようにして求めた積算値から、R感度係数k_R_cal2を、
k_R_cal2=White_r_cal2/White_g_cal2 (式27)
から求める。次に、R感度係数k_R_cal2とR感度係数k_R_getとの差分dk_R_cal2を、
dk_R_cal2=ABS{(k_R_cal2/k_R_get)-1} (式28)
から求める。次に、CPU22は、差分dk_R_cal2が0.05未満であるか否かを判定する(ステップS21)。ステップS21の判定において、差分dk_R_cal2が0.05未満でない場合、即ちリファレンスデータを用いて求めたR感度係数と新たに算出された特性パラメータを用いて求めたR感度係数との差が大きい場合には、色調整装置用係数算出演算を終了する。この場合には、デジタルカメラ14が調整に不適切であった旨を通知する。なお、ステップS21の判定値0.05は、一例であり、変更可能である。
After calculating the spectral sensitivity characteristics in step S19, the white level is verified (step S20). In this white level verification, the R spectral sensitivity characteristic R_cam_cal2_x and the G spectral sensitivity characteristic G_cam_cal2_x obtained in step S19 are used.
R_spct_cal2_x = R_cam_cal_2_x × HGVWR_spct_ref_x (380 ≦ x ≦ 720)
G_spct_cal2_x = G_cam_cal_2_x × HGVWR_spct_ref_x (380 ≦ x ≦ 720) (Equation 25)
In this manner, the R spectral sensitivity characteristic and the G spectral sensitivity characteristic are integrated. Then, the sum of these calculated integrated values for each wavelength component is
White_r_cal2 = R_spct_cal2_380 + R_spct_cal2_381 +… + R_spct_cal2_720
White_g_cal2 = G_spct_cal2_380 + G_spct_cal2_381 +… + G_spct_cal2_720 (Formula 26)
It asks like this. Furthermore, the R sensitivity coefficient k_R_cal2 is calculated from the integrated value obtained as in (Equation 26).
k_R_cal2 = White_r_cal2 / White_g_cal2 (Formula 27)
Ask from. Next, the difference dk_R_cal2 between the R sensitivity coefficient k_R_cal2 and the R sensitivity coefficient k_R_get is set to
dk_R_cal2 = ABS {(k_R_cal2 / k_R_get) -1} (Formula 28)
Ask from. Next, the CPU 22 determines whether or not the difference dk_R_cal2 is less than 0.05 (step S21). In the determination of step S21, when the difference dk_R_cal2 is not less than 0.05, that is, when the difference between the R sensitivity coefficient obtained using the reference data and the R sensitivity coefficient obtained using the newly calculated characteristic parameter is large. Finishes the color adjustment device coefficient calculation calculation. In this case, the digital camera 14 is notified that it was inappropriate for adjustment. The determination value 0.05 in step S21 is an example and can be changed.

一方、ステップS21の判定において、差分dk_R_cal2が0.05未満である場合には、特性パラメータを適切に求めることができたとして、CPU22は、色調整装置用係数を、メモリ21内の所定のディレクトリに、例えばCSV(Comma-Separated Value)形式のファイルとして保存する。以後、このファイルのことを特性ファイルと称する。ここで、特性ファイルには、新たに算出された特性パラメータよりも適切な特性パラメータが既に保存されている可能性があるので、CPU22は、新たに算出された特性パラメータを保存するのに先立って、特性ファイルが既にメモリ21に保存されているか否かを判定する(ステップS22)。ステップS22の判定において、特性ファイルが存在している場合に、CPU22はステップS18で算出された特性パラメータ算出値の係数の差分dk_White_ir_obj_calと、特性ファイルに既に保存されている特性パラメータ算出値の係数の差分dk_White_ir_objとを比較して、dk_White_ir_obj_calがdk_White_ir_objよりも小さいか否かを判定する(ステップS23)。   On the other hand, if the difference dk_R_cal2 is less than 0.05 in the determination in step S21, the CPU 22 determines that the characteristic parameter has been appropriately obtained, and the CPU 22 determines the color adjustment device coefficient as a predetermined directory in the memory 21. For example, it is saved as a CSV (Comma-Separated Value) format file. Hereinafter, this file is referred to as a characteristic file. Here, since there is a possibility that a characteristic parameter that is more appropriate than the newly calculated characteristic parameter may already be stored in the characteristic file, the CPU 22 prior to storing the newly calculated characteristic parameter. Then, it is determined whether the characteristic file is already stored in the memory 21 (step S22). If it is determined in step S22 that the characteristic file exists, the CPU 22 calculates the difference dk_White_ir_obj_cal of the coefficient of the characteristic parameter calculation value calculated in step S18 and the coefficient of the characteristic parameter calculation value already stored in the characteristic file. The difference dk_White_ir_obj is compared to determine whether dk_White_ir_obj_cal is smaller than dk_White_ir_obj (step S23).

ステップS22の判定において特性ファイルが存在しない場合、又はステップS23の判定において、dk_White_ir_obj_calがdk_White_ir_objよりも小さい場合には、新たに算出された特性パラメータのほうが、より適切な特性パラメータであるとして、新たに算出された色調整装置用係数を特性ファイルに保存して(ステップS24)、図9の処理を終了する。ここで、ステップS24において、特性ファイルには、
White_ir_r_obj=White_ir_r_obj_cal
White_ir_g_obj=White_ir_g_obj_cal
dk_White_ir_obj=dk_White_ir_obj_cal
MC_cam_master=MC_cam
IR_spct_obj_x=IR_spct_obj_cal_x
を保存する。ここで、MC_cam_masterは、色調整装置10を調整するのに最適なデジタルカメラ(以下、マスターカメラと称する)の回路基板番号を示す特性パラメータである。なお、上記色調整装置用係数は、1つのファイルに保存するようにしても良いし、複数のファイルに分けて保存するようにしても良い。
If the characteristic file does not exist in the determination in step S22, or if dk_White_ir_obj_cal is smaller than dk_White_ir_obj in the determination in step S23, it is determined that the newly calculated characteristic parameter is a more appropriate characteristic parameter. The calculated color adjustment device coefficient is stored in a characteristic file (step S24), and the process of FIG. 9 is terminated. Here, in step S24, the characteristic file includes
White_ir_r_obj = White_ir_r_obj_cal
White_ir_g_obj = White_ir_g_obj_cal
dk_White_ir_obj = dk_White_ir_obj_cal
MC_cam_master = MC_cam
IR_spct_obj_x = IR_spct_obj_cal_x
Save. Here, MC_cam_master is a characteristic parameter indicating a circuit board number of a digital camera (hereinafter referred to as a master camera) that is optimal for adjusting the color adjusting device 10. The color adjusting device coefficients may be stored in one file, or may be stored in a plurality of files.

また、ステップS23の判定において、dk_White_ir_obj_calがdk_White_ir_obj以上の場合には、新たに算出された特性パラメータを特性ファイルに保存せずに図9の処理を終了する。   If it is determined in step S23 that dk_White_ir_obj_cal is greater than or equal to dk_White_ir_obj, the newly calculated characteristic parameter is not stored in the characteristic file, and the process in FIG. 9 is terminated.

以上説明したように、本一実施形態によれば、色調整装置毎の個体差を反映した特性パラメータを算出し、この特性パラメータを特性ファイルとして保存できるようにしている。これにより、実際にデジタルカメラを色調整する際に、色調整装置の構成部材の個体差によらない調整を行うことが可能である。   As described above, according to the present embodiment, the characteristic parameter reflecting the individual difference for each color adjustment apparatus is calculated, and the characteristic parameter can be saved as a characteristic file. Thereby, when the color of the digital camera is actually adjusted, it is possible to perform the adjustment not depending on the individual difference of the constituent members of the color adjusting device.

ここで、算出された特性パラメータを用いてデジタルカメラの色調整を行う際には、図9のステップS19の分光算出2の処理を行ってデジタルカメラの分光感度を算出する。ただし、ここでの分光算出の際には、R、Gの分光感度特性に加えてB分光感度特性を求める必要がある。この場合には、設備IRカットフィルタ15を介在させる前に得られた画像データの白レベルのB成分White_b_getより、BのGに対する相対感度係数kBを、
kB=(White_b_get/White_g_get)/(White_b_ref/White_g_ref) (式29)
から求める。そして、この相対感度係数kBから、B分光感度特性(B分光第1検出データ)B_CCD_est1_xを、
B_CCD_est1_x=B_ccd_ref_x×kB(380≦x≦720) (式30)
から求める。ここで、B分光感度特性もデジタルカメラ14内部のIRカットフィルタ31による影響が少ないので、設備IRカットフィルタ15を介さずに得られた分光第1検出データをそのまま用いることができる。
Here, when the color adjustment of the digital camera is performed using the calculated characteristic parameter, the spectral sensitivity 2 of the digital camera is calculated by performing the spectral calculation 2 process of step S19 in FIG. However, in the spectral calculation here, it is necessary to obtain the B spectral sensitivity characteristic in addition to the R and G spectral sensitivity characteristics. In this case, from the B component White_b_get of the white level of the image data obtained before the equipment IR cut filter 15 is interposed, the relative sensitivity coefficient kB of B to G is
kB = (White_b_get / White_g_get) / (White_b_ref / White_g_ref) (Formula 29)
Ask from. And from this relative sensitivity coefficient kB, B spectral sensitivity characteristic (B spectral first detection data) B_CCD_est1_x
B_CCD_est1_x = B_ccd_ref_x × kB (380 ≦ x ≦ 720) (Equation 30)
Ask from. Here, since the B spectral sensitivity characteristic is also less influenced by the IR cut filter 31 inside the digital camera 14, the first spectral detection data obtained without using the equipment IR cut filter 15 can be used as it is.

以上のようにしてRGB各色成分の分光感度特性を算出した後、これら分光感度特性を用いて色調整を行うことができる。この色調整の手法については、例えば特開2001−320716号公報などに開示されている周知の手法を用いればよいので、ここでは説明を省略する。   After calculating the spectral sensitivity characteristics of the RGB color components as described above, color adjustment can be performed using these spectral sensitivity characteristics. As the color adjustment method, a known method disclosed in, for example, Japanese Patent Application Laid-Open No. 2001-320716 may be used, and the description thereof is omitted here.

ここで、色調整時においては特性パラメータを用いずに色調整装置ごとに設定されたパラメータを用いるようにしても良い。この場合には、色調整装置毎に特性パラメータを用いて色調整を行うか否かを設定するためのフラグを用意しておくようにする。特性パラメータを用いて色調整を行うように設定されている場合には、特性パラメータWhite_ir_r_objとWhite_ir_g_objを用いて分光算出演算を行う。一方、特性パラメータを用いて色調整を行うように設定されていない場合にはリファレンスデータWhite_ir_r_refとWhite_ir_g_refを用いて分光算出演算を行う。   Here, at the time of color adjustment, a parameter set for each color adjustment apparatus may be used without using the characteristic parameter. In this case, a flag for setting whether or not to perform color adjustment using a characteristic parameter is prepared for each color adjustment device. When the color adjustment is performed using the characteristic parameter, the spectral calculation calculation is performed using the characteristic parameters White_ir_r_obj and White_ir_g_obj. On the other hand, when it is not set to perform the color adjustment using the characteristic parameter, the spectral calculation calculation is performed using the reference data White_ir_r_ref and White_ir_g_ref.

また、複数台のデジタルカメラを用いて色調整装置用係数算出を行った場合には、その中から最終的なマスターカメラを選定することもできる。図14はマスターカメラを選定するための処理について示すフローチャートである。   In addition, when the color adjustment device coefficient is calculated using a plurality of digital cameras, a final master camera can be selected from them. FIG. 14 is a flowchart showing processing for selecting a master camera.

図14において、CPU22は、まず選定対象のデジタルカメラの回路基板番号MC_camを取得する(ステップS51)。次に、CPU22は、メモリ21内の所定ディレクトリに特性ファイルが保存されているか否かを判定する(ステップS52)。ステップS52の判定において、特性ファイルが保存されていない場合には、特性ファイルを読み込むことができなかったとして、その旨を特性ファイル読込みエラーとして出力し、図14の処理を終了する。   In FIG. 14, the CPU 22 first acquires the circuit board number MC_cam of the digital camera to be selected (step S51). Next, the CPU 22 determines whether or not the characteristic file is stored in a predetermined directory in the memory 21 (step S52). If it is determined in step S52 that the characteristic file has not been saved, it is determined that the characteristic file could not be read, and this is output as a characteristic file reading error, and the process in FIG. 14 ends.

一方、ステップS52の判定において、特性ファイルが保存されている場合には、特性ファイルの読込みを行う(ステップS53)。そして、CPU22は、特性ファイルの中のMC_cam_masterを参照して、MC_cam_masterに設定されている回路基板番号がステップS51で読み出したMC_camであるか否かを判定する(ステップS54)。ステップS54の判定において、Mc_cam_master=Mc_camであれば、ステップS51で選定されたデジタルカメラをマスターカメラに選定する(ステップS55)。一方、ステップS54の判定において、Mc_cam_master=Mc_camでなければ、ステップS51で選定されたデジタルカメラはマスターカメラではないので(ステップS56)、そのまま図14の処理を終了する。   On the other hand, if it is determined in step S52 that the characteristic file is stored, the characteristic file is read (step S53). Then, the CPU 22 refers to MC_cam_master in the characteristic file to determine whether or not the circuit board number set in MC_cam_master is the MC_cam read in step S51 (step S54). If it is determined in step S54 that Mc_cam_master = Mc_cam, the digital camera selected in step S51 is selected as the master camera (step S55). On the other hand, if it is determined in step S54 that Mc_cam_master = Mc_cam is not satisfied, the digital camera selected in step S51 is not the master camera (step S56), and the processing in FIG.

図14の処理は、特性ファイルに保存されている回路基板番号のデジタルカメラをマスターカメラに選定する処理である。即ち、特性ファイルには、最適な特性パラメータを作成したデジタルカメラの回路基板番号が保存されているので、特性ファイルを参照することにより、多数のデジタルカメラの中からマスターカメラを選定することが可能である。マスターカメラを選定しておくことにより、このマスターカメラを用いて色調整装置用係数を算出するようにすれば、その後、再び調整を行う場合などでも最適な色調整装置用係数を求めることができる。   The process of FIG. 14 is a process of selecting the digital camera having the circuit board number stored in the characteristic file as the master camera. That is, the characteristic file stores the circuit board number of the digital camera that created the optimal characteristic parameters, so it is possible to select a master camera from a large number of digital cameras by referring to the characteristic file. It is. By selecting a master camera and calculating the color adjustment device coefficient using this master camera, the optimum color adjustment device coefficient can be obtained even when adjustment is performed again thereafter. .

以上実施形態に基づいて本発明を説明したが、本発明は上記した実施形態に限定されるものではなく、本発明の要旨の範囲内で種々の変形や応用が可能なことは勿論である。   Although the present invention has been described based on the above embodiments, the present invention is not limited to the above-described embodiments, and various modifications and applications are naturally possible within the scope of the gist of the present invention.

さらに、上記した実施形態には種々の段階の発明が含まれており、開示される複数の構成要件の適当な組合せにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成も発明として抽出され得る。   Further, the above-described embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be extracted as an invention.

本発明の一実施形態に係る色調整装置全体の構成を示す図である。It is a figure which shows the structure of the whole color adjustment apparatus which concerns on one Embodiment of this invention. A光源の分光感度特性を示す図である。It is a figure which shows the spectral sensitivity characteristic of A light source. 設備IRカットフィルタ、取り付け部材、及びフィルタ移動装置の正面図である。It is a front view of an equipment IR cut filter, a mounting member, and a filter moving device. IRカットフィルタの分光感度特性を示す図である。It is a figure which shows the spectral sensitivity characteristic of IR cut filter. デジタルカメラの一般的な撮像系部材の構成を示す図である。It is a figure which shows the structure of the general imaging system member of a digital camera. 色調整装置用係数算出の処理の流れについて示すフローチャートである。It is a flowchart shown about the flow of the process of the coefficient calculation for color adjustment apparatuses. 画像中の色成分を示す図である。It is a figure which shows the color component in an image. Rリファレンス分光感度特性、Gリファレンス分光感度特性、Bリファレンス分光感度特性について示す図である。It is a figure shown about R reference spectral sensitivity characteristic, G reference spectral sensitivity characteristic, and B reference spectral sensitivity characteristic. 色調整装置用係数算出演算の処理の流れについて示すフローチャートである。It is a flowchart shown about the flow of a process of the coefficient calculation calculation for color adjustment apparatuses. 分光算出の処理の流れについて示すフローチャートの第1図である。It is FIG. 1 of the flowchart shown about the flow of a process of spectral calculation. 分光算出の処理の流れについて示すフローチャートの第2図である。It is FIG. 2 of the flowchart shown about the flow of a process of spectral calculation. 分光算出の処理の流れについて示すフローチャートの第3図である。It is FIG. 3 of the flowchart shown about the flow of a process of spectral calculation. 分光算出によって算出される分光感度特性について示す図である。It is a figure shown about the spectral sensitivity characteristic calculated by spectral calculation. マスターカメラ選定の処理の流れについて示すフローチャートである。It is a flowchart shown about the flow of a process of master camera selection.

符号の説明Explanation of symbols

10…色調整装置、11…遮光部材、12…光源、13…ビュアー、14…デジタルカメラ、15…設備IRカットフィルタ、16…取り付け部材、17…フィルタ移動装置、18,19…接続ケーブル、20…パーソナルコンピュータ、21…メモリ、21a…調整プログラム記憶部、21b…リファレンスデータ記憶部、22…CPU、30…撮像レンズ群、31…IRカットフィルタ、32…CCD部、32a…マイクロレンズアレイ、32b…カラーフィルタ、32c…CCD素子   DESCRIPTION OF SYMBOLS 10 ... Color adjusting device, 11 ... Shading member, 12 ... Light source, 13 ... Viewer, 14 ... Digital camera, 15 ... Equipment IR cut filter, 16 ... Mounting member, 17 ... Filter moving device, 18, 19 ... Connection cable, 20 ... Personal computer, 21 ... Memory, 21a ... Adjustment program storage unit, 21b ... Reference data storage unit, 22 ... CPU, 30 ... Imaging lens group, 31 ... IR cut filter, 32 ... CCD unit, 32a ... Micro lens array, 32b ... Color filters, 32c ... CCD elements

Claims (14)

色調整の対象となる複数台のデジタルカメラの中から少なくとも1台のデジタルカメラを選定し、
上記選定されたデジタルカメラを用いて色調整装置の所定の光源を複数回撮影することにより、複数の画像データを取得し、
上記デジタルカメラによって取得された複数の画像データに基づいて、上記色調整装置の構成部材の個体差を反映した色調整装置用係数を作成し、
上記作成された色調整装置用係数を保存し、
上記保存された色調整装置用係数を用いて上記デジタルカメラの色調整を行
上記複数回の撮影は、上記所定の光源と上記デジタルカメラとの間に上記色調整装置の構成部材の1つである赤外カットフィルタを介在させずに行う撮影と上記所定の光源と上記デジタルカメラとの間に上記赤外カットフィルタを介在させて行う撮影とを含むことを特徴とする色調整方法。
Select at least one digital camera from the multiple digital cameras that are subject to color adjustment.
By photographing the predetermined light source of the color adjustment device a plurality of times using the selected digital camera, a plurality of image data is obtained,
Based on a plurality of image data acquired by the digital camera, to create a color adjustment device coefficient reflecting individual differences of the components of the color adjustment device,
Save the color adjustment device coefficient created above,
There line color adjustment of the digital camera by using the stored color adjustment device coefficient,
The plurality of times of shooting are performed without an infrared cut filter that is one of the components of the color adjustment device between the predetermined light source and the digital camera, the predetermined light source, and the digital camera. A color adjustment method comprising: photographing with the infrared cut filter interposed between the camera and the camera .
上記色調整装置用係数は、上記赤外カットフィルタの個体差を反映させるための係数を含むことを特徴とする請求項1に記載の色調整方法。The color adjustment method according to claim 1, wherein the coefficient for the color adjustment device includes a coefficient for reflecting an individual difference of the infrared cut filter. 上記赤外カットフィルタの個体差を反映させるための係数は、上記所定の光源と上記デジタルカメラとの間に上記赤外カットフィルタを介在させて行う撮影により取得されることが予測される画像データの白レベルの赤成分及び緑成分と、上記赤外カットフィルタの分光感度特性とを含むことを特徴とする請求項2に記載の色調整方法。The coefficient for reflecting the individual difference of the infrared cut filter is predicted to be acquired by photographing performed with the infrared cut filter interposed between the predetermined light source and the digital camera. The color adjustment method according to claim 2, further comprising: a red component and a green component of a white level, and spectral sensitivity characteristics of the infrared cut filter. 上記色調整装置用係数は、上記色調整装置用係数の作成に用いたデジタルカメラを識別するための識別情報を更に含むことを特徴とする請求項2に記載の色調整方法。The color adjustment method according to claim 2, wherein the color adjustment device coefficient further includes identification information for identifying the digital camera used to create the color adjustment device coefficient. 上記色調整装置用係数の作成には、上記画像データの白レベルの赤成分と緑成分とが用いられることを特徴とする請求項1乃至4の何れか1つに記載の色調整方法。5. The color adjustment method according to claim 1, wherein a white level red component and a green component of the image data are used to create the color adjustment device coefficient. 6. 上記色調整装置用係数は、上記画像データの白レベルの赤成分と緑成分とから、所定のリファレンスデータに基づいて作成されることを特徴とする請求項5に記載の色調整方法。6. The color adjustment method according to claim 5, wherein the color adjustment device coefficient is generated based on predetermined reference data from a white level red component and a green component of the image data. 上記所定のリファレンスデータは、所定の基準となるデジタルカメラの赤成分と緑成分の分光感度特性データを含むことを特徴とする請求項6に記載の色調整方法。The color adjustment method according to claim 6, wherein the predetermined reference data includes spectral sensitivity characteristic data of a red component and a green component of a digital camera serving as a predetermined reference. 上記所定のリファレンスデータは、所定の基準となる赤外カットフィルタの分光感度特性データを更に含むことを特徴とする請求項7に記載の色調整方法。8. The color adjustment method according to claim 7, wherein the predetermined reference data further includes spectral sensitivity characteristic data of an infrared cut filter serving as a predetermined reference. 上記所定の光源はA光源であり、The predetermined light source is an A light source,
上記所定のリファレンスデータは、上記A光源の分光感度特性データを更に含むことを特徴する請求項8に記載の色調整方法。The color adjustment method according to claim 8, wherein the predetermined reference data further includes spectral sensitivity characteristic data of the A light source.
上記色調整装置用係数を作成した後に、上記作成された色調整装置用係数が適正であるか否かを検算し、上記検算の結果、上記作成された色調整装置用係数が適正なものである場合にのみ、上記色調整装置用係数を保存することを特徴とする請求項1に記載の色調整方法。After the color adjustment device coefficient is created, whether or not the created color adjustment device coefficient is appropriate is verified. As a result of the verification, the created color adjustment device coefficient is appropriate. 2. The color adjustment method according to claim 1, wherein the color adjustment device coefficient is stored only in some cases. 上記色調整装置用係数を用いて上記デジタルカメラの色調整を行うのに先立って、上記色調整装置用係数を用いて上記デジタルカメラの色調整を行うのか否かを判定し、上記色調整装置用係数を用いて上記デジタルカメラの色調整を行うと判定した場合にのみ、上記色調整装置用係数を用いて上記デジタルカメラの色調整を行うことを特徴とする請求項1に記載の色調整方法。Prior to performing color adjustment of the digital camera using the color adjustment device coefficient, it is determined whether or not to perform color adjustment of the digital camera using the color adjustment device coefficient, and the color adjustment device. 2. The color adjustment according to claim 1, wherein the color adjustment of the digital camera is performed using the color adjustment device coefficient only when it is determined that the color adjustment of the digital camera is performed using an image coefficient. Method. 色調整の対象となる複数台のデジタルカメラを用いて色調整装置の所定の光源を複数回撮影することにより、複数の画像データを取得し、A plurality of image data is acquired by photographing a predetermined light source of the color adjustment device a plurality of times using a plurality of digital cameras to be subjected to color adjustment,
上記複数台のデジタルカメラによって取得された複数の画像データに基づいて、上記色調整装置の構成部材の個体差を反映した複数の色調整装置用係数を作成し、Based on a plurality of image data acquired by the plurality of digital cameras, create a plurality of color adjustment device coefficients reflecting individual differences of the components of the color adjustment device,
上記作成された複数の色調整装置用係数に基づいて上記色調整装置用係数を作成するのに最適なデジタルカメラを選定し、Select an optimal digital camera to create the color adjustment device coefficient based on the plurality of color adjustment device coefficients created above,
上記選定されたデジタルカメラに対応した色調整装置用係数を保存し、Save the color adjustment device coefficient corresponding to the selected digital camera,
上記保存された色調整装置用係数を用いて上記複数台のデジタルカメラの色調整を行うことを特徴とする色調整方法。A color adjustment method, wherein color adjustment of the plurality of digital cameras is performed using the stored coefficient for color adjustment device.
A光源と、A light source;
上記A光源を撮影して画像データを取得するデジタルカメラと、A digital camera for capturing image data by photographing the light source A;
上記A光源と上記デジタルカメラとの間に進退自在に構成され、上記A光源からの光の赤外光成分を除去する赤外カットフィルタと、An infrared cut filter configured to be movable back and forth between the A light source and the digital camera, and for removing an infrared light component of light from the A light source;
上記A光源の分光感度特性と、基準となるデジタルカメラの分光感度特性と、基準となる赤外カットフィルタの分光感度特性とをリファレンスデータとして少なくとも記憶するリファレンスデータ記憶部と、A reference data storage unit that stores at least the spectral sensitivity characteristics of the A light source, the spectral sensitivity characteristics of the reference digital camera, and the spectral sensitivity characteristics of the reference infrared cut filter as reference data;
上記A光源と上記デジタルカメラとの間に上記赤外カットフィルタを介在させずに行った撮影によって取得された画像データと、上記A光源と上記デジタルカメラとの間に上記赤外カットフィルタを介在させて行った撮影によって取得された画像データと、上記リファレンスデータ記憶部に記憶された上記リファレンスデータとから、上記デジタルカメラを色調整する際の色調整装置毎の上記赤外カットフィルタの個体差を反映した色調整装置用係数を作成する色調整装置用係数作成部と、Image data acquired by photographing performed without interposing the infrared cut filter between the A light source and the digital camera, and the infrared cut filter interposed between the A light source and the digital camera. The individual difference of the infrared cut filter for each color adjustment device when color-adjusting the digital camera from the image data acquired by photographing performed and the reference data stored in the reference data storage unit A color adjusting device coefficient creating unit for creating a color adjusting device coefficient that reflects
上記色調整装置用係数作成部によって作成された色調整装置用係数を記憶する色調整装置用係数記憶部と、A color adjusting device coefficient storage unit that stores the color adjusting device coefficient created by the color adjusting device coefficient creating unit;
を具備することを特徴とする色調整装置。A color adjusting apparatus comprising:
上記色調整装置用係数は、上記色調整装置用係数記憶部の所定のディレクトリに所定のファイル形式で保存されることを特徴とする請求項13に記載の色調整装置。14. The color adjustment apparatus according to claim 13, wherein the color adjustment apparatus coefficient is stored in a predetermined file format in a predetermined directory of the color adjustment apparatus coefficient storage unit.
JP2005031899A 2005-02-08 2005-02-08 Color adjustment method and color adjustment apparatus Expired - Fee Related JP4477517B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2005031899A JP4477517B2 (en) 2005-02-08 2005-02-08 Color adjustment method and color adjustment apparatus
CNB2006100032690A CN100428778C (en) 2005-02-08 2006-02-08 Color adjustment method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005031899A JP4477517B2 (en) 2005-02-08 2005-02-08 Color adjustment method and color adjustment apparatus

Publications (2)

Publication Number Publication Date
JP2006222543A JP2006222543A (en) 2006-08-24
JP4477517B2 true JP4477517B2 (en) 2010-06-09

Family

ID=36919294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005031899A Expired - Fee Related JP4477517B2 (en) 2005-02-08 2005-02-08 Color adjustment method and color adjustment apparatus

Country Status (2)

Country Link
JP (1) JP4477517B2 (en)
CN (1) CN100428778C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4804422B2 (en) * 2007-05-31 2011-11-02 オリンパス株式会社 Signal processing apparatus and signal processing program
WO2015030133A1 (en) * 2013-08-29 2015-03-05 富士フイルム株式会社 Color separation optical assembly and image capture device
KR102610542B1 (en) * 2019-03-07 2023-12-07 삼성전자주식회사 Electronic device and method for adjusting color of image data using infrared sensor

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1144446C (en) * 1997-09-30 2004-03-31 株式会社理光 Digital camera regulating system and its regulating device
JPH11113007A (en) * 1997-09-30 1999-04-23 Ricoh Co Ltd Digital camera
JPH11341502A (en) * 1998-05-27 1999-12-10 Sony Corp Signal processing circuit for solid-state image pickup element and camera system
JP2001103358A (en) * 1999-09-30 2001-04-13 Mitsubishi Electric Corp Chromatic aberration correction device
JP4460717B2 (en) * 2000-05-02 2010-05-12 オリンパス株式会社 Color adjustment device
JP3854833B2 (en) * 2001-09-10 2006-12-06 キヤノン株式会社 Imaging apparatus, signal processing method thereof, program, and storage medium
JP4158592B2 (en) * 2003-04-25 2008-10-01 富士フイルム株式会社 Auto white balance adjustment method and camera to which this method is applied
JP2004336657A (en) * 2003-05-12 2004-11-25 Minolta Co Ltd Spectral image photographing system and adjusting method of spectral image photographing system

Also Published As

Publication number Publication date
JP2006222543A (en) 2006-08-24
CN100428778C (en) 2008-10-22
CN1819627A (en) 2006-08-16

Similar Documents

Publication Publication Date Title
KR101549529B1 (en) Image capture apparatus, control method thereof, and recording medium
JP5784642B2 (en) Method and apparatus for generating high resolution image using low resolution image
JP5546229B2 (en) Image processing method, image processing apparatus, imaging apparatus, and image processing program
US9697589B2 (en) Signal processing apparatus, imaging apparatus, signal processing method and program for correcting deviation of blurring in images
KR101847392B1 (en) Image processing apparatus and method for controlling the same
JP6906947B2 (en) Image processing equipment, imaging equipment, image processing methods and computer programs
US20080013850A1 (en) Image processing apparatus and image restoration method and program
EP1261197A1 (en) Image pickup apparatus
JP2004128985A (en) Imaging system and program, and reproduction system and program
JP2013219705A (en) Image processor, image processing method and program
JP6312487B2 (en) Image processing apparatus, control method therefor, and program
US20110128421A1 (en) Image capturing apparatus and image processing method
US8648936B2 (en) Image processing apparatus and image processing method
JP4945942B2 (en) Image processing device
JP5528139B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP4477517B2 (en) Color adjustment method and color adjustment apparatus
JP2007028042A (en) Image processing apparatus
JP2011160255A5 (en)
JP2012003454A (en) Image processing apparatus, imaging device and image processing program
GB2460241A (en) Correction of optical lateral chromatic aberration
JP2015041900A (en) Image processing device, its control method, and control program
WO2019124289A1 (en) Device, control method, and storage medium
US8463064B2 (en) Image processing apparatus and image processing method for correcting image blur
JP6245847B2 (en) Image processing apparatus and image processing method
JP4389671B2 (en) Image processing apparatus, image processing method, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071017

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091020

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091130

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100216

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100311

R151 Written notification of patent or utility model registration

Ref document number: 4477517

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130319

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140319

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees