JP2011114442A - Electronic camera - Google Patents

Electronic camera Download PDF

Info

Publication number
JP2011114442A
JP2011114442A JP2009267194A JP2009267194A JP2011114442A JP 2011114442 A JP2011114442 A JP 2011114442A JP 2009267194 A JP2009267194 A JP 2009267194A JP 2009267194 A JP2009267194 A JP 2009267194A JP 2011114442 A JP2011114442 A JP 2011114442A
Authority
JP
Japan
Prior art keywords
image
light emission
luminance
backlight
electronic camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009267194A
Other languages
Japanese (ja)
Inventor
Tetsuhito Kawazu
鉄人 河津
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2009267194A priority Critical patent/JP2011114442A/en
Publication of JP2011114442A publication Critical patent/JP2011114442A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic camera for appropriately determining a blacklight state. <P>SOLUTION: The electronic camera includes: an imaging element 2; a luminance detecting means 2 for respectively detecting luminance information in different areas of an image obtained by the imaging element 2; a light emission-instructing means 12 for instructing light emission to a light-emitting device 17 for illuminating an object; and a determining means 12 for calculating a first luminance difference between a bright area and a dark area of a first image obtained by the imaging element 2 when a light emission instruction is not made on the basis of the luminance information detected by the luminance detecting means 12, calculating a second luminance difference between the dark area of the first image and an area corresponding to the dark area of the first image in a second image obtained by the imaging element 2 when the light emission instruction is made, and determining whether to be a backlight state on the basis of the first luminance difference and the second luminance difference. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、電子カメラに関する。   The present invention relates to an electronic camera.

撮影画面内を複数の領域に分割し、分割された領域ごとの輝度状態に基づいて逆光か否かを判定する技術が知られている(特許文献1参照)。   A technique is known in which a photographing screen is divided into a plurality of areas, and whether or not the backlight is backlit is determined based on the luminance state of each divided area (see Patent Document 1).

特開2004−4449号公報JP 2004-4449 A

従来技術では、低輝度な被写体の場合に逆光状態と誤って判定する場合があった。   In the prior art, there is a case where a low-luminance subject is erroneously determined as a backlight state.

本発明による電子カメラは、撮像素子と、撮像素子で得られる画像の異なる領域においてそれぞれ輝度情報を検出する輝度検出手段と、被写体を照明する発光装置へ発光を指示する発光指示手段と、輝度検出手段で検出された輝度情報に基づいて、発光指示がされない場合に撮像素子で得られた第1画像の明部領域および暗部領域間について第1輝度差を算出し、第1画像の暗部領域と発光指示がされた場合に撮像素子で得られた第2画像における第1画像の暗部領域に対応する領域との間について第2輝度差を算出し、第1輝度差および第2輝度差に基づいて逆光状態か否かを判定する判定手段と、を備えることを特徴とする。   An electronic camera according to the present invention includes an imaging device, luminance detection means for detecting luminance information in different regions of an image obtained by the imaging device, light emission instruction means for instructing light emission to a light emitting device that illuminates the subject, and luminance detection Based on the luminance information detected by the means, a first luminance difference is calculated between the bright area and the dark area of the first image obtained by the imaging device when no light emission instruction is given, and the dark area of the first image When a light emission instruction is given, a second luminance difference is calculated between the second image obtained by the imaging device and a region corresponding to the dark region of the first image, and based on the first luminance difference and the second luminance difference. And determining means for determining whether or not the backlight is in the backlit state.

本発明による電子カメラでは、適切に逆光状態を判定できる。   With the electronic camera according to the present invention, the backlight condition can be appropriately determined.

本発明の一実施の形態による電子カメラの要部構成を説明するブロック図である。It is a block diagram explaining the principal part structure of the electronic camera by one embodiment of this invention. 撮影処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of imaging | photography process. 逆光判定処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of a backlight determination process.

以下、図面を参照して本発明を実施するための形態について説明する。図1は、本発明の一実施の形態による電子カメラの要部構成を説明するブロック図である。図1において、電子カメラは、レンズユニット1と、撮像素子2と、A/D変換器3と、メモリ4と、画像処理回路5と、コントロール回路8と、CPU12と、モータ13と、フォーカス制御機構14と、LCDモニタ15と、操作部材16と、発光装置17とを有し、外部記憶回路6が着脱可能に構成される。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. FIG. 1 is a block diagram for explaining a main configuration of an electronic camera according to an embodiment of the present invention. In FIG. 1, an electronic camera includes a lens unit 1, an image sensor 2, an A / D converter 3, a memory 4, an image processing circuit 5, a control circuit 8, a CPU 12, a motor 13, and focus control. The mechanism 14, the LCD monitor 15, the operation member 16, and the light emitting device 17 are included, and the external storage circuit 6 is configured to be detachable.

レンズユニット1は、不図示のフォーカシングレンズを含む。フォーカシングレンズは、レンズユニット1を通過した光束による被写体像が撮像素子2の撮像面上に結像するように焦点位置を調節するレンズである。モータ13がフォーカス制御機構14を駆動することにより、フォーカス制御機構14がフォーカシングレンズを光軸方向に進退移動させる。モータ13は、CPU12から出力されるレンズ駆動信号によって駆動される。   The lens unit 1 includes a focusing lens (not shown). The focusing lens is a lens that adjusts the focal position so that a subject image formed by the light beam that has passed through the lens unit 1 is formed on the imaging surface of the imaging device 2. When the motor 13 drives the focus control mechanism 14, the focus control mechanism 14 moves the focusing lens forward and backward in the optical axis direction. The motor 13 is driven by a lens driving signal output from the CPU 12.

撮像素子2は、たとえば、CMOSイメージセンサなどによって構成される。撮像素子2は、撮像面上の被写体像を撮像し、各画素に対応する光電変換信号を出力する。撮像素子2から出力される光電変換信号は、各画素に入射される光の強さに応じてその信号レベルが異なる。コントロール回路8は、撮像素子2の駆動に必要なタイミング信号を生成して撮像素子2へ供給する。   The image sensor 2 is configured by, for example, a CMOS image sensor. The image sensor 2 captures a subject image on the imaging surface and outputs a photoelectric conversion signal corresponding to each pixel. The signal level of the photoelectric conversion signal output from the image sensor 2 varies depending on the intensity of light incident on each pixel. The control circuit 8 generates a timing signal necessary for driving the image sensor 2 and supplies the timing signal to the image sensor 2.

撮像素子2の撮像面にはカラーフィルタ2Aが設けられており、撮像素子2は該カラーフィルタ2Aを通して受光した光電変換信号を出力する。たとえば、撮像素子2の画素位置にR,G,B色のフィルタが配設されることにより、R色のフィルタを通して受光した画素からはR色成分の光に対応する光電変換信号が出力され、G色のフィルタを通して受光した画素からはG色成分の光に対応する光電変換信号が出力され、B色のフィルタを通して受光した画素からはB色成分の光に対応する光電変換信号が出力される。   A color filter 2A is provided on the image pickup surface of the image pickup device 2, and the image pickup device 2 outputs a photoelectric conversion signal received through the color filter 2A. For example, by arranging R, G, B color filters at the pixel positions of the image sensor 2, photoelectric conversion signals corresponding to light of R color components are output from the pixels received through the R color filters, A photoelectric conversion signal corresponding to light of the G color component is output from the pixel received through the G color filter, and a photoelectric conversion signal corresponding to light of the B color component is output from the pixel received through the B color filter. .

本実施形態の電子カメラは、撮像素子2による光電変換信号を撮影画像記録用、測光演算用(後述する逆光判定を含む)および焦点評価値算出用に用いる。撮像素子2から出力された光電変換信号は、A/D変換器3によってディジタル信号に変換される。変換後のディジタルデータはバッファ用のメモリ4に格納される。画像処理回路5は、メモリ4に格納された画像データに対して所定の方式(たとえば、JPEG)で圧縮処理を施し、圧縮処理後の画像データを外部記憶回路6に記憶させる。画像処理回路5は、外部記憶回路6に記録されている圧縮データを読み出して伸長する際の伸長処理も行う。外部記憶回路6は、たとえば、メモリカードなどのデータストレージ部材によって構成される。LCDモニタ15は、カメラ本体の背面に配設される。LCDモニタ15は、撮影画像やスルー画像などを再生表示する。   The electronic camera of the present embodiment uses the photoelectric conversion signal from the image sensor 2 for shooting image recording, photometric calculation (including backlight determination described later), and focus evaluation value calculation. The photoelectric conversion signal output from the image sensor 2 is converted into a digital signal by the A / D converter 3. The converted digital data is stored in the buffer memory 4. The image processing circuit 5 performs compression processing on the image data stored in the memory 4 by a predetermined method (for example, JPEG), and stores the compressed image data in the external storage circuit 6. The image processing circuit 5 also performs decompression processing when the compressed data recorded in the external storage circuit 6 is read and decompressed. The external storage circuit 6 is configured by a data storage member such as a memory card, for example. The LCD monitor 15 is disposed on the back surface of the camera body. The LCD monitor 15 reproduces and displays captured images and through images.

CPU12は、AE/AWB回路7と、検波フィルタ9と、積算回路10と、AF回路11とを含む。CPU12は、コントロール回路8およびメモリ4などと接続され、電子カメラの自動焦点検出(AF)や自動露出(AE)、ホワイトバランス調整(AWB)などの各種演算とカメラ動作のシーケンス制御とを行う。AE演算では、たとえば、撮像素子2による光電変換信号を用いて、撮影画面の分割領域ごとに輝度情報を算出するとともに、逆光状態か否かを判定する。CPU12はさらに、算出した輝度情報を用いて公知の露出演算を行い、制御撮像感度Sv、制御絞りAvおよび制御シャッター秒時Tv、および発光装置17による照明の要否、照明要の場合の発光量を決定する。   The CPU 12 includes an AE / AWB circuit 7, a detection filter 9, an integration circuit 10, and an AF circuit 11. The CPU 12 is connected to the control circuit 8 and the memory 4 and performs various calculations such as automatic focus detection (AF), automatic exposure (AE), and white balance adjustment (AWB) of the electronic camera, and sequence control of camera operation. In the AE calculation, for example, using the photoelectric conversion signal from the image sensor 2, the luminance information is calculated for each divided area of the shooting screen, and it is determined whether or not the backlight is in the backlight state. The CPU 12 further performs a known exposure calculation using the calculated luminance information, the control imaging sensitivity Sv, the control aperture Av and the control shutter time Tv, the necessity of illumination by the light emitting device 17, and the light emission amount when illumination is necessary. To decide.

発光装置17は、キセノン管またはLEDを光源として構成され、CPU12からの指示に応じた光量およびタイミングで発光し、被写体を照明する。   The light emitting device 17 is configured with a xenon tube or LED as a light source, and emits light with a light amount and timing according to an instruction from the CPU 12 to illuminate a subject.

CPU12には、操作部材16から各種操作信号が入力される。CPU12は、操作部材16から入力される操作信号に応じて、電子カメラのAF制御、AE制御、AWB制御などのカメラ制御を行う。   Various operation signals are input from the operation member 16 to the CPU 12. The CPU 12 performs camera control such as AF control, AE control, and AWB control of the electronic camera in accordance with an operation signal input from the operation member 16.

AE/AWB回路7は、公知の露出演算やホワイトバランス調整処理を行う。ホワイトバランス調整処理は、メモリ4に格納されている画像データに対して行われる。   The AE / AWB circuit 7 performs known exposure calculation and white balance adjustment processing. The white balance adjustment process is performed on the image data stored in the memory 4.

検波フィルタ9は、メモリ4に格納されている画像処理前の画像データのうち、焦点検出用の領域(フォーカスエリア)に対応する画像データから高周波数成分を抽出するフィルタである。検波フィルタ9によるフィルタ処理後の画像データは、フィルタ処理前の画像データに比べて、所定帯域の周波数成分、具体的には低周波数成分、とくに直流成分が除去されている。   The detection filter 9 is a filter that extracts a high frequency component from image data corresponding to a focus detection area (focus area) in the image data before image processing stored in the memory 4. The image data after the filter processing by the detection filter 9 has a frequency component in a predetermined band, specifically, a low frequency component, particularly a direct current component, removed compared to the image data before the filter processing.

積算回路10は、フォーカスエリアに含まれる画素に対応する画像データであって、検波フィルタ9によってフィルタリングされた画像データを積算する。なお、高周波数成分による差分を積算するために、画像データの絶対値を積算する。   The integration circuit 10 integrates the image data corresponding to the pixels included in the focus area and filtered by the detection filter 9. Note that the absolute values of the image data are integrated in order to integrate the differences due to the high frequency components.

AF回路11は、積算回路10による積算値を用いて焦点評価値を得る。焦点評価値の演算は、たとえば、フォーカシングレンズを可動端の一方(たとえば至近端)から他方(無限遠端)へ向けて移動させながら行う。AF回路11は、このようにして得られる焦点評価値カーブの最大点に対応する合焦点を算出する。合焦点は、撮像素子2によって撮像される被写体像のエッジのボケをなくし、画像のコントラストを最大にするレンズ位置である。合焦点の位置は、カメラから主要被写体までの距離に応じて異なる。   The AF circuit 11 obtains a focus evaluation value using the integrated value obtained by the integrating circuit 10. The calculation of the focus evaluation value is performed, for example, while moving the focusing lens from one of the movable ends (for example, the closest end) toward the other (the infinite end). The AF circuit 11 calculates a focal point corresponding to the maximum point of the focus evaluation value curve thus obtained. The focal point is a lens position that eliminates blurring of the edge of the subject image captured by the image sensor 2 and maximizes the contrast of the image. The position of the focal point varies depending on the distance from the camera to the main subject.

上記の焦点評価値算出処理は、撮影画面内に設けられたフォーカスエリアに対応させて行う。一般に、フォーカスエリアを画面内のどこに設定するかは、撮影者が操作部材16を操作してフォーカスエリア位置を指示する方式や、CPU12が所定の被写体に対応するフォーカスエリアを自動的に設定する方式などがある。   The focus evaluation value calculation process described above is performed in correspondence with the focus area provided in the shooting screen. In general, where the focus area is set on the screen is determined by a method in which the photographer operates the operation member 16 to indicate a focus area position, or a method in which the CPU 12 automatically sets a focus area corresponding to a predetermined subject. and so on.

本実施形態では、フォーカスエリアを自動的に設定する方式に切換えられた電子カメラが、所定の被写体に対応させてフォーカスエリアを設定する場合の動作を中心に説明する。この場合のCPU12は、撮像素子2によって取得されたスルー画像に基づいて、主要被写体(たとえば、人物の顔)が存在する位置を検出する。そして、検出位置に対応する所定範囲をフォーカスエリアとする。画像における「顔領域」の検出は、公知の検出手法を用いる。なお、主要被写体として「顔」の代わりに他の対象(たとえば、花など)を選択できるように構成してもよい。   In the present embodiment, the operation when the electronic camera switched to the method of automatically setting the focus area sets the focus area corresponding to a predetermined subject will be mainly described. In this case, the CPU 12 detects a position where a main subject (for example, a person's face) exists based on the through image acquired by the image sensor 2. A predetermined range corresponding to the detection position is set as a focus area. A known detection method is used to detect the “face region” in the image. In addition, you may comprise so that another object (for example, a flower etc.) can be selected instead of a "face" as a main subject.

スルー画像は、撮影前に所定の時間間隔(たとえば30コマ/毎秒)で撮像されるモニタ用画像のことをいう。スルー画像用の画像データは、所定時間ごとにフレーム単位でメモリ4に格納される。画像処理回路5がメモリ4に格納されている画像データを逐次読出して表示用データを生成し、LCDモニタ15が表示データによる再生画像を逐次表示する(スルー画表示)。   The through image refers to a monitor image captured at a predetermined time interval (for example, 30 frames / second) before shooting. The image data for the through image is stored in the memory 4 in units of frames every predetermined time. The image processing circuit 5 sequentially reads the image data stored in the memory 4 to generate display data, and the LCD monitor 15 sequentially displays the reproduced image based on the display data (through image display).

<撮影処理>
上記電子カメラが行う撮影処理の流れについて、図2に例示するフローチャートを参照して説明する。CPU12は、操作部材16を構成する不図示のレリーズボタンが半押し操作された場合に、図2による処理を起動させる。図2のステップS1において、CPU12はスルー画表示を開始させてステップS2へ進む。ステップS2において、CPU12は、スルー画像に基づいて高輝度領域および低輝度領域間の輝度差を算出する。具体的には、スルー画面を複数の領域に分割し、複数の領域ごとに各領域を代表する輝度を算出する。そして、代表輝度のうち最大値と最小値の差を高輝度領域と低輝度領域との輝度差とする。
<Shooting process>
A flow of photographing processing performed by the electronic camera will be described with reference to a flowchart illustrated in FIG. The CPU 12 activates the processing shown in FIG. 2 when a release button (not shown) constituting the operation member 16 is pressed halfway. In step S1 of FIG. 2, the CPU 12 starts displaying a through image and proceeds to step S2. In step S2, the CPU 12 calculates a luminance difference between the high luminance region and the low luminance region based on the through image. Specifically, the through screen is divided into a plurality of areas, and the luminance representing each area is calculated for each of the plurality of areas. Then, the difference between the maximum value and the minimum value of the representative luminance is set as the luminance difference between the high luminance region and the low luminance region.

ステップS3において、CPU12は、ステップS2で算出した輝度差が所定の判定閾値以上か否かを判定する。CPU12は、輝度差が判定閾値以上の場合にステップS3を肯定判定してステップS5へ進む。CPU12は、輝度差が判定閾値未満の場合にステップS3を否定判定してステップS4へ進む。ステップS3を否定判定する場合は、逆光判定をするまでもなく、逆光補正を行わない。   In step S3, the CPU 12 determines whether or not the luminance difference calculated in step S2 is greater than or equal to a predetermined determination threshold value. If the luminance difference is equal to or greater than the determination threshold, the CPU 12 makes a positive determination in step S3 and proceeds to step S5. When the luminance difference is less than the determination threshold, the CPU 12 makes a negative determination in step S3 and proceeds to step S4. When the negative determination is made in step S3, the backlight correction is not performed without determining the backlight.

ステップS5において、CPU12は、逆光判定処理を行ってステップS6へ進む。逆光判定処理の詳細については後述する。ステップS6において、CPU12は、逆光補正可能か否かを判定する。CPU12は、発光装置17の発光可能の場合(たとえば、発光準備が整っている)にステップS6を肯定判定してステップS7へ進む。CPU12は、電池残量不足など発光できない場合にはステップS6を否定判定し、ステップS4へ進む。   In step S5, the CPU 12 performs a backlight determination process and proceeds to step S6. Details of the backlight determination process will be described later. In step S6, the CPU 12 determines whether or not backlight correction is possible. The CPU 12 makes an affirmative decision in step S6 and proceeds to step S7 when the light emitting device 17 can emit light (for example, ready to emit light). If the CPU 12 cannot emit light due to insufficient battery power, the CPU 12 makes a negative determination in step S6 and proceeds to step S4.

ステップS7において、CPU12は、逆光補正設定をしてステップS4へ進む。逆光補正設定をした場合のCPU12は、次ステップの撮影処理において発光装置17を発光させる。   In step S7, the CPU 12 performs backlight correction setting and proceeds to step S4. When the backlight correction setting is made, the CPU 12 causes the light emitting device 17 to emit light in the shooting process of the next step.

ステップS4において、CPU12は撮影処理を行う。具体的には、ピント合わせ(AF処理)を行うとともに最新のスルー画像に基づいて露出演算を行って得られる制御撮像感度Sv、制御絞りAvおよび制御シャッター秒時Tvにて撮影を行う。逆光補正設定されている場合、および逆光補正設定されていなくても上記露出演算で撮影補助光が必要と判断した場合には、該露出演算で決定された発光量で発光装置17を発光させる(本発光)。CPU12は、取得した画像データを外部記憶回路6に記憶させると図2による処理を終了する。   In step S4, the CPU 12 performs a photographing process. Specifically, photographing is performed at the control imaging sensitivity Sv, the control aperture Av, and the control shutter time Tv obtained by performing focusing (AF processing) and performing exposure calculation based on the latest through image. If the backlight compensation setting is set, and if it is determined that the photographing auxiliary light is necessary in the exposure calculation even if the backlight compensation setting is not set, the light emitting device 17 is caused to emit light with the light emission amount determined in the exposure calculation ( Main flash). When the CPU 12 stores the acquired image data in the external storage circuit 6, the processing in FIG.

<逆光判定処理>
逆光判定処理の詳細について、図3に例示するフローチャートを参照して説明する。図3のステップS51において、CPU12は、低輝度領域の情報をメモリに記憶(保持)させてステップS52へ進む。情報には、低輝度領域の代表輝度値と、低輝度領域に含まれる画素信号の色情報(たとえば、G色成分とB色成分の信号比率(G/B)、およびG色成分とR色成分の信号比率(G/R))を含む。ステップS52において、CPU12は、発光装置17を逆光判定用に小光量(たとえば、ガイドナンバ=2)で発光させてステップS53へ進む(予備発光)。
<Backlight determination processing>
The details of the backlight determination process will be described with reference to the flowchart illustrated in FIG. In step S51 of FIG. 3, the CPU 12 stores (holds) the information of the low luminance area in the memory and proceeds to step S52. The information includes the representative luminance value of the low luminance region, the color information of the pixel signal included in the low luminance region (for example, the signal ratio (G / B) of the G color component and the B color component, and the G color component and the R color). Component signal ratio (G / R)). In step S52, the CPU 12 causes the light emitting device 17 to emit light with a small light amount (for example, guide number = 2) for backlight determination, and proceeds to step S53 (preliminary light emission).

ステップS53において、CPU12は、逆光判定用の発光時に取得(撮像)されたスルー画像と、ステップS51にてメモリ4に保持されている低輝度領域の情報とを比較してステップS54へ進む。   In step S53, the CPU 12 compares the through image acquired (captured) at the time of light emission for backlight determination with the information of the low luminance area held in the memory 4 in step S51, and proceeds to step S54.

ステップS54において、CPU12は、逆光判定用の発光時に取得(撮像)されたスルー画像が非発光時に取得されたスルー画像に比べて輝度や色の変化が生じているか否かを判定する。CPU12は、ステップS53での比較結果が所定の輝度変化量を超える、および所定の色変化量を超えるの少なくとも一方に該当する場合は、ステップS54を肯定判定してステップS56へ進む。CPU12は、いずれにも該当しない場合にはステップS54を否定判定してステップS55へ進む。色変化量は、上述した(G/B)および(G/R)の変化で判断する。   In step S <b> 54, the CPU 12 determines whether or not a change in luminance or color has occurred in the through image acquired (captured) at the time of light emission for backlight determination compared to the through image acquired at the time of non-light emission. If the comparison result in step S53 corresponds to at least one of the predetermined luminance change amount and the predetermined color change amount, the CPU 12 makes an affirmative decision in step S54 and proceeds to step S56. If none of the above applies, the CPU 12 makes a negative determination in step S54 and proceeds to step S55. The color change amount is determined by the above-described changes in (G / B) and (G / R).

ステップS55へ進む場合は、逆光状態でない可能性が高い場合、または逆光状態にあるとしても低輝度領域の被写体が照明光の届かない距離にあって当該逆光状態の補正(改善)が困難である場合に相当する。そこでCPU12は、ステップS55において、逆光補正無しを決定して図3による処理を終了する。   When the process proceeds to step S55, there is a high possibility that the backlight is not in the backlight state, or even if the subject is in the backlight state, it is difficult to correct (improve) the backlight state because the subject in the low brightness area is at a distance that the illumination light does not reach. Corresponds to the case. Therefore, in step S55, the CPU 12 determines that there is no backlight correction and ends the processing in FIG.

ステップS56へ進む場合は、逆光状態にある可能性が高いものの、小光量の照明光によって低輝度領域の輝度が高まるので、逆光状態を補正(改善)できる場合に相当する。そこでCPU12は、ステップS56において、逆光判定用の発光時に取得(撮像)されたスルー画像から顔領域が検出できるか否かを判定する。CPU12は、顔領域を検出した場合にステップS56を肯定判定してステップS59へ進む。CPU12は、顔領域を検出しない場合にはステップS56を否定判定し、ステップS57へ進む。   The case of proceeding to step S56 corresponds to a case where the backlight state can be corrected (improved) because the luminance of the low-luminance region is increased by the small amount of illumination light, although it is highly possible that the backlight state is in the backlight state. Therefore, in step S56, the CPU 12 determines whether or not a face region can be detected from a through image acquired (captured) at the time of light emission for backlight determination. If the CPU 12 detects a face area, the CPU 12 makes a positive determination in step S56 and proceeds to step S59. If the face area is not detected, the CPU 12 makes a negative determination in step S56 and proceeds to step S57.

ステップS57へ進む場合は顔領域が見つからない場合である。この場合のCPU12は、ステップS57において、補正可能な逆光状態と判定してステップS58へ進む。ステップS58において、CPU12は、逆光補正を行う決定をして図3による処理を終了する。なお、この場合にはステップS54において輝度や色の変化が生じていると判定された領域が適正露出となるように逆光補正をし、当該領域に含まれる至近被写体を対象にピント合わせ(AF処理)を行う決定をする。   The process proceeds to step S57 when no face area is found. In this case, the CPU 12 determines in step S57 that the backlight state can be corrected, and proceeds to step S58. In step S <b> 58, the CPU 12 determines to perform backlight correction and ends the process of FIG. 3. In this case, backlight correction is performed so that the area determined to have a change in luminance or color in step S54 is appropriately exposed, and the closest subject included in the area is focused (AF processing). ).

ステップS59へ進む場合は顔領域が見つかっている場合である。この場合のCPU12は、ステップS59において、顔領域を対象にピント合わせ(AF処理)を行う決定をしてステップS60へ進む。ステップS60において、顔領域が適正露出となるように逆光補正を行う決定をして図3による処理を終了する。   The process proceeds to step S59 when a face area is found. In this case, in step S59, the CPU 12 determines to perform focusing (AF processing) on the face area and proceeds to step S60. In step S60, it is determined that the backlight correction is performed so that the face area is properly exposed, and the process of FIG.

以上説明したの実施形態によれば、次の作用効果が得られる。
(1)電子カメラは、撮像素子2と、撮像素子2で得られる画像の異なる領域においてそれぞれ輝度情報を検出し、被写体を照明する発光装置17へ逆光判定用の発光を指示し、検出した輝度情報に基づいて、当該発光指示がされない場合に撮像素子2で得られた第1画像の明部領域および暗部領域間について第1輝度差を算出し、第1画像の暗部領域と発光指示がされた場合に撮像素子2で得られた第2画像における第1画像の暗部領域に対応する領域との間について第2輝度差を算出し、第1輝度差および第2輝度差に基づいて逆光状態か否かを判定するCPU12を備えるようにしたから、適切に逆光状態を判定できる。また、逆光状態でない低輝度被写体の場合や、逆光状態であっても暗部領域の被写体へ発光装置17による照明光が届かない場合と区別できる。
According to the embodiment described above, the following operational effects can be obtained.
(1) The electronic camera detects luminance information in each of the image sensor 2 and different regions of the image obtained by the image sensor 2, instructs the light emitting device 17 that illuminates the subject to emit light for backlight determination, and detects the detected luminance. Based on the information, when the light emission instruction is not issued, a first luminance difference is calculated between the bright area and the dark area of the first image obtained by the image sensor 2, and the light emission instruction is issued with the dark area of the first image. A second luminance difference is calculated between the second image obtained by the image sensor 2 and the region corresponding to the dark region of the first image, and the backlight state is calculated based on the first luminance difference and the second luminance difference. Since the CPU 12 for determining whether or not is provided, the backlight state can be appropriately determined. Further, it can be distinguished from a low-luminance subject that is not backlit and a case where illumination light from the light emitting device 17 does not reach the subject in the dark area even in the backlit state.

(2)CPU12はさらに、撮像素子2で得られる画像の異なる領域においてそれぞれ色情報を検出し、第1画像の暗部領域と第2画像における第1画像の暗部領域に対応する領域との間についての色情報差を算出し、該色情報差に基づいて逆光状態か否かを判定するようにした。これにより、第2輝度差のみでは判定できない場合にも色情報差に基づいて判定し得るようになる。 (2) Further, the CPU 12 detects color information in different areas of the image obtained by the image sensor 2 and between the dark area of the first image and the area corresponding to the dark area of the first image in the second image. The color information difference is calculated, and it is determined based on the color information difference whether the backlight is in the backlight state. Thereby, even when it cannot be determined only by the second luminance difference, it can be determined based on the color information difference.

(3)発光装置17への逆光判定用の発光指示を撮影前に行うとともに、CPU12によって逆光状態が判定された場合は、本発光指示を撮影時に行うように制御した。逆光状態か否かの判定に用いる逆光判定用発光を撮影前に行うことで、当該発光が撮影画像に及ぼす影響を抑えることができる。また、本発光によって逆光状態の暗部領域を適切に補正できる。 (3) A light emission instruction for determining backlighting is given to the light emitting device 17 before photographing, and when the backlight state is determined by the CPU 12, the main light emitting instruction is controlled to be performed at the time of photographing. By performing the light emission for backlight determination used for determining whether or not the backlight is in the state before photographing, the influence of the light emission on the photographed image can be suppressed. Moreover, the dark part area | region of a backlight condition can be correct | amended appropriately by this light emission.

(4)CPU12は、逆光状態を判定する場合に、撮像素子2で得られる画像における第1画像の暗部領域に対応する領域を露出演算またはレンズユニット1についての焦点検出演算の対象にするようにしたので、逆光補正する暗部領域について適正露出を得るとともにピント合せを行える。 (4) When determining the backlight state, the CPU 12 sets an area corresponding to the dark area of the first image in the image obtained by the image sensor 2 as a target for the exposure calculation or the focus detection calculation for the lens unit 1. Therefore, it is possible to obtain appropriate exposure and focus on the dark area to be corrected for backlight.

(変形例1)
上述したステップS54において、ステップS53での比較結果が所定の輝度変化量を超える、および所定の色変化量を超えるの少なくとも一方に該当する場合に肯定判定をした。この代わりに、輝度変化のみに基づいて判定を行うようにしてもよい。すなわち、逆光判定用の予備発光時に取得(撮像)されたスルー画像が非発光時に取得されたスルー画像に比べて所定値以上の輝度差を有する(すなわち変化量が所定値以上)場合に肯定判定を行う。
(Modification 1)
In step S54 described above, an affirmative determination is made when the comparison result in step S53 corresponds to at least one of a predetermined luminance change amount and a predetermined color change amount. Instead, the determination may be made based only on the luminance change. That is, an affirmative determination is made when a through image acquired (captured) at the time of preliminary light emission for backlight determination has a luminance difference greater than or equal to a predetermined value compared to a through image acquired at the time of non-light emission (that is, the amount of change is greater than or equal to a predetermined value). I do.

(変形例2)
上記実施形態では、ステップS59において顔領域を対象にピント合わせ(AF処理)を行う決定をしたが、この代わりに、撮影距離が2mの被写体にピントが合うようにフォーカスレンズを移動させる決定をしてもよい。逆光判定用のガイドナンバー2の光で低輝度領域の輝度が高まるということは、電子カメラから2m以内に主要被写体が存在する可能性が高い。いわゆる「置きピン」にすることで、焦点評価値カーブの最大点に対応する合焦点を算出する処理を省略できる。
(Modification 2)
In the above embodiment, it is determined to focus on the face area (AF processing) in step S59, but instead, it is determined to move the focus lens so that the subject whose shooting distance is 2 m is in focus. May be. The fact that the luminance of the low luminance region is increased by the light of the guide number 2 for determining the backlight is likely to cause the main subject to be within 2 m from the electronic camera. By using a so-called “placement pin”, it is possible to omit the process of calculating the focal point corresponding to the maximum point of the focus evaluation value curve.

(変形例3)
逆光判定用の予備発光時に取得(撮像)されたスルー画像のデータに対し、異なるゲインをかけることによってISO感度が異なる複数の画像を算出するようにしてもよい。ISO感度を段階的に変えて判定することにより、逆光判定用の光が届く/届かないの境界(本例の場合は2m)近傍に被写体が存在する場合の判定精度を高めることができる。具体的には、当初設定されていたISO感度において、逆光判定用の予備発光時に取得(撮像)されたスルー画像が非発光時に取得されたスルー画像に比べて輝度や色の変化が生じていないと判定される場合であっても、ISO感度を高くすると信号レベルが高くなることから、輝度や色の変化が生じていると判定できる場合がある。
(Modification 3)
A plurality of images having different ISO sensitivities may be calculated by applying different gains to the data of through images acquired (captured) during preliminary light emission for backlight determination. By determining by changing the ISO sensitivity stepwise, it is possible to improve the determination accuracy when the subject exists near the boundary (2 m in this example) where the light for backlight determination reaches / does not reach. Specifically, in the initially set ISO sensitivity, there is no change in brightness or color of the through image acquired (captured) at the time of preliminary light emission for backlight determination compared to the through image acquired at the time of non-light emission. Even if it is determined that the signal level increases as the ISO sensitivity is increased, it may be determined that a change in luminance or color has occurred.

(変形例4)
ISO感度が段階的に異なる複数の画像を算出した場合に、逆光判定用の光が届く/届かないの境界がどのISO感度に対応しているかに応じて、主要被写体までの距離を推定するようにしてもよい。たとえば、当初設定されていたISO感度において逆光判定用の光の有無で輝度や色の変化が生じていると判定される場合であっても、ISO感度を低くすると信号レベルが低くなることから、輝度や色の変化が生じていない状態が得られる。この場合に、当初のISO感度からの低下率を用いて主要被写体までの距離を推定し、この推定距離の被写体にピントが合うようにフォーカスレンズを移動させる決定をする。
(Modification 4)
When a plurality of images with different ISO sensitivities are calculated in stages, the distance to the main subject is estimated according to which ISO sensitivity corresponds to the boundary where the light for backlight determination reaches / does not reach It may be. For example, even if it is determined that a change in luminance or color occurs due to the presence or absence of backlight determination light in the initially set ISO sensitivity, if the ISO sensitivity is lowered, the signal level is lowered. A state in which no change in brightness or color occurs can be obtained. In this case, the distance to the main subject is estimated using the rate of decrease from the initial ISO sensitivity, and the focus lens is determined to move so that the subject at this estimated distance is in focus.

(変形例5)
発光装置17を小光量(たとえば、ガイドナンバー2)で発光させて逆光判定用の光源として用いる例を説明したが、AF処理時に主要被写体を照明するAF補助光源を有する場合には、AF補助光を逆光判定用の光源として用いることもできる。
(Modification 5)
The example in which the light emitting device 17 emits light with a small amount of light (for example, guide number 2) and is used as a light source for backlight determination has been described. However, in the case of having an AF auxiliary light source that illuminates the main subject during AF processing, AF auxiliary light Can also be used as a light source for backlight determination.

以上の説明はあくまで一例であり、上記の実施形態の構成に何ら限定されるものではなく、たとえば、発光装置17を電子カメラと別の外部発光装置で構成してもよい。   The above description is merely an example, and is not limited to the configuration of the above embodiment. For example, the light emitting device 17 may be configured by an external light emitting device different from the electronic camera.

1…レンズユニット
2…撮像素子
5…画像処理回路
12…CPU
16…操作部材
17…発光装置
DESCRIPTION OF SYMBOLS 1 ... Lens unit 2 ... Image pick-up element 5 ... Image processing circuit 12 ... CPU
16 ... Operation member 17 ... Light emitting device

Claims (4)

撮像素子と、
前記撮像素子で得られる画像の異なる領域においてそれぞれ輝度情報を検出する輝度検出手段と、
被写体を照明する発光装置へ発光を指示する発光指示手段と、
前記輝度検出手段で検出された輝度情報に基づいて、前記発光指示がされない場合に前記撮像素子で得られた第1画像の明部領域および暗部領域間について第1輝度差を算出し、前記第1画像の前記暗部領域と前記発光指示がされた場合に前記撮像素子で得られた第2画像における前記第1画像の前記暗部領域に対応する領域との間について第2輝度差を算出し、前記第1輝度差および前記第2輝度差に基づいて逆光状態か否かを判定する判定手段と、
を備えることを特徴とする電子カメラ。
An image sensor;
Brightness detection means for detecting brightness information in different regions of the image obtained by the image sensor;
A light emission instruction means for instructing light emission to a light emitting device that illuminates the subject;
Based on the luminance information detected by the luminance detection means, a first luminance difference is calculated between the bright area and the dark area of the first image obtained by the imaging device when the light emission instruction is not given, Calculating a second luminance difference between the dark area of one image and the area corresponding to the dark area of the first image in the second image obtained by the imaging element when the light emission instruction is given; Determining means for determining whether or not the backlight is in a backlight state based on the first luminance difference and the second luminance difference;
An electronic camera comprising:
請求項1に記載の発明による電子カメラにおいて、
前記撮像素子で得られる画像の異なる領域においてそれぞれ色情報を検出する色情報検出手段をさらに備え、
前記判定手段はさらに、前記第1画像の前記暗部領域と前記第2画像における前記第1画像の前記暗部領域に対応する領域との間についての色情報差を算出し、該色情報差に基づいて逆光状態か否かを判定することを特徴とする電子カメラ。
The electronic camera according to claim 1,
Further comprising color information detection means for detecting color information in different regions of the image obtained by the imaging device,
The determination means further calculates a color information difference between the dark area of the first image and an area corresponding to the dark area of the first image in the second image, and based on the color information difference An electronic camera characterized by determining whether or not the backlight is in the backlit state.
請求項1または2に記載の発明による電子カメラにおいて、
前記発光装置への発光指示を撮影前に行うとともに、前記判定手段によって逆光状態が判定された場合は本発光指示を撮影時に行うように前記発光指示手段を制御する制御手段をさらに備えることを特徴とする電子カメラ。
The electronic camera according to claim 1 or 2,
The apparatus further includes a control unit that performs a light emission instruction to the light emitting device before photographing, and controls the light emission instruction unit so that the main light emission instruction is performed at the time of photographing when the determination unit determines a backlight state. And an electronic camera.
請求項1〜3のいずれか一項に記載の発明による電子カメラにおいて、
前記制御手段は、前記判定手段によって逆光状態が判定された場合に、前記撮像素子で得られる画像における前記第1画像の前記暗部領域に対応する領域を露出演算または撮影光学系の焦点検出演算の対象にすることを特徴とする電子カメラ。
In the electronic camera by the invention as described in any one of Claims 1-3,
The control means performs exposure calculation or focus detection calculation of the photographing optical system for an area corresponding to the dark area of the first image in the image obtained by the imaging element when the determination means determines the backlight state. An electronic camera characterized by being targeted.
JP2009267194A 2009-11-25 2009-11-25 Electronic camera Pending JP2011114442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009267194A JP2011114442A (en) 2009-11-25 2009-11-25 Electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009267194A JP2011114442A (en) 2009-11-25 2009-11-25 Electronic camera

Publications (1)

Publication Number Publication Date
JP2011114442A true JP2011114442A (en) 2011-06-09

Family

ID=44236478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009267194A Pending JP2011114442A (en) 2009-11-25 2009-11-25 Electronic camera

Country Status (1)

Country Link
JP (1) JP2011114442A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013222297A (en) * 2012-04-16 2013-10-28 Toyota Motor Corp Driving support apparatus
WO2020105124A1 (en) * 2018-11-20 2020-05-28 本田技研工業株式会社 Autonomous work machine, autonomous work machine control method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013222297A (en) * 2012-04-16 2013-10-28 Toyota Motor Corp Driving support apparatus
WO2020105124A1 (en) * 2018-11-20 2020-05-28 本田技研工業株式会社 Autonomous work machine, autonomous work machine control method, and program
JPWO2020105124A1 (en) * 2018-11-20 2021-10-28 本田技研工業株式会社 Autonomous work machine, control method and program of autonomous work machine

Similar Documents

Publication Publication Date Title
JP2009077057A (en) Imaging apparatus, and control method for imaging apparatus
JP2007135140A (en) Imaging apparatus
JP5728498B2 (en) Imaging apparatus and light emission amount control method thereof
JP2008070611A (en) Imaging apparatus, exposure condition adjustment method and program
KR100835441B1 (en) Exposure control method for digital camera
JP4775172B2 (en) Electronic camera
JP2009288657A (en) Stroboscopic photographing device
JP2005065186A (en) Image pickup unit
JP2012163679A (en) Imaging device, stroboscope control method, and stroboscope control program
JP5042453B2 (en) Strobe control device, strobe control program, strobe control method
JP4003657B2 (en) Electronic camera
JP2012095116A (en) Imaging device and control method of the same
JP2011114442A (en) Electronic camera
JP2016005250A (en) Imaging apparatus, control method thereof, program and storage medium
JP2011040799A (en) Imaging device
JP2013101362A (en) Camera system
JP4855363B2 (en) Imaging apparatus and camera shake correction method in imaging apparatus
JP4379494B2 (en) Electronic camera
JP2009135670A (en) Image device and its control method
US20220345611A1 (en) Image capturing apparatus and control method thereof and storage medium
JP2008219334A (en) Electronic camera
JP2011197266A (en) Digital camera
JP2008193635A (en) Electronic camera
JP2017032754A (en) Imaging device, control method for same, and program
JP2014127770A (en) Imaging apparatus