JP2014216832A - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP2014216832A
JP2014216832A JP2013092400A JP2013092400A JP2014216832A JP 2014216832 A JP2014216832 A JP 2014216832A JP 2013092400 A JP2013092400 A JP 2013092400A JP 2013092400 A JP2013092400 A JP 2013092400A JP 2014216832 A JP2014216832 A JP 2014216832A
Authority
JP
Japan
Prior art keywords
luminance value
subject
face
main subject
imaging device
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
JP2013092400A
Other languages
Japanese (ja)
Inventor
享永 千田
Kyoei Senda
享永 千田
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 JP2013092400A priority Critical patent/JP2014216832A/en
Publication of JP2014216832A publication Critical patent/JP2014216832A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Exposure Control For Cameras (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an imaging device capable of suppressing a rapid change in an exposure value even when a main subject is temporarily undetectable.SOLUTION: An imaging device includes: subject detection means for repeatedly detecting a main subject in a subject image consisting of imaging elements; first luminance value detection means for detecting a first luminance value in the region of the main subject each time the main subject is detected by the subject detection means; storage means for storing the first luminance value each time the first luminance value is detected by the first luminance value detection means; second luminance value detection means for repeatedly detecting a second luminance value in a region wider than the region of the main subject; and calculation means for calculating a third luminance value for exposure control on the basis of the first luminance value detected by the first luminance value detection means and the second luminance value detected by the second luminance value detection means, and for, when the main subject is not detected by the subject detection means, calculating the third luminance value on the basis of the stored first luminance value and the second luminance value detected by the second luminance value detection means.

Description

本発明は、撮像装置に関する。   The present invention relates to an imaging apparatus.

従来、顔測光枠から取得される輝度値(測光値)に対して画面全体の輝度値よりも大きな重み付けをして、その顔の輝度値を適正露出にする制御が知られている(例えば特許文献1)。   Conventionally, there has been known a control in which a luminance value (photometric value) acquired from a face photometric frame is weighted larger than the luminance value of the entire screen so that the luminance value of the face is appropriately exposed (for example, patent) Reference 1).

特開2011−49737号公報JP 2011-49737 A

従来技術には、一時的に顔を検出できなくなったとき、露出が急激に変化してしまうという問題があった。   The prior art has a problem that the exposure changes abruptly when the face cannot be detected temporarily.

請求項1に記載の撮像装置は、被写体を撮像する撮像素子と、前記撮像素子による被写体画像内の主要被写体を繰り返し検出する被写体検出手段と、前記被写体検出手段が前記主要被写体を検出する毎に、主要被写体の領域における第1輝度値を検出する第1輝度値検出手段と、前記第1輝度値検出手段が前記第1輝度値を検出する毎に前記第1輝度値を記憶する記憶手段と、前記主要被写体の領域よりも広い領域における第2輝度値を繰り返し検出する第2輝度値検出手段と、前記第1輝度値検出手段により検出された前記第1輝度値と、前記第2輝度値検出手段により検出された前記第2輝度値とに基づいて、露出制御用の第3輝度値を演算する演算手段とを備え、前記演算手段は、前記被写体検出手段が主要被写体を検出できなかった場合には、前記記憶された第1輝度値と前記第2輝度値検出手段により検出された前記第2輝度値とに基づいて前記第3輝度値を演算することを特徴とする。   The image pickup apparatus according to claim 1, an image pickup device that picks up a subject, a subject detection unit that repeatedly detects a main subject in a subject image by the image pickup device, and each time the subject detection unit detects the main subject. First brightness value detection means for detecting a first brightness value in the area of the main subject; and storage means for storing the first brightness value each time the first brightness value detection means detects the first brightness value; , Second luminance value detecting means for repeatedly detecting a second luminance value in an area wider than the area of the main subject, the first luminance value detected by the first luminance value detecting means, and the second luminance value Calculation means for calculating a third luminance value for exposure control based on the second luminance value detected by the detection means, and the calculation means was unable to detect the main subject by the subject detection means. Expediently, characterized by calculating the third luminance value based on the detected second intensity value by the stored the first luminance value second luminance value detecting means.

本発明によれば、一時的に主要被写体を検出できなくなった場合でも、露出の急激な変化を抑制することができる。   According to the present invention, a sudden change in exposure can be suppressed even when the main subject cannot be detected temporarily.

本発明の第1の実施の形態に係る撮像装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an imaging apparatus according to a first embodiment of the present invention. 制御装置4が実行するスルー画表示処理のフローチャートである。6 is a flowchart of a through image display process executed by the control device 4; 図2のステップS220で呼び出される顔輝度値継続判定処理のフローチャートである。It is a flowchart of the face luminance value continuation determination process called in step S220 of FIG.

(第1の実施の形態)
図1は、本発明の第1の実施の形態に係る撮像装置の構成を示すブロック図である。撮像装置1は、いわゆるレンズ一体型のデジタルカメラである。制御装置4は、撮影光学系2により結像された被写体像を、CCDやCMOS等の撮像素子3により撮像してデジタル画像データを作成し、背面モニタ5に表示したり、不図示の記憶媒体に記憶したりする。
(First embodiment)
FIG. 1 is a block diagram showing the configuration of the imaging apparatus according to the first embodiment of the present invention. The imaging device 1 is a so-called lens-integrated digital camera. The control device 4 captures a subject image formed by the photographing optical system 2 with an image pickup device 3 such as a CCD or CMOS to create digital image data and displays it on the rear monitor 5 or a storage medium (not shown). Or remember.

制御装置4は、不図示のマイクロコンピュータおよびその周辺回路を含む装置であり、不揮発性の記憶媒体であるROM6に予め記憶された制御プログラムを読み込んで実行することにより、撮像装置1の全体を制御する。この制御プログラムは、揮発性の記憶媒体であるRAM7を一時的な作業領域として使用する。背面モニタ5は、例えば液晶パネル等を有する表示装置であり、撮像装置1の筐体の背面に設けられている。   The control device 4 is a device including a microcomputer (not shown) and its peripheral circuits, and controls the entire image pickup device 1 by reading and executing a control program stored in advance in a ROM 6 that is a nonvolatile storage medium. To do. This control program uses the RAM 7 which is a volatile storage medium as a temporary work area. The rear monitor 5 is a display device having a liquid crystal panel or the like, for example, and is provided on the rear surface of the housing of the imaging device 1.

次に、撮像装置1によるライブビュー機能(スルー画の表示機能)について説明する。撮像装置1はいわゆるライブビュー機能を有している。制御装置4は、所定期間(例えば60分の1秒)ごとに撮像を行ってスルー画を作成し、作成したスルー画を背面モニタ5に表示する。制御装置4は、スルー画の作成に際して露出制御を行い、環境光の変化に追従してスルー画が適正露出に保たれるようにする。   Next, a live view function (through image display function) by the imaging apparatus 1 will be described. The imaging device 1 has a so-called live view function. The control device 4 captures images every predetermined period (for example, 1/60 second) to create a through image, and displays the created through image on the rear monitor 5. The control device 4 performs exposure control when creating a through image, and keeps the through image at an appropriate exposure following the change in ambient light.

図2は、制御装置4が実行するスルー画表示処理のフローチャートである。スルー画表示処理は、制御装置4がROM6から読み込んで実行する制御プログラムに含まれている。まずステップS100において制御装置4は、スルー画表示処理で使用する顔検出フラグを0に初期化する。   FIG. 2 is a flowchart of a through image display process executed by the control device 4. The through image display process is included in a control program that the control device 4 reads from the ROM 6 and executes. First, in step S100, the control device 4 initializes a face detection flag used in the through image display process to 0.

ステップS110で制御装置4は、撮像素子3により被写体像を撮像し、その撮像信号からスルー画を作成して背面モニタ5に表示させる。続くステップS120で制御装置4は、ステップS110で取得した撮像信号に基づいて、撮影画面全体の光量を測定する。ここで測定された画面全体の光量(輝度)を、全体輝度値と称する。   In step S <b> 110, the control device 4 captures a subject image with the image sensor 3, creates a through image from the image signal, and displays the through image on the rear monitor 5. In subsequent step S120, the control device 4 measures the amount of light of the entire photographing screen based on the imaging signal acquired in step S110. The light amount (luminance) of the entire screen measured here is referred to as an overall luminance value.

次に制御装置4はステップS130で、ステップS110で取得した撮像信号に基づいて、撮影画面に含まれる人物の顔の位置および範囲を検出する。制御装置4は、例えば周知のパターンマッチング等の技術を利用して顔を検出する。ステップS140で制御装置4は、ステップS130において顔の検出に成功したか否かを判定する。   Next, in step S130, the control device 4 detects the position and range of the person's face included in the shooting screen based on the imaging signal acquired in step S110. The control device 4 detects the face using a known technique such as pattern matching. In step S140, the control device 4 determines whether or not the face has been successfully detected in step S130.

顔の検出に成功した場合にはステップS150に進み、顔検出フラグに1を設定する。そしてステップS160で、撮影画面全体のうち検出した顔の範囲で光量を測定する。ここで「顔の範囲」とは、例えば検出された顔に外接する矩形の領域であってもよいし、検出された顔の輪郭で表される領域であってもよい。ここで測定された顔の範囲における光量を、顔輝度値と称する。そして、ステップS170で制御装置4は、RAM7にステップS160で取得した顔輝度値を記憶させる。なお制御装置4は、RAM7に顔輝度値が既に記憶されている場合、その古い顔輝度値を、ステップS160で取得した最新の顔輝度値で更新する。   If the face detection is successful, the process proceeds to step S150, and the face detection flag is set to 1. In step S160, the amount of light is measured in the detected face range in the entire shooting screen. Here, the “face range” may be, for example, a rectangular area circumscribing the detected face, or may be an area represented by the detected face outline. The amount of light in the face range measured here is referred to as a face luminance value. In step S170, the control device 4 causes the RAM 7 to store the face luminance value acquired in step S160. If the face luminance value is already stored in the RAM 7, the control device 4 updates the old face luminance value with the latest face luminance value acquired in step S160.

ステップS180で制御装置4は、直近のステップS120で取得された最新の全体輝度値と、直近のステップS160で取得された最新の顔輝度値とに基づいて、露出制御用の制御輝度値を演算する。制御輝度値は、例えば全体輝度値と顔輝度値の加重平均であり、顔輝度値の影響が全体輝度値よりも大きくなるように重み付けされている。これは、撮影範囲に顔が含まれている場合に、少なくともその顔が白飛びや黒つぶれで視認し難くなるのを防ぐためである。   In step S180, the control device 4 calculates a control luminance value for exposure control based on the latest overall luminance value acquired in the latest step S120 and the latest face luminance value acquired in the latest step S160. To do. The control brightness value is, for example, a weighted average of the overall brightness value and the face brightness value, and is weighted so that the influence of the face brightness value is greater than the overall brightness value. This is to prevent at least the face from becoming difficult to visually recognize due to whiteout or blackout when a face is included in the shooting range.

ステップS190で制御装置4は、ステップS180で演算した制御輝度値に基づいて露出制御を行い、ステップS200に進む。露出制御は、例えば制御輝度値に対する適正露出が得られるように絞り値、シャッタースピード、撮像素子3のゲイン等を設定する制御である。   In step S190, the control device 4 performs exposure control based on the control luminance value calculated in step S180, and proceeds to step S200. The exposure control is control for setting an aperture value, a shutter speed, a gain of the image sensor 3 and the like so that an appropriate exposure with respect to a control luminance value can be obtained.

他方、制御装置4がステップS140において顔検出に失敗したと判定した場合、制御装置4は処理をステップS210に進める。ステップS210において制御装置4は、顔検出フラグが1であるか否かを判定する。顔検出フラグが1であった場合、制御装置4は処理をステップS220に進める。   On the other hand, if the control device 4 determines in step S140 that face detection has failed, the control device 4 advances the process to step S210. In step S210, the control device 4 determines whether or not the face detection flag is 1. If the face detection flag is 1, the control device 4 advances the process to step S220.

ステップS220で制御装置4は、後述する顔輝度値継続判定処理を実行する。顔輝度値継続判定処理において制御装置4は、顔輝度値に基づく露出制御を継続するか否かを判定する。顔輝度値に基づく露出制御を継続すると判定した場合、ステップS230で肯定判定がなされ、制御装置4は処理をステップS240に進める。   In step S220, the control device 4 executes a face luminance value continuation determination process described later. In the face luminance value continuation determination process, the control device 4 determines whether or not to continue exposure control based on the face luminance value. When it determines with continuing exposure control based on a face brightness value, affirmation determination is made by step S230, and the control apparatus 4 advances a process to step S240.

ステップS240において制御装置4は、直近のステップS120で取得された最新の全体輝度値と、RAM7に記憶されている顔輝度値とに基づいて、露出制御用の制御輝度値を演算する。具体的な演算内容についてはステップS180と同様である。そして、ステップS190に進み、ステップS240で演算した制御輝度値に基づいて露出制御を行い、ステップS200に進む。   In step S240, the control device 4 calculates a control brightness value for exposure control based on the latest overall brightness value acquired in the latest step S120 and the face brightness value stored in the RAM 7. The specific calculation contents are the same as in step S180. Then, the process proceeds to step S190, exposure control is performed based on the control luminance value calculated in step S240, and the process proceeds to step S200.

ステップS210において顔検出フラグが0であった場合、制御装置4は処理をステップS260に進める。ステップS260で制御装置4は、直近のステップS120で取得した最新の全体輝度値のみに基づいて露出制御を行い、ステップS200に進む。ここで行われる露出制御は、ステップS120で測定された撮影画面全体の光量のみに基づくものであり、撮影画面における顔の存在は考慮されない。   If the face detection flag is 0 in step S210, the control device 4 advances the process to step S260. In step S260, the control device 4 performs exposure control based only on the latest overall luminance value acquired in the latest step S120, and proceeds to step S200. The exposure control performed here is based only on the light amount of the entire shooting screen measured in step S120, and the presence of a face on the shooting screen is not considered.

顔輝度値継続判定処理において、顔輝度値に基づく露出制御を継続しないと判定した場合、ステップS230で否定判定がなされ、制御装置4は処理をステップS250に進める。ステップS250において制御装置4は、顔検出フラグに0を設定すると共に、RAM7に顔輝度値が記憶されている場合にはその顔輝度値をクリアする。そしてステップS260に進み、制御装置4は、直近のステップS120で取得した最新の全体輝度値のみに基づいて露出制御を行い、ステップS200に進む。   In the face luminance value continuation determination process, when it is determined not to continue the exposure control based on the face luminance value, a negative determination is made in step S230, and the control device 4 advances the process to step S250. In step S250, the control device 4 sets the face detection flag to 0, and clears the face luminance value if the face luminance value is stored in the RAM 7. Then, the process proceeds to step S260, where the control device 4 performs exposure control based only on the latest overall luminance value acquired in the most recent step S120, and proceeds to step S200.

ステップS200において制御装置4は、スルー画の表示を終了するか否かを判定する。例えば撮像装置1の電源がオフされた場合や、撮影画像を再生する再生モードに遷移する場合など、スルー画の表示を終了する場合には、図2に示したスルー画表示処理を終了する。それ以外の場合、制御装置4は処理をステップS110に進め、ステップS110〜S200の処理を繰り返し実行する。   In step S200, the control device 4 determines whether or not to end the display of the through image. For example, when the live view display is terminated, such as when the power of the imaging apparatus 1 is turned off or when the display device transitions to a playback mode for playing back a captured image, the live view display process illustrated in FIG. In other cases, the control device 4 advances the process to step S110 and repeatedly executes the processes of steps S110 to S200.

図3は、図2のステップS220で呼び出される顔輝度値継続判定処理のフローチャートである。まずステップS300で制御装置4は、直近の全体輝度値と前回の全体輝度値との差(すなわちフレーム間の全体輝度値の差)が所定のしきい値を越えるか否かを判定する。換言すると、制御装置4は、フレーム間の全体輝度値の変化量が所定のしきい値を越えるか否かを判定する。この変化量が所定のしきい値を上回る場合、制御装置4は処理をステップS340に進め、顔輝度値の利用を継続すべきでないと判定する。他方、変化量が所定のしきい値以下であった場合、制御装置4は処理をステップS310に進める。   FIG. 3 is a flowchart of the face luminance value continuation determination process called in step S220 of FIG. First, in step S300, the control device 4 determines whether or not the difference between the latest overall luminance value and the previous overall luminance value (that is, the difference between the overall luminance values between frames) exceeds a predetermined threshold value. In other words, the control device 4 determines whether or not the amount of change in the overall luminance value between frames exceeds a predetermined threshold value. When the amount of change exceeds a predetermined threshold value, the control device 4 advances the process to step S340 and determines that the use of the face luminance value should not be continued. On the other hand, when the amount of change is not more than the predetermined threshold value, the control device 4 advances the process to step S310.

ステップS310で制御装置4は、最後に顔検出に経過してから所定期間(例えば3秒)が経過したか否かを判定する。換言すると、制御装置4は、顔を検出できなくなってから所定期間が経過したか否かを判定する。所定期間が経過している場合、制御装置4は処理をステップS340に進め、顔輝度値の利用を継続すべきでないと判定する。他方、所定期間が経過していなかった場合、制御装置4は処理をステップS320に進める。   In step S310, the control device 4 determines whether or not a predetermined period (for example, 3 seconds) has elapsed since the last face detection. In other words, the control device 4 determines whether or not a predetermined period has elapsed since the face could not be detected. If the predetermined period has elapsed, the control device 4 advances the process to step S340, and determines that the use of the face luminance value should not be continued. On the other hand, when the predetermined period has not elapsed, the control device 4 advances the process to step S320.

ステップS320で制御装置4は、直近の撮像により得られた撮像信号における撮影画面内の動き量と、前回の撮像により得られた撮像信号における撮影画面内の動き量との差(すなわちフレーム間の動き量の差)が所定のしきい値を越えるか否かを判定する。換言すると、制御装置4は、フレーム間の全体輝度値の変化量が所定のしきい値を越えるか否かを判定する。なお、図2では明記していないが、制御装置4は、ステップS110での撮像ごとに、撮影画面内の動き量を繰り返し検出している。動き量の変化量が所定のしきい値を上回る場合、制御装置4は処理をステップS340に進め、顔輝度値の利用を継続すべきでないと判定する。他方、変化量が所定のしきい値以下であった場合、制御装置4は処理をステップS330に進める。ステップS330で制御装置4は、顔輝度値に基づく露出制御を継続すべきである、と判定する。   In step S320, the control device 4 determines the difference (that is, between frames) between the amount of motion in the shooting screen of the imaging signal obtained by the latest imaging and the amount of motion in the shooting screen of the imaging signal obtained by the previous imaging. It is determined whether or not the difference in motion amount exceeds a predetermined threshold value. In other words, the control device 4 determines whether or not the amount of change in the overall luminance value between frames exceeds a predetermined threshold value. Although not explicitly shown in FIG. 2, the control device 4 repeatedly detects the amount of movement in the shooting screen every time shooting is performed in step S <b> 110. When the change amount of the motion amount exceeds the predetermined threshold value, the control device 4 advances the process to step S340 and determines that the use of the face luminance value should not be continued. On the other hand, if the change amount is equal to or less than the predetermined threshold value, the control device 4 advances the process to step S330. In step S330, the control device 4 determines that exposure control based on the face luminance value should be continued.

次に、以上に説明したスルー画表示処理が実行されているときの、撮像装置1の具体的な動作例について説明する。   Next, a specific operation example of the imaging apparatus 1 when the through image display process described above is executed will be described.

(1)撮影画面に顔が含まれていない場合
例えば風景を撮影している場合など、撮影画面に顔が含まれていない場合、ステップS130における顔検出は常に失敗する。従って、ステップS140では常に否定判定がなされる。また、顔検出フラグは0のまま変化しないので、ステップS140の次に進むステップS210でも、常に否定判定がなされる。これにより、制御装置4はステップS110〜S140、S210、S260、S200の順に処理を繰り返す。つまり、撮像およびスルー画の表示と、画面全体の測光結果である全体輝度値に基づく露出制御とを繰り返し実行する。
(1) When the face is not included in the shooting screen When the face is not included in the shooting screen, for example, when shooting a landscape, the face detection in step S130 always fails. Accordingly, a negative determination is always made in step S140. Further, since the face detection flag remains 0, the negative determination is always made in step S210, which is the next step after step S140. Thereby, the control apparatus 4 repeats a process in order of step S110-S140, S210, S260, S200. That is, the imaging and live view display and the exposure control based on the entire luminance value that is the photometric result of the entire screen are repeatedly executed.

(2)撮影画面に顔が含まれ、常にその検出に成功する場合
顔の検出に失敗することがないと仮定すると、ステップS140では常に肯定判定がなされる。この場合、制御装置4はステップS110〜S200の順に処理を繰り返す。つまり、撮像およびスルー画の表示と、画面全体の測光結果である全体輝度値および顔領域の測光結果である顔輝度値から演算された制御輝度値に基づく露出制御とを繰り返し実行する。
(2) When a face is included in the shooting screen and the detection is always successful Assuming that face detection does not fail, an affirmative determination is always made in step S140. In this case, the control device 4 repeats the processing in the order of steps S110 to S200. That is, the imaging and live view display and the exposure control based on the control brightness value calculated from the overall brightness value that is the photometric result of the entire screen and the face brightness value that is the photometric result of the face area are repeatedly executed.

(3)撮影画面に顔が含まれ、一時的にその検出に失敗した場合
撮影画面に含まれる顔は、例えば顔が横を向いたり、光源からの光の量が急激に変化して顔が白飛び・黒つぶれしてしまった場合に、検出できなくなることがある。顔の検出に失敗した要因がそのような一時的な問題によるものであるなら、例えば顔の向きが元に戻ったり、露出制御により顔の白飛び・黒つぶれが解消されることで、再度顔を検出できるようになる。例えば毎秒60フレームでスルー画を表示している場合、その中の数フレーム〜十数フレームだけ顔を検出できなくても、またすぐに顔を検出できるようになる可能性が高い。
(3) When a face is included in the shooting screen and the detection temporarily fails The face included in the shooting screen is, for example, a face that faces sideways or the amount of light from the light source changes suddenly. If whiteout or blackout occurs, detection may not be possible. If the cause of the face detection failure is due to such a temporary problem, for example, the face orientation may be restored or the face may be over-exposured or eliminated by exposure control. Can be detected. For example, when a through image is displayed at 60 frames per second, there is a high possibility that a face can be detected immediately even if only a few frames to a few dozen frames are not detected.

そこで制御装置4は、最近まで顔の検出に成功していた(顔検出フラグが1である)にも関わらず顔が検出できなくなった場合に、その検出できなくなった要因が一時的なものであるか否かを、ステップS310、S320(図3)で調べる。そして、顔検出に失敗した要因が一時的なものであると判断した場合には、直近の顔測光結果(RAM7に記憶した顔輝度値)を、あたかも顔検出に成功したかのように用いて、顔検出に成功した場合と同様の露出制御を行う(ステップS230、S240、S190)。   Therefore, when the face cannot be detected despite the fact that the face has been successfully detected until recently (the face detection flag is 1), the control device 4 is temporarily unable to detect the face. It is checked in steps S310 and S320 (FIG. 3) whether there is any. If it is determined that the cause of the face detection failure is temporary, the latest face photometry result (the face luminance value stored in the RAM 7) is used as if the face detection was successful. The same exposure control as when the face detection is successful is performed (steps S230, S240, S190).

また、顔検出の失敗が一時的なものでないと判断した場合(ステップS310、S320)や、画面全体の輝度が大きく変化して過去の顔輝度値を利用することがそぐわないと判断した場合(ステップS300)には、顔検出フラグを0に設定すると共にRAM7に記憶されている顔輝度値をクリアし、顔領域等を考慮しない、画面全体の測光結果である全体輝度値に基づく露出制御を実行するようになる。   Further, when it is determined that the face detection failure is not temporary (steps S310 and S320), or when it is determined that it is not appropriate to use the past face luminance value due to a significant change in the luminance of the entire screen (step S310). In step S300, the face detection flag is set to 0 and the face luminance value stored in the RAM 7 is cleared, and exposure control based on the entire luminance value, which is the photometric result of the entire screen, is performed without considering the face area and the like. To come.

上述した第1の実施の形態による撮像装置によれば、次の作用効果が得られる。
(1)制御装置4は、撮像素子3による被写体画像内の顔を繰り返し検出し、顔を検出する毎に、顔の領域における顔輝度値を検出してRAM7に記憶させる。制御装置4は、顔輝度値と、主要被写体の領域よりも広い領域である撮影画面全体領域における全体輝度値とに基づいて露出制御用の制御輝度値を演算するが、顔を検出できなかった場合には、RAM7に記憶された顔輝度値と、直近の全体輝度値とに基づいて制御輝度値を演算する。このようにしたので、一時的に顔を検出できなくなった場合でも、露出の急激な変化を抑制することができる。
According to the imaging apparatus according to the first embodiment described above, the following operational effects can be obtained.
(1) The control device 4 repeatedly detects the face in the subject image by the image sensor 3 and detects the face luminance value in the face area and stores it in the RAM 7 each time a face is detected. The control device 4 calculates the control brightness value for exposure control based on the face brightness value and the overall brightness value in the entire shooting screen area that is wider than the area of the main subject, but the face cannot be detected. In this case, the control brightness value is calculated based on the face brightness value stored in the RAM 7 and the latest overall brightness value. Since it did in this way, even when it becomes impossible to detect a face temporarily, the rapid change of exposure can be suppressed.

(2)制御装置4は、所定条件が満たされたとき、RAM7に記憶した顔輝度値をクリアする。制御装置4は、顔を検出できず、且つ、RAM7に記憶した顔輝度値がクリアされていた場合には、全体輝度値に基づいて露出制御を行う。このようにしたので、顔を一時的でなく長期的に検出できなくなった場合には、全体輝度値に基づく露出制御に速やかに移行することができ、露出制御の追従性が向上する。 (2) The control device 4 clears the face luminance value stored in the RAM 7 when a predetermined condition is satisfied. When the face luminance value stored in the RAM 7 has not been detected and the face luminance value stored in the RAM 7 has been cleared, the control device 4 performs exposure control based on the overall luminance value. Since it did in this way, when it becomes impossible to detect a face for a long time, not temporarily, it can transfer to exposure control based on a whole luminance value rapidly, and the followability of exposure control improves.

(3)制御装置4は、所定条件として、直近の全体輝度値と前回の全体輝度値との差が所定のしきい値を上回ったとき、RAM7に記憶した顔輝度値をクリアする。このようにしたので、画面全体の輝度値の大きな変化にも速やかに対応することができ、露出制御の追従性が向上する。 (3) As a predetermined condition, the control device 4 clears the face luminance value stored in the RAM 7 when the difference between the latest total luminance value and the previous total luminance value exceeds a predetermined threshold value. Since it did in this way, it can respond rapidly also to the big change of the luminance value of the whole screen, and the followability of exposure control improves.

(4)制御装置4は、前記所定条件として、顔を検出できなくなってから所定期間が経過したとき、RAM7に記憶した顔輝度値をクリアする。このようにしたので、露出制御の追従性が向上する。 (4) As the predetermined condition, the control device 4 clears the face luminance value stored in the RAM 7 when a predetermined period elapses after the face cannot be detected. Since it did in this way, the followability of exposure control improves.

(5)制御装置4は、所定条件として、撮像素子3による被写体画像内の直近の動き量と前回検出された動き量との差が所定のしきい値を上回ったとき、RAM7に記憶した顔輝度値をクリアする。このようにしたので、露出制御の追従性が向上する。 (5) The controller 4 stores the face stored in the RAM 7 as a predetermined condition when the difference between the most recent motion amount in the subject image by the image sensor 3 and the previously detected motion amount exceeds a predetermined threshold value. Clear the brightness value. Since it did in this way, the followability of exposure control improves.

次のような変形も本発明の範囲内であり、変形例の一つ、もしくは複数を上述の実施形態と組み合わせることも可能である。   The following modifications are also within the scope of the present invention, and one or a plurality of modifications can be combined with the above-described embodiment.

(変形例1)
上述した実施形態では、主要被写体として人間の顔を検出し、顔の輝度値と画面全体の輝度値とを用いた露出制御を行うように撮像装置を構成していたが、主要被写体として、人間の顔以外のものを検出するようにしてもよい。また、画面全体の輝度値の代わりに、顔を含む顔より広い範囲の輝度値を用いてもよい。例えば、顔に外接する矩形を上下左右に所定の長さだけ拡張し、その拡張した矩形の範囲における輝度値を、上述した全体輝度値として用いるようにしてもよい。
(Modification 1)
In the embodiment described above, the imaging apparatus is configured to detect a human face as a main subject and perform exposure control using the luminance value of the face and the luminance value of the entire screen. Other than the face may be detected. Further, instead of the brightness value of the entire screen, a brightness value in a wider range than the face including the face may be used. For example, a rectangle circumscribing the face may be expanded vertically and horizontally by a predetermined length, and the luminance value in the expanded rectangular range may be used as the overall luminance value described above.

(変形例2)
上述した実施形態では、顔輝度値継続判定処理において、3つの条件(ステップS300、S310、S320)のいずれかが満たされた場合に顔輝度値に基づく露出制御を継続しないようになっていた。つまり、3つの条件がいずれも満たされなかった場合に、顔輝度値に基づく露出制御を継続していた。顔輝度値継続判定処理の内容は、このようなものに限定されない。例えば、顔輝度値継続判定処理において、上述した3つの条件のうち1つだけを調べるようにしてもよいし、これら3つの条件とは異なる別の条件を調べるようにしてもよい。
(Modification 2)
In the embodiment described above, the exposure control based on the face brightness value is not continued when any of the three conditions (steps S300, S310, S320) is satisfied in the face brightness value continuation determination process. That is, when none of the three conditions is satisfied, the exposure control based on the face luminance value is continued. The content of the face luminance value continuation determination process is not limited to this. For example, in the face luminance value continuation determination process, only one of the three conditions described above may be examined, or another condition different from these three conditions may be examined.

上記3つの条件とは異なる条件の例を挙げると、目的とする被写体(顔)が撮影画面から出て行ったか否か、という条件が考えられる。撮影対象とする人物が撮像素子3の撮影範囲(画角)から外れてしまった場合には、その後待っていたとしても、再度顔検出に成功することはないと考えられる。そこで、顔輝度値継続判定処理において、主要被写体が撮像素子3の撮像範囲から外れたか否かを判定し、主要被写体が前記撮像素子の撮像範囲から外れたと判定された場合には、顔輝度値の利用を継続すべきでないと判定すればよい。   As an example of conditions different from the above three conditions, a condition of whether or not the target subject (face) has left the shooting screen can be considered. If the person to be photographed is out of the photographing range (angle of view) of the image sensor 3, it is considered that the face detection will not succeed again even if waiting. Therefore, in the face luminance value continuation determination process, it is determined whether or not the main subject is out of the imaging range of the image sensor 3, and when it is determined that the main subject is out of the imaging range of the image sensor, the face luminance value is determined. What is necessary is just to determine that the use of should not be continued.

なお、主要被写体が撮像素子3の撮像範囲から外れたか否かを判定する方法としては、例えば過去に検出した顔の位置の履歴を保持して顔の移動軌跡を追跡し、顔が撮影範囲の外に向かっていることを検出する方法や、撮影範囲の端部において顔の検出に失敗した場合には顔が撮影範囲から出たと推定する方法を用いればよい。   As a method for determining whether or not the main subject is out of the imaging range of the image sensor 3, for example, a face movement history is tracked by keeping a history of face positions detected in the past, and the face is within the imaging range. What is necessary is just to use the method of detecting that it faces outside, and the method of estimating that the face came out of the imaging | photography range when the detection of a face failed in the edge part of the imaging | photography range.

(変形例3)
上述した実施形態では、スルー画を背面モニタ5に表示していたが、例えば電子ビューファインダーなど、これ以外の表示装置にスルー画を表示してもよい。また、撮像素子3により出力された撮像信号を用いて測光を行っていたが、撮像素子3とは別に測光センサを設け、その測光センサを用いて測光を行ってもよい。
(Modification 3)
In the above-described embodiment, the through image is displayed on the rear monitor 5, but the through image may be displayed on another display device such as an electronic viewfinder. In addition, although photometry is performed using the image pickup signal output from the image pickup device 3, a photometry sensor may be provided separately from the image pickup device 3 and the photometry sensor may be used for photometry.

(変形例4)
上述した実施形態では、スルー画の表示における露出制御について説明したが、本発明はこのような実施形態に限定されない。例えば動画撮影時や、静止画の連続撮影時に、図2で説明したような露出制御を行うことも可能である。
(Modification 4)
In the above-described embodiment, the exposure control in displaying a through image has been described, but the present invention is not limited to such an embodiment. For example, exposure control as described with reference to FIG. 2 can be performed during moving image shooting or continuous shooting of still images.

(変形例5)
上述した実施形態では、レンズ一体型のデジタルカメラに本発明を適用した例について説明したが、本発明はレンズ交換型のいわゆる一眼レフレックスカメラや、クイックリターンミラーを持たないレンズ交換型のデジタルカメラ等に適用することもできる。
(Modification 5)
In the embodiment described above, an example in which the present invention is applied to a lens-integrated digital camera has been described. It can also be applied.

本発明の特徴を損なわない限り、本発明は上記実施の形態に限定されるものではなく、本発明の技術的思想の範囲内で考えられるその他の形態についても、本発明の範囲内に含まれる。   As long as the characteristics of the present invention are not impaired, the present invention is not limited to the above-described embodiments, and other forms conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. .

1…撮像装置、2…撮影光学系、3…撮像素子、4…制御装置、5…背面モニタ、6…ROM、7…RAM DESCRIPTION OF SYMBOLS 1 ... Imaging device, 2 ... Imaging optical system, 3 ... Imaging element, 4 ... Control apparatus, 5 ... Back monitor, 6 ... ROM, 7 ... RAM

Claims (7)

被写体を撮像する撮像素子と、
前記撮像素子による被写体画像内の主要被写体を繰り返し検出する被写体検出手段と、
前記被写体検出手段が前記主要被写体を検出する毎に、主要被写体の領域における第1輝度値を検出する第1輝度値検出手段と、
前記第1輝度値検出手段が前記第1輝度値を検出する毎に前記第1輝度値を記憶する記憶手段と、
前記主要被写体の領域よりも広い領域における第2輝度値を繰り返し検出する第2輝度値検出手段と、
前記第1輝度値検出手段により検出された前記第1輝度値と、前記第2輝度値検出手段により検出された前記第2輝度値とに基づいて、露出制御用の第3輝度値を演算する演算手段とを備え、
前記演算手段は、前記被写体検出手段が主要被写体を検出できなかった場合には、前記記憶された第1輝度値と前記第2輝度値検出手段により検出された前記第2輝度値とに基づいて前記第3輝度値を演算することを特徴とする撮像装置。
An image sensor for imaging a subject;
Subject detection means for repeatedly detecting a main subject in a subject image by the image sensor;
A first luminance value detecting means for detecting a first luminance value in a main subject area each time the subject detecting means detects the main subject;
Storage means for storing the first luminance value each time the first luminance value detecting means detects the first luminance value;
Second luminance value detecting means for repeatedly detecting a second luminance value in an area wider than the area of the main subject;
A third luminance value for exposure control is calculated based on the first luminance value detected by the first luminance value detecting means and the second luminance value detected by the second luminance value detecting means. An arithmetic means,
When the subject detection means cannot detect the main subject, the calculation means is based on the stored first brightness value and the second brightness value detected by the second brightness value detection means. An image pickup apparatus that calculates the third luminance value.
請求項1に記載の撮像装置において、
前記記憶手段は、所定条件が満たされたとき、前記記憶した前記第1輝度値をクリアし、
前記演算手段は、前記被写体検出手段が主要被写体を検出できず、且つ、前記記憶された第1輝度値がクリアされていた場合には、前記第2輝度値検出手段により検出された前記第2輝度値に基づいて前記第3輝度値を演算することを特徴とする撮像装置。
The imaging device according to claim 1,
The storage means clears the stored first luminance value when a predetermined condition is satisfied,
The computing means is configured to detect the second luminance value detected by the second luminance value detecting means when the subject detecting means cannot detect the main subject and the stored first luminance value is cleared. An image pickup apparatus that calculates the third luminance value based on a luminance value.
請求項2に記載の撮像装置において、
前記記憶手段は、前記所定条件として、前記第2輝度値検出手段により検出された直近の前記第2輝度値と前回の前記第2輝度値との差が所定のしきい値を上回ったとき、前記記憶した前記第1輝度値をクリアすることを特徴とする撮像装置。
The imaging device according to claim 2,
When the difference between the latest second luminance value detected by the second luminance value detecting unit and the previous second luminance value exceeds a predetermined threshold as the predetermined condition, An image pickup apparatus that clears the stored first luminance value.
請求項2または3に記載の撮像装置において、
前記記憶手段は、前記所定条件として、前記被写体検出手段が主要被写体を検出できなくなってから所定期間が経過したとき、前記記憶した前記第1輝度値をクリアすることを特徴とする撮像装置。
In the imaging device according to claim 2 or 3,
The storage device clears the stored first luminance value as the predetermined condition when a predetermined period elapses after the subject detection unit cannot detect the main subject.
請求項2〜4のいずれか一項に記載の撮像装置において、
前記撮像素子による被写体画像内の動き量を繰り返し検出する動き量検出手段を備え、
前記記憶手段は、前記所定条件として、前記動き量検出手段により検出された直近の前記動き量と前回の前記動き量との差が所定のしきい値を上回ったとき、前記記憶した前記第1輝度値をクリアすることを特徴とする撮像装置。
In the imaging device according to any one of claims 2 to 4,
A motion amount detecting means for repeatedly detecting a motion amount in the subject image by the image sensor;
When the difference between the most recent motion amount detected by the motion amount detection unit and the previous motion amount exceeds a predetermined threshold as the predetermined condition, the storage means stores the first stored An imaging device characterized by clearing a luminance value.
請求項2〜5のいずれか一項に記載の撮像装置において、
主要被写体が前記撮像素子の撮像範囲から外れたか否かを判定する判定手段を備え、
前記記憶手段は、前記所定条件として、前記判定手段により主要被写体が前記撮像素子の撮像範囲から外れたと判定されたとき、前記記憶した前記第1輝度値をクリアすることを特徴とする撮像装置。
In the imaging device according to any one of claims 2 to 5,
Determining means for determining whether or not the main subject is out of the imaging range of the image sensor;
The storage device clears the stored first luminance value when the determination unit determines that the main subject is out of the imaging range of the imaging device as the predetermined condition.
請求項1〜6のいずれか一項に記載の撮像装置において、
前記被写体検出手段は、主要被写体として顔を検出することを特徴とする撮像装置。
In the imaging device according to any one of claims 1 to 6,
The imaging device characterized in that the subject detection means detects a face as a main subject.
JP2013092400A 2013-04-25 2013-04-25 Imaging device Pending JP2014216832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013092400A JP2014216832A (en) 2013-04-25 2013-04-25 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013092400A JP2014216832A (en) 2013-04-25 2013-04-25 Imaging device

Publications (1)

Publication Number Publication Date
JP2014216832A true JP2014216832A (en) 2014-11-17

Family

ID=51942188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013092400A Pending JP2014216832A (en) 2013-04-25 2013-04-25 Imaging device

Country Status (1)

Country Link
JP (1) JP2014216832A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019110402A (en) * 2017-12-15 2019-07-04 キヤノン株式会社 Imaging apparatus, control method therefor, and program
JP2019118115A (en) * 2019-02-21 2019-07-18 キヤノン株式会社 Exposure control device, exposure control method, and program
US11394874B2 (en) 2020-07-27 2022-07-19 Panasonic Intellectual Property Management Co., Ltd. Imaging apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019110402A (en) * 2017-12-15 2019-07-04 キヤノン株式会社 Imaging apparatus, control method therefor, and program
JP2019118115A (en) * 2019-02-21 2019-07-18 キヤノン株式会社 Exposure control device, exposure control method, and program
US11394874B2 (en) 2020-07-27 2022-07-19 Panasonic Intellectual Property Management Co., Ltd. Imaging apparatus

Similar Documents

Publication Publication Date Title
JP4218720B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP5088118B2 (en) Focus adjustment device
WO2018101092A1 (en) Imaging device and flicker determination method
JP2010204304A (en) Image capturing device, operator monitoring device, method for measuring distance to face
JP6282152B2 (en) Imaging apparatus and control method thereof
JP5771461B2 (en) TRACKING DEVICE, TRACKING METHOD, AND TRACKING PROGRAM
JP2011155492A (en) Image processor
JP5338197B2 (en) Focus detection apparatus and imaging apparatus
JP3603715B2 (en) Distance measuring device and camera equipped with the distance measuring device
JP2010072619A (en) Exposure operation device and camera
JP2014216832A (en) Imaging device
JP2008053811A (en) Electronic camera
JP2010113129A (en) Image tracking device, focusing device, and image capturing apparatus
JP6652303B2 (en) Flash band determination device, control method thereof, control program, and imaging device
JP5118590B2 (en) Subject tracking method and imaging apparatus
US11727716B2 (en) Information processing apparatus, imaging apparatus, which determines exposure amount with respect to face detection and human body detection
JP2011041186A (en) Electronic camera
JP2017011351A (en) Imaging apparatus, control method of the same, and control program
JP7000080B2 (en) Image processing equipment, its control method, and programs
JP2007028338A (en) Imaging apparatus and control method thereof, program, and storage medium
JP2007096828A (en) Imaging apparatus
JP2007013272A5 (en)
US11558542B1 (en) Event-assisted autofocus methods and apparatus implementing the same
US11849221B2 (en) Apparatus, method, and storage medium
JP5326799B2 (en) Imaging device