JP2006229425A - Imaging apparatus and portable telephone with it - Google Patents

Imaging apparatus and portable telephone with it Download PDF

Info

Publication number
JP2006229425A
JP2006229425A JP2005039025A JP2005039025A JP2006229425A JP 2006229425 A JP2006229425 A JP 2006229425A JP 2005039025 A JP2005039025 A JP 2005039025A JP 2005039025 A JP2005039025 A JP 2005039025A JP 2006229425 A JP2006229425 A JP 2006229425A
Authority
JP
Japan
Prior art keywords
correction
signal
shading
correction coefficient
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005039025A
Other languages
Japanese (ja)
Other versions
JP4134991B2 (en
Inventor
Tetsuya Kuno
徹也 久野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2005039025A priority Critical patent/JP4134991B2/en
Publication of JP2006229425A publication Critical patent/JP2006229425A/en
Application granted granted Critical
Publication of JP4134991B2 publication Critical patent/JP4134991B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus correcting a color shading with a high accuracy even when an illumination is changed. <P>SOLUTION: For eliminate unnecessary infrared rays, the imaging apparatus has a correction-factor arithmetic means for computing a correction factor for correcting the approximate color shading by a nonlinear curve function towards an end from the center (an optical axis) of an image sensor as an imaging surface. For that, the image sensing device further has an integrating means for integrating at least a screen one-surface or more of the color signals of a red (R), a green (G) and a blue (B) obtained by the image sensor and obtaining integrated values ΣR, ΣG and ΣB, a correction-factor adjusting means for computing an adjusting factor for adjusting the correction factor from the ratios of the integrated values ΣR, ΣG and ΣB acquired from the integrating means, and a shading correction means having the correction-factor arithmetic means. The shading correction means corrects the color shading at a value changed in response to the adjusting factor acquired from the correction-factor adjusting means. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、撮像装置において画面の中央と周辺とで色及び輝度が異なる色シェーディング(色むら)及びシェーディング(輝度むら)を補正する撮像装置、特に小型の光学系を有した撮像装置に関する。また、撮像装置を備えた携帯電話に関する。   The present invention relates to an image pickup apparatus that corrects color shading (color unevenness) and shading (color unevenness) that are different in color and brightness between the center and the periphery of a screen in the image pickup apparatus, and more particularly, to an image pickup apparatus having a small optical system. The present invention also relates to a mobile phone provided with an imaging device.

近年、CCD等の固体撮像素子であるイメージセンサは、デジタルカメラやビデオカメラ等に広く使用されている。固体撮像素子の中央部に入射する光は、主に垂直入射光であるのに対し、固体撮像素子の周辺部には浅い角度で入射する光が多くなる。このため、イメージセンサの中央部と周辺部では画素が受光する光強度が異なり、シェーディングが発生する。さらに、光学系の屈折率等が波長依存性を持つため、色シェーディングも同時に生じる。そこで、シェーディングや色シェーディングを抑制するため、イメージセンサ上に構成される画素毎の集光を目的として形成されたマイクロレンズ(以下で、オンチップマイクロレンズと呼ぶ)の配置を調整したり、画素位置や色信号ごとに異なる補正係数を予め設定し、これを用いて補正する方法等が知られている。   In recent years, image sensors, which are solid-state imaging devices such as CCDs, are widely used in digital cameras, video cameras, and the like. The light incident on the central portion of the solid-state image sensor is mainly vertically incident light, whereas the light incident on the periphery of the solid-state image sensor at a shallow angle increases. For this reason, the light intensity received by the pixels differs between the central portion and the peripheral portion of the image sensor, and shading occurs. Furthermore, since the refractive index of the optical system has wavelength dependency, color shading also occurs at the same time. Therefore, in order to suppress shading and color shading, the arrangement of microlenses (hereinafter referred to as on-chip microlenses) formed for the purpose of collecting light for each pixel configured on the image sensor can be adjusted, There is known a method in which a different correction coefficient is set in advance for each position and color signal, and correction is performed using the correction coefficient.

例えば、特許文献1に示された従来の撮像装置においては、イメージセンサの中心より遠ざかるに従って、オンチップマイクロレンズのピッチを徐々に画素ピッチよりも小さくなるよう配列することで、イメージセンサの周辺において、斜めに入射される入射光を効率良く集光させ、シェーディングを抑制していた。   For example, in the conventional imaging device disclosed in Patent Document 1, as the distance from the center of the image sensor is increased, the pitch of the on-chip microlens is arranged so as to be gradually smaller than the pixel pitch. The incident light incident obliquely is collected efficiently and shading is suppressed.

また、特許文献2に示された従来の別の撮像装置においては、イメージセンサの座標(X、Y)に対応した補正係数を座標(X,Y)のN(Nは2以上)次曲面関数により色信号毎に近似し、この補正係数を座標(X、Y)に対応する画素の各色信号と掛け合わせることで、シェーディングと色シェーディングの補正を行っていた。   In another conventional imaging apparatus disclosed in Patent Document 2, a correction coefficient corresponding to the coordinates (X, Y) of the image sensor is expressed as an N-order surface function of coordinates (X, Y) (N is 2 or more). Therefore, shading and color shading correction are performed by approximating each color signal and multiplying this correction coefficient by each color signal of the pixel corresponding to the coordinates (X, Y).

特登2600250号公報(第2頁、第1図)Special No. 2600250 (2nd page, Fig. 1) 特開平8−79773号公報(第3頁、第2図)JP-A-8-79773 (page 3, FIG. 2)

上記従来の撮像装置では、オンチップマイクロレンズの配置調整により、シェーディング補正を行っていた。しかし、携帯電話等の携帯機器に具備されている小型の撮像装置では、光学系とイメージセンサとを近距離に配置する必要があるため、光線の入射角度は従来のデジタルカメラやビデオカメラに比べて大きくなり、20度から25度以上にもおよぶ(垂直入射時の角度を0度とする)。そのため、オンチップマイクロレンズの配置調整だけでは、シェーディングの発生を十分に抑えきれないという問題があった。さらに、オンチップマイクロレンズの屈折率が波長依存性を持つため、シェーディングと同時に色シェーディングが生じ、特に上記で述べた小型の撮像装置では、色シェーディングも顕著になるという問題点があった。   In the conventional imaging apparatus, shading correction is performed by adjusting the arrangement of on-chip microlenses. However, in a small imaging device provided in a mobile device such as a mobile phone, it is necessary to dispose the optical system and the image sensor at a short distance, so the incident angle of the light beam is smaller than that of a conventional digital camera or video camera. And increases from 20 degrees to 25 degrees or more (the angle at normal incidence is 0 degree). For this reason, there is a problem that shading cannot be sufficiently suppressed only by adjusting the arrangement of the on-chip microlenses. Furthermore, since the refractive index of the on-chip microlens has wavelength dependency, color shading occurs simultaneously with shading, and there is a problem that color shading becomes remarkable especially in the small-sized imaging device described above.

上記従来の別の撮像装置では、特定の照明下で最適な色シェーディング補正を可能にする補正係数を与える関数形(イメージセンサ上の座標に対するN次曲面関数の各係数)を予め定めていた。これにより、この特定の照明下では色シェーディングを補正することができるが、異なる照明下では、十分な色シェーディング補正ができないという問題があった。 In another conventional imaging apparatus described above, a function form (each coefficient of an Nth-order curved surface function with respect to coordinates on the image sensor) that gives a correction coefficient that enables optimum color shading correction under a specific illumination has been determined in advance. Thereby, although color shading can be corrected under this specific illumination, there is a problem that sufficient color shading correction cannot be performed under different illumination.

また、小型の撮像装置においては省スペース化のため、薄膜層を積層した多層構造を持つ蒸着タイプ型の赤外カットフィルタを用いることが多い。このフィルタは、屈折率の異なる2種以上の薄膜層を積層した多層膜構造を電子ビーム蒸着やスパッタリング蒸着により作製したもので、光の干渉により、可視光領域にのみ透過率に持たせたものである。しかし、光の入射角度によって干渉効果が異なるため、例えば、カットオフ波長等が入射角度依存性を持つ。この依存性は色シェーディングを助長するため、蒸着タイプ型の赤外カットフィルタを用いた撮像装置では、適正な色シェーディング補正を行うことが特に困難であった。 Further, in order to save space in a small imaging device, an evaporation type infrared cut filter having a multilayer structure in which thin film layers are stacked is often used. This filter is a multilayer film structure in which two or more kinds of thin film layers having different refractive indexes are laminated by electron beam vapor deposition or sputtering vapor deposition, and has transmittance only in the visible light region due to light interference. It is. However, since the interference effect differs depending on the incident angle of light, for example, the cutoff wavelength has an incident angle dependency. Since this dependency promotes color shading, it is particularly difficult to perform proper color shading correction in an imaging apparatus using an evaporation type infrared cut filter.

この発明に係る撮像装置は、撮像面に配置され、複数の画素からなる撮像素子と、撮像素子の前に配置され、赤(R)、緑(G)及び青(B)をそれぞれ透過させる色フィルタを有する撮像装置であって、前記R、G及びBに対応する信号毎の補正係数を前記画素位置より算出する補正係数演算手段と、前記撮像素子の前記複数の画素より得られたR、G及びBに対応する信号をそれぞれ少なくとも画面一面以上にわたり積算し、積算値ΣR、ΣGおよびΣBを得る積算手段と、前記積算値ΣR、ΣGおよびΣBのうち、少なくとも2つの前記積算値の比から、前記補正係数を調整するための調整係数を算出する補正係数調整手段と、前記補正係数を、前記調整係数に応じて調整し、前記R、G及びBに対応する信号毎にシェーディング補正を行うシェーディング補正手段を備えたものである。   An image pickup apparatus according to the present invention is arranged on an image pickup surface, and is arranged in front of an image pickup element composed of a plurality of pixels, and transmits red (R), green (G), and blue (B), respectively. An image pickup apparatus having a filter, the correction coefficient calculating means for calculating a correction coefficient for each signal corresponding to the R, G, and B from the pixel position, and R obtained from the plurality of pixels of the image pickup device, A signal corresponding to each of G and B is accumulated over at least one surface of the screen to obtain integrated values ΣR, ΣG and ΣB, and a ratio of at least two of the integrated values among the integrated values ΣR, ΣG and ΣB. Correction coefficient adjusting means for calculating an adjustment coefficient for adjusting the correction coefficient, and adjusting the correction coefficient according to the adjustment coefficient, and performing shading correction for each signal corresponding to R, G, and B. Those having a shading correction unit.

この発明に係る撮像装置は、照明光毎に異なる色シェーディングに対しても良好に補正を行うことができる。   The imaging apparatus according to the present invention can satisfactorily correct color shading that differs for each illumination light.

実施の形態1.
図1は、この発明の実施の形態1に係る撮像装置の構成を示すブロック図である。光学系1はレンズ1aと赤外除去フィルタ(以後、IRCF(InfraRed Cut Filter)と称する)1bから構成され、必要に応じて、図2に示す絞り1cが設けられる。光学系1から入射した光は、赤(R)、緑(G)、青(B)の3原色に対応する分光感度特性を有する色フィルタが配列されたイメージセンサ2に結像する。赤外カットフィルタ1bはレンズ1aから入射される光から不要な赤外光を除去するための光学部品であり、撮像に必要な波長の光のみを透過させる。イメージセンサ2においてRの色フィルタが配置されている画素からはRに対する信号(R信号)、Gの色フィルタが配置されている画素からはGに対する信号(G信号)、Bの色フィルタが配置されている画素からはBに対する信号(B信号)がそれぞれ出力される。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of an imaging apparatus according to Embodiment 1 of the present invention. The optical system 1 includes a lens 1a and an infrared removing filter (hereinafter referred to as IRCF (InfraRed Cut Filter)) 1b, and a diaphragm 1c shown in FIG. 2 is provided as necessary. Light incident from the optical system 1 forms an image on the image sensor 2 in which color filters having spectral sensitivity characteristics corresponding to the three primary colors of red (R), green (G), and blue (B) are arranged. The infrared cut filter 1b is an optical component for removing unnecessary infrared light from the light incident from the lens 1a, and transmits only light having a wavelength necessary for imaging. In the image sensor 2, a signal for R (R signal) is arranged from a pixel in which an R color filter is arranged, a signal (G signal) for G is arranged from a pixel in which a G color filter is arranged, and a B color filter is arranged. A pixel signal (B signal) is output from each pixel.

イメージセンサ2は入射光を光電変換し、入射光量に応じたレベルのアナログ信号を画素ごとに出力する。このアナログ信号はアナログ信号処理手段3において、必要なアナログ信号処理を行う。ここでのアナログ信号処理とはイメージセンサ2の出力値からノイズを除去する相関2重サンプリング及び、自動利得制御回路による信号の増幅を意味し、アナログ信号処理手段3にはこれらの信号処理手段が具備されている。次に、A/D変換器4にて、画素ごとにデジタル信号に変換され、デジタル信号処理手段5へ送られる。   The image sensor 2 photoelectrically converts incident light and outputs an analog signal at a level corresponding to the amount of incident light for each pixel. The analog signal is subjected to necessary analog signal processing in the analog signal processing means 3. Here, the analog signal processing means correlated double sampling for removing noise from the output value of the image sensor 2 and signal amplification by an automatic gain control circuit. The analog signal processing means 3 includes these signal processing means. It is equipped. Next, each pixel is converted into a digital signal by the A / D converter 4 and sent to the digital signal processing means 5.

デジタル信号処理手段5ではイメージセンサ2の出力信号の黒レベルを調整するクランプ処理、及び各画素において、各画素のフィルタ色と異なる色に対応する信号を補間により生成する画素補間処理などを行う。デジタル信号処理手段5から出力された色信号であるR信号,G信号及びB信号は、それぞれ対応するシェーディング補正手段6a,6b及び6cに入力され、それぞれの色信号のシェーディングが補正される。すなわち、シェーディング補正手段6aはR信号のシェーディングを、シェーディング補正手段6bはG信号のシェーディングを、及び、シェーディング補正手段6cはB信号のシェーディングをそれぞれ補正し、補正された信号であるR’信号,G’信号及びB’信号が出力される。この補正に係る動作については後に詳しく示す。   The digital signal processing means 5 performs a clamp process for adjusting the black level of the output signal of the image sensor 2 and a pixel interpolation process for generating a signal corresponding to a color different from the filter color of each pixel by interpolation. The R signal, G signal, and B signal, which are color signals output from the digital signal processing means 5, are input to the corresponding shading correction means 6a, 6b, and 6c, respectively, and the shading of the respective color signals is corrected. That is, the shading correction unit 6a corrects the shading of the R signal, the shading correction unit 6b corrects the shading of the G signal, and the shading correction unit 6c corrects the shading of the B signal. A G ′ signal and a B ′ signal are output. The operation related to this correction will be described in detail later.

シェーディング補正された信号であるR’信号,G’信号及びB’信号は、それぞれに対応するホワイトバランス手段7a,7b及び7cによって、それぞれホワイトバランスのための利得調整が行われ、さらに、それぞれに対応するガンマ手段8a,8b及び8cにより、それぞれ階調変換が行われる。最後にRGB/YUV変換手段11によって、Y,U及びVのそれぞれの信号に変換され出力される。   The R ′ signal, the G ′ signal, and the B ′ signal, which are signals subjected to shading correction, are respectively subjected to gain adjustment for white balance by the corresponding white balance means 7a, 7b, and 7c. Tone conversion is performed by the corresponding gamma means 8a, 8b and 8c, respectively. Finally, RGB / YUV conversion means 11 converts the signals into Y, U and V signals and outputs them.

一方、積算手段9はデジタル信号処理手段5から出力されたR信号,G信号及びB信号をそれぞれ少なくとも1画面(フレーム)以上積算し、その積算値ΣR、ΣG及びΣBを補正係数調整手段10へ出力する。補正係数調整手段10は、上記の3つの積算値から演算等により得られた各色信号に対応する3つの調整係数をそれぞれ対応するシェーディング補正手段6a,6b及び6cへ出力する。各シェーディング補正手段6a,6b、6cは、上記調整係数等を用いて、適切なシェーディング補正が行われるようにする。以下にシェーディング及び色シェーディングの補正について具体的に説明する。   On the other hand, the integrating means 9 integrates at least one screen (frame) each of the R signal, G signal and B signal output from the digital signal processing means 5 and supplies the integrated values ΣR, ΣG and ΣB to the correction coefficient adjusting means 10. Output. The correction coefficient adjusting means 10 outputs three adjustment coefficients corresponding to the respective color signals obtained by calculation from the above three integrated values to the corresponding shading correction means 6a, 6b and 6c. Each shading correction means 6a, 6b, 6c performs appropriate shading correction using the adjustment coefficient or the like. The shading and color shading correction will be specifically described below.

図2に光学系1から入射され、イメージセンサ2に結像される光線を示す。図2において、レンズ1aの光学的な絞り位置を絞り1cとして示す。絞り1cを介して入射した光線は、レンズ1aによりイメージセンサ2上に像を結ぶ。光線のイメージセンサ2への入射角は、イメージセンサ2の端部では垂直より浅い角度になる。そのため、イメージセンサ2の中央部に比べ、端部の画素の受光量の入射光量は小さくなる。これを一般にシェーディングと称している。特に、小型の撮像装置の場合、絞り1cとイメージセンサ2との距離は短くなるため、イメージセンサ2の端部での入射角はさらに浅くなり、シェーディングは顕著になる。イメージセンサ2には、画素毎に図示しない光電変換のためのフォトダイオードが配置されており、このシェーディングにより、イメージセンサ位置毎に異なる出力信号レベルとなる。   FIG. 2 shows light rays incident from the optical system 1 and imaged on the image sensor 2. In FIG. 2, the optical aperture position of the lens 1a is shown as an aperture 1c. The light beam incident through the stop 1c forms an image on the image sensor 2 by the lens 1a. The incident angle of the light beam on the image sensor 2 is shallower than vertical at the end of the image sensor 2. Therefore, the incident light quantity of the received light amount of the pixel at the end is smaller than that in the center of the image sensor 2. This is generally called shading. In particular, in the case of a small imaging device, the distance between the diaphragm 1c and the image sensor 2 is shortened, so that the incident angle at the end of the image sensor 2 is further shallow, and shading becomes remarkable. The image sensor 2 is provided with a photodiode for photoelectric conversion (not shown) for each pixel. Due to this shading, the output signal level varies depending on the position of the image sensor.

また、レンズの屈折率が波長依存性を有するため、特にイメージセンサ2の端部付近では、波長毎に感度が異なる現象が生じる。これを一般に色シェーディングと称する。なお、図2に示したレンズ1aと絞り1cの位置関係は一例であり、絞り1cがレンズ1aよりもイメージセンサ2側に位置する場合もあるが、この場合はさらに入射角度が大きくなり、色シェーディングが顕著になる。   In addition, since the refractive index of the lens has a wavelength dependency, a phenomenon in which the sensitivity differs for each wavelength occurs particularly near the end of the image sensor 2. This is generally called color shading. The positional relationship between the lens 1a and the diaphragm 1c shown in FIG. 2 is an example, and the diaphragm 1c may be located closer to the image sensor 2 than the lens 1a. In this case, the incident angle is further increased, and the color Shading becomes noticeable.

図3には、イメージセンサ2上において、その中心からの距離を示す像高(イメージセンサ2の中心が0%、対角端点が100%とする)に対するR信号,G信号及びB信号の各信号レベルを示す。図3に示すように通常、像高が高くなるにつれて長波長側のRの光がフォトダイオードから外れるようになり、他の色信号に比べてR信号が低下(減衰)し、色シェーディングが生じる。従来の技術ではイメージセンサ2上に画素ごとのフォトダイオードへ効率よく集光するためのオンチップマイクロレンズ位置を像高にあわせてずらす(一般にスケーリングと称する)ことで対応していたが、対応できる入射角度に限界があり、携帯電話などに搭載される小型の撮像装置ではマイクロレンズのスケーリングだけでは完全にシェーディング及び色シェーディングを改善できないという問題があった。 FIG. 3 shows the R signal, G signal, and B signal on the image sensor 2 with respect to the image height indicating the distance from the center (the center of the image sensor 2 is 0% and the diagonal end point is 100%). Indicates the signal level. As shown in FIG. 3, normally, as the image height increases, R light on the long wavelength side deviates from the photodiode, and the R signal is lowered (attenuated) compared to other color signals, resulting in color shading. . In the conventional technique, the on-chip microlens position for efficiently condensing the image sensor 2 on the photodiode for each pixel is shifted according to the image height (generally referred to as scaling). There is a limit to the incident angle, and there has been a problem that a small imaging device mounted on a mobile phone or the like cannot completely improve shading and color shading only by scaling a microlens.

さらに、上記要因以外にも色シェーディングが生じる要因がある。イメージセンサ2は図4に示す分光感度特性をしており、撮像に不要な赤外領域(人間の目に見えない波長領域)にも感度がある。そのため通常撮像装置は、不要な赤外線を除去するためのIRCF1bを具備している。小型の撮像装置では、IRCF1bは光学系を小型にするために、蒸着多層膜タイプの(蒸着等により薄いガラス板に屈折率の異なる2種以上の薄膜層を何十層も積層し、薄膜層間を透過・反射する光の干渉を利用して、赤外線を除去する分光透過率を有する)IRCFを用いることが多い。 In addition to the above factors, there are other factors that cause color shading. The image sensor 2 has the spectral sensitivity characteristics shown in FIG. 4, and is also sensitive to an infrared region (a wavelength region invisible to human eyes) that is not necessary for imaging. For this reason, the normal imaging apparatus includes an IRCF 1b for removing unnecessary infrared rays. In a small imaging device, the IRCF 1b is of a multi-layered film type (deposited layers of dozens of thin films having different refractive indexes are deposited on a thin glass plate by vapor deposition or the like in order to make the optical system small. In many cases, IRCF (having a spectral transmittance that removes infrared rays by using interference of light transmitted and reflected) is used.

図5に、蒸着多層膜タイプのIRCF1bの分光特性を示す。波長に応じた透過率を示している。図中0度はIRCF1bを設計したときの目標とする分光特性であり、半値(透過率が50%)が概670nmになっており、人間の眼には見えない700nmを超える光の波長はほとんど透過しないことで不要な赤外光は除去している。しかし、薄膜を通過する時の光路長は、光の入射角により異なるため、入射角により分光特性が異なる結果となる。図5には、入射角度が0度、15度、20度、25度の場合の分光特性を示した。入射角度が大きくなると、波長依存性の効果により、長波長側の透過率が低くなる。そのため、像高が大きくなるにつれてR信号の信号レベルがさらに低下することとなる。   FIG. 5 shows the spectral characteristics of the deposited multilayer film type IRCF1b. The transmittance according to the wavelength is shown. In the figure, 0 degrees is the target spectral characteristic when IRCF1b is designed, the half value (transmittance is 50%) is approximately 670 nm, and the wavelength of light exceeding 700 nm that is not visible to human eyes is almost Unnecessary infrared light is removed by not transmitting. However, since the optical path length when passing through the thin film varies depending on the incident angle of light, the spectral characteristics differ depending on the incident angle. FIG. 5 shows spectral characteristics when the incident angles are 0 degrees, 15 degrees, 20 degrees, and 25 degrees. As the incident angle increases, the transmittance on the long wavelength side decreases due to the wavelength-dependent effect. For this reason, the signal level of the R signal further decreases as the image height increases.

このように、入射角度が大きくなるにつれて、レンズ1aの屈折率の波長依存性及びIRCF1bの透過率の波長依存性により、色シェーディングが顕在化する。この色シェーディングは、照明が特定されている場合には、予め補正係数を最適化することで補正可能であるが、照明が最適化した照明と異なった場合には、補正が不適切なものとなり、色シェーディングが生じる。   Thus, as the incident angle increases, color shading becomes apparent due to the wavelength dependency of the refractive index of the lens 1a and the wavelength dependency of the transmittance of the IRCF 1b. This color shading can be corrected by optimizing the correction coefficient in advance when the illumination is specified, but if the illumination is different from the optimized illumination, the correction will be inappropriate. Color shading occurs.

図6には、太陽光とほぼ同じ演色性である黒体輻射の3000K(ケルビン)と5500Kの色温度の分光特性、及び室内照明としてよく用いられる昼白色蛍光灯の分光特性を示す。それぞれの照明において、その分光特性は大きく異なっている。それぞれの照明における色信号毎のシェーディング量を図7から図9に示す。図7、図8は、それぞれ、色温度が3000K、5500Kの黒体輻射を照明として用いたときの色シェーディングを、図9は、昼白色蛍光灯を照明として用いたときの色シェーディングを示している。ここで用いた光学系は、携帯電話用カメラにおける通常の光学系であり、IRCF1bとしては、図5で示した特性を有する蒸着多層膜タイプのフィルタを用いている。図7から図9において横軸を光線の入射角度としている。0度は光軸であり、像高0%に対応する。携帯電話などに具備される小型の撮像装置ではイメージセンサ2の対角端点での入射角度が25度程度であるため、例えば25度の入射角度が像高100%に対応する。いずれの図においても、入射角度が0度の時のR、G、Bが同じ信号レベルになるように正規化している。いずれの照明を用いた場合でも、入射角度が大きくなるにつれ、R信号が低下している。しかし、図9における昼白色蛍光灯を照明に用いた場合は、他の照明を用いた場合に比べて、R信号の低下がかなり緩やかであることがわかる。   FIG. 6 shows spectral characteristics of black body radiation of 3000 K (Kelvin) and 5500 K, which are almost the same color rendering as sunlight, and spectral characteristics of daylight white fluorescent lamps often used as indoor lighting. Each illumination has its spectral characteristics greatly different. The shading amount for each color signal in each illumination is shown in FIGS. 7 and 8 show color shading when black body radiation having a color temperature of 3000K and 5500K is used as illumination, respectively, and FIG. 9 shows color shading when a daylight fluorescent lamp is used as illumination. Yes. The optical system used here is a normal optical system in a camera for a mobile phone, and as the IRCF 1b, a deposited multilayer film type filter having the characteristics shown in FIG. 5 is used. 7 to 9, the horizontal axis represents the incident angle of the light beam. 0 degrees is the optical axis and corresponds to an image height of 0%. In a small imaging device provided in a mobile phone or the like, the incident angle at the diagonal end point of the image sensor 2 is about 25 degrees, and therefore, for example, an incident angle of 25 degrees corresponds to an image height of 100%. In each figure, normalization is performed so that R, G, and B have the same signal level when the incident angle is 0 degrees. Whichever illumination is used, the R signal decreases as the incident angle increases. However, it can be seen that when the daylight white fluorescent lamp in FIG. 9 is used for illumination, the decrease in the R signal is much slower than when other illuminations are used.

図7から図9に示したように、照明光によって色シェーディングの度合いが大きく異なるため、従来技術のように固定の補正量を基準に色シェーディングの補正を行った場合、例えば、太陽光下の色シェーディングを基準に色シェーディング補正を行うと、蛍光灯下ではR信号の補正量が過補正となり画像の周辺が赤くなるという問題があった。また、逆に蛍光灯下での色シェーディング量を基準に補正量を定めた場合は、太陽光下では補正量が十分ではなく、周辺部において緑やシアンが過度に強調されたり、ホワイトバランスにおいて、周辺部の過度の緑を白くするため、逆に中央でマジェンタが過度に強くなるといった問題があった。これらの問題を解決するための本発明による動作を以下に説明する。   As shown in FIGS. 7 to 9, since the degree of color shading varies greatly depending on illumination light, when color shading correction is performed based on a fixed correction amount as in the prior art, for example, under sunlight When color shading correction is performed on the basis of color shading, there is a problem that the correction amount of the R signal is overcorrected under a fluorescent lamp and the periphery of the image becomes red. Conversely, when the correction amount is set based on the color shading amount under fluorescent light, the correction amount is not sufficient under sunlight, and green and cyan are excessively emphasized in the surrounding area, or white balance is However, in order to whiten excessive green in the periphery, there was a problem that magenta became excessively strong in the center. The operation of the present invention for solving these problems will be described below.

シェーディング補正手段6a、6b及び6cは、それぞれ色信号であるR信号、G信号及びB信号を補正して、補正後の色信号であるR’信号、G’信号及びB’信号を出力する。シェーディング補正手段6a、6b及び6cの構成並びに動作はいずれも同様なので、ここでは代表してR信号に対する補正手段6aについて説明する。図10はシェーディング補正手段6aの具体的な構成を示した図である。座標値発生手段6gは、入力したR信号がイメージセンサ2上において、水平、垂直方向のどの位置に対応するかを示す座標値を出力する手段である。この座標値発生手段6gは、水平方向の座標値と垂直方向の座標値を画素クロックであるCLK、水平の同期信号HD、及び垂直の同期信号VDから生成する。まず、水平方向の座標位置は、CLKのクロック数をカウントし、このカウント数で与えられる。このカウント数はHDによってリセットされる。また、垂直方向の座標位置は、HDの数をカウントし、このカウント数で与えられる。このカウント数はVDによってリセットされる。さらに、前記水平方向の座標位置及び垂直方向の座標位置に2分の1画素をオフセット値として減算した値をイメージセンサ2上の座標(x、y)として出力する。この場合、座標の原点は、例えばイメージセンサ2の左上端とする。   The shading correction means 6a, 6b, and 6c correct the R signal, the G signal, and the B signal that are color signals, respectively, and output the R ′ signal, the G ′ signal, and the B ′ signal that are corrected color signals. Since the configuration and operation of the shading correction means 6a, 6b, and 6c are all the same, here, the correction means 6a for the R signal will be described as a representative. FIG. 10 is a diagram showing a specific configuration of the shading correction means 6a. The coordinate value generating means 6g is a means for outputting a coordinate value indicating which position in the horizontal or vertical direction the input R signal corresponds to on the image sensor 2. This coordinate value generating means 6g generates a horizontal coordinate value and a vertical coordinate value from the pixel clock CLK, the horizontal synchronization signal HD, and the vertical synchronization signal VD. First, the horizontal coordinate position is given by counting the number of clocks of CLK. This count is reset by HD. The vertical coordinate position is given by counting the number of HDs. This count is reset by VD. Further, a value obtained by subtracting one-half pixel as an offset value from the horizontal coordinate position and the vertical coordinate position is output as coordinates (x, y) on the image sensor 2. In this case, the origin of coordinates is, for example, the upper left corner of the image sensor 2.

補正係数演算手段6fは、座標値発生手段6gで得られた座標(x、y)に基づいて、色シェーディングを補正するための補正係数fr(x、y)を決める演算手段である。具体的には座標値発生手段6gから出力された座標値(x、y)を入力し、式1にしめす値fr=fr(x、y)を算出する。   The correction coefficient calculation means 6f is a calculation means for determining a correction coefficient fr (x, y) for correcting color shading based on the coordinates (x, y) obtained by the coordinate value generation means 6g. Specifically, the coordinate value (x, y) output from the coordinate value generating means 6g is input, and the value fr = fr (x, y) shown in Equation 1 is calculated.

Figure 2006229425
Figure 2006229425

式1において、a01、a02、a10、a11、a12,a20,a21,a22は予め定めておいた定数であり、図8に示した黒体輻射5500KのR信号の補正を適切に行なえるように定められている。すなわち、図8におけるR信号の相対値が、入射角度に依らず、ほぼ1に補正されるように各定数は最適化されている。 In Equation 1, a01, a02, a10, a11, a12, a20, a21, and a22 are predetermined constants so that the R signal of the blackbody radiation 5500K shown in FIG. 8 can be corrected appropriately. It has been established. That is, each constant is optimized so that the relative value of the R signal in FIG. 8 is corrected to almost 1 regardless of the incident angle.

ところで上記では、イメージセンサ2の左上端を原点として処理を行なったが、イメージセンサ2の中心を原点として、座標値(x,y)を与えることも有効である。この場合、像高Dは、ベクトル(x、y)の長さで与えられる。シェーディング量は像高Dで決まるため、補正係数frは像高Dの関数fr(D)で与えられる。   In the above description, the processing is performed with the upper left corner of the image sensor 2 as the origin, but it is also effective to give the coordinate value (x, y) with the center of the image sensor 2 as the origin. In this case, the image height D is given by the length of the vector (x, y). Since the shading amount is determined by the image height D, the correction coefficient fr is given by a function fr (D) of the image height D.

Figure 2006229425
Figure 2006229425

式2において、b01、b02は予め定められた定数であり、図8に示した黒体輻射5500KのR信号の補正を適切に行なえるように定められている。このようにイメージセンサ2の中心を原点として、座標値(x,y)を与えることで計算を簡単化することが可能である。 In Expression 2, b01 and b02 are predetermined constants that are determined so that the R signal of the blackbody radiation 5500K shown in FIG. 8 can be corrected appropriately. Thus, the calculation can be simplified by giving the coordinate value (x, y) with the center of the image sensor 2 as the origin.

ここまではR信号について説明してきたが、G信号及びB信号の補正を行なう場合も上記と同様であり、それぞれシェーディング補正手段6b及び6cを用いて補正係数fg、fbが得られる。ただし、式1又は式2における各定数は、G信号及びB信号のそれぞれに対して最適化された別の定数が用いられ、図8におけるそれぞれの信号の相対値が、入射角度に依らず、ほぼ1になるように補正される Although the R signal has been described so far, the correction of the G signal and the B signal is the same as described above, and the correction coefficients fg and fb are obtained using the shading correction means 6b and 6c, respectively. However, as each constant in Expression 1 or Expression 2, another constant optimized for each of the G signal and the B signal is used, and the relative value of each signal in FIG. Corrected to be almost 1

なお、ここでは黒体輻射5500Kを照明として用いた場合を最適化するように各定数を定めたが、この理由は、黒体輻射5500Kが撮像装置に最も良く用いられる太陽光の昼光にほぼ対応するため、これを基準照明としたためである。ただし後述するように、本実施の形態に係る発明においては、基準照明と異なる照明を用いた場合に対する補正手段を備えるため、蛍光灯などの他の照明に対して各定数を最適化することでも、ほぼ同様の効果が得られる。なお、補正式として与えた式1、式2は一例であり、例えば、さらに高次の項を追加することで、より精度の高い補正が行なえる。要求される特性に応じて適切な次数及び関数型を選択すれば良い。 Here, the constants are determined so as to optimize the case where the black body radiation 5500K is used as illumination. The reason for this is that the black body radiation 5500K is almost equal to the daylight of sunlight most often used in the imaging apparatus. This is because this is used as the reference illumination in order to respond. However, as will be described later, in the invention according to the present embodiment, since the correction means for the case where illumination different from the reference illumination is used, it is possible to optimize each constant for other illumination such as a fluorescent lamp. A substantially similar effect can be obtained. Expressions 1 and 2 given as correction expressions are examples, and for example, correction with higher accuracy can be performed by adding higher-order terms. An appropriate order and function type may be selected according to required characteristics.

上記で述べたように、補正係数演算手段6fは、例えば黒体輻射5500Kを基準照明として用いた場合の各色信号のイメージセンサ2上におけるシェーディングを補正する補正係数を演算するものである。すなわち、図8における各色信号の相対値が入射角度に依らないように補正を行なう補正係数を与える。しかし、照明が異なった場合には、式1または式2で与えた各定数は、その照明に対して適正なものではないため、最適な補正を行なえない。そこで、後述する補正係数調整手段10において、基準照明と異なる照明を用いた場合の各色信号ごとの調整係数Cr、Cg、Cbを算出し、乗算器6eにより、各色信号ごとに、補正係数fr、fg、fbとの乗算がそれぞれ行なわれ、その乗算値fr×Cr等が加算器6hに出力される。この乗算値に加算器6hにて加算される定数a00は、信号全体の利得であり、a00=1であれば、シェーディング補正係数が0のときに入力信号をそのままの信号レベルで出力する。今ここで、a00=1とした場合の各色信号に対する補正係数の一例を図11に示す。図8に示したように、G信号とB信号は、入射角度に大きく依存せず、概1の相対値を示しているため、その補正係数fg、fbも無補正である0としても良い近似となる。また、R信号は入射角度が大きくなるにつれて減衰していくため、その補正係数frは像高が大きくなるにつれて信号を増幅するように座標位置に応じて0より値が大きくなっていくように設けられている。   As described above, the correction coefficient calculator 6f calculates a correction coefficient for correcting shading of each color signal on the image sensor 2 when, for example, the black body radiation 5500K is used as the reference illumination. That is, a correction coefficient for correcting the relative value of each color signal in FIG. 8 so as not to depend on the incident angle is given. However, when the illuminations are different, the constants given by Equation 1 or Equation 2 are not appropriate for the illumination, so that optimal correction cannot be performed. Therefore, the correction coefficient adjusting means 10 described later calculates adjustment coefficients Cr, Cg, Cb for each color signal when illumination different from the reference illumination is used, and a correction coefficient fr, Multiplication with fg and fb is performed, and the multiplication value fr × Cr and the like are output to the adder 6h. The constant a00 added to the multiplication value by the adder 6h is the gain of the entire signal. If a00 = 1, the input signal is output at the same signal level when the shading correction coefficient is 0. Now, FIG. 11 shows an example of the correction coefficient for each color signal when a00 = 1. As shown in FIG. 8, the G signal and the B signal do not depend greatly on the incident angle, and show a relative value of approximately 1. Therefore, the correction coefficients fg and fb may be zero without correction. It becomes. Further, since the R signal attenuates as the incident angle increases, the correction coefficient fr is provided so that the value increases from 0 according to the coordinate position so that the signal is amplified as the image height increases. It has been.

補正係数調整手段10は、基準照明と異なる照明を用いた場合に、前記補正係数演算手段6fにて算出した補正係数fr、fg及びfbを、それぞれ調整するための調整係数Cr、Cg、Cbを算出する。補正係数調整手段10は、図12に示すように、除算手段10aと調整係数算出手段10bで構成されている。除算手段10aは、積算手段9から入力された積算値ΣR、ΣG、ΣBの3値から2つの比を求める。ここでは、ΣRとΣGをそれぞれΣBで除算した値ΣR/ΣG、ΣB/ΣGを算出する場合を説明するが、他の比を用いてもよい。そして、調整係数算出手段10bは、前記積算値の2つの比から調整係数Cr、Cg及びCbを算出する。
調整係数算出手段10bによる調整係数Cr、Cg及びCbの算出方法を図13により具体的に説明する。図13において、除算手段10aにおいて得られた2つ積算値の比(ΣR/ΣG、ΣB/ΣG)を2次元平面上に黒点でプロットし、他方、異なる色温度の太陽光下で得られる(ΣR/ΣG、ΣB/ΣG)の軌跡を実線で示している。この実線で示す曲線と黒点の距離Hは、得られた2つ積算値の比と、同じ相関色温度の太陽光照明下で得られるであろう2つの積算値の比の2次元的な差の絶対値であり、このHの値に応じて調整係数Cr、Cg及びCbを算出する。黒体輻射に準ずる照明(電球など)や太陽光下で撮像された場合、無彩色の被写体の色信号の積算値の2つの比(ΣR/ΣG、ΣB/ΣG)は、上記曲線上のいずれかの値となる。また、画像全面を積算すると無彩色の画像が得られる(エバンスの定理)。通常オートホワイトバランスなどはこの定理に従い、画像全面の積算値が白になるように各色信号の利得を調整する。よって、画像全体の積算値の値を算出すれば、その照明下で無彩色の被写体と撮像したときの色信号の積算値と等価の値を得ることができる。
The correction coefficient adjusting means 10 adjusts the adjustment coefficients Cr, Cg, and Cb for adjusting the correction coefficients fr, fg, and fb calculated by the correction coefficient calculating means 6f, when illumination different from the reference illumination is used. calculate. As shown in FIG. 12, the correction coefficient adjusting means 10 includes a dividing means 10a and an adjustment coefficient calculating means 10b. The dividing unit 10a obtains two ratios from the three values of the integrated values ΣR, ΣG, and ΣB input from the integrating unit 9. Here, a case will be described where values ΣR / ΣG and ΣB / ΣG are calculated by respectively dividing ΣR and ΣG by ΣB, but other ratios may be used. Then, the adjustment coefficient calculation unit 10b calculates the adjustment coefficients Cr, Cg, and Cb from the two ratios of the integrated values.
A method for calculating the adjustment coefficients Cr, Cg, and Cb by the adjustment coefficient calculation unit 10b will be specifically described with reference to FIG. In FIG. 13, the ratio of two integrated values (ΣR / ΣG, ΣB / ΣG) obtained by the dividing means 10a is plotted as a black dot on a two-dimensional plane, and on the other hand, it is obtained under sunlight with different color temperatures ( The locus of ΣR / ΣG, ΣB / ΣG) is indicated by a solid line. The distance H between the curve indicated by the solid line and the black point is a two-dimensional difference between the ratio of the two integrated values obtained and the ratio of the two integrated values that would be obtained under sunlight illumination with the same correlated color temperature. The adjustment coefficients Cr, Cg and Cb are calculated according to the value of H. When the image is taken under illumination (such as a light bulb) according to black body radiation or sunlight, the two ratios (ΣR / ΣG, ΣB / ΣG) of the integrated value of the color signal of the achromatic subject are It becomes such a value. Also, if the entire image is integrated, an achromatic image is obtained (Evans' theorem). Normally, the auto white balance and the like adjust the gain of each color signal so that the integrated value of the entire image becomes white according to this theorem. Therefore, if the value of the integrated value of the entire image is calculated, it is possible to obtain a value equivalent to the integrated value of the color signal when imaging with an achromatic subject under the illumination.

一方、蛍光灯などの人工光は太陽光にくらべ演色性が悪く、例えば昼白色蛍光灯下の被写体撮像で得られる色信号の積算値の2つの比(ΣR/ΣG、ΣB/ΣG)は、図13の黒点で示すように、前記曲線から離れた位置の値となる。照明の演色性がさらに悪くなると、図13において、黒点は通常左下側へと曲線からさらに離れていく。この距離Hから、補正係数調整手段10は調整係数Cr、Cg及びCbを算出する。距離Hと調整係数Cr、Cg及びCbとの関係の一例を図14に示す。距離Hの値が概0のとき、照明は基準照明と同一と判断され、各調整係数の値は1である。距離Hが大きくなるにつれて各調整係数の値は1から小さくなっていく。尚、各調整係数Cr、Cg及びCbと距離Hの関係は同一ではなく、各調整係数ごとに異なる。例えば、図14において、H=0の時の各調整係数の値は1であるが、Hが増加した時の各調整係数の傾きは異なる。例えば、図8と図9を比較すると、G信号とB信号は照明が変化しても入射角度依存性に大きな変化は見られないため、距離Hにかかわらず、Cg=Cb=1としても、概ね良好な近似となる。一方、R信号に関しては、入射角度依存性が太陽光と蛍光灯とで大きく異なるため、図14のように、Crは距離Hの増加に対して減少するように定める必要がある。   On the other hand, artificial light such as a fluorescent lamp has poor color rendering properties compared to sunlight. For example, two ratios (ΣR / ΣG, ΣB / ΣG) of integrated values of color signals obtained by subject imaging under a daylight fluorescent lamp are: As indicated by the black dots in FIG. 13, the value is at a position away from the curve. If the color rendering properties of the illumination are further deteriorated, in FIG. 13, the black spot is usually further away from the curve to the lower left side. From this distance H, the correction coefficient adjusting means 10 calculates adjustment coefficients Cr, Cg and Cb. An example of the relationship between the distance H and the adjustment coefficients Cr, Cg, and Cb is shown in FIG. When the value of the distance H is approximately 0, it is determined that the illumination is the same as the reference illumination, and the value of each adjustment coefficient is 1. As the distance H increases, the value of each adjustment coefficient decreases from 1. Note that the relationship between the adjustment coefficients Cr, Cg, and Cb and the distance H is not the same, and is different for each adjustment coefficient. For example, in FIG. 14, the value of each adjustment coefficient when H = 0 is 1, but the slope of each adjustment coefficient when H increases is different. For example, comparing FIG. 8 and FIG. 9, the G signal and the B signal do not show a large change in the incident angle dependency even if the illumination changes. Therefore, regardless of the distance H, even if Cg = Cb = 1, Generally a good approximation. On the other hand, with respect to the R signal, the incident angle dependency differs greatly between sunlight and a fluorescent lamp, so Cr needs to be determined so as to decrease as the distance H increases as shown in FIG.

調整係数算出手段10bにおける調整係数算出方法の別の一例を図15に示す。除算手段10aにおいて得られた2つ積算値の比(ΣR/ΣG、ΣB/ΣG)に対応する色信号ごとの調整係数の値(Cr,Cg、Cb)を予め図15に示すように定め、それを2次元メモリに記憶したLUT(ルックアップテーブル)を設けることで、得られた2つ積算値の比に対して(Cr,Cg、Cb)の値を算出できる。色信号の積分比ΣR/ΣGをアドレスAとし、ΣB/ΣGをアドレスBとして入力し、メモリ内には、距離Hに応じて設けられた調整係数(Cr,Cg、Cb)が記憶されており、アドレスA及びアドレスBに対応する調整係数(Cr,Cg、Cb)を出力する。R信号の補正係数frに対する調整係数はCrであり、G信号の補正係数fgに対する調整係数はCgであり、B信号の補正係数fbに対する調整係数はCbである。以上のようにLUTを設けることで、距離Hを算出する等の演算を行なうことなく調整係数を定めることができる。   Another example of the adjustment coefficient calculation method in the adjustment coefficient calculation means 10b is shown in FIG. The adjustment coefficient values (Cr, Cg, Cb) for each color signal corresponding to the ratio of two integrated values (ΣR / ΣG, ΣB / ΣG) obtained in the dividing means 10a are determined in advance as shown in FIG. By providing an LUT (look-up table) in which it is stored in a two-dimensional memory, the value of (Cr, Cg, Cb) can be calculated with respect to the ratio of the two obtained integrated values. The color signal integration ratio ΣR / ΣG is input as address A and ΣB / ΣG is input as address B, and adjustment coefficients (Cr, Cg, Cb) provided according to the distance H are stored in the memory. , The adjustment coefficients (Cr, Cg, Cb) corresponding to the addresses A and B are output. The adjustment coefficient for the R signal correction coefficient fr is Cr, the adjustment coefficient for the G signal correction coefficient fg is Cg, and the adjustment coefficient for the B signal correction coefficient fb is Cb. By providing the LUT as described above, the adjustment coefficient can be determined without performing an operation such as calculating the distance H.

メモリ内は大きく領域分けされており(図15に示す一例では、領域AからD)、これらの領域は太陽光の曲線から距離Hに応じて決められる。各領域には色信号ごとの補正調整係数が(Cr,Cg,Cb)として記録されている。領域Aは、太陽光下の光とみなして各色信号に対する補正のための調整係数Cr,Cg,Cbはいずれも1である。領域Bから領域C、領域Dへ行くほど距離Hが大きくなるので、その調整係数は徐々に小さく、または等しくなるようにテーブル値として記録している。例えば、領域Bにおいて、(Cr,Cg,Cb)=(a、b、c)、領域Cにおいて(Cr,Cg,Cb)=(d、e、f)、領域Dにおいて(Cr,Cg,Cb)=(g、h、i)とした場合、1≧a≧d≧g、1≧b≧e≧h、1≧c≧f≧iの関係となる。このように補正係数調整手段10は積算手段9から得られた値から色信号ごとの調整係数Cr,Cg,Cbを算出し、それぞれをシェーディング補正手段6a、6b及び6cへ出力する。   The memory is largely divided into regions (in the example shown in FIG. 15, regions A to D), and these regions are determined according to the distance H from the sunlight curve. In each area, a correction adjustment coefficient for each color signal is recorded as (Cr, Cg, Cb). The area A is regarded as light under sunlight, and the adjustment coefficients Cr, Cg, and Cb for correcting each color signal are all 1. Since the distance H increases from the region B to the region C and the region D, the adjustment coefficient is recorded as a table value so that it gradually becomes smaller or equal. For example, in region B, (Cr, Cg, Cb) = (a, b, c), in region C (Cr, Cg, Cb) = (d, e, f), in region D (Cr, Cg, Cb) ) = (G, h, i), 1 ≧ a ≧ d ≧ g, 1 ≧ b ≧ e ≧ h, 1 ≧ c ≧ f ≧ i. Thus, the correction coefficient adjusting means 10 calculates the adjustment coefficients Cr, Cg, Cb for each color signal from the values obtained from the integrating means 9, and outputs them to the shading correction means 6a, 6b and 6c, respectively.

シェーディング補正手段6a、6b及び6cにおいて、それぞれに入力された調整係数Cr、Cg及びCbを乗算器6eによって、補正係数演算手段6fから出力された補正係数fr、fg及びfbにそれぞれ乗じて、加算器6fでそれぞれにa00(=1)が加算された後、その値を乗算器6dにおいて入力信号であるR信号、G信号及びB信号にそれぞれ乗じることによって補正を行なう。今ここで、図15に示した調整係数において、Crに関して、a=0.5、d=0.4、g=0.2とし、Cgに関して、b=e=h=1.0とし、Cbに関して、c=f=i=1.0とする。つまり、R信号のみをシェーディング補正の対象としている。補正係数演算手段6fは、前述したように太陽光5500Kで色シェーディングをなくすようにその補正係数fr、fg、fbが図11に示したように定められている。例えば昼白色蛍光灯のときは、補正調整係数Cr、Cg、Cbが1以下の値となるため、前記補正係数fは減じる方向に調整される。昼白色蛍光灯は領域Bに位置すると、(Cr,Cg,Cb)=(0.5,1.0,1.0)となる。よって、R信号の補正度は図11に示した半分となるため、図9に示すように入射角度に対するR信号の減衰度が太陽光時に比べて小さい昼白色蛍光灯の場合でも、過補正とならず適切に補正を行うことができる。また、G信号及びB信号は昼白色蛍光灯のときでも太陽光とほとんど同じ値であるため、調整係数Cg及びCbは1とする。このように、補正係数調整手段10から出力される調整係数によって、照明によらず常に適切な色シェーディング補正を行うことができる。   In the shading correction means 6a, 6b and 6c, the adjustment coefficients Cr, Cg and Cb inputted to the shading correction means 6a, 6b and 6c are respectively multiplied by the correction coefficients fr, fg and fb outputted from the correction coefficient calculation means 6f by the multiplier 6e and added. After a00 (= 1) is added to each in the unit 6f, the multiplier 6d multiplies the R signal, the G signal, and the B signal, which are input signals, in the multiplier 6d for correction. Here, in the adjustment coefficient shown in FIG. 15, a = 0.5, d = 0.4, g = 0.2 for Cr, b = e = h = 1.0 for Cg, and Cb , C = f = i = 1.0. That is, only the R signal is subjected to shading correction. As described above, the correction coefficient calculation means 6f has its correction coefficients fr, fg, and fb determined as shown in FIG. 11 so as to eliminate color shading with sunlight 5500K. For example, in the case of a daylight fluorescent lamp, the correction adjustment coefficients Cr, Cg, and Cb are values of 1 or less, and thus the correction coefficient f is adjusted in a decreasing direction. When the lunch white fluorescent lamp is located in the region B, (Cr, Cg, Cb) = (0.5, 1.0, 1.0). Therefore, since the correction degree of the R signal is half that shown in FIG. 11, even when the daylight fluorescent lamp has a small attenuation of the R signal relative to the incident angle as shown in FIG. The correction can be performed appropriately. Further, since the G signal and the B signal are almost the same value as sunlight even in the case of a daylight fluorescent lamp, the adjustment coefficients Cg and Cb are set to 1. In this way, appropriate color shading correction can always be performed regardless of illumination by the adjustment coefficient output from the correction coefficient adjusting means 10.

補正係数調整手段10による調整係数の算出手段のさらに別の例を示す。補正係数調整手段10は演算手段を具備しており、演算手段は図16に示す太陽光の曲線を近似するN次の近次式を有しているか、または、蛍光灯などの人工光が多く有する相関色温度(4000Kから5500K程度)近辺の近似直線B=−jA+k(ここで、j、kは定数。BはΣB/ΣG、AはΣR/ΣG)を有しており、得られた値(黒点)からの距離Hを算出し、図14で示したようにその距離Hに応じたCr、Cg、Cbそれぞれを算出して出力することでも実現できる。   Still another example of the adjustment coefficient calculation means by the correction coefficient adjustment means 10 will be described. The correction coefficient adjusting unit 10 includes a calculating unit, and the calculating unit has an Nth-order near-order expression that approximates the curve of sunlight shown in FIG. 16, or a large amount of artificial light such as a fluorescent lamp. Having an approximate straight line B = −jA + k (where j and k are constants, B is ΣB / ΣG, and A is ΣR / ΣG) in the vicinity of the correlated color temperature (approximately 4000 K to 5500 K). It is also possible to calculate the distance H from the measured value (black dot), and calculate and output each of Cr, Cg, and Cb corresponding to the distance H as shown in FIG.

実施の形態2.
図17は、この発明の実施の形態2に係る撮像装置の構成を示すブロック図である。イメージセンサ2から出力された信号がディジタル信号処理手段5から出力されるまでは、実施の形態1と同様である。
Embodiment 2. FIG.
FIG. 17 is a block diagram showing a configuration of an imaging apparatus according to Embodiment 2 of the present invention. The process until the signal output from the image sensor 2 is output from the digital signal processing means 5 is the same as in the first embodiment.

ディジタル信号処理手段5から出力されたR信号、G信号及びB信号は、積算手段9において、少なくとも1画面以上にわたり、それぞれ積算され、積算値ΣR,ΣG、ΣBが得られる。これらを補正係数調整手段20及び露出制御手段12へ出力する。露出制御手段12は、撮像装置の露出値を制御するための手段であり、積算値から得られた画像の明るさが目標とする画像の明るさより暗いときは、露出値を上げるように、タイミングジェネレータ(以下で、TGという)13へ制御信号を出力する。TG13は、イメージセンサ2を駆動するための駆動パルスを発生する手段であり、露出値を上げるときはイメージセンサ2の露出時間が長くなるように、また、露出値を下げるときはイメージセンサ2の露出時間が短くなるように駆動パルスを出力する。また、TG13により露出時間が最大となる駆動パルスを出力しても積算手段9から得られる値が小さいときには、露出制御手段12は、アナログ信号処理手段3に具備される自動利得制御手段(図示せず)へ信号利得を上げる制御信号を出力する。上記のように、露出制御手段12は、TG13及びアナログ信号処理手段3へ制御信号を出力して露出の制御を行う。   The R signal, the G signal, and the B signal output from the digital signal processing means 5 are respectively integrated over at least one screen in the integrating means 9, and integrated values ΣR, ΣG, and ΣB are obtained. These are output to the correction coefficient adjusting means 20 and the exposure control means 12. The exposure control means 12 is a means for controlling the exposure value of the image pickup apparatus. When the brightness of the image obtained from the integrated value is darker than the target brightness, the timing is set so as to increase the exposure value. A control signal is output to a generator (hereinafter referred to as TG) 13. The TG 13 is a means for generating a drive pulse for driving the image sensor 2. The exposure time of the image sensor 2 is lengthened when the exposure value is increased, and the image sensor 2 is decreased when the exposure value is decreased. A drive pulse is output so that the exposure time is shortened. If the value obtained from the integrating means 9 is small even if a driving pulse that maximizes the exposure time is output by the TG 13, the exposure control means 12 is an automatic gain control means (not shown) provided in the analog signal processing means 3. Control signal to increase the signal gain. As described above, the exposure control means 12 controls the exposure by outputting control signals to the TG 13 and the analog signal processing means 3.

また、露出制御手段12は、露出制御12を行うための制御信号を出力すると同時に、イメージセンサ2の蓄積時間Sとアナログ信号処理手段3での信号利得Gとを記録しており、前記蓄積時間S及び信号利得Gを補正係数調整手段20へ出力する。 The exposure control means 12 outputs a control signal for performing the exposure control 12, and simultaneously records the accumulation time S of the image sensor 2 and the signal gain G of the analog signal processing means 3, and the accumulation time S and the signal gain G are output to the correction coefficient adjusting means 20.

補正係数調整手段20は、図18に示すように積算手段9から得られた積算値から輝度信号の積算値ΣYを生成する輝度信号生成手段20aと、輝度信号ΣYを正規化する正規化手段20bと、比較器20c及び調整係数算出手段20dから構成されている。輝度信号生成手段20aは、入力された色信号の積算値から輝度信号の積算値ΣYを算出する。例えば、ΣY=ΣR+2・ΣG+ΣBで輝度信号を算出する。正規化手段20bは、輝度信号生成手段20aから出力されるΣYを露出制御手段12から出力された露出時間Sと信号利得Gとで除算し、ΣY/(S・G)を算出する。積算手段9から得られる色信号の積算値はすでに露出制御された信号値であるため、ΣYは大体の被写体照度においてほぼ一定の値が得られる。よって、得られた輝度信号の積算値ΣYをその信号を得たときの露出条件である蓄積時間Sと信号利得Gで割ることにより、被写体の明るさを算出することができる。ΣYが一定のときでも、イメージセンサ2の蓄積時間Sや信号利得Gが大きくなるにつれて、被写体の明るさは暗くなっていっていること示す。正規化手段20bから出力されたΣY/(S・G)は、比較器20cに入力され、予め定めておいた値と比較し、その結果を調整係数算出手段20dへ出力する。   As shown in FIG. 18, the correction coefficient adjusting unit 20 includes a luminance signal generating unit 20a that generates an integrated value ΣY of the luminance signal from the integrated value obtained from the integrating unit 9, and a normalizing unit 20b that normalizes the luminance signal ΣY. And a comparator 20c and adjustment coefficient calculation means 20d. The luminance signal generation unit 20a calculates an integrated value ΣY of the luminance signal from the integrated value of the input color signal. For example, the luminance signal is calculated by ΣY = ΣR + 2 · ΣG + ΣB. The normalizing means 20b divides ΣY output from the luminance signal generating means 20a by the exposure time S output from the exposure control means 12 and the signal gain G to calculate ΣY / (S · G). Since the integrated value of the color signal obtained from the integrating means 9 is a signal value for which exposure control has already been performed, ΣY can be obtained as a substantially constant value for the approximate subject illuminance. Therefore, the brightness of the subject can be calculated by dividing the integrated value ΣY of the obtained luminance signal by the accumulation time S and the signal gain G, which are exposure conditions when the signal is obtained. Even when ΣY is constant, the brightness of the subject is getting darker as the accumulation time S and the signal gain G of the image sensor 2 are increased. ΣY / (S · G) output from the normalizing means 20b is input to the comparator 20c, compared with a predetermined value, and the result is output to the adjustment coefficient calculating means 20d.

一般に、外光(太陽光)は数千lx(ルクス)から数十万lxの明るさであり、蛍光灯などの室内光は数十lxから1000lx程度の明るさで、外光に比べて著しくその明るさは低い。よって、例えば、概1000lxの明るさのときに得られる被写体の明るさ(一例として、被写体の反射率を18%程度と考えた場合の明るさ)に相当する値を比較器20cの比較する値として予め設けておくことで、正規化手段20bから得られた値を比較器20cに設けられた比較用の値より大きいときは外光(太陽光)、小さいときは室内光(蛍光灯)と判断することができる。 In general, external light (sunlight) has a brightness of several thousand lx (lux) to several hundred thousand lx, and indoor light such as a fluorescent lamp has a brightness of about several tens of lx to 1000 lx, which is significantly higher than that of external light. Its brightness is low. Therefore, for example, a value corresponding to the brightness of the subject obtained when the brightness is approximately 1000 lx (for example, the brightness when the reflectance of the subject is assumed to be about 18%) is compared with the comparator 20c. As a result, when the value obtained from the normalizing means 20b is larger than the comparison value provided in the comparator 20c, it is outside light (sunlight), and when it is smaller, it is indoor light (fluorescent lamp). Judgment can be made.

調整係数算出手段20dは、実施の形態1と同様に、調整係数Cr、Cg、Cbを出力するが、比較器20cにより外光(太陽光)と判断されたときは、いずれの値も1を出力し、結果として、シェーディング補正手段6a、6b及び6cにおける補正係数演算手段6fから出力された補正係数fr、fg及びfbをそのまま補正係数として用いるようにする。一方、比較器20cにより室内光(蛍光灯)と判断されたときは、実施の形態1と同様に、R信号の補正度が小さくなるよう、Crは1より小さい値を出力する。この場合も、Crは1よりも小さく、太陽光とシェーディング量が余り変わらないBとGに対してはその調整係数CgとCbは1と概同値の値が出力される。これにより、太陽光及び蛍光灯に応じて適切な色シェーディング補正を行うことができ、過補正または補正不足を解決することができる。   The adjustment coefficient calculation unit 20d outputs the adjustment coefficients Cr, Cg, and Cb as in the first embodiment. However, when the comparator 20c determines that the light is outside light (sunlight), all the values are 1. As a result, the correction coefficients fr, fg, and fb output from the correction coefficient calculation means 6f in the shading correction means 6a, 6b, and 6c are used as correction coefficients as they are. On the other hand, when the comparator 20c determines that the light is indoor light (fluorescent lamp), similarly to the first embodiment, Cr outputs a value smaller than 1 so that the correction degree of the R signal becomes small. Also in this case, Cr is smaller than 1, and the adjustment coefficients Cg and Cb are approximately the same value as 1 for B and G in which the amount of sunlight and shading do not change much. Thereby, appropriate color shading correction can be performed according to sunlight and a fluorescent lamp, and overcorrection or insufficient correction can be solved.

シェーディング補正手段6a、6b及び6cから出力された各色信号は、以後実施の形態1と同様に処理される。   Each color signal output from the shading correction means 6a, 6b and 6c is processed in the same manner as in the first embodiment.

実施の形態3.
図19は、この発明の実施の形態3に係る撮像装置の構成を示すブロック図である。イメージセンサ2から出力された信号が、ディジタル信号処理手段5から出力されるまでは、実施の形態1及び実施の形態2と同様である。
Embodiment 3 FIG.
FIG. 19 is a block diagram showing a configuration of an imaging apparatus according to Embodiment 3 of the present invention. The process until the signal output from the image sensor 2 is output from the digital signal processing means 5 is the same as in the first and second embodiments.

積算手段9は少なくとも色信号であるR信号とB信号とを1画面以上積算し、積算値ΣR、ΣBを補正係数調整手段30へ出力する。補正係数調整手段30は図20に示すようにΣR/ΣBを算出する除算手段30aと、除算手段30aの出力値ΣR/ΣBから調整係数Cr、Cg及びCbを算出する調整係数算出手段30bから構成されている。除算手段30aから得られるΣR/ΣBは照明の色温度に応じて変わる値であり、色温度が低くなるとΣR/ΣBは大きくなり、色温度が高くなるとΣR/ΣBは小さくなる。補正係数調整手段30は、ΣR/ΣBは大きくなると、すなわち色温度が低くなるにつれて、Cg及びCbの値を図21に示すように1よりも小さくしていく。Crは概1の値を出力する。これにより、図7及び図8に示したように色温度に応じて異なるシェーディング量に対して、適切に色シェーディングの補正を行うことができる。   The accumulating unit 9 accumulates at least one R signal and B signal, which are color signals, and outputs the accumulated values ΣR and ΣB to the correction coefficient adjusting unit 30. As shown in FIG. 20, the correction coefficient adjusting means 30 includes a dividing means 30a for calculating ΣR / ΣB, and an adjustment coefficient calculating means 30b for calculating adjustment coefficients Cr, Cg and Cb from the output values ΣR / ΣB of the dividing means 30a. Has been. ΣR / ΣB obtained from the dividing means 30a is a value that changes in accordance with the color temperature of the illumination. ΣR / ΣB increases as the color temperature decreases, and ΣR / ΣB decreases as the color temperature increases. The correction coefficient adjusting means 30 makes the values of Cg and Cb smaller than 1 as shown in FIG. 21 as ΣR / ΣB increases, that is, as the color temperature decreases. Cr outputs a value of approximately 1. As a result, as shown in FIGS. 7 and 8, color shading can be appropriately corrected for different shading amounts depending on the color temperature.

上記では、ΣR/ΣBの値から調整係数を求めたが、ΣR/ΣBの値の代わりにΣR/ΣGやΣR/(ΣG+ΣB)の値を用いても同様の効果が得られる。さらに、実施の形態1または2で示した調整係数を求める手段と、本実施の形態で示した調整係数を求める手段を組み合わせることで、さらに良好な色シェーディングの補正が可能となる。
In the above, the adjustment coefficient is obtained from the value of ΣR / ΣB, but the same effect can be obtained by using the value of ΣR / ΣG or ΣR / (ΣG + ΣB) instead of the value of ΣR / ΣB. Furthermore, by combining the means for obtaining the adjustment coefficient shown in the first or second embodiment and the means for obtaining the adjustment coefficient shown in the present embodiment, it is possible to perform better color shading correction.

この発明の実施の形態1に係る撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device which concerns on Embodiment 1 of this invention. この発明に係るイメージセンサに対する光線の入射角度を示す図である。It is a figure which shows the incident angle of the light ray with respect to the image sensor which concerns on this invention. この発明に係る像高に対する色信号レベルを示した色シェーディングの説明図である。It is explanatory drawing of the color shading which showed the color signal level with respect to the image height based on this invention. この発明に係るイメージセンサの各色ごとの分光感度特性を示す図である。It is a figure which shows the spectral sensitivity characteristic for every color of the image sensor which concerns on this invention. この発明に係るIRCFの入射角度に対する分光特性を示す図である。It is a figure which shows the spectral characteristic with respect to the incident angle of IRCF based on this invention. この発明に係る照明の種類ごとの分光特性を示す図である。It is a figure which shows the spectral characteristic for every kind of illumination based on this invention. この発明に係る色温度3000Kのときの入射角度に対する各色信号レベルの相対値を示す図である。It is a figure which shows the relative value of each color signal level with respect to the incident angle in case the color temperature is 3000K based on this invention. この発明に係る色温度5500Kのときの入射角度に対する各色信号レベルの相対値を示す図である。It is a figure which shows the relative value of each color signal level with respect to an incident angle in case the color temperature which concerns on this invention is 5500K. この発明に係る昼白光蛍光灯のときの入射角度に対する各色信号レベルの相対値を示す図である。It is a figure which shows the relative value of each color signal level with respect to the incident angle at the time of the daylight fluorescent lamp which concerns on this invention. この発明に係るシェーディング補正手段の具体的な構成を示す図である。It is a figure which shows the specific structure of the shading correction | amendment means based on this invention. この発明に係る座標位置に対するシェーディングの補正係数を示す図である。It is a figure which shows the correction coefficient of the shading with respect to the coordinate position which concerns on this invention. この発明の実施の形態1に係る補正係数調整手段の具体的な構成を示す図である。It is a figure which shows the specific structure of the correction coefficient adjustment means which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る太陽光下における色信号の積算値の比と蛍光灯下における色信号の積算値の比を示す図である。It is a figure which shows the ratio of the integrated value of the color signal under sunlight and the ratio of the integrated value of the color signal under fluorescent lamp concerning Embodiment 1 of this invention. この発明の実施の形態1に係る距離Hと調整係数Cとの関係図である。FIG. 5 is a relationship diagram between a distance H and an adjustment coefficient C according to Embodiment 1 of the present invention. この発明の実施の形態1に係るLUT内のテーブル構成を示す図である。It is a figure which shows the table structure in LUT which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る得られた値が黒体輻射の軌跡からどれだけ距離が離れているかを算出するため近次式を示す図である。It is a figure which shows a near-order type | formula in order to calculate how far the obtained value which concerns on Embodiment 1 of this invention is from the locus | trajectory of a black body radiation. この発明の実施の形態2に係る撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係る補正係数調整手段の具体的な構成を示す図である。It is a figure which shows the specific structure of the correction coefficient adjustment means based on Embodiment 2 of this invention. この発明の実施の形態3に係る撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device which concerns on Embodiment 3 of this invention. この発明の実施の形態3に係る補正係数調整手段の具体的な構成を示す図である。It is a figure which shows the specific structure of the correction coefficient adjustment means based on Embodiment 3 of this invention. この発明の実施の形態3に係る色信号の積算値の比ΣR/ΣBに対する調整係数Cの関係を示す図である。It is a figure which shows the relationship of the adjustment coefficient C with respect to ratio (SIGMA) R / (SIGMA) B of the integrated value of the color signal which concerns on Embodiment 3 of this invention.

符号の説明Explanation of symbols

1 光学系
1a レンズ
1b 赤外除去フィルタ(IRCF)
2 イメージセンサ
3 アナログ信号処理手段
4 A/Dコンバータ
5 デジタル信号処理手段
6a Rのシェーディング補正手段
6b Gのシェーディング補正手段
6c Bのシェーディング補正手段
6d 乗算器
6e 乗算器
6f 補正係数演算手段
6g 座標値発生手段
6h 加算器
7a Rのホワイトバランス用利得回路
7b Gのホワイトバランス用利得回路
7c Bのホワイトバランス用利得回路
8a R用ガンマ補正手段
8b G用ガンマ補正手段
8c B用ガンマ補正手段
9 積算手段
10 実施の形態1に係る補正係数調整手段
10a 除算手段
10b 調整係数算出手段
11 RGB/YUV変換手段
20 実施の形態2に係る補正係数調整手段
20a 輝度信号生成手段
20b 正規化手段
20c 比較器
20d 調整係数算出手段
30 実施の形態3に係る補正係数調整手段
30a 除算手段
30b 調整係数算出手段
1 Optical System 1a Lens 1b Infrared Rejection Filter (IRCF)
2 Image sensor 3 Analog signal processing means 4 A / D converter 5 Digital signal processing means 6a R shading correction means 6b G shading correction means 6c B shading correction means 6d Multiplier 6e Multiplier 6f Correction coefficient calculation means 6g Coordinate value Generating means 6h White balance gain circuit 7b of adder 7a R White balance gain circuit 7c G White balance gain circuit 8a R gamma correction means 8b G gamma correction means 8c B gamma correction means 9 Integration means 10. Correction coefficient adjustment unit 10a according to Embodiment 1 Division unit 10b Adjustment coefficient calculation unit 11 RGB / YUV conversion unit 20 Correction coefficient adjustment unit 20a according to Embodiment 2 Luminance signal generation unit 20b Normalization unit 20c Comparator 20d Adjustment Coefficient calculation means 30 according to the third embodiment Positive coefficient adjusting means 30a dividing means 30b adjustment coefficient calculating means

Claims (12)

撮像面に配置され、複数の画素からなる撮像素子と、
この撮像素子の前に配置され、R、G及びBをそれぞれ透過させる色フィルタを
有する撮像装置であって、
前記R、G及びBに対応する信号毎の補正係数を前記画素位置より算出する補正係数演算手段と、
前記撮像素子の前記複数の画素より得られたR、G及びBに対応する信号をそれぞれ少なくとも画面一面以上にわたり積算し、積算値ΣR、ΣGおよびΣBを得る積算手段と、
前記積算値ΣR、ΣGおよびΣBのうち、少なくとも2つの前記積算値の比から、前記補正係数を調整するための調整係数を算出する補正係数調整手段と、
前記補正係数を、前記調整係数に応じて調整し、前記R、G及びBに対応する信号毎にシェーディング補正を行うシェーディング補正手段
を備えたことを特徴とする撮像装置。
An image sensor disposed on the imaging surface and including a plurality of pixels;
An image pickup apparatus that is arranged in front of the image pickup element and has color filters that transmit R, G, and B, respectively,
Correction coefficient calculation means for calculating a correction coefficient for each signal corresponding to R, G and B from the pixel position;
Integration means for integrating signals corresponding to R, G, and B obtained from the plurality of pixels of the image sensor over at least one screen, respectively, to obtain integrated values ΣR, ΣG, and ΣB;
Correction coefficient adjusting means for calculating an adjustment coefficient for adjusting the correction coefficient from a ratio of at least two of the integrated values ΣR, ΣG and ΣB;
An image pickup apparatus comprising: a shading correction unit that adjusts the correction coefficient according to the adjustment coefficient and performs shading correction for each of the signals corresponding to the R, G, and B.
不要な赤外線を除去するための赤外カットフィルタを具備したことを特徴とする請求項1記載の撮像装置 2. An imaging apparatus according to claim 1, further comprising an infrared cut filter for removing unnecessary infrared rays. 前記赤外カットフィルタは、2種以上の屈折率の異なる薄膜層を積層した多層構造を有する薄膜を備えたことを特徴とする請求項2記載の撮像装置。 The imaging apparatus according to claim 2, wherein the infrared cut filter includes a thin film having a multilayer structure in which two or more kinds of thin film layers having different refractive indexes are stacked. 前記シェーディング補正手段は、前記補正係数に前記調整係数を乗じることで前記調整された補正係数を得る乗算器を有したことを特徴とする請求項1から3のいずれかに記載の撮像装置。 The imaging apparatus according to claim 1, wherein the shading correction unit includes a multiplier that obtains the adjusted correction coefficient by multiplying the correction coefficient by the adjustment coefficient. 前記シェーディング補正手段は、調整された前記補正係数と信号の増幅率を加算する加算器と、前記加算された値に画素毎の信号値を乗ずるための乗算器とを有したことを特徴とする請求項1から3のいずれかに記載の撮像装置。 The shading correction means includes an adder for adding the adjusted correction coefficient and a signal amplification factor, and a multiplier for multiplying the added value by a signal value for each pixel. The imaging device according to claim 1. 前記シェーディング補正手段は、前記画素毎の前記撮像素子の中心からの距離である像高を算出する算出手段を備えたことを特徴とする請求項4または5に記載の撮像装置。 The imaging apparatus according to claim 4, wherein the shading correction unit includes a calculation unit that calculates an image height that is a distance from a center of the imaging element for each pixel. 前記補正係数調整手段は、前記積算手段において積算された積算値ΣR、ΣGおよびΣBから得られる2つの比からなる2次元ベクトルと、同相関色温度である太陽光下で得られる積算値ΣR、ΣGおよびΣBから得られる2つの比からなる2次元ベクトルとの2次元平面上での差の絶対値Hを算出し、前記Hより前記調整係数を算出する調整係数算出手段を有したことを特徴とする請求項1から6のいずれかに記載の撮像装置。 The correction coefficient adjusting means includes a two-dimensional vector composed of two ratios obtained from the integrated values ΣR, ΣG and ΣB integrated by the integrating means, and an integrated value ΣR obtained under sunlight having the same correlated color temperature, It has an adjustment coefficient calculation means for calculating an absolute value H of a difference on a two-dimensional plane from a two-dimensional vector having two ratios obtained from ΣG and ΣB, and calculating the adjustment coefficient from the H. An imaging apparatus according to any one of claims 1 to 6. 前記調整係数算出手段は、前記積算値ΣR、ΣG及びΣBの2つの比と前記調整係数が対応するテーブルを有することを特徴とする請求項7記載の撮像装置。 The imaging apparatus according to claim 7, wherein the adjustment coefficient calculation unit includes a table in which two ratios of the integrated values ΣR, ΣG, and ΣB correspond to the adjustment coefficient. 前記補正係数調整手段は、前記積算手段から得られた前記積算値ΣR、ΣG及びΣBから画像全体の明るさを示す輝度信号を算出する輝度信号生成手段と、前記輝度信号の大きさにより前記調整係数を算出する調整係数算出手段とを有したことを特徴とする請求項1から6のいずれかに記載の撮像装置。 The correction coefficient adjusting means includes a luminance signal generating means for calculating a luminance signal indicating the brightness of the entire image from the integrated values ΣR, ΣG and ΣB obtained from the integrating means, and the adjustment according to the magnitude of the luminance signal. The imaging apparatus according to claim 1, further comprising an adjustment coefficient calculation unit that calculates a coefficient. 前記補正係数調整手段は、前記輝度信号生成手段から得られた前記輝度信号の値と予め定めておいた定数を比較する比較器を有し、前記比較器により前記輝度信号の値が前記定数より小さいと判定されたとき、前記調整係数の値を小さくすることを特徴とする請求項9記載の撮像装置。 The correction coefficient adjusting unit includes a comparator that compares a value of the luminance signal obtained from the luminance signal generating unit with a predetermined constant, and the value of the luminance signal is compared with the constant by the comparator. The imaging apparatus according to claim 9, wherein when it is determined to be small, the value of the adjustment coefficient is decreased. 前記補正係数調整手段は、前記積算手段から得られた前記積算値ΣR、ΣG及びΣBから得た比ΣR/ΣBまたはΣR/ΣGを算出する除算器を有し、前記除算器で得られた前記積算値の比が大きくなるにつれて前記調整係数を大きくすることを特徴とする請求項1から10のいずれかに記載の撮像装置。 The correction coefficient adjusting means has a divider for calculating a ratio ΣR / ΣB or ΣR / ΣG obtained from the integrated values ΣR, ΣG and ΣB obtained from the integrating means, and The imaging apparatus according to claim 1, wherein the adjustment coefficient is increased as a ratio of integrated values increases. 請求項1から11のいずれかに記載の撮像装置を備えたことを特徴とする携帯電話。
A mobile phone comprising the imaging device according to claim 1.
JP2005039025A 2005-02-16 2005-02-16 IMAGING DEVICE AND MOBILE PHONE HAVING IMAGING DEVICE Expired - Fee Related JP4134991B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005039025A JP4134991B2 (en) 2005-02-16 2005-02-16 IMAGING DEVICE AND MOBILE PHONE HAVING IMAGING DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005039025A JP4134991B2 (en) 2005-02-16 2005-02-16 IMAGING DEVICE AND MOBILE PHONE HAVING IMAGING DEVICE

Publications (2)

Publication Number Publication Date
JP2006229425A true JP2006229425A (en) 2006-08-31
JP4134991B2 JP4134991B2 (en) 2008-08-20

Family

ID=36990408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005039025A Expired - Fee Related JP4134991B2 (en) 2005-02-16 2005-02-16 IMAGING DEVICE AND MOBILE PHONE HAVING IMAGING DEVICE

Country Status (1)

Country Link
JP (1) JP4134991B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008085388A (en) * 2006-09-25 2008-04-10 Fujifilm Corp Imaging apparatus
WO2008056531A1 (en) * 2006-11-07 2008-05-15 Sharp Kabushiki Kaisha Image processing device, solid-state imaging device, electronic device, image processing method, and image processing program
EP1962517A1 (en) * 2007-02-21 2008-08-27 STMicroelectronics (Research & Development) Limited Error reduction in image sensors
WO2008131390A1 (en) 2007-04-23 2008-10-30 Hewlett-Packard Development Company, L.P. Correcting a captured image in digital imaging devices
CN102131040A (en) * 2010-06-04 2011-07-20 苹果公司 Adaptive lens shading correction
JP2013046377A (en) * 2011-08-26 2013-03-04 Casio Comput Co Ltd Image processor, image processing method and program
JP2013198041A (en) * 2012-03-22 2013-09-30 Samsung R&D Institute Japan Co Ltd Image processing device
JP2015070348A (en) * 2013-09-27 2015-04-13 池上通信機株式会社 Color unevenness correction method, and imaging apparatus having color unevenness correction unit
KR20160025631A (en) 2013-07-18 2016-03-08 어큐트로직 가부시키가이샤 Image processing device, image processing method, and image processing program

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008085388A (en) * 2006-09-25 2008-04-10 Fujifilm Corp Imaging apparatus
WO2008056531A1 (en) * 2006-11-07 2008-05-15 Sharp Kabushiki Kaisha Image processing device, solid-state imaging device, electronic device, image processing method, and image processing program
EP1962517A1 (en) * 2007-02-21 2008-08-27 STMicroelectronics (Research & Development) Limited Error reduction in image sensors
WO2008131390A1 (en) 2007-04-23 2008-10-30 Hewlett-Packard Development Company, L.P. Correcting a captured image in digital imaging devices
EP2143068A1 (en) * 2007-04-23 2010-01-13 Hewlett-Packard Development Company, L.P. Correcting a captured image in digital imaging devices
EP2143068A4 (en) * 2007-04-23 2012-11-07 Hewlett Packard Development Co Correcting a captured image in digital imaging devices
WO2011152848A1 (en) 2010-06-04 2011-12-08 Apple Inc. Adaptive lens shading correction
US8228406B2 (en) 2010-06-04 2012-07-24 Apple Inc. Adaptive lens shading correction
CN102131040A (en) * 2010-06-04 2011-07-20 苹果公司 Adaptive lens shading correction
JP2013046377A (en) * 2011-08-26 2013-03-04 Casio Comput Co Ltd Image processor, image processing method and program
US8970745B2 (en) 2011-08-26 2015-03-03 Casio Computer Co., Ltd. Image processing device, image processing method and storage medium to suppress shading of images in which pixel addition processing is performed
JP2013198041A (en) * 2012-03-22 2013-09-30 Samsung R&D Institute Japan Co Ltd Image processing device
KR20160025631A (en) 2013-07-18 2016-03-08 어큐트로직 가부시키가이샤 Image processing device, image processing method, and image processing program
US9479708B2 (en) 2013-07-18 2016-10-25 Acutelogic Corporation Image processing device, image processing method, and image processing program
JP2015070348A (en) * 2013-09-27 2015-04-13 池上通信機株式会社 Color unevenness correction method, and imaging apparatus having color unevenness correction unit

Also Published As

Publication number Publication date
JP4134991B2 (en) 2008-08-20

Similar Documents

Publication Publication Date Title
JP4134991B2 (en) IMAGING DEVICE AND MOBILE PHONE HAVING IMAGING DEVICE
US10893248B2 (en) Imaging sensor and imaging device
US10367992B2 (en) Image sensor and electronic apparatus
JP4324404B2 (en) Solid-state imaging device and digital camera
JP5432075B2 (en) Imaging apparatus and color temperature calculation method
JP6055681B2 (en) Imaging device
JP4635828B2 (en) Imaging apparatus, image processing apparatus, image processing method, and image processing program
JP6004221B2 (en) Image processing device
JP2009017544A (en) Image pickup device
JP2007074635A (en) Image input apparatus and solid imaging element
US20100085447A1 (en) Noise canceling circuit, noise canceling method, and solid-state imaging device
US8040412B2 (en) Imaging apparatus and image data correcting method
EP3270587A1 (en) Image processing device, image processing method, and program
CN102148933A (en) Image processing apparatus
JP6538818B2 (en) Image processing apparatus, image processing method and program
JP5010909B2 (en) Imaging apparatus and image data correction method
US11200647B2 (en) Image processing
JP2009532969A (en) Method for processing relative illuminance phenomenon on digital image and related processing system
US20130176416A1 (en) Imaging apparatus, method for controlling imaging apparatus, and storage medium
JP4993670B2 (en) Imaging apparatus and control method thereof
CN108496360B (en) Image processing apparatus, image processing method, and program-recorded medium
CN115278057A (en) Image acquisition method and device, electronic equipment and storage medium
JP3966866B2 (en) Imaging apparatus, camera, and signal processing method
JP4993275B2 (en) Image processing device
JP2011040975A (en) Image processing apparatus, imaging apparatus, image processing method and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070919

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: 20080507

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: 20080520

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees