JP2007318563A - Camera, image discrimination method, exposure control method, program, and recording medium - Google Patents

Camera, image discrimination method, exposure control method, program, and recording medium Download PDF

Info

Publication number
JP2007318563A
JP2007318563A JP2006147318A JP2006147318A JP2007318563A JP 2007318563 A JP2007318563 A JP 2007318563A JP 2006147318 A JP2006147318 A JP 2006147318A JP 2006147318 A JP2006147318 A JP 2006147318A JP 2007318563 A JP2007318563 A JP 2007318563A
Authority
JP
Japan
Prior art keywords
image
image sensor
exposure
exposure control
face detection
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
JP2006147318A
Other languages
Japanese (ja)
Inventor
Osamu Nonaka
修 野中
Atsushi Maruyama
淳 丸山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2006147318A priority Critical patent/JP2007318563A/en
Publication of JP2007318563A publication Critical patent/JP2007318563A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Blocking Light For Cameras (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a camera, an image discrimination method, an exposure control method, a program, and a recording medium. <P>SOLUTION: The camera photographs a scene wherein a bright scenery and people under a backlight are intermingled with a high speed shutter and a strobe. The bright scene part is shown in a curve in I2a in Fig. 4 by an exposure at the high speed shutter at very nearly a saturation level. The scenery part receives no effect by the strobe. The backlight people part is shown in a proper luminance level I2b in Fig.4(A) by strobe lighting. Further, gamma correction is applied to the bright scenery part to decrease the luminance from I2a to I3b. The curve I3b indicates a proper luminance level as shown in Fig.4(B). Both the bright scenery and the people under the backlight respectively reach the proper luminance level. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、カメラに関して、特に逆光シーンの撮影に対応するカメラに関する。   The present invention relates to a camera, and more particularly to a camera that supports shooting of a backlight scene.

逆光のシーンは、撮影の難しいシーンである。銀塩フィルムに比べてダイナミックレンジの狭い撮像素子を使用するデジタルカメラでは、顕著である。特に、人物が主被写体である場合、顔が真っ暗になると、失敗写真となってしまうことが多い。そこで、このような人物が被写体の逆光シーンでは、通常ストロボ撮影により人物を適正露光にすることが行われる。そして、このストロボ撮影は、撮影者がストロボモードを選択するか、あるいはカメラのシーンモードを逆光シーンに選択する等の操作により実行される。   Backlit scenes are difficult to shoot. This is conspicuous in digital cameras that use an image sensor having a narrow dynamic range as compared with a silver salt film. In particular, when a person is the main subject, the photograph often fails when the face becomes dark. Therefore, in such a backlight scene where a person is a subject, the person is appropriately exposed by normal flash photography. The flash photography is executed by an operation such as the photographer selecting the flash mode or selecting the scene mode of the camera as a backlight scene.

このストロボ撮影に関する提案としては、対応できる明るさのダイナミックレンジをかせぐために、撮像素子と撮影レンズの間にND(neutral density)フィルタを出し入れできる機能を備えて、ストロボの強力な光を弱めてストロボ照射の効果を発揮させるものがある(特許文献1)。   Proposals for this strobe shooting include a function that allows an ND (neutral density) filter to be inserted and removed between the image sensor and the photographic lens in order to increase the dynamic range of brightness that can be handled, and the strobe light is weakened to reduce the strobe light. There is one that exhibits the effect of irradiation (Patent Document 1).

一方最近は顔検出技術が発達しているので(例えば特許文献2)、この顔検出の技術の応用によって人物が被写体であるかの判断ができることも期待される。
特開2000−122128(フジ) 特開平07−073298(シャープ)
On the other hand, since face detection technology has recently been developed (for example, Patent Document 2), it is expected that it can be determined whether a person is a subject by applying this face detection technology.
JP 2000-122128 (Fuji) JP 07-073298 (Sharp)

上記顔検出が精度よく行われるためには、対象となる被写体の輪郭が十分鮮明に表現されていることが前提になる。逆光の状況下では、被写体の像がつぶれてしまうので、顔検出技術により簡単に人物判定ができることは期待できない。   In order for the face detection to be performed with high accuracy, it is premised that the contour of the target subject is expressed sufficiently clearly. Under the backlight conditions, the image of the subject is crushed, so it cannot be expected that the person can be easily determined by the face detection technique.

また、上述のような逆光のシーンに代表されるような、明るい部分と暗い部分が混在するような状況での撮影では、ストロボ照射による単純に画像の明るさの範囲を広げるだけの従来の簡単な制御では、満足できなくなってきている。つまり、これまで苦手とされてきた明るさが大きく変化するシーンでも、CCDなど撮像素子の特性を考慮してこれを美しく描写するカメラが求められる。   Also, when shooting in a situation where both bright and dark parts are mixed, as represented by the above-mentioned backlight scene, the conventional simple method of simply expanding the brightness range of the image by strobe illumination It is becoming unsatisfactory with simple control. In other words, there is a need for a camera that beautifully depicts scenes where brightness, which has been a weak point until now, changes greatly, taking into account the characteristics of an image sensor such as a CCD.

本発明は以上の点に鑑み、逆光シーンのような明るさが大きく変化するシーンでも美しく描写するカメラ、画像判定方法、露出制御方法、プログラム及び記録媒体を提供するものである。   In view of the above, the present invention provides a camera, an image determination method, an exposure control method, a program, and a recording medium that can be beautifully depicted even in a scene where the brightness changes greatly, such as a backlight scene.

上記目的を達成するために、第1の発明によるカメラは、撮像素子への被写体像の露出を制御する露出制御部と、撮影レンズと上記撮像素子の光路間にNDフィルタを出し入れする機能を有するカメラにおいて、撮影状況を判定して人物の被写体に光を補う必要のあるシーンを判定するシーン判定部を備え、上記露出制御部は、シーン判定部により光を補う必要のあるシーンと判定された時には、上記NDフィルタを光路から外すよう制御するものである。   In order to achieve the above object, a camera according to a first invention has an exposure control unit for controlling exposure of a subject image to an image sensor, and a function of inserting and removing an ND filter between an imaging lens and an optical path of the image sensor. The camera includes a scene determination unit that determines a scene that needs to supplement a person's subject by determining a shooting situation, and the exposure control unit is determined to be a scene that needs to supplement light by the scene determination unit. In some cases, the ND filter is controlled to be removed from the optical path.

また、第2の発明によるカメラは、撮像素子から得られる画像をモニタ画像として表示する表示部と、撮像素子から得られる画像を顔検出画像として画面内に人物が存在するかを検出する顔検出部と、撮像素子から得られる画像を上記モニタ画像として用いるか上記顔検出画像として用いるかで、撮像素子への露出を切換える露出制御部と、備えるものである。   According to a second aspect of the present invention, there is provided a display unit that displays an image obtained from an image sensor as a monitor image, and a face detection that detects whether a person is present on the screen using the image obtained from the image sensor as a face detection image. And an exposure control unit that switches exposure to the image sensor depending on whether an image obtained from the image sensor is used as the monitor image or the face detection image.

また、第3の発明による露出制御方法は、撮像素子から得られる画像を顔検出画像として画面内に人物が存在するかを検出する顔検出部を備えるカメラにおける露出制御方法において、撮像素子から得られる画像を表示部に表示するモニタ画像として用いるか、上記顔検出画像として用いるかで、撮像素子への露出を切換えるものである。     An exposure control method according to a third aspect of the invention is an exposure control method for a camera including a face detection unit that detects whether a person is present in a screen using an image obtained from an image sensor as a face detection image. The exposure to the image sensor is switched depending on whether the obtained image is used as a monitor image displayed on the display unit or as the face detection image.

本発明によれば、逆光シーンのような明るさが大きく変化するシーンでも美しく描写するカメラ、画像判定方法、露出制御方法、プログラム及び記録媒体を提供可能となる。   According to the present invention, it is possible to provide a camera, an image determination method, an exposure control method, a program, and a recording medium that can be beautifully depicted even in a scene where brightness changes greatly, such as a backlight scene.

以下本発明を実施するための最良の形態を図面を参照して説明する。
(第1実施形態)
図1は、本発明が適用されるカメラ1の全体ブロック図である。カメラ1にはレンズ部2、ND(neutral density)フィルタ3、シャッター4、撮像素子5、アナログフロントエンド(以下、AFEと略す)部6、画像処理部7、記録再生制御部8及び記録メディア9が設けられる。レンズ部2は、入射した被写体20の像を撮像素子5に結像する。NDフィルタ3は、レンズ部2から入射した光を一定量減衰させて、露出量を調整する光学フィルタである。NDフィルタ3はレンズ部2の光路に挿脱自在に設けられる。シャッター4は、NDフィルタ3を通過した光が撮像素子5へ入射するのを選択的に遮り、露出量を調整する。
The best mode for carrying out the present invention will be described below with reference to the drawings.
(First embodiment)
FIG. 1 is an overall block diagram of a camera 1 to which the present invention is applied. The camera 1 includes a lens unit 2, an ND (neutral density) filter 3, a shutter 4, an image sensor 5, an analog front end (hereinafter abbreviated as AFE) unit 6, an image processing unit 7, a recording / reproducing control unit 8, and a recording medium 9. Is provided. The lens unit 2 forms an image of the incident subject 20 on the image sensor 5. The ND filter 3 is an optical filter that attenuates a certain amount of light incident from the lens unit 2 and adjusts the exposure amount. The ND filter 3 is detachably provided in the optical path of the lens unit 2. The shutter 4 selectively blocks the light that has passed through the ND filter 3 from entering the image sensor 5 and adjusts the exposure amount.

撮像素子5は、CMOSやCCDからなり、結像された被写体像を画像信号に変換する。AFE部6は、撮像素子5から出力されるアナログの電気信号をデジタルの画像データに変換して出力する。また、AFE部6には、切り出し部6aが設けられる。切り出し部6aは、撮像素子5の出力する信号を取捨選択して、全部の受光面から限られた画素信号のみを抽出することができる。また撮像素子5から画素を間引いて抽出することも出来る。   The image sensor 5 is composed of a CMOS or a CCD, and converts the formed subject image into an image signal. The AFE unit 6 converts an analog electrical signal output from the image sensor 5 into digital image data and outputs the digital image data. The AFE unit 6 is provided with a cutout unit 6a. The cutout unit 6a can select only a limited pixel signal from all the light receiving surfaces by selecting signals output from the image sensor 5. In addition, pixels can be extracted from the image sensor 5 by thinning out.

画像処理部7は、AFE部6から出力された画像データについて、ガンマ(階調補正)や色や階調やシャープネスを補正処理する。また、画像処理部7は、画像処理部内のJPEG(Joint Photographic Coding Experts Group)コア部(図示せず)などの静止画像用の圧縮伸長部を有し、撮影時にはこの圧縮伸長部で画像データを圧縮する。また、画像処理部7には、画像サイズを表示用のサイズに変更するリサイズ部7aが設けられる。   The image processing unit 7 corrects gamma (gradation correction), color, gradation, and sharpness for the image data output from the AFE unit 6. The image processing unit 7 has a compression / expansion unit for still images such as a JPEG (Joint Photographic Coding Experts Group) core unit (not shown) in the image processing unit. Compress. The image processing unit 7 is provided with a resizing unit 7a that changes the image size to a display size.

記録再生制御部8は、撮影時には画像処理部7により圧縮処理された画像データを記録媒体である記録メディア9に記録する。記録メディア9は、画像を保存記録する記録媒体である。また、記録再生制御部8は再生時には記録メディア9から画像データを読み出す。   The recording / playback control unit 8 records the image data compressed by the image processing unit 7 in a recording medium 9 as a recording medium at the time of shooting. The recording medium 9 is a recording medium for storing and recording images. The recording / playback control unit 8 reads image data from the recording medium 9 during playback.

また、カメラ1には表示制御部11及び表示部12が設けられる。表示部12は、例えば液晶や有機EL等から構成され、撮影時にはモニタ画像を表示し、再生時には伸張処理された記録画像を表示する。撮影時には、ユーザーは表示部12に表示された画像を見ながら、構図やタイミングを決めて撮影操作を行う。撮像素子5からの画像信号をほぼリアルタイムで表示できるように、リサイズ部7aによって画像が加工され、表示制御部11によって制御され表示部12に表示される。再生時には、記録メディア9に記録された圧縮データが記録再生制御部8により読み出され、画像処理部7によって再生され、リサイズされて表示部12に表示される。   The camera 1 is provided with a display control unit 11 and a display unit 12. The display unit 12 includes, for example, a liquid crystal or an organic EL, and displays a monitor image at the time of shooting, and displays a recorded image that has been subjected to expansion processing at the time of reproduction. At the time of shooting, the user determines the composition and timing while performing the shooting operation while viewing the image displayed on the display unit 12. The image is processed by the resizing unit 7 a so that the image signal from the image sensor 5 can be displayed almost in real time, and is controlled by the display control unit 11 and displayed on the display unit 12. At the time of reproduction, the compressed data recorded on the recording medium 9 is read by the recording / reproduction control unit 8, reproduced by the image processing unit 7, resized and displayed on the display unit 12.

また、カメラ1には、MPU10、ROM19、操作部16が設けられる。MPU(マイクロコントローラ)10は、プログラムに従って撮影や再生等カメラ1の全体の制御を司る制御部である。ROM19は、不揮発性でかつ記録可能なメモリで例えばフラッシュROMからなり、カメラ1の制御処理を行う制御用のプログラムが格納される。操作部16は、撮影者の指示をMPU10に通知する。操作部16の代表例としてスイッチ16a、16b、16cが設けられる。スイッチ16aはレリーズスイッチである。16bや16cは、例えば撮影/再生モード切替や撮影モードの切替などのスイッチである。MPU10は、撮影や表示などのユーザーの指示をスイッチ16a、16b、16cで検出する。   In addition, the camera 1 is provided with an MPU 10, a ROM 19, and an operation unit 16. An MPU (microcontroller) 10 is a control unit that controls the entire camera 1 such as shooting and reproduction according to a program. The ROM 19 is a non-volatile and recordable memory, for example, a flash ROM, and stores a control program for performing control processing of the camera 1. The operation unit 16 notifies the MPU 10 of the photographer's instruction. As a representative example of the operation unit 16, switches 16a, 16b, and 16c are provided. The switch 16a is a release switch. Reference numerals 16b and 16c denote switches for switching, for example, shooting / playback mode switching and shooting mode switching. The MPU 10 detects user instructions such as shooting and display with the switches 16a, 16b, and 16c.

また、カメラ1には、AF制御部13、NDフィルタ制御部14、シャッター制御部15、ストロボ部17、露出制御部10a、シーン判定部10bおよび顔検出部18が設けられる。AF制御部13は、レンズ部2のピント位置を制御する。ピント位置の制御は、画像処理部7が撮像素子5から出力される画像データのコントラストを検出してMPU10に出力し、これに従ってMPU10がAF制御部13に制御信号を出力することにより実行される。MPU10は画像データのコントラスト信号が最大になるようにAF制御部13に制御信号を出力する。   Further, the camera 1 is provided with an AF control unit 13, an ND filter control unit 14, a shutter control unit 15, a strobe unit 17, an exposure control unit 10a, a scene determination unit 10b, and a face detection unit 18. The AF control unit 13 controls the focus position of the lens unit 2. The focus position is controlled by the image processing unit 7 detecting the contrast of the image data output from the image sensor 5 and outputting it to the MPU 10, and the MPU 10 outputting a control signal to the AF control unit 13 accordingly. . The MPU 10 outputs a control signal to the AF control unit 13 so that the contrast signal of the image data is maximized.

NDフィルタ制御部14は、レンズ部2と撮像素子5間へのNDフィルタ3の挿脱を制御する。CCD等の撮像素子5は、従来の写真フィルムとは異なり、ダイナミックレンジが狭く露出制御が難しい。そこで、NDフィルタ制御部14は、明るいシーンではNDフィルタ3を入れて撮像素子5への光量を減衰させて、撮像素子5へ適当な光量が入射するようにする。ただし、このNDフィルタは、被写体の明るさを減衰させるという効果以上に、ストロボ発光時には、ストロボ光を減衰させるので、ストロボ使用時には光路内にないほうが好ましい。そこで後述するように、NDフィルタ制御部14は、単純に暗い時に光路から出すだけでなく、状況に応じてこれを光路外に出すよう制御する。   The ND filter control unit 14 controls insertion / removal of the ND filter 3 between the lens unit 2 and the image sensor 5. Unlike a conventional photographic film, the image sensor 5 such as a CCD has a narrow dynamic range and is difficult to control exposure. Therefore, the ND filter control unit 14 inserts the ND filter 3 in a bright scene to attenuate the light amount to the image sensor 5 so that an appropriate light amount enters the image sensor 5. However, since the ND filter attenuates the strobe light when the strobe emits light, more than the effect of attenuating the brightness of the subject, it is preferable that the ND filter is not in the optical path when the strobe is used. Therefore, as will be described later, the ND filter control unit 14 controls not only to be out of the optical path when it is dark, but also out of the optical path depending on the situation.

また、シャッター制御部15はシャッター4の開閉を制御する。シャッター制御部15は、明るいときには短い時間でシャッター4を閉じ、暗いところでは、長い時間でシャッター4を閉じるような制御をして、撮像素子5への入射光量を所定量に保つ露出制御を行う。   The shutter control unit 15 controls the opening / closing of the shutter 4. The shutter control unit 15 performs exposure control that closes the shutter 4 in a short time when it is bright and closes the shutter 4 in a long time when it is dark so as to keep the amount of light incident on the image sensor 5 at a predetermined amount. .

ストロボ部17は、露出を補助する補助光照射手段である。被写体が相対的、または絶対的に暗い場合には、強い光を投射するストロボ部17が補助光として利用される。   The strobe unit 17 is auxiliary light irradiation means for assisting exposure. When the subject is relatively dark or absolutely dark, the strobe unit 17 that projects strong light is used as auxiliary light.

また、MPU10内にはMPU10の処理機能の1つとして露出制御部10a、シーン判定部10bが設けられる。露出制御部10aは、AFE部4からの画像データに基づいて、NDフィルタ制御部14、シャッター制御部15及びストロボ部17および画像処理部7のガンマ補正機能を制御して、画像の露出を適正にする。   Further, in the MPU 10, an exposure control unit 10a and a scene determination unit 10b are provided as one of the processing functions of the MPU 10. Based on the image data from the AFE unit 4, the exposure control unit 10a controls the gamma correction functions of the ND filter control unit 14, the shutter control unit 15, the strobe unit 17, and the image processing unit 7 so that the image exposure is appropriate. To.

露出制御部10aは、特に、撮影時のモニタ画像表示時は、画面全体の被写体の様子を確認できるように露出制御する。具体的には、撮像素子5のデータ読出し制御によってこれを制御する。   The exposure control unit 10a controls the exposure so that the state of the subject on the entire screen can be confirmed, particularly when the monitor image is displayed during shooting. Specifically, this is controlled by data reading control of the image sensor 5.

シーン判定部10bは、モニタ画像により画面全体の明るさを判断して、暗いシーンとか逆光シーンとかを判定する。シーン判定部10bは、判定に際して、撮像素子の広い範囲からの画像データを利用する。また、シーン判定部10bは、シーン判定に顔検出部18の結果も利用する。そして、露出制御部10aはシーン判定結果にも応じて撮像素子5に入射する光量を切り替える。   The scene determination unit 10b determines the brightness of the entire screen from the monitor image and determines whether it is a dark scene or a backlight scene. The scene determination unit 10b uses image data from a wide range of the image sensor for determination. The scene determination unit 10b also uses the result of the face detection unit 18 for scene determination. Then, the exposure control unit 10a switches the amount of light incident on the image sensor 5 according to the scene determination result.

顔検出部18は、撮影時の情報を利用して、被写体の中に人間の顔が存在するかどうかを検出する。顔検出部18は、画像処理部7から出力される画像データに基づいて、ピントあわせ時の情報や先に説明したモニタ画像の特徴点抽出によって顔を検出する。そして、顔検出部18はその画面内での顔の大きさや位置をMPU10に出力する。ただし、後述のように画面内の暗い部分に主被写体がいる場合は、画像がつぶれて細かい明暗の差異が分からなくなり、顔検出部18が検出できなくなる。そこで、露出制御部10aは、顔検出のために暗い場所の状況を判断してモニタ表示とは別の露出制御に切り換える。   The face detection unit 18 detects whether or not a human face exists in the subject using information at the time of shooting. The face detection unit 18 detects a face based on the image data output from the image processing unit 7 by extracting information on focusing and extracting feature points of the monitor image described above. Then, the face detection unit 18 outputs the size and position of the face in the screen to the MPU 10. However, as will be described later, when the main subject is in a dark part of the screen, the image is crushed and the difference between light and dark cannot be recognized, and the face detection unit 18 cannot be detected. Therefore, the exposure control unit 10a determines the situation of a dark place for face detection and switches to exposure control different from the monitor display.

図2は逆光撮影シーンの一般的な例を示す図である。図2(A)が、このカメラできれいに撮影したいシーンである。つまり、明るい屋外の風景30aと暗い室内の人物30bが共に美しく描写されるが望ましい撮影である。しかし、一般的には、撮像素子のダイナミックレンジや表示系のダイナミックレンジの限界によって、明るい部分(風景)を重視した画像(図2(B)参照)か、または暗い部分(人物)を重視した画像(図2(C)参照)のいずれかしか得ることが出来ない。つまり、図2(B)の画像では人物30bが黒くつぶれてしまい、図2(C)の画像では風景30aが白く飛んでしまう。   FIG. 2 is a diagram showing a general example of a backlight photographing scene. FIG. 2A shows a scene to be photographed beautifully with this camera. In other words, it is a desirable shooting although both the bright outdoor scenery 30a and the dark person 30b are beautifully depicted. However, in general, depending on the dynamic range of the image sensor and the dynamic range of the display system, an image that emphasizes a bright part (landscape) (see FIG. 2B) or an emphasis on a dark part (person) Only one of the images (see FIG. 2C) can be obtained. That is, in the image of FIG. 2B, the person 30b is crushed in black, and in the image of FIG. 2C, the landscape 30a is flying out in white.

本実施形態のカメラは、明るい屋外の風景30aと暗い室内の人物30bが共に美しく描写するものである。図3は、図2と同じ撮影シーンである。ライン30cは、画面の輝度分布を説明するために、画面の適当な場所に設定された横断線である。   The camera of the present embodiment is a beautiful depiction of a bright outdoor landscape 30a and a dark room person 30b. FIG. 3 shows the same shooting scene as FIG. The line 30c is a transverse line set at an appropriate location on the screen in order to explain the luminance distribution of the screen.

図4(A),(B)は、図3のライン30cに沿った輝度分布をグラフ化した図である。横軸が画面の水平方向Xの位置、縦軸が明るさ(輝度値)を示す。明るさは、下方向が暗く、上方向が明るい方向である。そして、撮像素子5のノイズレベルをL1、飽和レベルをL2でそれぞれ一点鎖線で示す。   4A and 4B are graphs showing the luminance distribution along the line 30c in FIG. The horizontal axis represents the position in the horizontal direction X of the screen, and the vertical axis represents the brightness (luminance value). The brightness is dark in the downward direction and bright in the upward direction. The noise level of the image sensor 5 is indicated by L1, and the saturation level is indicated by L2.

図4(A)の明るさカーブ(実線)I1は、風景30aが適正輝度レベルになるような露出制御をした場合の明るさの分布である。I1はI1aとI1bに分かれ、I1aが風景30aの領域部分に相当し、I1bが人物30bの領域部分に相当する。この状態では人物30bの部分であるI1bはノイズレベルL1以下の明るさしか得られず、黒くつぶれてしまう(図2(B)参照)。   A brightness curve (solid line) I1 in FIG. 4A is a brightness distribution when exposure control is performed so that the landscape 30a has an appropriate luminance level. I1 is divided into I1a and I1b, I1a corresponds to the region portion of the landscape 30a, and I1b corresponds to the region portion of the person 30b. In this state, I1b, which is the portion of the person 30b, can only obtain a brightness equal to or lower than the noise level L1, and is crushed in black (see FIG. 2B).

そこで、第1実施形態では、露出段階ではNDフィルタ3を外しかつストロボ発光をさせ、画像処理段階ではガンマ補正を行うようにする。図4(A)は、露出段階での明るさ分布の変化を示し、図4(B)は画像処理段階による明るさ分布の変化を示す図である。   Therefore, in the first embodiment, the ND filter 3 is removed and strobe light is emitted at the exposure stage, and gamma correction is performed at the image processing stage. 4A shows the change in brightness distribution at the exposure stage, and FIG. 4B shows the change in brightness distribution at the image processing stage.

NDフィルタ3を光路から外して、風景30aの部分であるI1aが飽和レベルL1ぎりぎりになるように、シャッター速度を設定する。シャッター速度は高速化するのが望ましい。これにより、30aの明るさはl1aからl2a(破線)に上昇する。なお、ストロボ発光は影響しない。風景30aの部分は、遠距離でストロボ光が到達しないからである。また、NDフィルタ3を外すのは、人物に対してストロボ光の効果を十分に発揮させるためである。   The ND filter 3 is removed from the optical path, and the shutter speed is set so that I1a, which is the part of the landscape 30a, is just below the saturation level L1. It is desirable to increase the shutter speed. As a result, the brightness of 30a increases from l1a to l2a (broken line). Note that the flash emission does not affect. This is because the strobe light does not reach the landscape 30a at a long distance. The reason why the ND filter 3 is removed is to fully exhibit the effect of strobe light on a person.

図5は、図4の撮影時のシャッターとストロボ発光のタイミングを示すタイミングチャートである。ストロボ光が発光時間が短時間なので、ストロボ発光にあわせて上記のシャッター時間も短くするようにする。つまり、上記撮影ではシャッターも高速になる方向に制御するのが望ましい。シャッター開放(Lアクティブ)時間を短くすれば、露出に対するストロボ光の寄与率が相対的に大きくなるからである。   FIG. 5 is a timing chart showing the timing of shutter and strobe light emission at the time of shooting in FIG. Since the flash light has a short emission time, the shutter time is also shortened in accordance with the flash emission. That is, in the above photographing, it is desirable to control the shutter so as to increase the speed. This is because if the shutter opening (L active) time is shortened, the contribution ratio of the strobe light to the exposure becomes relatively large.

次に、人物30bの部分については、まず、NDフィルタ3を外したことで、その明るさはl1bからl2b(破線)に若干変化するが、ノイズレベルL1以下であるとする。そして、ストロボ発光によって、l2b(破線)からl3b(太線の実線)に上昇して、ノイズレベルL1以上に持ち上がり、適正輝度レベルになる。ストロボの発光によって、人物30bの部分の光量を補われるからである。   Next, regarding the portion of the person 30b, the brightness is slightly changed from l1b to l2b (broken line) by removing the ND filter 3 first, but is assumed to be below the noise level L1. Then, by strobe light emission, it rises from l2b (broken line) to l3b (thick solid line), rises above the noise level L1, and becomes an appropriate luminance level. This is because the light quantity of the person 30b is supplemented by the light emission of the strobe.

そして、図4(B)は、さらにガンマ補正により補正された風景30aの明るさ分布を示す図である。 風景30aのI2aについてのみを、デジタル的に補正(ガンマ補正)してI3aのレベルに落とす。I3aは適正輝度レベルである。これにより、風景30aのI3aと人物30bのI3bともに適正レベルの露出となる。このようにして得られた風景30aについてはI3aの画像と、人物30bについてはI3bの画像を利用すれば、図2(a)のような写真を得ることが出来る。   FIG. 4B is a diagram showing the brightness distribution of the landscape 30a further corrected by gamma correction. Only the I2a of the landscape 30a is digitally corrected (gamma correction) and dropped to the level of I3a. I3a is an appropriate luminance level. As a result, both I3a of the landscape 30a and I3b of the person 30b are exposed at appropriate levels. A photograph as shown in FIG. 2A can be obtained by using the I3a image for the landscape 30a thus obtained and the I3b image for the person 30b.

次に、逆光状態の人物が存在するとき限り、上記の露出制御を行うようにする例を説明する。例えば図6のような風景のみで人物がいないようなシーン、つまり風景を浮き出させるような写真においては、上記のような露出制御を行わせる必要はないからである。不要なシーンでストロボを発光させると、発光のエネルギーが無駄になるばかりでなく、飽和レベルぎりぎりまでまで風景の露出を上げる際に失敗する可能性もあるからである。そこで、暗い所に人物が検出されたシーンのみ、上記露出制御を行うようにする。   Next, an example will be described in which the above exposure control is performed only when there is a backlit person. For example, it is not necessary to perform exposure control as described above in a scene such as FIG. 6 where there is no person, that is, a photograph in which the landscape is raised. This is because if the flash is emitted in an unnecessary scene, not only is the energy of the light emission wasted, but there is also a possibility of failure when raising the exposure of the landscape to the limit of the saturation level. Therefore, the exposure control is performed only in a scene where a person is detected in a dark place.

図7は、顔検出により画面に人物がいるかを判定する例を示す図である。人物の存在を判定する手段は色々あるが、ここでは、画面内に顔のパターンがあるかを検出する方法の例を説明する。図7(A)は、基準となる顔類似パターンを示す図である。(A−1)、(A−2)、(A−3)は、顔サイズの異なる顔類似パターンである。顔類似パターン(A−1)、(A−2)、(A−3)は、ROM19に記憶されている。   FIG. 7 is a diagram illustrating an example of determining whether there is a person on the screen by face detection. There are various means for determining the presence of a person. Here, an example of a method for detecting whether there is a face pattern in the screen will be described. FIG. 7A is a diagram showing a face similarity pattern as a reference. (A-1), (A-2), and (A-3) are face similarity patterns having different face sizes. The face similarity patterns (A-1), (A-2), and (A-3) are stored in the ROM 19.

図7(B)のシーンは図2と同一シーンである。顔検出部18が、(B)のシーンで、基準となる顔類似パターン(A−1)、(A−2)、(A−3)を画面内を走査させ、それがマッチングする部分があれば、撮影画面に人物がいると判定する。ここでは、A−1の顔類似パターンが適合した場合である。   The scene of FIG. 7B is the same scene as FIG. If the face detection unit 18 scans the screen with reference face similarity patterns (A-1), (A-2), and (A-3) in the scene of (B), and there is a matching part. For example, it is determined that there is a person on the shooting screen. Here, it is a case where the face similarity pattern of A-1 is matched.

図8は、顔検出を含む上記撮影制御処理の手順を説明するフローチャートである。この撮影制御処理は、プログラムに従ったMPU10、画像処理部7、露出制御部10a、シーン判定部10b及び顔検出部18により主に実行される。まず、カメラ1のモードをモニタ画モードに設定する(ステップS11)。モニタ画モードは、撮影時に撮像素子の出力をモニタ画像として表示するモードで、極力早く画像を表示するように撮像素子5やシステムを駆動制御する。露出制御部10aが、ここで得られた画像データに基づいて、レンズ部2のピントや露出の制御を行う(ステップS12)。   FIG. 8 is a flowchart for explaining the procedure of the photographing control process including face detection. This photographing control process is mainly executed by the MPU 10 according to the program, the image processing unit 7, the exposure control unit 10a, the scene determination unit 10b, and the face detection unit 18. First, the mode of the camera 1 is set to the monitor image mode (step S11). The monitor image mode is a mode in which the output of the image sensor is displayed as a monitor image at the time of shooting. The image sensor 5 and the system are driven and controlled so as to display the image as soon as possible. The exposure controller 10a controls the focus and exposure of the lens unit 2 based on the image data obtained here (step S12).

次に撮影に先立ち(ステップS13NO)、顔検出及び逆光判定を行う(ステップS14)。顔検出部18が顔検出を行い、シーン判定部10bが逆光判定を行う。そして、顔検出ができたかを判断する(ステップS15)。顔検出ができたときはその旨を表示部12に表示させる(ステップS16)。そして、図7(A)に示したような基準顔類似パターンから、新しい顔類似パターン(先に検出できた顔の形に近づけたもの)に切替える(ステップS17)。これによって、二回目以降の検出スピードを速くすることが可能となる。つまり、基準として持っていたパターン(基準顔類似パターン)から新しい顔類似パターンに切り換えて検出するので、顔が動かないシーンでは顔の判定をスピーディに行うことができ、顔の位置や角度が変化する時でも、画面内の前回検出位置近傍を重点的に検出することにより、顔部を追尾するような効果が得られる。そして、その顔の部分を重視したピント制御や露出制御を行う。ステップS12に戻り、ユーザーの撮影指示を待つ。   Next, prior to shooting (NO in step S13), face detection and backlight determination are performed (step S14). The face detection unit 18 performs face detection, and the scene determination unit 10b performs backlight determination. Then, it is determined whether face detection has been performed (step S15). When face detection is possible, the fact is displayed on the display unit 12 (step S16). Then, the reference face similarity pattern as shown in FIG. 7A is switched to a new face similarity pattern (close to the shape of the face detected earlier) (step S17). As a result, the second and subsequent detection speeds can be increased. In other words, since the pattern (reference face similarity pattern) that was used as a reference is detected by switching to a new face similarity pattern, face determination can be performed quickly in scenes where the face does not move, and the face position and angle change. Even when this is done, the effect of tracking the face portion can be obtained by preferentially detecting the vicinity of the previous detection position in the screen. Then, focus control and exposure control are performed with emphasis on the face portion. The process returns to step S12 and waits for a user's shooting instruction.

一方、顔の検出が出来なかった時には(ステップS15NO)、露出制御部10aが顔検出専用の露出制御を行うかどうかを判定する(ステップS18)。例えば図2(B)のような画像の場合には、顔が暗すぎるので、露出切替えを行う旨を判定する(ステップS18YES)。露出制御部10aが顔検出専用の露出に切替える(ステップS19)。露出時間を長くしたり、図4で説明したように、NDフィルタ3をはずすような制御を行う。また場合によっては、ストロボや図示していないLED光源などを照射して、露出を補って、顔検出しやすいような制御に切り換えてもよい。これにより、背景を飛ばして暗い所を重視した画像である図2(C)のような画像が得られる。これにより、図2(B)のような画像では得られなかった明瞭な顔部の像を得ることができ、顔検出が容易となる。   On the other hand, when the face cannot be detected (NO in step S15), it is determined whether the exposure control unit 10a performs exposure control dedicated to face detection (step S18). For example, in the case of an image as shown in FIG. 2B, since the face is too dark, it is determined that exposure switching is to be performed (YES in step S18). The exposure control unit 10a switches to an exposure dedicated to face detection (step S19). Control is performed to increase the exposure time or to remove the ND filter 3 as described in FIG. Further, depending on the case, it may be switched to a control that facilitates face detection by irradiating a strobe or an LED light source (not shown) to compensate for exposure. As a result, an image as shown in FIG. 2C, which is an image in which the background is skipped and the dark place is emphasized, is obtained. This makes it possible to obtain a clear face image that could not be obtained with the image as shown in FIG. 2B, thereby facilitating face detection.

なお、ここで得られた顔検出用の画像を補助画像32として表示部12の画面に表示させてもよい(ステップS20)。図9は、通常表示される画像であるメイン画像31と補助画像32が同時に表示された画面を示す図である。このような工夫によって、ユーザーは背景と人物の表情とを同時に確認しながら撮影することが可能となる。図9のような表示するために、撮像素子5からメイン画像と補助画像の2つの画像を交互に読み出すような制御が行われる。ただし、2つの画像の読み出し回数の割合は、必ずしも1対1である必要はない。露出制御部10aは、読み出す画像に合わせた露出切替えを制御する。   The face detection image obtained here may be displayed on the screen of the display unit 12 as the auxiliary image 32 (step S20). FIG. 9 is a diagram illustrating a screen on which a main image 31 and an auxiliary image 32 that are images that are normally displayed are simultaneously displayed. With such a device, the user can shoot while confirming the background and the facial expression of the person at the same time. In order to display as shown in FIG. 9, control is performed so that the main image and the auxiliary image are alternately read from the image sensor 5. However, the ratio of the number of times of reading two images is not necessarily 1: 1. The exposure control unit 10a controls exposure switching in accordance with the read image.

一方、図9のような補助画像を表示させない時は、露出制御部10aは、図2(C)のような画像を、撮像素子5から読み出される毎回の画像ではなく何回に一回(例えば4回に1回)得るように、シャッター等を切替える。モニタ表示に影響が出ないようにするためである。つまり、顔検出用の露出による画像取得を頻繁に行うと、表示画像に影響がでるからである。例えば、被写体の動きが不自然な表示になるからである。なお、フローチャートが煩雑になるため図示はしなかったが、一度、このモードで顔部の判定が行われた場合は、違う露出時に同じ検出法で探しても見つからない可能性が高いので、表示に問題が出ない範囲で、適宜露出変更画像の取り込みを行い、この変更画像上で顔検出を行うように工夫してもよい。そして、露出切替えが不要と判定すると(ステップS18NO)、ステップS12に進み、ユーザーの撮影指示を待つ。   On the other hand, when the auxiliary image as shown in FIG. 9 is not displayed, the exposure control unit 10a does not display the image as shown in FIG. Switch the shutter etc. so that it can be obtained once every four times. This is to prevent the monitor display from being affected. That is, if the image acquisition by the face detection exposure is frequently performed, the display image is affected. This is because, for example, the subject's movement becomes unnatural. Although not shown because the flowchart is complicated, once the face is determined in this mode, it is likely that it will not be found even if it is searched with the same detection method at different exposures. It is also possible to devise such that an exposure change image is appropriately captured and face detection is performed on the change image within a range where no problem occurs. If it is determined that exposure switching is unnecessary (NO in step S18), the process proceeds to step S12 and waits for a user's shooting instruction.

ユーザーの撮影指示あると(ステップS13YES)撮影を行う。ここでは、「暗い」または「逆光」または「顔がある」かの条件(ステップS21、ステップS23、ステップS24)に応じて、露出制御を変える。なお、「逆光」や「顔がある」かの判断は、上記ステップS14での顔検出逆光判定の結果を利用する。   When there is a user's shooting instruction (YES in step S13), shooting is performed. Here, the exposure control is changed according to the condition (step S21, step S23, step S24) of "dark", "backlight", or "has a face". The determination of “backlight” or “has a face” uses the result of the face detection backlight determination in step S14.

まず、被写体の全体が暗いか判定する(ステップS21)。シーン判定部10bが判定する。暗いと判定したときは(ステップS21YES)、ストロボ発光を伴う露出制御により撮影を行う(ステップS22)。この時、至近の被写体ならNDフィルタ3を併用するようにする。一方、暗くなくかつ逆光でないときは(ステップS21NO、ステップS23NO)、NDフィルタ3を挿入した露出制御により撮影を行う(ステップS25)。また、暗くなく逆光でかつ顔もないときも(ステップS21NO、ステップS23YES、ステップS24NO)、NDフィルタ3を挿入しての露出制御により撮影を行う(ステップS25)。図6のようなシーンの場合である。   First, it is determined whether the entire subject is dark (step S21). The scene determination unit 10b determines. When it is determined that the image is dark (YES in step S21), shooting is performed by exposure control with strobe light emission (step S22). At this time, the ND filter 3 is used in combination with a close subject. On the other hand, when it is not dark and not backlit (step S21 NO, step S23 NO), photographing is performed by exposure control with the ND filter 3 inserted (step S25). Also, when the image is not dark and backlit and there is no face (NO in step S21, YES in step S23, NO in step S24), photographing is performed by exposure control with the ND filter 3 inserted (step S25). This is the case of the scene as shown in FIG.

そして、暗くなく逆光でかつ顔があるときは(ステップS21NO、ステップS23YES、ステップS24YES)、NDフィルタ3を光路から外して、ストロボ17により図4で説明したような露出制御により撮影を行う(ステップS26)。図2のようなシーンの場合である。   Then, when it is not dark and backlit and there is a face (step S21 NO, step S23 YES, step S24 YES), the ND filter 3 is removed from the optical path, and shooting is performed by the exposure control as described with reference to FIG. S26). This is the case of the scene as shown in FIG.

以上ステップS22、ステップS25,ステップS26による撮影の後は、撮像素子の画素データをすべて読み出し、得られた画像を画像処理部7で画像処理や圧縮を行い(ステップS27)、記録メディア9への記録を行う(ステップS28)。   After shooting in step S22, step S25, and step S26, all the pixel data of the image sensor is read, and the obtained image is subjected to image processing and compression by the image processing unit 7 (step S27). Recording is performed (step S28).

このように、逆光下の人物を正しく検出し、NDフィルタやストロボを有効に使い分けて、明るいシーンから暗いシーンの撮影に対応でき、強い太陽光下の撮影においても、人物の表情や顔の色までをきれいに撮影することが出来る。これによって、背景が飽和レベルぎりぎりに露出制御されるリスクを回避して、大きな輝度差があるシーンでも同一の画面上に表現した写真撮影が可能になる。   In this way, it is possible to detect a person under backlight correctly and use ND filters and strobes effectively to support shooting from a bright scene to a dark scene. Even when shooting under strong sunlight, the facial expression and face color of the person You can shoot beautifully. This avoids the risk that the background is exposed at the saturation level, and allows a photograph taken on the same screen even in a scene with a large luminance difference.

また、逆光条件下においても、モニタ画像表示中の決め細やかな露出制御切替の工夫により被写体の顔を検出することが可能となる。人物を主被写体と判定し、その表情や肌の色を正しく再現すると共に、雰囲気豊かに背景の描写もないがしろにしない写真撮影ができる。   Even under backlit conditions, it is possible to detect the face of the subject by means of fine exposure control switching during monitor image display. A person can be determined as a main subject, and their facial expressions and skin color can be accurately reproduced.

(第2実施形態)
図10を用いて第2実施形態について説明する。上記第1実施形態では、明るい部分と暗い部分が混在しているシーンで、明るい部分と暗い部分の両方をバランスさせて撮影する際に、メイン画像と補助画像を同時にモニタ表示することを説明した。第2実施形態では、このように表示された画像のどちらかが気に入ったなら、それをそのまま取得できるようにする。なお本発明が適用されるカメラのブロック図は、図1と同様であるので省略する。
(Second embodiment)
A second embodiment will be described with reference to FIG. In the first embodiment, in a scene where a bright part and a dark part are mixed, the main image and the auxiliary image are displayed on the monitor at the same time when shooting with both the bright part and the dark part balanced. . In the second embodiment, if one of the displayed images is liked, it can be acquired as it is. A block diagram of a camera to which the present invention is applied is the same as FIG.

図10は、第2実施形態の撮影処理の手順を説明するフローチャートである。操作部16には、図9で示したメイン画像31の撮影を設定する第1スイッチ16dと、補助画像32の撮影を設定する第2スイッチ16eが設けられる。第1スイッチ16dが操作された状態でレリーズ操作がされれば(ステップS31YES)、ストロボ発光なしで背景重視の撮影を行う(ステップS33)。図9のメイン画像31のような背景重視の写真が撮影される。   FIG. 10 is a flowchart illustrating the procedure of the imaging process according to the second embodiment. The operation unit 16 is provided with a first switch 16d for setting the shooting of the main image 31 shown in FIG. 9 and a second switch 16e for setting the shooting of the auxiliary image 32. If the release operation is performed with the first switch 16d being operated (step S31 YES), the background-oriented shooting is performed without the flash emission (step S33). A background-oriented photograph such as the main image 31 of FIG. 9 is taken.

第2スイッチ16eが操作された状態でレリーズ操作がされれば(ステップS32YES)、ストロボ発光をさせるかまたは露出制御を人物重視にした人物重視の撮影を行う(ステップS34)。図9の補助画像32に示したような人物重視の写真が撮影される。第1スイッチ16d及び第2スイッチ16eいずれも操作されない状態でレリーズ操作がされれば(ステップS31NO、ステップS32NO)ときは、背景、人物両方に露出の合った撮影を行う。図2(A)のような両方重視の写真が撮影される(ステップS35)。
以上のように、被写体のいずれの部分を重視するかユーザーの希望に沿った撮影が可能になる。
If a release operation is performed with the second switch 16e being operated (YES in step S32), a person-focused shooting is performed with a strobe light emission or with exposure control focused on the person (step S34). A person-oriented photograph as shown in the auxiliary image 32 of FIG. 9 is taken. If the release operation is performed in a state where neither the first switch 16d nor the second switch 16e is operated (step S31NO, step S32NO), shooting is performed with exposure suitable for both the background and the person. A photograph in which both are emphasized as shown in FIG. 2A is taken (step S35).
As described above, it is possible to shoot according to the user's wish as to which part of the subject is important.

(第3実施形態)
図11を用いて第3実施形態について説明する。第3実施形態は、第1実施形態の撮影に加え、さらに画像合成により、輝度差の大きい風景30aと人物30bからなる画像を作成する例である。さらにデジタル画像技術を駆使した、逆光シーン対策例である。なお本発明が適用されるカメラのブロック図は、図1と同様であるので省略する。
(Third embodiment)
A third embodiment will be described with reference to FIG. The third embodiment is an example in which an image composed of a landscape 30a and a person 30b having a large luminance difference is created by image synthesis in addition to the shooting of the first embodiment. Furthermore, this is an example of measures against backlight scenes that make full use of digital image technology. A block diagram of a camera to which the present invention is applied is the same as FIG.

図11は、撮影制御処理の手順を説明するフローチャートである。この撮影制御処理は、プログラムに従ったMPU10、画像処理部7、露出制御部10a、シーン判定部10b、顔検出部18により主に実行される。なお、本フローチャートは、図8のフローチャートと共通部分が多いので、共通のステップについては同一のステップ番号を付して、その説明は省略する。   FIG. 11 is a flowchart for explaining the procedure of the imaging control process. This photographing control process is mainly executed by the MPU 10 according to the program, the image processing unit 7, the exposure control unit 10a, the scene determination unit 10b, and the face detection unit 18. Since this flowchart has a lot of common parts with the flowchart of FIG. 8, common steps are given the same step numbers, and descriptions thereof are omitted.

図8のフローチャートと異なるのは、暗くなくかつ逆光で顔があるときである(ステップS21NO、ステップS23YES、ステップS24YES)。ここで、まずNDフィルタ3を光路から外して、ストロボ17を発光させ図4で説明したような露出制御により、人物の撮影を行う(ステップS51)。さらに、NDフィルタ3を挿入しての露出制御により風景の撮影を行う(ステップS52)。人物撮影の画像と風景撮影の画像を合成処理する(ステップS53)。以上により、風景、人物ともきれいに描写された画像を得ることができる。   The difference from the flowchart of FIG. 8 is when the face is not dark and is backlit (step S21 NO, step S23 YES, step S24 YES). Here, first, the ND filter 3 is removed from the optical path, the strobe 17 is emitted, and a person is photographed by the exposure control described with reference to FIG. 4 (step S51). Further, a landscape is photographed by exposure control with the ND filter 3 inserted (step S52). A portrait image and a landscape image are combined (step S53). As described above, it is possible to obtain an image in which the landscape and the person are clearly depicted.

なお上記各実施形態において、上記各実施形態で説明したMPU10処理や露出制御部10a、シーン判定部10bに関しては、一部または全てをハードウェアで構成してもよい。逆に、顔検出部18等のハードウェアをソフトウェアで構成しても良い。具体的な構成は設計事項である。そして、MPU10による各制御処理は、ROM19に格納されたソフトウェアプログラムがMPUに供給され、供給されたプログラムに従って上記動作させることによって実現されるものである。従って、上記ソフトウェアのプログラム自体がMPU10の機能を実現することになり、そのプログラム自体は本発明を構成する。また、そのプログラムを格納する記録媒体も本発明を構成する。記録媒体としては、フラッシュメモリ以外でも、CD−ROM、DVD等の光学記録媒体、MD等の磁気記録媒体、テープ媒体、ICカード等の半導体メモリ等を用いることができる。また、各実施形態では本願発明をデジタルカメラに適用した例を説明したが、これに限らず例えば携帯電話のカメラ部に適用しても良い。   In each of the above embodiments, part or all of the MPU 10 processing, the exposure control unit 10a, and the scene determination unit 10b described in the above embodiments may be configured by hardware. Conversely, hardware such as the face detection unit 18 may be configured by software. The specific configuration is a design matter. Each control process by the MPU 10 is realized by a software program stored in the ROM 19 being supplied to the MPU and operating according to the supplied program. Therefore, the software program itself realizes the functions of the MPU 10, and the program itself constitutes the present invention. A recording medium for storing the program also constitutes the present invention. As a recording medium, besides a flash memory, an optical recording medium such as a CD-ROM or DVD, a magnetic recording medium such as an MD, a tape medium, a semiconductor memory such as an IC card, or the like can be used. Moreover, although each embodiment demonstrated the example which applied this invention to the digital camera, you may apply not only to this but the camera part of a mobile telephone, for example.

さらに、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Furthermore, the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

第1実施形態において、本発明が適用されるカメラ1の全体ブロック図。1 is an overall block diagram of a camera 1 to which the present invention is applied in a first embodiment. 第1実施形態において、逆光撮影シーンの一般的な例を示す図。The figure which shows the general example of a backlight imaging scene in 1st Embodiment. 第1実施形態において、図2と同じ撮影シーンを示す図。The figure which shows the same imaging | photography scene as FIG. 2 in 1st Embodiment. 第1実施形態において、図3のライン30cに沿った輝度分布をグラフ化した図。FIG. 4 is a graph showing a luminance distribution along a line 30c in FIG. 3 in the first embodiment. 第1実施形態において、撮影時のシャッターとストロボ発光のタイミングを示すタイミングチャート。6 is a timing chart illustrating the timing of shutter and strobe light emission during shooting in the first embodiment. 第1実施形態において、人物のいない風景を示す図。The figure which shows the scenery without a person in 1st Embodiment. 第1実施形態において、顔検出により画面に人物がいるかを判定する例を示す図。The figure which shows the example which determines whether a person is on a screen by face detection in 1st Embodiment. 第1実施形態において、撮影制御処理の手順を説明するためのフローチャート。5 is a flowchart for explaining a procedure of imaging control processing in the first embodiment. 第1実施形態において、メイン画像31と補助画像32が同時に表示された画面を示す図。The figure which shows the screen on which the main image 31 and the auxiliary image 32 were simultaneously displayed in 1st Embodiment. 第2実施形態において、撮影制御処理の手順を説明するためのフローチャート。9 is a flowchart for explaining a procedure of imaging control processing in the second embodiment. 第3実施形態において、合成処理の手順を説明するためのフローチャート。9 is a flowchart for explaining a procedure of a synthesis process in the third embodiment.

符号の説明Explanation of symbols

1…カメラ、2…レンズ部、3…NDフィルタ、4…シャッター、5…撮像素子、6…アナログフロントエンド部、6a…切り出し部、7…画像処理部、7a…リサイズ部、
8…記録再生制御部、9…記録メディア、10…MPU、10a…露出制御部、10b…シーン判定部、
11…表示制御部、12…表示部、13…AF部、14…ND制御部、15…シャッター制御部、
16…操作部、16a…レリーズスイッチ、16b、16c…切換スイッチ、16d…第1スイッチ、16e…第2スイッチ、
17…ストロボ部、18…顔検出部、19…ROM、20…被写体、
30a…風景、30b…人物、30c…ライン、31…メイン画像、32…補助画像
I1、I2、I3…明るさカーブ、L1…ノイズレベル、L2…飽和レベル
DESCRIPTION OF SYMBOLS 1 ... Camera, 2 ... Lens part, 3 ... ND filter, 4 ... Shutter, 5 ... Image pick-up element, 6 ... Analog front end part, 6a ... Cutting-out part, 7 ... Image processing part, 7a ... Resizing part,
8 ... Recording / playback control unit, 9 ... Recording medium, 10 ... MPU, 10a ... Exposure control unit, 10b ... Scene determination unit,
DESCRIPTION OF SYMBOLS 11 ... Display control part, 12 ... Display part, 13 ... AF part, 14 ... ND control part, 15 ... Shutter control part,
16 ... operation unit, 16a ... release switch, 16b, 16c ... changeover switch, 16d ... first switch, 16e ... second switch,
17 ... Strobe part, 18 ... Face detection part, 19 ... ROM, 20 ... Subject,
30a ... Landscape, 30b ... Person, 30c ... Line, 31 ... Main image, 32 ... Auxiliary images I1, I2, I3 ... Brightness curve, L1 ... Noise level, L2 ... Saturation level

Claims (11)

撮像素子への被写体像の露出を制御する露出制御部と、撮影レンズと上記撮像素子の光路間にNDフィルタを出し入れする機能を有するカメラにおいて、
撮影状況を判定して人物の被写体に光を補う必要のあるシーンを判定するシーン判定部を備え、
上記露出制御部は、シーン判定部により光を補う必要のあるシーンと判定された時には、上記NDフィルタを光路から外すよう制御する
ことを特徴とするカメラ。
In an exposure control unit that controls exposure of a subject image to an image sensor, and a camera having a function of inserting and removing an ND filter between an imaging lens and the optical path of the image sensor,
A scene determination unit that determines a scene that needs to be supplemented with light on a person's subject by determining the shooting situation,
The exposure control unit controls the ND filter to be removed from the optical path when the scene determination unit determines that the scene needs to be supplemented with light.
上記撮影状況をモニタするために上記撮像素子の出力を表示する表示部を備え、
上記シーン判定部は、上記モニタ用に取り出した上記撮像素子信号を利用して、上記シーン判定を行う
ことを特徴とする請求項1に記載のカメラ。
A display unit for displaying the output of the image sensor to monitor the shooting situation;
The camera according to claim 1, wherein the scene determination unit performs the scene determination using the image sensor signal taken out for the monitor.
上記露出制御部は、上記モニタ中の上記撮像素子に対する露出を変更し、
上記シーン判定部は、露出変更された上記撮像素子信号に被写体の人物の顔の部分が含まれるかどうかで、上記シーン判定を行う
ことを特徴とする請求項1に記載のカメラ。
The exposure control unit changes the exposure for the image sensor in the monitor,
The camera according to claim 1, wherein the scene determination unit performs the scene determination based on whether or not the image sensor signal whose exposure has been changed includes a face portion of a human subject.
撮影に先立つタイミングで、被写体の確認を行うために、撮像素子の出力を表示部に表示するカメラの画像判定方法において、
上記表示のタイミングにおいて、上記撮像素子への露出制御を上記表示部への表示用とは異なる制御に切替えて、上記撮像素子の出力に人物の顔に相当する画像が含まれるかどうかを判定するステップを有する
ことを特徴とするカメラの画像判定方法。
In a camera image determination method for displaying an output of an image sensor on a display unit in order to check a subject at a timing prior to shooting,
At the display timing, exposure control to the image sensor is switched to control different from that for display on the display unit, and it is determined whether an image corresponding to a human face is included in the output of the image sensor. A camera image determination method comprising: steps.
撮影に先立つタイミングで、被写体の確認を行うために、撮像素子の出力を表示部に表示するカメラにおいて、
上記表示のタイミングにおいて、顔検出用の露出制御と画面表示用の露出制御の二つの露出制御を切替る露出制御部を備える
ことを特徴とするカメラ。
In the camera that displays the output of the image sensor on the display unit in order to check the subject at the timing prior to shooting,
A camera comprising an exposure control unit that switches between exposure control for face detection and exposure control for screen display at the display timing.
撮像素子から得られる画像をモニタ画像として表示する表示部と、
撮像素子から得られる画像を顔検出画像として画面内に人物が存在するかを検出する顔検出部と、
撮像素子から得られる画像を上記モニタ画像として用いるか上記顔検出画像として用いるかで、撮像素子への露出を切換える露出制御部と、備える
ことを特徴とするカメラ。
A display unit for displaying an image obtained from the image sensor as a monitor image;
A face detection unit that detects whether a person exists in the screen as an image obtained from the image sensor as a face detection image;
An exposure control unit that switches exposure to an image sensor depending on whether an image obtained from the image sensor is used as the monitor image or the face detection image.
上記露出制御部は、モニタ画像表示中に顔検出画像を取得するために、モニタ画像用の露出と顔画像用の露出を交互に切換える
ことを特徴とする請求項6に記載のカメラ。
The camera according to claim 6, wherein the exposure control unit alternately switches the exposure for the monitor image and the exposure for the face image in order to acquire the face detection image while the monitor image is displayed.
上記露出制御部は、上記モニタ画像を取得する割合が顔検出画像を取得する割合より多くなるよう露出を切換える
ことを特徴とする請求項7に記載のカメラ。
The camera according to claim 7, wherein the exposure control unit switches exposure so that a ratio of acquiring the monitor image is higher than a ratio of acquiring the face detection image.
撮像素子から得られる画像を顔検出画像として画面内に人物が存在するかを検出する顔検出部を備えるカメラにおける露出制御方法において、
撮像素子から得られる画像を表示部に表示するモニタ画像として用いるか、上記顔検出画像として用いるかで、撮像素子への露出を切換える
ことを特徴とする露出制御方法。
In an exposure control method in a camera including a face detection unit that detects whether a person exists in the screen as an image obtained from an image sensor as a face detection image,
An exposure control method, wherein exposure to an image sensor is switched depending on whether an image obtained from the image sensor is used as a monitor image displayed on a display unit or as the face detection image.
撮像素子から得られる画像を顔検出画像として画面内に人物が存在するかを検出する顔検出部を備えるカメラにおける露出制御方法をコンピュータに実行させるプログラムにおいて、
上記露出制御方法は、撮像素子から得られる画像を表示部に表示するモニタ画像として用いるか、上記顔検出画像として用いるかで、撮像素子への露出を切換える
ことを特徴とするプログラム。
In a program for causing a computer to execute an exposure control method in a camera including a face detection unit that detects whether a person is present in a screen as an image obtained from an image sensor as a face detection image,
The program according to claim 1, wherein the exposure control method switches the exposure to the image sensor depending on whether an image obtained from the image sensor is used as a monitor image displayed on a display unit or as the face detection image.
撮像素子から得られる画像を顔検出画像として画面内に人物が存在するかを検出する顔検出部を備えるカメラにおける露出制御方法をコンピュータに実行させるプログラムを記憶するコンピュータ読み取り可能な記録媒体において、
上記露出制御方法は、撮像素子から得られる画像を表示部に表示するモニタ画像として用いるか、上記顔検出画像として用いるかで、撮像素子への露出を切換える
ことを特徴とする記録媒体。
In a computer-readable recording medium storing a program for causing a computer to execute an exposure control method in a camera including a face detection unit that detects whether a person is present in a screen using a face detection image as an image obtained from an image sensor,
A recording medium characterized in that the exposure control method switches exposure to an image sensor depending on whether an image obtained from the image sensor is used as a monitor image displayed on a display unit or as the face detection image.
JP2006147318A 2006-05-26 2006-05-26 Camera, image discrimination method, exposure control method, program, and recording medium Pending JP2007318563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006147318A JP2007318563A (en) 2006-05-26 2006-05-26 Camera, image discrimination method, exposure control method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006147318A JP2007318563A (en) 2006-05-26 2006-05-26 Camera, image discrimination method, exposure control method, program, and recording medium

Publications (1)

Publication Number Publication Date
JP2007318563A true JP2007318563A (en) 2007-12-06

Family

ID=38852009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006147318A Pending JP2007318563A (en) 2006-05-26 2006-05-26 Camera, image discrimination method, exposure control method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP2007318563A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101448539B1 (en) 2008-07-23 2014-10-08 삼성전자주식회사 Image processing method and apparatus, and digital photographing apparatus using thereof
US9280702B2 (en) 2013-10-22 2016-03-08 Fujitsu Limited Image processing device and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101448539B1 (en) 2008-07-23 2014-10-08 삼성전자주식회사 Image processing method and apparatus, and digital photographing apparatus using thereof
US9280702B2 (en) 2013-10-22 2016-03-08 Fujitsu Limited Image processing device and image processing method

Similar Documents

Publication Publication Date Title
JP5319078B2 (en) Camera, camera image processing method, program, and recording medium
JP5639140B2 (en) camera
JP5751270B2 (en) Imaging apparatus, imaging control method, and program
KR100942634B1 (en) Image correction device, image correction method, and computer readable medium
JP2011010275A (en) Image reproducing apparatus and imaging apparatus
JP2008300949A (en) Display control unit and method for camera
US20140267836A1 (en) Image capture apparatus that can display review image, image capture method, and storage medium
JP5156991B2 (en) Imaging apparatus, imaging method, and imaging program
JP5316070B2 (en) Imaging device
JP4717867B2 (en) Imaging apparatus and imaging method
JP2008042746A (en) Camera, photographing control method and program
JP2008108024A (en) Image processor and imaging device
JP2002040321A (en) Electronic camera
JP2010199681A (en) Image processing apparatus and program
JP4182864B2 (en) Electronic camera
JP2010011153A (en) Imaging apparatus, imaging method and program
JP2006127489A (en) Imaging device, image-processing device, method for controlling imaging device, and program for making computer execute the same
JP2007318563A (en) Camera, image discrimination method, exposure control method, program, and recording medium
JP2007281532A (en) Apparatus and method for generating image data
JP2001211376A (en) Electronic still camera
JP5448391B2 (en) Imaging apparatus and red-eye correction method
JP2009276610A (en) Device and method for displaying image, and image-pickup device
JP2002044510A (en) Electronic camera
JP2002044516A (en) Electronic camera
JP2007324888A (en) Camera, display control method and program