JP2010119051A - Imaging device and imaging method - Google Patents

Imaging device and imaging method Download PDF

Info

Publication number
JP2010119051A
JP2010119051A JP2008292517A JP2008292517A JP2010119051A JP 2010119051 A JP2010119051 A JP 2010119051A JP 2008292517 A JP2008292517 A JP 2008292517A JP 2008292517 A JP2008292517 A JP 2008292517A JP 2010119051 A JP2010119051 A JP 2010119051A
Authority
JP
Japan
Prior art keywords
block
light source
blocks
unit
image
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
JP2008292517A
Other languages
Japanese (ja)
Other versions
JP4705146B2 (en
Inventor
Tsuyoshi Moriya
剛志 森谷
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.)
Hanwha Techwin Co Ltd
Original Assignee
Samsung Techwin Co Ltd
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 Samsung Techwin Co Ltd filed Critical Samsung Techwin Co Ltd
Priority to JP2008292517A priority Critical patent/JP4705146B2/en
Priority to KR1020090042543A priority patent/KR101612853B1/en
Publication of JP2010119051A publication Critical patent/JP2010119051A/en
Application granted granted Critical
Publication of JP4705146B2 publication Critical patent/JP4705146B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging device capable of performing image processing for correcting white balance without increasing a processing load. <P>SOLUTION: The imaging device includes a first division means of dividing an image signal obtained by an imaging element into a plurality of first blocks, a second division means of further dividing the first blocks into M second blocks, a position changing means of changing a second block as an object of operation by frames, an arithmetic means of performing arithmetic processing on the second block changed by the position changing means before recording and on the first blocks during the recording, and a light source estimating means of estimating a light source of the image signal using an arithmetic result of the closest M frames with respect to the second blocks and an arithmetic result with respect to the first blocks. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、撮像装置及び撮像方法に関する。   The present invention relates to an imaging apparatus and an imaging method.

デジタルスチルカメラなど、被写体を電子的に撮影する電子的撮像装置においては、照明の光源にかかわらず、白い被写体が白く撮影されるように、ホワイトバランスを補正する画像信号処理(ホワイトバランス補正処理)が、一般的に組み込まれている。ホワイトバランス補正処理は、照明光源によっては、肉眼で観察した被写体像と、撮影された画像との間に色彩上の差異が生じる。この場合に、特に白色の被写体が白く再現されるようにするための補正処理である。例えば、日光などの自然光と、蛍光灯などの人工光とでは、両光源の色温度に相違があり、この結果、撮影された画像の白色再現性に大きな影響を及ぼすこととなる。従って、ホワイトバランス補正処理を施すことにより、撮像装置によって再現される画像に違和感が生じないようにすることができる。   In an electronic imaging device that electronically captures a subject, such as a digital still camera, image signal processing (white balance correction processing) that corrects white balance so that a white subject is photographed white regardless of the light source of the illumination Is generally incorporated. In the white balance correction process, depending on the illumination light source, a color difference occurs between the subject image observed with the naked eye and the captured image. In this case, the correction process is performed so that a white subject is reproduced in white. For example, there is a difference in color temperature between natural light such as sunlight and artificial light such as a fluorescent lamp, and as a result, the white reproducibility of a captured image is greatly affected. Therefore, by applying the white balance correction process, it is possible to prevent the image reproduced by the imaging apparatus from feeling uncomfortable.

ホワイトバランスの補正は、撮像素子より得られた画像信号を複数のブロックに分割し、分割したブロック毎にR(赤色)、G(緑色)、B(青色)などの色別積算値を求め、無彩色として制御するか有彩色として処理をするか判断する。そして、無彩色と判断したブロックにおける積算値がR=G=Bとなるように、ホワイトバランス制御を行うことが一般的である。   For white balance correction, the image signal obtained from the image sensor is divided into a plurality of blocks, and an integrated value for each color such as R (red), G (green), and B (blue) is obtained for each divided block. It is determined whether to control as an achromatic color or to process as a chromatic color. In general, white balance control is performed so that an integrated value in a block determined to be an achromatic color is R = G = B.

ところが、分割したブロックにおいて複数の色が存在することにより混色が発生すると、正しく有彩色・無彩色の判断ができなくなってしまう。そこで、ブロックを細かく分割することで混色の発生を出来るだけ抑えて、ホワイトバランスの判断が正常になされるような技術が開示されている(例えば特許文献1〜4参照)。   However, if mixed colors occur due to the presence of a plurality of colors in the divided blocks, it becomes impossible to correctly determine chromatic colors / achromatic colors. Therefore, a technique is disclosed in which the occurrence of color mixing is suppressed as much as possible by finely dividing a block so that white balance can be judged normally (see, for example, Patent Documents 1 to 4).

特開2007−336107号公報JP 2007-336107 A 特開2007−228516号公報JP 2007-228516 A 特開2006−211440号公報JP 2006-211144 A 特開2005−12763号公報JP 2005-12763 A

しかし、混色の発生を抑えるために、画像信号処理の対象となるブロックを細かく分割すると、その分ホワイトバランス制御の処理時間が長くなり、1フレーム内に処理を終えることができないという問題があった。特に、撮像素子から得られる画像を撮像装置に備えられたモニタに逐次表示するライブビュー時においては、ホワイトバランスゲインの算出時間が延びると、実際に眼で見ているシーンと、モニタにライブビュー表示されているシーンとに時間差が発生してしまう。また、静止画撮影時においても、ホワイトバランス制御の処理時間が長くなると、撮影終了までの時間が長くなってしまうという問題があり、特に短時間で連続して撮影をする場合などでは、次の撮影処理への動作遅延が発生してしまう。さらに、携帯電話他の携帯端末に撮像素子を備えてカメラ機能を持たせる場合には、低消費電力化の観点から処理時間を短縮させることが出来れば良いことは言うまでも無い。   However, if the block to be subjected to image signal processing is divided finely in order to suppress the occurrence of color mixing, there is a problem that the processing time for white balance control becomes longer and the processing cannot be completed within one frame. . In particular, during live view in which images obtained from an image sensor are sequentially displayed on a monitor provided in the image pickup device, if the calculation time of the white balance gain is extended, the scene actually viewed with the eye and the live view on the monitor are displayed. A time difference will occur between the displayed scenes. Even during still image shooting, if the processing time of white balance control becomes longer, there is a problem that the time until the end of shooting becomes longer, especially when shooting continuously in a short time, etc. An operation delay to the photographing process occurs. Furthermore, when the mobile phone or other mobile terminal is provided with an image sensor and has a camera function, it is needless to say that the processing time can be shortened from the viewpoint of reducing power consumption.

そこで、本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、混色の発生を抑えるために、記録前の段階では画像信号処理の対象となるブロックを細かく分割し、記録時には、記録前の段階における、細かく分割したブロックに対する評価結果を用いることで、処理負荷を増やさずにホワイトバランスを補正する画像信号処理が可能な、新規かつ改良された撮像装置及び撮像方法を提供することにある。   Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to finely divide a block to be subjected to image signal processing at a stage before recording in order to suppress the occurrence of color mixing. However, at the time of recording, a new and improved imaging apparatus and imaging capable of performing image signal processing for correcting white balance without increasing the processing load by using the evaluation results for the finely divided blocks at the stage before recording. It is to provide a method.

上記課題を解決するために、本発明のある観点によれば、撮像素子より得られた画像信号を複数の第1ブロックに分割する第1分割手段と、第1ブロックをさらにM個の第2ブロックに分割する第2分割手段と、演算対象の第2ブロックをフレーム毎に変化させる位置変更手段と、記録前には位置変更手段が変化させた第2ブロックに対して演算処理を実行し、記録時には第1ブロックに対して演算処理を実行する演算手段と、第2ブロックに対する直近Mフレームの演算手段の演算結果および第1ブロックに対する演算結果を用いて画像信号の光源を推定する光源推定手段と、を備える撮像装置が提供される。   In order to solve the above-described problem, according to one aspect of the present invention, a first dividing unit that divides an image signal obtained from an image sensor into a plurality of first blocks, and the first block is further divided into M second blocks. A second dividing means for dividing the block into blocks, a position changing means for changing the second block to be calculated for each frame, and a calculation process for the second block changed by the position changing means before recording, Calculation means for performing calculation processing on the first block at the time of recording, and light source estimation means for estimating the light source of the image signal using the calculation result of the calculation means for the nearest M frame for the second block and the calculation result for the first block Is provided.

かかる構成によれば、第1分割手段は撮像素子より得られた画像信号を複数の第1ブロックに分割し、第2分割手段は第1ブロックをさらにM個の第2ブロックに分割する。そして、位置変更手段は演算対象の第2ブロックをフレーム毎に変化させ、光源推定手段は、第2ブロックに対する直近Mフレームの演算手段の演算結果および第1ブロックに対する演算結果を用いて画像信号の光源を推定する。その結果、記録前の段階では画像信号処理の対象となるブロックを第2ブロックとして細かく分割し、記録時には、記録前の段階における、細かく分割した第2ブロックに対する演算結果と、記録時における第1ブロックに対する演算結果を用いることで、処理負荷を増やさずに画像信号処理ができる。   According to this configuration, the first dividing unit divides the image signal obtained from the image sensor into a plurality of first blocks, and the second dividing unit further divides the first block into M second blocks. Then, the position changing unit changes the second block to be calculated for each frame, and the light source estimating unit uses the calculation result of the calculation unit for the most recent M frame for the second block and the calculation result for the first block. Estimate the light source. As a result, the block to be subjected to image signal processing is finely divided as the second block at the stage before recording, and at the time of recording, the calculation result for the finely divided second block at the stage before recording and the first at the time of recording are recorded. By using the calculation result for the block, image signal processing can be performed without increasing the processing load.

光源推定手段の光源推定結果を少なくともMフレーム分記憶する記憶手段と、記憶手段で記憶した第2ブロックに対する直近Mフレーム分の光源推定結果および第1ブロックに対する光源推定結果を用いてホワイトバランスを補正するゲインを算出するゲイン算出手段と、をさらに備えていてもよい。   A storage means for storing at least M frames of light source estimation results of the light source estimation means, and a white balance correction using the light source estimation results for the most recent M frames and the light source estimation results for the first block stored in the storage means And gain calculating means for calculating the gain to be performed.

ゲイン算出手段は、第2ブロックに対する直近Mフレーム分の光源推定結果を用いて所定の重み係数を決定し、第1ブロックに対する演算結果に当該所定の重み係数を乗じてゲインを算出してもよい。   The gain calculation means may determine a predetermined weighting factor using the light source estimation results for the most recent M frames for the second block, and calculate the gain by multiplying the calculation result for the first block by the predetermined weighting factor. .

所定の重み係数は、光源推定手段における光源推定の結果、無彩色であると判断した小ブロックの数が大きいほど大きな係数であってもよい。   The predetermined weight coefficient may be a larger coefficient as the number of small blocks determined to be achromatic as a result of light source estimation in the light source estimation means is larger.

また、上記課題を解決するために、本発明の別の観点によれば、撮像素子より得られた画像信号を複数の第1ブロックに分割する第1分割ステップと、第1ブロックをさらにM個の第2ブロックに分割する第2分割ステップと、演算対象の第2ブロックをフレーム毎に変化させる位置変更ステップと、記録前には位置変更ステップで変化させた第2ブロックに対して演算処理を実行し、記録時には第1ブロックに対して演算処理を実行する演算ステップと、演算ステップにおける第2ブロックに対する直近Mフレームの演算結果および第1ブロックに対する演算結果を用いて画像信号の光源を推定する光源推定ステップと、を備える撮像方法が提供される。   In order to solve the above-described problem, according to another aspect of the present invention, a first dividing step of dividing an image signal obtained from an image sensor into a plurality of first blocks, and further M first blocks. A second dividing step for dividing the second block into a second block, a position changing step for changing the second block to be calculated for each frame, and a calculation process for the second block changed in the position changing step before recording. The light source of the image signal is estimated using a calculation step for performing calculation processing on the first block at the time of recording, and a calculation result of the most recent M frame for the second block and a calculation result for the first block in the calculation step. A light source estimation step.

以上説明したように本発明によれば、記録前の段階では、画像信号処理の対象となるブロックを、混色の発生を抑えるために細かく分割し、記録時には、記録前の段階における、細かく分割したブロックに対する評価結果を用いることで、処理負荷を増やさずにホワイトバランスを補正する画像信号処理が可能な、新規かつ改良された撮像装置及び撮像方法を提供することができる。これにより、特に高速連写時には、撮影前の画面表示時と静止画撮影時の時間差の影響を受けることなく、静止画撮影時にホワイトバランス補正の処理負担を軽減できる分、処理時間を短縮することができる。   As described above, according to the present invention, at the stage before recording, the block to be subjected to image signal processing is finely divided to suppress the occurrence of color mixing, and at the time of recording, it is finely divided at the stage before recording. By using the evaluation result for the block, it is possible to provide a new and improved imaging apparatus and imaging method capable of image signal processing for correcting white balance without increasing the processing load. This reduces the processing time for white balance correction during still image shooting, especially during high-speed continuous shooting, without being affected by the time difference between the screen display before shooting and still image shooting. Can do.

以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。   Exemplary embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In addition, in this specification and drawing, about the component which has the substantially same function structure, duplication description is abbreviate | omitted by attaching | subjecting the same code | symbol.

まず、本発明の好適な実施の形態について説明する前に、従来技術の問題点について図面を参照しながら説明する。   First, before describing a preferred embodiment of the present invention, problems of the prior art will be described with reference to the drawings.

図10は、従来のホワイトバランス補正処理におけるブロック分割について説明する説明図である。従来のホワイトバランス補正処理は、図10に示したように、CCDやCMOS等の撮像素子より取り出された画像信号を、複数のブロックに分割し、分割したそれぞれのブロックに対し、R、G、B各色の画素の積算値(ΣR、ΣG、ΣB)を算出する。このR、G、B各色の画素の積算値(ΣR、ΣG、ΣB)を算出すると、ブロック毎に、当該ブロックを無彩色として制御するか、または有彩色として処理をするか等を判断し、適切なホワイトバランスゲイン(Kr、Kg、Kb)を算出するという方法が一般的である。   FIG. 10 is an explanatory diagram for explaining block division in the conventional white balance correction processing. As shown in FIG. 10, the conventional white balance correction process divides an image signal taken out from an image sensor such as a CCD or CMOS into a plurality of blocks, and R, G, The integrated values (ΣR, ΣG, ΣB) of the pixels of each color B are calculated. When the integrated values (ΣR, ΣG, ΣB) of the R, G, and B pixels are calculated, it is determined for each block whether the block is controlled as an achromatic color or processed as a chromatic color. A general method is to calculate an appropriate white balance gain (Kr, Kg, Kb).

ここで、分割したブロック内に複数の色が混在する場合には、混色が発生しホワイトバランス補正処理を正しく判断することができなくなる。また、分割するブロックの面積を大きくすると、混色が発生する頻度が高くなる。   Here, when a plurality of colors are mixed in the divided blocks, color mixing occurs and the white balance correction process cannot be correctly determined. Further, when the area of the block to be divided is increased, the frequency of color mixing increases.

図11は、ホワイトバランス補正処理の対象となる、CCDやCMOS等の撮像素子より取り出された画像信号から得られる画像の一例を示す説明図であり、図12は、図11に示した画像が得られる画像信号を横4ブロック×縦3ブロックに分割した場合を示す説明図であり、図13は、図11に示した画像が得られる画像信号を横12ブロック×縦9ブロックに分割した場合を示す説明図である。通常のホワイトバランス補正処理においては、画像中の赤い花びらの部分及び緑の葉の部分は光源とは見なされずに有彩色と判断される。しかし、各ブロックでの積算処理時に、ブロック内で赤色と緑色が混在していると、混色が発生し、(赤色と緑色が混ざって)黄色の被写体であると誤判断される。この黄色の被写体が、タングステン光などの光源と同じカラーバランスであった場合、光源色(無彩色)と判断されてしまい、ホワイトバランスを誤って判断してしまう。そこで、混色の発生頻度を減らすために、ブロックの数を多くしてブロックの面積を減らす手法がある。   FIG. 11 is an explanatory diagram showing an example of an image obtained from an image signal taken out from an image sensor such as a CCD or CMOS, which is a target of white balance correction processing, and FIG. 12 shows the image shown in FIG. FIG. 13 is a diagram illustrating a case where the obtained image signal is divided into 4 horizontal blocks × 3 vertical blocks. FIG. 13 illustrates a case where the image signal from which the image illustrated in FIG. 11 is obtained is divided into 12 horizontal blocks × 9 vertical blocks. It is explanatory drawing which shows. In normal white balance correction processing, the red petal portion and the green leaf portion in the image are not regarded as light sources and are determined to be chromatic colors. However, if red and green are mixed in the block during the integration processing in each block, color mixing occurs and it is erroneously determined that the subject is yellow (mixed red and green). If this yellow subject has the same color balance as a light source such as tungsten light, it is determined as the light source color (achromatic color), and the white balance is erroneously determined. Therefore, in order to reduce the occurrence frequency of color mixing, there is a method of increasing the number of blocks and reducing the area of the blocks.

図14は、画像信号を横4ブロック×縦3ブロックに分割した場合に、混色によって黄色い被写体であると誤って判断されたブロックの配置を示す説明図であり、図15は、画像信号を横12ブロック×縦9ブロックに分割した場合に、混色によって黄色い被写体であると誤って判断されたブロックの配置を示す説明図である。   FIG. 14 is an explanatory diagram showing the arrangement of blocks that are erroneously determined to be yellow subjects due to color mixing when the image signal is divided into 4 horizontal blocks × 3 vertical blocks, and FIG. It is explanatory drawing which shows arrangement | positioning of the block mistakenly determined to be a yellow photographic subject by color mixture, when it divides | segments into 12 blocks x vertical 9 blocks.

図14および図15に示した場合では、4×3に分割した場合には83%のブロックが黄色い被写体であると誤判断されたのに対し、12×9に分割した場合には28%が黄色い被写体であると誤判断されている。このように、ブロックの数を多くして、1ブロックあたりの面積を小さくすることで混色の発生頻度を抑えることができる。   In the case shown in FIGS. 14 and 15, 83% of the blocks are erroneously determined to be yellow subjects when divided into 4 × 3, whereas 28% when divided into 12 × 9. It is misjudged as a yellow subject. Thus, the frequency of color mixing can be suppressed by increasing the number of blocks and reducing the area per block.

しかし、ブロックの数を多くすると、1度に処理を行わなければならないデータ数が増え、ホワイトバランスゲインを算出するまでの処理時間が増大してしまい、1フレーム内に処理を終えることができなくなってしまうという問題があった。特に、撮像素子から得られる画像を撮像装置に備えられたモニタに逐次表示するライブビュー時においては、ホワイトバランスゲインの算出時間が延びると、実際に眼で見ているシーンと、モニタにライブビュー表示されているシーンとに時間差が生じてしまう。   However, if the number of blocks is increased, the number of data that must be processed at one time increases, and the processing time until the white balance gain is calculated increases, making it impossible to complete the processing within one frame. There was a problem that. In particular, during live view in which images obtained from an image sensor are sequentially displayed on a monitor provided in the image pickup device, if the calculation time of the white balance gain is extended, the scene actually viewed with the eye and the live view on the monitor are displayed. There will be a time difference from the displayed scene.

また、静止画撮影時においても、ホワイトバランス制御の処理時間が長くなると、撮影終了までの時間が長くなってしまうという問題があり、特に短時間で連続して撮影をする場合などでは、次の撮影処理への動作遅延が発生してしまう。さらに、携帯電話他の携帯端末に撮像素子を備えてカメラ機能を持たせる場合には、低消費電力化の観点から処理時間を短縮させることが出来れば良いことは言うまでも無い。   Even during still image shooting, if the processing time of white balance control becomes longer, there is a problem that the time until the end of shooting becomes longer, especially when shooting continuously in a short time, etc. An operation delay to the photographing process occurs. Furthermore, when the mobile phone or other mobile terminal is provided with an image sensor and has a camera function, it is needless to say that the processing time can be shortened from the viewpoint of reducing power consumption.

そこで、以下で説明する本発明の好適な実施形態においては、混色の発生頻度を抑えるためにブロックの面積を小さくしながらも、処理時間の増大を抑えることを特徴とする撮像装置および画像処理方法について説明する。   Therefore, in a preferred embodiment of the present invention described below, an imaging apparatus and an image processing method characterized by suppressing an increase in processing time while reducing the block area in order to suppress the occurrence frequency of color mixing. Will be described.

まず、本発明の一実施形態にかかる撮像装置の構成について説明する。図1は、本発明の一実施形態にかかる撮像装置100の構成について示す説明図である。以下、図1を用いて本発明の一実施形態にかかる撮像装置100の構成について説明する。   First, the configuration of an imaging apparatus according to an embodiment of the present invention will be described. FIG. 1 is an explanatory diagram illustrating a configuration of an imaging apparatus 100 according to an embodiment of the present invention. Hereinafter, the configuration of the imaging apparatus 100 according to the embodiment of the present invention will be described with reference to FIG.

図1に示したように、本発明の一実施形態に係る撮像装置100は、ズームレンズ102と、絞り104と、フォーカスレンズ106と、CCD(Charge Coupled Devices)素子108と、アンプ一体型のCDS(Correlated Double Sampling)回路110と、A/D変換器112と、画像入力コントローラ114と、画像信号処理部116と、圧縮処理部120と、LCD(Liquid Crystal Display)ドライバ122と、LCD124と、タイミングジェネレータ126と、モータドライバ142a、142b、142cと、CPU(Central Processing Unit)128と、操作部132と、メモリ134と、VRAM(Video Random Access Memory)136と、メディアコントローラ138と、記録メディア140とを含む。   As shown in FIG. 1, an imaging apparatus 100 according to an embodiment of the present invention includes a zoom lens 102, a diaphragm 104, a focus lens 106, a CCD (Charge Coupled Devices) element 108, and an amplifier-integrated CDS. (Correlated Double Sampling) circuit 110, A / D converter 112, image input controller 114, image signal processing unit 116, compression processing unit 120, LCD (Liquid Crystal Display) driver 122, LCD 124, timing Generator 126, motor drivers 142a, 142b, 142c, CPU (Central Processing Unit) 128, operation unit 132, memory 134, VRAM (Video Rand) And m Access Memory) 136, a media controller 138, and a recording medium 140.

ズームレンズ102と、絞り104と、フォーカスレンズ106と、CCD素子108とで露光部を構成する。本実施形態ではCCD素子108を用いて露光部を構成しているが、本発明は係る例に限定されず、CCD素子の代わりにCMOS(Complementary Metal Oxide Semiconductor)素子を用いてもよい。CMOS素子は、CCD素子よりも高速に被写体の映像光を電気信号に変換できるので、被写体を撮影してから画像を記録するまでの時間を短縮することができる。   The zoom lens 102, the diaphragm 104, the focus lens 106, and the CCD element 108 constitute an exposure unit. In the present embodiment, the exposure unit is configured using the CCD element 108, but the present invention is not limited to this example, and a CMOS (Complementary Metal Oxide Semiconductor) element may be used instead of the CCD element. Since the CMOS element can convert the image light of the subject into an electric signal at a higher speed than the CCD element, it is possible to shorten the time from when the subject is photographed until the image is recorded.

ズームレンズ102は、光軸方向に前後して移動させることで焦点距離が連続的に変化するレンズであり、被写体の大きさを変化して撮影する。絞り104は、画像を撮影する際に、CCD素子108に入ってくる光量の調節を行う。フォーカスレンズ106は、光軸方向に前後して移動させることで被写体のピントを調節するものである。   The zoom lens 102 is a lens whose focal length continuously changes by moving back and forth in the optical axis direction, and shoots while changing the size of the subject. The diaphragm 104 adjusts the amount of light entering the CCD element 108 when taking an image. The focus lens 106 adjusts the focus of the subject by moving back and forth in the optical axis direction.

モータドライバ142a、142b、142cはズームレンズ102、絞り104およびフォーカスレンズ106を動作させるモータの制御を行う。モータドライバ142a、142b、142cを介してズームレンズ102、絞り104およびフォーカスレンズ106を動作させることで、被写体の大きさや光の量、ピントの調節を行う。   Motor drivers 142a, 142b, and 142c control motors that operate the zoom lens 102, the diaphragm 104, and the focus lens 106. By operating the zoom lens 102, the diaphragm 104, and the focus lens 106 via the motor drivers 142a, 142b, and 142c, the size of the subject, the amount of light, and the focus are adjusted.

CCD素子108は、ズームレンズ102、絞り104およびフォーカスレンズ106から入射された光を電気信号に変換するための素子である。本実施形態においては電子シャッタによって入射光を制御して、電気信号を取り出す時間を調節しているが、メカシャッタを用いて入射光を制御して、電気信号を取り出す時間を調節してもよい。   The CCD element 108 is an element for converting light incident from the zoom lens 102, the diaphragm 104, and the focus lens 106 into an electric signal. In this embodiment, the incident light is controlled by the electronic shutter to adjust the time for extracting the electric signal. However, the time for extracting the electric signal may be adjusted by controlling the incident light using the mechanical shutter.

CDS回路110は、CCD素子108から出力された電気信号の雑音を除去する、サンプリング回路の一種であるCDS回路と、雑音を除去した後に電気信号を増幅するアンプとが一体となった回路である。本実施形態ではCDS回路とアンプとが一体となった回路を用いて撮像装置100を構成しているが、CDS回路とアンプとを別々の回路で構成してもよい。   The CDS circuit 110 is a circuit in which a CDS circuit that is a kind of sampling circuit that removes noise from the electrical signal output from the CCD element 108 and an amplifier that amplifies the electrical signal after removing the noise are integrated. . In the present embodiment, the imaging apparatus 100 is configured using a circuit in which a CDS circuit and an amplifier are integrated. However, the CDS circuit and the amplifier may be configured as separate circuits.

A/D変換器112は、CCD素子108で生成された電気信号をデジタル信号に変換して、画像の生データを生成するものである。   The A / D converter 112 converts the electrical signal generated by the CCD element 108 into a digital signal, and generates raw image data.

画像信号処理部116は、A/D変換器112で生成された画像の生データに対する各種信号処理を行う回路である。   The image signal processing unit 116 is a circuit that performs various signal processing on the raw image data generated by the A / D converter 112.

圧縮処理部120は、画像信号処理部116で信号処理が施されたデータを、適切な形式の画像データに圧縮する圧縮処理を行う。画像の圧縮形式は可逆形式であっても非可逆形式であってもよい。適切な形式の例として、JPEG(Joint Photographic Experts Group)形式やJPEG2000形式に変換してもよい。   The compression processing unit 120 performs a compression process for compressing the data subjected to the signal processing by the image signal processing unit 116 into image data of an appropriate format. The image compression format may be a reversible format or an irreversible format. As an example of a suitable format, you may convert into a JPEG (Joint Photographic Experts Group) format and a JPEG2000 format.

LCD124は、撮影操作を行う前のライブビュー表示や、撮像装置100の各種設定画面や、撮影した画像の表示等を行う。画像データや撮像装置100の各種情報のLCD124への表示は、LCDドライバ122を介して行われる。   The LCD 124 performs live view display before performing a shooting operation, various setting screens of the imaging apparatus 100, display of captured images, and the like. Display of image data and various information of the imaging apparatus 100 on the LCD 124 is performed via the LCD driver 122.

タイミングジェネレータ126は、CCD素子108にタイミング信号を入力する。タイミングジェネレータ126からのタイミング信号によりシャッタ速度が決定される。つまり、タイミングジェネレータ126からのタイミング信号によりCCD素子108の駆動が制御され、CCD素子108が駆動する時間内に被写体からの映像光を入射することで、画像データの基となる電気信号が生成される。   The timing generator 126 inputs a timing signal to the CCD element 108. The shutter speed is determined by the timing signal from the timing generator 126. That is, the drive of the CCD element 108 is controlled by the timing signal from the timing generator 126, and the image signal from the subject is incident within the time that the CCD element 108 is driven, thereby generating an electrical signal that is the basis of the image data. The

CPU128は、CCD素子108やCDS回路110などに対して信号系の命令を行ったり、操作部132の操作に対する操作系の命令を行ったりする。本実施形態においては、CPUを1つだけ含んでいるが、本発明においては信号系の命令と操作系の命令とを別々のCPUやDSP(Digital Signal Processor)で行うようにしてもよい。   The CPU 128 issues a signal-related command to the CCD element 108, the CDS circuit 110, and the like, and issues an operation-related command for the operation of the operation unit 132. In the present embodiment, only one CPU is included. However, in the present invention, the signal system instruction and the operation system instruction may be executed by separate CPUs or DSPs (Digital Signal Processors).

操作部132は、撮影モード選択部としての機能を含み、撮像装置100の操作を行ったり、撮影時の各種の設定を行ったりするための部材が配置されている。操作部132に配置される部材には、電源ボタン、撮影モードや撮影ドライブモードの選択および効果パラメータの設定を行う十字キーおよび選択ボタン、撮影操作を開始するシャッタボタン等が配置される。   The operation unit 132 includes a function as a shooting mode selection unit, and members for operating the imaging apparatus 100 and various settings at the time of shooting are arranged. The members arranged in the operation unit 132 include a power button, a cross key and a selection button for selecting a shooting mode and a shooting drive mode and setting an effect parameter, a shutter button for starting a shooting operation, and the like.

メモリ134は、撮影した画像や画像信号処理部116で信号処理が施された画像を一時的に記憶するものである。メモリ134は、複数の画像を記憶できるだけの記憶容量を有している。メモリ134への画像の読み書きは画像入力コントローラ114によって制御される。   The memory 134 temporarily stores captured images and images subjected to signal processing by the image signal processing unit 116. The memory 134 has a storage capacity sufficient to store a plurality of images. Reading and writing of images to and from the memory 134 is controlled by the image input controller 114.

VRAM136は、LCD124に表示する内容を保持するものであり、LCD124の解像度や最大発色数はVRAM136の容量に依存する。   The VRAM 136 holds contents displayed on the LCD 124, and the resolution and the maximum number of colors of the LCD 124 depend on the capacity of the VRAM 136.

記録メディア140は、撮影した画像を記録するものである。記録メディア140への入出力は、メディアコントローラ138によって制御される。記録メディア140には、フラッシュメモリにデータを記録するカード型の記憶装置であるメモリカードを用いることができる。   The recording medium 140 records a photographed image. Input / output to / from the recording medium 140 is controlled by the media controller 138. As the recording medium 140, a memory card that is a card-type storage device that records data in a flash memory can be used.

以上、図1を用いて本発明の一実施形態にかかる撮像装置100の構成について説明した。次に、本発明の一実施形態にかかる撮像装置100に含まれる、画像信号処理部116の構成について説明する。   The configuration of the imaging apparatus 100 according to the embodiment of the present invention has been described above using FIG. Next, the configuration of the image signal processing unit 116 included in the imaging device 100 according to the embodiment of the present invention will be described.

図2は、本発明の一実施形態にかかる撮像装置100に含まれる、画像信号処理部116の構成について説明する説明図である。以下、図2を用いて、本発明の一実施形態にかかる撮像装置100に含まれる、画像信号処理部116の構成について説明する。   FIG. 2 is an explanatory diagram illustrating the configuration of the image signal processing unit 116 included in the imaging apparatus 100 according to the embodiment of the present invention. Hereinafter, the configuration of the image signal processing unit 116 included in the imaging apparatus 100 according to the embodiment of the present invention will be described with reference to FIG.

図2に示したように、本発明の一実施形態にかかる画像信号処理部116は、イメージフロントプロセス処理部152と、画像評価部154と、ホワイトバランスゲイン算出部156と、ホワイトバランス補正部158と、デモザイク処理部160と、色補正処理部162と、ガンマ補正処理部164と、を含んで構成される。   As shown in FIG. 2, the image signal processing unit 116 according to the embodiment of the present invention includes an image front process processing unit 152, an image evaluation unit 154, a white balance gain calculation unit 156, and a white balance correction unit 158. A demosaic processing unit 160, a color correction processing unit 162, and a gamma correction processing unit 164.

イメージフロントプロセス処理部152は、CCD素子108で光電変換され、A/D変換器でデジタル信号に変換された画像信号に対して、欠陥画素補正や黒レベル補正などのイメージフロントプロセス処理を実行するものである。イメージフロントプロセス処理部152でイメージフロントプロセス処理が施された画像信号は、画像評価部154およびホワイトバランス補正部158に送られる。   The image front process processing unit 152 performs image front process processing such as defective pixel correction and black level correction on the image signal photoelectrically converted by the CCD element 108 and converted into a digital signal by the A / D converter. Is. The image signal subjected to the image front process processing by the image front process processing unit 152 is sent to the image evaluation unit 154 and the white balance correction unit 158.

画像評価部154は、イメージフロントプロセス処理部152でイメージフロントプロセス処理が施された画像信号に対して、ホワイトバランスゲイン算出部156でホワイトバランスを補正するためのホワイトバランスゲインを算出するために、画像評価処理を実行するものである。画像評価部154では、イメージフロントプロセス処理が施された画像信号を複数のブロックに分割し、分割したそれぞれのブロックに対してRGB画素の積算値(ΣR、ΣG、ΣB)を求めたり、RGB画素の積算値に基づいて光源を推定したりする。画像評価部154の構成については後に詳述する。画像評価部154での画像評価処理の結果はホワイトバランスゲイン算出部156に送られる。   The image evaluation unit 154 calculates a white balance gain for correcting the white balance by the white balance gain calculation unit 156 with respect to the image signal subjected to the image front process processing by the image front process processing unit 152. The image evaluation process is executed. The image evaluation unit 154 divides the image signal that has been subjected to the image front process process into a plurality of blocks, obtains an integrated value (ΣR, ΣG, ΣB) of RGB pixels for each of the divided blocks, The light source is estimated based on the integrated value of. The configuration of the image evaluation unit 154 will be described in detail later. The result of the image evaluation process in the image evaluation unit 154 is sent to the white balance gain calculation unit 156.

ホワイトバランスゲイン算出部156は、画像評価部154での画像評価処理の結果に基づいて、ホワイトバランスゲイン(Kr、Kg、Kb)を算出するものである。ホワイトバランスゲイン算出部156で算出されたホワイトバランスゲインはホワイトバランス補正部158に送られる。   The white balance gain calculation unit 156 calculates the white balance gain (Kr, Kg, Kb) based on the result of the image evaluation process in the image evaluation unit 154. The white balance gain calculated by the white balance gain calculation unit 156 is sent to the white balance correction unit 158.

ホワイトバランス補正部158は、イメージフロントプロセス処理部152でイメージフロントプロセス処理が施された画像信号に対して、ホワイトバランスゲイン算出部156で算出されたホワイトバランスゲインを掛けるものである。ホワイトバランス補正部158で、画像信号にホワイトバランスゲインを掛けることで、画像信号に対するホワイトバランス補正処理を実行することができる。ホワイトバランス補正処理が施された画像信号はデモザイク処理部160に送られる。   The white balance correction unit 158 multiplies the image signal subjected to the image front process processing by the image front process processing unit 152 by the white balance gain calculated by the white balance gain calculation unit 156. The white balance correction unit 158 can execute white balance correction processing on the image signal by multiplying the image signal with white balance gain. The image signal subjected to the white balance correction process is sent to the demosaic processing unit 160.

デモザイク処理部160は、ホワイトバランス補正処理が施された画像信号に対して色補完処理(デモザイク処理)を施すものである。ホワイトバランス補正処理が施された画像信号に対して、デモザイク処理部160でデモザイク処理を施すことでカラー画像を生成することができるが、デモザイク処理の詳細については本発明とは直接の関係は無いので詳細な説明は省略する。デモザイク処理が施された画像信号は、色補正処理部162に送られる。   The demosaic processing unit 160 performs color complementation processing (demosaic processing) on the image signal that has been subjected to white balance correction processing. A color image can be generated by performing a demosaic process on the image signal subjected to the white balance correction process by the demosaic processing unit 160, but the details of the demosaic process are not directly related to the present invention. Therefore, detailed description is omitted. The image signal that has been subjected to the demosaic processing is sent to the color correction processing unit 162.

色補正処理部162は、デモザイク処理部160で補完処理(デモザイク処理)が施された画像信号に対して色補正処理を施すものである。色補正処理部162で色補正処理を施すことで適切なカラー画像を生成することができるが、色補正処理の詳細については本発明とは直接の関係は無いので詳細な説明は省略する。色補正処理が施された画像信号は、ガンマ補正処理部164に送られる。   The color correction processing unit 162 performs color correction processing on the image signal that has been subjected to the complementary processing (demosaic processing) by the demosaic processing unit 160. An appropriate color image can be generated by performing color correction processing in the color correction processing unit 162, but details of the color correction processing are not directly related to the present invention, and thus detailed description thereof is omitted. The image signal subjected to the color correction processing is sent to the gamma correction processing unit 164.

ガンマ補正処理部164は、色補正処理部162で色補正処理が施された画像信号に対してガンマ補正処理を施すものである。ガンマ補正処理の詳細については本発明とは直接の関係は無いので詳細な説明は省略する。ガンマ補正処理が施された画像信号は、圧縮処理部120に送られて圧縮処理が施されたり、記録メディア140に記録されたり、LCD124に表示されたりする。   The gamma correction processing unit 164 performs gamma correction processing on the image signal that has been subjected to color correction processing by the color correction processing unit 162. Since the details of the gamma correction processing are not directly related to the present invention, a detailed description thereof will be omitted. The image signal subjected to the gamma correction processing is sent to the compression processing unit 120 to be subjected to compression processing, recorded on the recording medium 140, or displayed on the LCD 124.

以上、本発明の一実施形態にかかる画像信号処理部116の構成について説明した。次に、本発明の一実施形態にかかる画像信号処理部116に含まれる、画像評価部154の構成について説明する。   The configuration of the image signal processing unit 116 according to the embodiment of the present invention has been described above. Next, the configuration of the image evaluation unit 154 included in the image signal processing unit 116 according to the embodiment of the present invention will be described.

図3は、本発明の一実施形態にかかる画像信号処理部116に含まれる、画像評価部154の構成について説明する説明図である。以下、図3を用いて、本発明の一実施形態にかかる画像信号処理部116に含まれる、画像評価部154の構成について説明する。   FIG. 3 is an explanatory diagram illustrating the configuration of the image evaluation unit 154 included in the image signal processing unit 116 according to the embodiment of the present invention. Hereinafter, the configuration of the image evaluation unit 154 included in the image signal processing unit 116 according to the embodiment of the present invention will be described with reference to FIG.

図3に示したように、本発明の一実施形態にかかる画像評価部154は、第1ブロック分割部172と、第2ブロック分割部174と、ブロック位置変更部176と、積算処理部178と、記憶部180と、光源推定部182と、を含んで構成される。   As shown in FIG. 3, the image evaluation unit 154 according to an embodiment of the present invention includes a first block dividing unit 172, a second block dividing unit 174, a block position changing unit 176, and an integration processing unit 178. The storage unit 180 and the light source estimation unit 182 are included.

第1ブロック分割部172は、画像評価部154に送られる画像信号を所定のサイズのブロック(大ブロック)に分割するものである。第1ブロック分割部172は、画像信号を例えば上述したように、横4ブロック×縦3ブロックに分割してもよく、横12ブロック×縦9ブロックに分割してもよい。もちろん、分割数はこれらの例に限られないことは言うまでも無い。また、分割する際の大ブロックの形状は、正方形であってもよく、長方形であってもよく、その他の形状であってもよい。   The first block division unit 172 divides the image signal sent to the image evaluation unit 154 into blocks (large blocks) of a predetermined size. For example, as described above, the first block dividing unit 172 may divide the image signal into 4 horizontal blocks × 3 vertical blocks, or may divide the image signal into 12 horizontal blocks × 9 vertical blocks. Of course, it goes without saying that the number of divisions is not limited to these examples. Further, the shape of the large block at the time of division may be a square, a rectangle, or another shape.

第2ブロック分割部174は、第1ブロック分割部172が分割した各大ブロックを、さらに所定のサイズのブロック(小ブロック)に分割するものである。例えば、第1ブロック分割部172で、画像信号を横4ブロック×縦3ブロックの大ブロックに分割し、さらにそれぞれの大ブロックに対して、第2ブロック分割部174において横3ブロック×縦3ブロックの小ブロックに分割する。もちろん、分割数はかかる例に限られないことは言うまでも無い。また、分割する際の小ブロックの形状は、正方形であってもよく、長方形であってもよく、その他の形状であってもよい。なお、以下の説明においては、1つの大ブロックを横3ブロック×縦3ブロックの9つの小ブロックに分割したものとして説明する。   The second block dividing unit 174 divides each large block divided by the first block dividing unit 172 into blocks (small blocks) having a predetermined size. For example, the first block dividing unit 172 divides the image signal into large blocks of horizontal 4 blocks × vertical 3 blocks, and each large block is divided into horizontal 3 blocks × vertical 3 blocks by the second block dividing unit 174. Divide into small blocks. Of course, it goes without saying that the number of divisions is not limited to this example. In addition, the shape of the small block at the time of division may be a square, a rectangle, or other shapes. In the following description, it is assumed that one large block is divided into nine small blocks of 3 horizontal blocks × 3 vertical blocks.

図4は、第2ブロック分割部174において、1つの大ブロックを横3ブロック×縦3ブロックの小ブロックに分割した場合について示す説明図である。図4では、説明の便宜上、小ブロックにA〜Iのアルファベットを付して示している。   FIG. 4 is an explanatory diagram showing a case where the second block dividing unit 174 divides one large block into small blocks of 3 horizontal blocks × 3 vertical blocks. In FIG. 4, for convenience of description, alphabets A to I are attached to the small blocks.

ブロック位置変更部176は、撮像処理の前の段階(撮像装置100への記録前の段階)では後述の積算処理部178の処理対象の小ブロックをフレームごとに変更し、撮像処理の段階(撮像装置100へ記録する段階)では、積算処理部178の処理対象の大ブロックを指定するものである。例えば、第2ブロック分割部174で1つの大ブロックを図4のように横3ブロック×縦3ブロックの9つの小ブロックに分割すると、撮像処理の前の段階では、ブロック位置変更部176は、フレーム毎にA〜Iの小ブロックから1つの小ブロックをサイクリックに選択する。   The block position changing unit 176 changes a small block to be processed by an integration processing unit 178 described later for each frame at a stage before the imaging process (a stage before recording in the imaging apparatus 100), and performs an imaging process stage (imaging process). At the stage of recording in the apparatus 100), a large block to be processed by the integration processing unit 178 is designated. For example, when one large block is divided into nine small blocks of 3 horizontal blocks × 3 vertical blocks as shown in FIG. 4 by the second block dividing unit 174, the block position changing unit 176 One small block is cyclically selected from the small blocks A to I for each frame.

図5は、撮像処理の前の段階での、ブロック位置変更部176におけるブロック位置の変更処理を説明する説明図である。図5では、第2ブロック分割部174で分割したA〜Iの小ブロックから、処理対象の小ブロックをフレーム毎に、変化させている例を示している。なお、図5では、小ブロックを、A→E→G→C→H→F→B→D→I→A→・・・、の順に変化させている場合について示している。もちろん、順番は図5に示したものに限られないことは言うまでも無い。また、本実施形態では、ブロック位置変更部176は小フレームをサイクリックに変化させているが、本発明では積算処理部178の処理対象となる小ブロックをランダムに変更してもよい。   FIG. 5 is an explanatory diagram for explaining the block position changing process in the block position changing unit 176 at the stage before the imaging process. FIG. 5 shows an example in which the small block to be processed is changed for each frame from the small blocks A to I divided by the second block dividing unit 174. FIG. 5 shows a case where the small blocks are changed in the order of A → E → G → C → H → F → B → D → I → A →. Of course, it goes without saying that the order is not limited to that shown in FIG. In this embodiment, the block position changing unit 176 cyclically changes the small frame. However, in the present invention, the small block to be processed by the integration processing unit 178 may be changed randomly.

そして、撮影者が撮像装置100の操作部132を操作して撮像処理を実行すると、ブロック位置変更部176は積算処理部178の処理対象の大ブロックを指定する。図6は、撮像処理の前後での、ブロック位置変更部176におけるブロック位置の変更処理を説明する説明図である。撮像処理の前の段階では、ブロック位置変更部176は、第2ブロック分割部174で分割したA〜Iの小ブロックから、処理対象となる小ブロックをフレーム毎に変化させており、撮像処理が開始されると、ブロック位置変更部176は、処理対象となる大ブロックJを指定している。   When the photographer operates the operation unit 132 of the image capturing apparatus 100 to execute the image capturing process, the block position changing unit 176 specifies a large block to be processed by the integration processing unit 178. FIG. 6 is an explanatory diagram for explaining the block position changing process in the block position changing unit 176 before and after the imaging process. In the stage before the imaging process, the block position changing unit 176 changes the small block to be processed for each frame from the small blocks A to I divided by the second block dividing unit 174, and the imaging process is performed. When started, the block position changing unit 176 designates the large block J to be processed.

積算処理部178は、ブロック位置変更部176によって指定された小ブロックまたは大ブロックに含まれているR、G、Bそれぞれの色の画素に対して、ホワイトバランスゲインを求めるための、小ブロックにおけるRGB画素の積算値ΣR、ΣG、ΣBおよび大ブロックにおけるRGB画素の積算値ΣR2、ΣG2、ΣB2を求めるものである。RGB画素の積算値ΣR、ΣG、ΣB、ΣR2、ΣG2、ΣB2を求めることで、当該小ブロックまたは大ブロックにおける彩色を判定することができる。積算処理部178において求められたRGB画素の積算値ΣR、ΣG、ΣB、ΣR2、ΣG2、ΣB2や、当該小ブロックまたは大ブロックにおける彩色の判定結果は、記憶部180に一時的に記憶しても良い。そして、積算処理部178において求められたRGB画素の積算値ΣR、ΣG、ΣB、ΣR2、ΣG2、ΣB2は、光源推定部182に送られて、光源推定部182における光源推定処理に用いられる。   The integration processing unit 178 calculates the white balance gain for the R, G, and B color pixels included in the small block or large block specified by the block position changing unit 176 in the small block. The integrated values ΣR, ΣG, ΣB of the RGB pixels and the integrated values ΣR2, ΣG2, ΣB2 of the RGB pixels in the large block are obtained. By determining the integrated values ΣR, ΣG, ΣB, ΣR2, ΣG2, and ΣB2 of the RGB pixels, the coloring in the small block or the large block can be determined. The integrated values ΣR, ΣG, ΣB, ΣR2, ΣG2, and ΣB2 of the RGB pixels obtained by the integration processing unit 178 and the color determination result in the small block or large block may be temporarily stored in the storage unit 180. good. Then, the integrated values ΣR, ΣG, ΣB, ΣR2, ΣG2, and ΣB2 of the RGB pixels obtained in the integration processing unit 178 are sent to the light source estimation unit 182 and used for the light source estimation process in the light source estimation unit 182.

光源推定部182は、積算処理部178で求められたRGB画素の積算値ΣR、ΣG、ΣB、ΣR2、ΣG2、ΣB2を用いて、光源を推定する光源推定処理を実行するものである。光源推定部182における光源推定処理の結果は記憶部180に一時的に記憶しても良い。光源推定部182における光源推定処理の結果は、ホワイトバランスゲイン算出部156に送られて、ホワイトバランスゲインの算出に用いられる。   The light source estimation unit 182 executes light source estimation processing for estimating a light source using the RGB pixel integrated values ΣR, ΣG, ΣB, ΣR2, ΣG2, and ΣB2 obtained by the integration processing unit 178. The result of the light source estimation process in the light source estimation unit 182 may be temporarily stored in the storage unit 180. The result of the light source estimation processing in the light source estimation unit 182 is sent to the white balance gain calculation unit 156 and used for calculation of the white balance gain.

図7は、光源推定部182で光源を推定する際の評価対象のブロックとフレームとの関係の一例について説明する説明図である。図7に示した例は、撮像処理の前の段階で取得した直近9フレーム分の小ブロック(A〜I)の光源推定結果と、撮像処理の段階で取得した1フレーム分の大フレーム(J)光源推定結果を用いて、光源推定処理を実行する場合を示したものである。   FIG. 7 is an explanatory diagram illustrating an example of a relationship between a block to be evaluated and a frame when the light source estimation unit 182 estimates a light source. The example shown in FIG. 7 shows the light source estimation results of the latest nine frames of small blocks (A to I) acquired in the previous stage of the imaging process, and the large frame (J) acquired in the stage of the imaging process. ) The case where the light source estimation process is executed using the light source estimation result is shown.

なお、本実施形態では、光源推定部182を画像評価部154に含めた構成について説明したが、本発明はかかる例に限定されないことは言うまでも無い。例えば、光源推定部182の機能をホワイトバランスゲイン算出部156に含めるようにしてもよい。   In addition, although this embodiment demonstrated the structure which included the light source estimation part 182 in the image evaluation part 154, it cannot be overemphasized that this invention is not limited to this example. For example, the function of the light source estimation unit 182 may be included in the white balance gain calculation unit 156.

以上、本発明の一実施形態にかかる画像信号処理部116に含まれる、画像評価部154の構成について説明した。次に、本発明の一実施形態にかかる撮像方法について説明する。   The configuration of the image evaluation unit 154 included in the image signal processing unit 116 according to the embodiment of the present invention has been described above. Next, an imaging method according to an embodiment of the present invention will be described.

図8は、本発明の一実施形態にかかる撮像方法について説明する流れ図である。以下、図8を用いて本発明の一実施形態にかかる撮像方法について説明する。   FIG. 8 is a flowchart illustrating an imaging method according to an embodiment of the present invention. Hereinafter, an imaging method according to an embodiment of the present invention will be described with reference to FIG.

まず、ブロック位置変更部176において、ホワイトバランスの評価対象となる小ブロックを選択する(ステップS102)。上述したように、ブロック位置変更部176が選択するホワイトバランスの評価対象となる小ブロックは、1フレーム毎に変化させる。   First, the block position changing unit 176 selects a small block to be evaluated for white balance (step S102). As described above, the small block to be evaluated for white balance selected by the block position changing unit 176 is changed for each frame.

上記ステップS102で、ブロック位置変更部176がホワイトバランスの評価対象となる小ブロックを選択すると、当該小ブロックにおけるRGB画素の積算値ΣR、ΣG、ΣBを積算処理部178で算出する(ステップS104)。ステップS104でRGB画素の積算値ΣR、ΣG、ΣBを積算処理部178で算出すると、次に、光源推定部182において、RGB画素の積算値ΣR、ΣG、ΣBを用いて、当該小ブロックの彩色を判定する(ステップS106)。   When the block position changing unit 176 selects a small block for white balance evaluation in step S102, the integration processing unit 178 calculates the integrated values ΣR, ΣG, and ΣB of the RGB pixels in the small block (step S104). . When the integration values ΣR, ΣG, ΣB of the RGB pixels are calculated by the integration processing unit 178 in step S104, the light source estimation unit 182 then uses the integration values ΣR, ΣG, ΣB of the RGB pixels to color the small block. Is determined (step S106).

上記ステップS106において、RGB画素の積算値ΣR、ΣG、ΣBを用いて、当該小ブロックの彩色を光源推定部182で判定すると、続いて、当該小ブロックの彩色判定結果を用いて、当該小ブロックの光源を光源推定部182で推定し、当該小ブロックが有彩色であるか無彩色であるかを判断する(ステップS108)。有彩色であるか無彩色であるかの情報は、2値であってもよいし、3段階以上の値であってもよい。そして、ステップS108で当該小ブロックの光源を光源推定部182で推定すると、推定結果を記憶部180に記憶する(ステップS110)。   In step S106, when the light source estimation unit 182 determines the coloring of the small block using the integrated values ΣR, ΣG, and ΣB of the RGB pixels, the small block is subsequently used using the coloring determination result of the small block. Are estimated by the light source estimation unit 182 to determine whether the small block is a chromatic color or an achromatic color (step S108). Information regarding whether the color is a chromatic color or an achromatic color may be a binary value or a value of three or more levels. Then, when the light source of the small block is estimated by the light source estimation unit 182 in step S108, the estimation result is stored in the storage unit 180 (step S110).

上記ステップS110で、光源の推定結果が記憶部180に記憶されると、記憶部180に記憶された推定結果を用いて、ホワイトバランスゲインを算出する。まず、ホワイトバランスゲイン算出部156は、記憶部180に記憶された直近のフレームにおける推定結果を読み出す(ステップS112)。本実施形態では、1つの大ブロックを9つの小ブロックに分割しているので、ステップS112では、ホワイトバランスゲイン算出部156は、直近9フレーム分の推定結果を記憶部180から読み出す。   When the light source estimation result is stored in the storage unit 180 in step S <b> 110, a white balance gain is calculated using the estimation result stored in the storage unit 180. First, the white balance gain calculation unit 156 reads the estimation result for the most recent frame stored in the storage unit 180 (step S112). In this embodiment, since one large block is divided into nine small blocks, in step S112, the white balance gain calculation unit 156 reads the estimation results for the latest nine frames from the storage unit 180.

上記ステップS112で、記憶部180に記憶された直近のフレームにおける推定結果を読み出すと、ホワイトバランスゲイン算出部156は、読み出した推定結果を加重平均する(ステップS114)。ここでは、加重平均の一例を説明する。評価フレームをf、各フレームで無彩色として扱うブロックの数をn、無彩色として扱うブロックのRGB積算値をr、g、bとすると、9フレーム分のカラーバランスCr、Cg、Cbは、以下の数式1で求めることができる。   When the estimation result in the most recent frame stored in the storage unit 180 is read in step S112, the white balance gain calculation unit 156 performs weighted averaging on the read estimation result (step S114). Here, an example of a weighted average will be described. Assuming that the evaluation frame is f, the number of blocks handled as achromatic colors in each frame is n, and the RGB integrated values of the blocks handled as achromatic colors are r, g, b, the color balances Cr, Cg, Cb for 9 frames are as follows: It can obtain | require by Numerical formula 1 of these.

Figure 2010119051
Figure 2010119051

上記数式1のように9フレーム分のカラーバランスCr、Cg、Cbを求めると、続いてホワイトバランスゲイン算出部156は、求めたカラーバランスCr、Cg、Cbを用いて、画像信号に対するホワイトバランスゲインを算出する(ステップS116)。ホワイトバランスゲインKr、Kg、Kbは、以下の数式2で求めることができる。   When the color balances Cr, Cg, and Cb for nine frames are obtained as in Equation 1, the white balance gain calculation unit 156 then uses the obtained color balances Cr, Cg, and Cb to obtain the white balance gain for the image signal. Is calculated (step S116). The white balance gains Kr, Kg, Kb can be obtained by the following formula 2.

Figure 2010119051
Figure 2010119051

なお、上記数式2は、カラーバランスCr、Cg、Cbの中でCgの値が最も大きい場合の算出式であり、その他の色の値が大きい場合にはその色のホワイトバランスゲインが1となるように上記数式を適宜変更する。   The above formula 2 is a calculation formula when the value of Cg is the largest among the color balances Cr, Cg, and Cb. When the values of other colors are large, the white balance gain of that color is 1. Thus, the above formula is changed as appropriate.

上記ステップS116でホワイトバランスゲインを算出すると、続いて、撮影者による撮影動作が実行されたかどうかを判定する(ステップS118)。撮影者による撮影動作は、操作部132に含まれるシャッタボタンの押下であってもよい。また、撮影者による撮影動作が実行されたかどうかは、CPU128で判定してもよい。   When the white balance gain is calculated in step S116, it is subsequently determined whether or not a photographing operation by the photographer has been executed (step S118). The photographing operation by the photographer may be a press of a shutter button included in the operation unit 132. Further, the CPU 128 may determine whether or not the photographing operation by the photographer has been executed.

上記ステップS118の判定の結果、撮影者によって撮影動作が実行されていないと判定された場合には、上記ステップS102に戻り、ブロック位置変更部176において、ホワイトバランスの評価対象となる小ブロックを選択する。一方、上記ステップS118の判定の結果、撮影者によって撮影動作が実行されたと判定された場合には、ブロック位置変更部176は、ホワイトバランスの評価対象となる大ブロックを選択する(ステップS120)。   As a result of the determination in step S118, when it is determined that the photographing operation is not being performed by the photographer, the process returns to step S102, and the block position changing unit 176 selects a small block to be evaluated for white balance. To do. On the other hand, if it is determined as a result of the determination in step S118 that the shooting operation has been performed by the photographer, the block position changing unit 176 selects a large block that is to be evaluated for white balance (step S120).

上記ステップS120で、ブロック位置変更部176によってホワイトバランスの評価対象となる大ブロックが選択されると、続いて当該大ブロックにおけるRGB画素の積算値ΣR2、ΣG2、ΣB2を積算処理部178で算出する(ステップS122)。RGB画素の積算値ΣR2、ΣG2、ΣB2を積算処理部178で算出すると、続いて光源推定部182において、当該大ブロックにおけるRGB画素の積算値ΣR2、ΣG2、ΣB2を用いて、当該大ブロックの彩色を判定する(ステップS124)。   In step S120, when the block position changing unit 176 selects a large block to be evaluated for white balance, the integration processing unit 178 subsequently calculates the integrated values ΣR2, ΣG2, and ΣB2 of the RGB pixels in the large block. (Step S122). When the integration values ΣR2, ΣG2, and ΣB2 of the RGB pixels are calculated by the integration processing unit 178, the light source estimation unit 182 then uses the integration values ΣR2, ΣG2, and ΣB2 of the RGB pixels in the large block to color the large block. Is determined (step S124).

上記ステップS124で、光源推定部182によって大ブロックの彩色を判定すると、続いて、上記ステップS110で記憶部180に記憶した小ブロックの光源推定結果を、直近9フレーム分読み出す(ステップS126)。そして、ステップS126で読み出した直近9フレーム分の光源推定結果を用いて、ホワイトバランスゲイン算出部156でホワイトバランスゲインを算出する。   If the light source estimation unit 182 determines the coloring of the large block in step S124, the light source estimation result of the small block stored in the storage unit 180 in step S110 is read for the latest nine frames (step S126). The white balance gain calculation unit 156 calculates a white balance gain using the light source estimation results for the last nine frames read out in step S126.

ホワイトバランスゲイン算出部156でホワイトバランスゲインを算出するには、まず大ブロックの演算処理結果に対する重みを決定する(ステップS128)。大ブロックの演算処理結果に対する重みは、無彩色であると判断した小ブロックの数の大小によって決定してもよい。図9は、無彩色であると判断した小ブロックの数と、大ブロックの演算処理結果に対する重み係数との関係の一例をグラフで示す説明図である。図9に示したグラフでは、横軸に無彩色であると判断した小ブロックの数を、縦軸に大ブロックの演算処理結果に対する重み係数を、それぞれ表している。そして、図9に示した例では、無彩色であると判断した小ブロックの数が増えると、2次関数的に重み係数を大きくしている場合を表している。もちろん、無彩色であると判断した小ブロックの数と、重み係数との関係は、図9に示した例に限られないことはいうまでもない。   In order to calculate the white balance gain by the white balance gain calculation unit 156, first, the weight for the calculation processing result of the large block is determined (step S128). The weight for the calculation processing result of the large block may be determined depending on the number of small blocks determined to be achromatic. FIG. 9 is an explanatory diagram illustrating an example of the relationship between the number of small blocks determined to be achromatic and the weighting factor for the calculation processing result of the large block. In the graph shown in FIG. 9, the horizontal axis represents the number of small blocks determined to be achromatic, and the vertical axis represents the weighting factor for the calculation processing result of the large block. In the example shown in FIG. 9, when the number of small blocks determined to be achromatic increases, the weighting factor is increased in a quadratic function. Of course, it goes without saying that the relationship between the number of small blocks determined to be achromatic and the weighting coefficient is not limited to the example shown in FIG.

図9に示したグラフを用いて説明すると、無彩色であると判断した小ブロックが最大の9つである場合には、重み係数を最大の1.0としている。また、無彩色であると判断した小ブロックが8つである場合には、重み係数を0.75としており、無彩色であると判断した小ブロックが7つである場合には、重み係数を0.5としている。このように、静止画撮影時において、大ブロックが無彩色であるかどうかの信頼度を表す重み係数を適用することで、混色が発生する可能性の高い大ブロックにおいては、当該大ブロックに対する演算処理結果の影響度を下げて、誤判断を低減することができる。   Referring to the graph shown in FIG. 9, when the maximum number of small blocks determined to be achromatic is nine, the maximum weighting factor is 1.0. In addition, when there are eight small blocks determined to be achromatic, the weighting factor is set to 0.75. When there are seven small blocks determined to be achromatic, the weighting factor is set to 0.75. 0.5. In this way, when applying a weighting factor that represents the reliability of whether a large block is achromatic when shooting a still image, in a large block where color mixture is likely to occur, the calculation for the large block is performed. The degree of influence of processing results can be reduced to reduce misjudgments.

上記ステップS128で大ブロックの演算処理結果に対する重みを決定すると、決定した重みを用いて、上記ステップS120で選択した大ブロックにおける光源を推定する(ステップS130)。そして、ステップS130で推定した光源の情報を用いて、ホワイトバランスゲイン算出部156でホワイトバランスゲインを算出する(ステップS132)。撮像装置100は、算出したホワイトバランスゲインをホワイトバランス補正部158で適用することで、ホワイトバランスを補正する。   When the weight for the calculation processing result of the large block is determined in step S128, the light source in the large block selected in step S120 is estimated using the determined weight (step S130). Then, using the light source information estimated in step S130, the white balance gain calculation unit 156 calculates a white balance gain (step S132). The imaging apparatus 100 corrects the white balance by applying the calculated white balance gain by the white balance correction unit 158.

以上、図8を用いて本発明の一実施形態にかかる撮像方法について説明した。このように、撮影前の時点では複数フレームにまたがって、位置が異なる小ブロックに対する信号処理を実行し、撮影時には、直前のフレームにおける小ブロックに対する信号処理の結果と、撮影動作実行時点での大ブロックに対する信号処理の結果とを用いる事で、1フレームあたりの処理負荷を増加させることなく、より小さいブロック分割が行うことが可能となり、混色発生を抑制することができる。   The imaging method according to the embodiment of the present invention has been described above using FIG. In this way, signal processing is performed on small blocks with different positions across multiple frames at the time before shooting, and at the time of shooting, the signal processing results for the small blocks in the immediately preceding frame and the large size at the time of shooting operation execution. By using the result of signal processing on the block, it is possible to perform smaller block division without increasing the processing load per frame, and to suppress color mixing.

以上説明したように、本発明の一実施形態によれば、記録前の段階では、画像信号処理の対象となるブロックを、混色の発生を抑えるために小ブロックとして細かく分割し、記録時には、複数の小ブロックからなる大ブロックに対する評価結果と、記録前の直近のフレームにおける細かく分割した小ブロックに対する評価結果を用いることで、処理負荷を増やさずにホワイトバランスを補正する画像信号処理を実行することが可能となる。また、ホワイトバランスを補正するゲインは、撮影時の画素の積算値を元に算出し、過去のフレームにおいて算出したデータは重み係数の決定にのみ使用されるため、ブロックを細かく分割した際に生じる、評価データの算出の遅延による弊害は発生しなくなる。そして、特に複数の静止画を短時間で連続して撮影する高速連写時には、撮影前の画面表示時と静止画撮影時の時間差の影響を受けることなく、静止画撮影時にホワイトバランス補正の処理負担を軽減できる分、処理時間を短縮することができる。   As described above, according to one embodiment of the present invention, in the stage before recording, a block to be subjected to image signal processing is finely divided as small blocks in order to suppress the occurrence of color mixing. Image signal processing that corrects white balance without increasing the processing load by using the evaluation result for a large block of small blocks and the evaluation result for a finely divided small block in the most recent frame before recording. Is possible. Further, the gain for correcting the white balance is calculated based on the integrated value of the pixels at the time of shooting, and the data calculated in the past frame is used only for determining the weighting coefficient, and therefore occurs when the block is finely divided. No adverse effects due to delays in calculation of evaluation data occur. And, especially during high-speed continuous shooting, where multiple still images are shot continuously in a short period of time, white balance correction processing is performed during still image shooting without being affected by the time difference between the screen display before shooting and still image shooting. Since the burden can be reduced, the processing time can be shortened.

なお、上述した撮像装置100の動作は、撮像装置100の内部にコンピュータプログラムを記憶させ、当該コンピュータプログラムをCPU128が読み出して順次実行することによってなされるようにしてもよい。   Note that the above-described operation of the imaging apparatus 100 may be performed by storing a computer program in the imaging apparatus 100, and reading out the computer program and sequentially executing the computer program.

以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明は係る例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to the example which concerns. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Understood.

本発明は、撮像装置及び画像処理方法に適用可能であり、特に被写体を電子的に撮影する電子的撮像装置及び電子的撮像装置を用いた及び画像処理方法に適用可能である。   The present invention can be applied to an imaging apparatus and an image processing method, and in particular, can be applied to an electronic imaging apparatus that electronically captures a subject and an image processing method using the electronic imaging apparatus.

本発明の一実施形態にかかる撮像装置100の構成について示す説明図である。It is explanatory drawing shown about the structure of the imaging device 100 concerning one Embodiment of this invention. 画像信号処理部116の構成について説明する説明図である。FIG. 10 is an explanatory diagram illustrating a configuration of an image signal processing unit 116. 画像評価部154の構成について説明する説明図である。FIG. 10 is an explanatory diagram illustrating a configuration of an image evaluation unit 154. 1つの大ブロックを横3ブロック×縦3ブロックの小ブロックに分割した場合について示す説明図である。It is explanatory drawing shown about the case where one large block is divided | segmented into the small block of 3 horizontal blocks x 3 vertical blocks. 撮像処理の前の段階での、ブロック位置変更部176におけるブロック位置の変更処理を説明する説明図である。It is explanatory drawing explaining the change process of the block position in the block position change part 176 in the step before an imaging process. 撮像処理の前後での、ブロック位置変更部176におけるブロック位置の変更処理を説明する説明図である。It is explanatory drawing explaining the change process of the block position in the block position change part 176 before and behind an imaging process. 光源推定部182で光源を推定する際の評価対象のブロックとフレームとの関係の一例について説明する説明図である。It is explanatory drawing explaining an example of the relationship between the block and frame of evaluation object at the time of estimating a light source in the light source estimation part 182. FIG. 本発明の一実施形態にかかる撮像方法について説明する流れ図である。It is a flowchart explaining the imaging method concerning one Embodiment of this invention. 無彩色であると判断した小ブロックの数と、小ブロックの光源推定結果に対する重みとの関係の一例をグラフで示す説明図である。It is explanatory drawing which shows an example of the relationship between the number of the small blocks judged to be an achromatic color, and the weight with respect to the light source estimation result of a small block. 従来のホワイトバランス補正処理におけるブロック分割について説明する説明図である。It is explanatory drawing explaining the block division | segmentation in the conventional white balance correction process. ホワイトバランス補正処理の対象となる、CCDやCMOS等の撮像素子より取り出された画像信号から得られる画像の一例を示す説明図である。It is explanatory drawing which shows an example of the image obtained from the image signal taken out from image pick-up elements, such as CCD and CMOS used as the object of a white balance correction process. 図11に示した画像が得られる画像信号を横4ブロック×縦3ブロックに分割した場合を示す説明図である。It is explanatory drawing which shows the case where the image signal from which the image shown in FIG. 11 is obtained is divided into 4 horizontal blocks × 3 vertical blocks. 図11に示した画像が得られる画像信号を横12ブロック×縦9ブロックに分割した場合を示す説明図である。It is explanatory drawing which shows the case where the image signal from which the image shown in FIG. 11 is obtained is divided into horizontal 12 blocks × vertical 9 blocks. 画像信号を横4ブロック×縦3ブロックに分割した場合の混色の発生の一例を示す説明図である。It is explanatory drawing which shows an example of generation | occurrence | production of the color mixture at the time of dividing | segmenting an image signal into 4 horizontal blocks x 3 vertical blocks. 画像信号を横12ブロック×縦9ブロックに分割した場合の混色の発生の一例を示す説明図である。It is explanatory drawing which shows an example of generation | occurrence | production of the color mixture at the time of dividing | segmenting an image signal into horizontal 12 blocks x vertical 9 blocks.

符号の説明Explanation of symbols

100 撮像装置
102 ズームレンズ
104 絞り
106 フォーカスレンズ
108 CCD素子
110 CDS回路
112 A/D変換器
114 画像入力コントローラ
116 画像信号処理部
120 圧縮処理部
122 LCDドライバ
124 LCD
126 タイミングジェネレータ
128 CPU
132 操作部
134 メモリ
138 メディアコントローラ
140 記録メディア
142a、142b、142c モータドライバ
152 イメージフロントプロセス処理部
154 画像評価部
156 ホワイトバランスゲイン算出部
158 ホワイトバランス補正部
160 デモザイク処理部
162 色補正処理部
164 ガンマ補正処理部
172 第1ブロック分割部
174 第2ブロック分割部
176 ブロック位置変更部
178 積算処理部
180 記憶部
182 光源推定部
DESCRIPTION OF SYMBOLS 100 Imaging device 102 Zoom lens 104 Aperture 106 Focus lens 108 CCD element 110 CDS circuit 112 A / D converter 114 Image input controller 116 Image signal processing part 120 Compression processing part 122 LCD driver 124 LCD
126 Timing Generator 128 CPU
132 Operation unit 134 Memory 138 Media controller 140 Recording medium 142a, 142b, 142c Motor driver 152 Image front process processing unit 154 Image evaluation unit 156 White balance gain calculation unit 158 White balance correction unit 160 Demosaic processing unit 162 Color correction processing unit 164 Gamma Correction processing unit 172 First block dividing unit 174 Second block dividing unit 176 Block position changing unit 178 Integration processing unit 180 Storage unit 182 Light source estimation unit

Claims (5)

撮像素子より得られた画像信号を複数の第1ブロックに分割する第1分割手段と、
前記第1ブロックをさらにM個の第2ブロックに分割する第2分割手段と、
演算対象の前記第2ブロックをフレーム毎に変化させる位置変更手段と、
記録前には前記位置変更手段が変化させた前記第2ブロックに対して演算処理を実行し、記録時には前記第1ブロックに対して演算処理を実行する演算手段と、
前記演算手段の、前記第2ブロックに対する直近Mフレームの演算結果および前記第1ブロックに対する演算結果を用いて前記画像信号の光源を推定する光源推定手段と、
を備える撮像装置。
First dividing means for dividing an image signal obtained from the image sensor into a plurality of first blocks;
Second dividing means for further dividing the first block into M second blocks;
Position changing means for changing the second block to be calculated for each frame;
Calculation means for performing calculation processing on the second block changed by the position change means before recording, and calculation processing for the first block during recording;
Light source estimation means for estimating the light source of the image signal using the calculation result of the most recent M frame for the second block and the calculation result for the first block of the calculation means;
An imaging apparatus comprising:
前記光源推定手段の光源推定結果を少なくともMフレーム分記憶する記憶手段と、
前記記憶手段で記憶した前記第2ブロックに対する直近Mフレーム分の光源推定結果および前記第1ブロックに対する光源推定結果を用いてホワイトバランスを補正するゲインを算出するゲイン算出手段と、
をさらに備える、請求項1に記載の撮像装置。
Storage means for storing light source estimation results of the light source estimation means for at least M frames;
Gain calculating means for calculating a gain for correcting white balance using a light source estimation result for the latest M frames for the second block and a light source estimation result for the first block stored in the storage means;
The imaging apparatus according to claim 1, further comprising:
前記ゲイン算出手段は、前記第2ブロックに対する直近Mフレーム分の光源推定結果を用いて所定の重み係数を決定し、前記第1ブロックに対する演算結果に前記所定の重み係数を乗じてゲインを算出する、請求項2に記載の撮像装置。   The gain calculating means determines a predetermined weighting factor using the light source estimation results for the most recent M frames for the second block, and calculates the gain by multiplying the calculation result for the first block by the predetermined weighting factor. The imaging device according to claim 2. 前記所定の重み係数は、前記光源推定手段における光源推定の結果、無彩色であると判断した小ブロックの数が大きいほど大きな係数である、請求項3に記載の撮像装置。   The imaging apparatus according to claim 3, wherein the predetermined weight coefficient is a coefficient that increases as the number of small blocks determined to be achromatic as a result of light source estimation by the light source estimation unit increases. 撮像素子より得られた画像信号を複数の第1ブロックに分割する第1分割ステップと、
前記第1ブロックをさらにM個の第2ブロックに分割する第2分割ステップと、
演算対象の前記第2ブロックをフレーム毎に変化させる位置変更ステップと、
記録前には前記位置変更ステップで変化させた前記第2ブロックに対して演算処理を実行し、記録時には前記第1ブロックに対して演算処理を実行する演算ステップと、
前記演算ステップにおける前記第2ブロックに対する直近Mフレームの演算結果および前記第1ブロックに対する演算結果を用いて前記画像信号の光源を推定する光源推定ステップと、
を備える撮像方法。
A first dividing step of dividing an image signal obtained from the image sensor into a plurality of first blocks;
A second dividing step of further dividing the first block into M second blocks;
A position changing step for changing the second block to be calculated for each frame;
An arithmetic step for performing arithmetic processing on the second block changed in the position changing step before recording, and for performing arithmetic processing on the first block at the time of recording;
A light source estimation step of estimating a light source of the image signal using a calculation result of the latest M frame for the second block and a calculation result for the first block in the calculation step;
An imaging method comprising:
JP2008292517A 2008-11-14 2008-11-14 Imaging apparatus and imaging method Active JP4705146B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008292517A JP4705146B2 (en) 2008-11-14 2008-11-14 Imaging apparatus and imaging method
KR1020090042543A KR101612853B1 (en) 2008-11-14 2009-05-15 Photographing apparatus, controlling method of photographing apparatus, and recording medium storing program to implement the controlling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008292517A JP4705146B2 (en) 2008-11-14 2008-11-14 Imaging apparatus and imaging method

Publications (2)

Publication Number Publication Date
JP2010119051A true JP2010119051A (en) 2010-05-27
JP4705146B2 JP4705146B2 (en) 2011-06-22

Family

ID=42279390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008292517A Active JP4705146B2 (en) 2008-11-14 2008-11-14 Imaging apparatus and imaging method

Country Status (2)

Country Link
JP (1) JP4705146B2 (en)
KR (1) KR101612853B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012104932A (en) * 2010-11-08 2012-05-31 Olympus Imaging Corp Imaging device and imaging method
JP2014207503A (en) * 2013-04-10 2014-10-30 キヤノン株式会社 Imaging apparatus and method for controlling the same
JP2016029828A (en) * 2015-10-16 2016-03-03 オリンパス株式会社 Imaging device, imaging method, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04127673A (en) * 1990-09-19 1992-04-28 Hitachi Ltd Image pickup device
JPH04207791A (en) * 1990-11-30 1992-07-29 Casio Comput Co Ltd Luminance level measuring circuit
JPH10155106A (en) * 1996-11-22 1998-06-09 Olympus Optical Co Ltd Electronic image pickup device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04127673A (en) * 1990-09-19 1992-04-28 Hitachi Ltd Image pickup device
JPH04207791A (en) * 1990-11-30 1992-07-29 Casio Comput Co Ltd Luminance level measuring circuit
JPH10155106A (en) * 1996-11-22 1998-06-09 Olympus Optical Co Ltd Electronic image pickup device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012104932A (en) * 2010-11-08 2012-05-31 Olympus Imaging Corp Imaging device and imaging method
US8842200B2 (en) 2010-11-08 2014-09-23 Olympus Imaging Corp. Imaging device and imaging method capable of bright spot processing
JP2014207503A (en) * 2013-04-10 2014-10-30 キヤノン株式会社 Imaging apparatus and method for controlling the same
JP2016029828A (en) * 2015-10-16 2016-03-03 オリンパス株式会社 Imaging device, imaging method, and program

Also Published As

Publication number Publication date
JP4705146B2 (en) 2011-06-22
KR101612853B1 (en) 2016-04-15
KR20100054703A (en) 2010-05-25

Similar Documents

Publication Publication Date Title
JP4567593B2 (en) Imaging apparatus and imaging method
US8872937B2 (en) Image capture apparatus and image capturing method
JP5169318B2 (en) Imaging apparatus and imaging method
US9398230B2 (en) Imaging device and imaging method
JP5861924B2 (en) Imaging device
US7864860B2 (en) Image pickup apparatus and motion vector deciding method
JP2007036438A (en) Color discrimination method and device of imaging apparatus, and exposure control method of imaging apparatus
JP2007311962A (en) Electronic camera and image display program
JP4705146B2 (en) Imaging apparatus and imaging method
JP2006253970A (en) Imaging apparatus, shading correction data generating method, and program
JP2009055415A (en) Camera
JP4819859B2 (en) Imaging apparatus and image processing method
JP2006217249A (en) Electronic camera, electronic camera system and program
EP2632146B1 (en) Image processing apparatus
JP2011135379A (en) Imaging apparatus, imaging method and program
KR101408359B1 (en) Imaging apparatus and imaging method
JP2008124793A (en) Imaging apparatus, and imaging method
JP2007074201A (en) Photographing apparatus
JP5522299B2 (en) Imaging apparatus, imaging method, and program
JP5871590B2 (en) Imaging apparatus and control method thereof
JP2009118247A (en) Photographic device
JP2010206732A (en) Image pickup device, noise reduction method, and program
JP2018026743A (en) Image processor, control method, and program
JP2008278448A (en) Imaging apparatus
JP2011155358A (en) Imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101019

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110310

R150 Certificate of patent or registration of utility model

Ref document number: 4705146

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250