JP2008312057A - Photographing method and apparatus - Google Patents

Photographing method and apparatus Download PDF

Info

Publication number
JP2008312057A
JP2008312057A JP2007159427A JP2007159427A JP2008312057A JP 2008312057 A JP2008312057 A JP 2008312057A JP 2007159427 A JP2007159427 A JP 2007159427A JP 2007159427 A JP2007159427 A JP 2007159427A JP 2008312057 A JP2008312057 A JP 2008312057A
Authority
JP
Japan
Prior art keywords
image
red
shooting
flash
eye
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.)
Abandoned
Application number
JP2007159427A
Other languages
Japanese (ja)
Inventor
Akihiro Uchida
亮宏 内田
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2007159427A priority Critical patent/JP2008312057A/en
Publication of JP2008312057A publication Critical patent/JP2008312057A/en
Abandoned legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a photographing method and apparatus, which easily provides an image in a composition intended by a photographer, in which red eyes are indistinctive or reliably corrected. <P>SOLUTION: A face is detected before photographing. When the face is detected, the amount of emission of flash is gradually reduced from an appropriate amount of emission, and flash photographing is performed more than once. When the face is not detected, the flash photographing is performed once with an appropriate amount of emission. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、撮影方法及び装置に係り、特に人物を対象としたフラッシュ撮影時における赤目の発生を防止する撮影方法及び装置に関する。   The present invention relates to a photographing method and apparatus, and more particularly, to a photographing method and apparatus for preventing the occurrence of red eyes during flash photography for a person.

赤目とは、人の目が赤く光って写る現象をいい、フラッシュ光が被写体の網膜の毛細血管に反射して、カメラのレンズに戻ることにより発生する。   Red eye refers to a phenomenon in which the human eye shines red, and is generated when flash light is reflected by the capillaries of the subject's retina and returns to the lens of the camera.

この赤目現象を軽減する方法の一つとして、本撮影前にフラッシュをプリ発光させる方法が知られている。この方法は、本撮影前にフラッシュをプリ発光させることにより、事前に被写体の瞳孔を閉じさせて、本撮影時に赤目が発生するのを防止するものである。   As one method of reducing this red-eye phenomenon, a method of pre-flashing a flash before actual photographing is known. In this method, the pupil of the subject is closed in advance by pre-flashing the flash before the main shooting, thereby preventing red eyes from occurring during the main shooting.

しかし、プリ発光させてから被写体の瞳孔が閉じるまでの時間は、個人差、環境差があり、必ずしも赤目が防止できるとは限らないという欠点があった。   However, the time from the pre-flash to the closing of the subject's pupil has individual and environmental differences, and there is a drawback that red-eye cannot always be prevented.

そこで、特許文献1では、フラッシュをプリ発光させてから、所定時間経過後に所定の時間間隔で複数回本撮影を行うことにより、赤目のない画像を撮影する方法が提案されている。   Therefore, Patent Document 1 proposes a method of capturing an image without a red eye by performing main photographing a plurality of times at a predetermined time interval after a predetermined time elapses after the flash is pre-flashed.

また、特許文献2では、本撮影された画像から赤目を検出し、赤目が検出されなくなるまで本撮影を繰り返し実行する方法が提案されている。
特開2005−39715号公報 特開2005−65079号公報
Patent Document 2 proposes a method of detecting red eyes from an actually captured image and repeatedly executing the actual imaging until no red eyes are detected.
JP-A-2005-39715 JP 2005-65079 A

特許文献1の方法では、撮影間隔の設定が重要になるが、CCDの露光、読み出し時間の制約で撮影間隔の細かい設定ができず、適正な撮影ができないおそれがある。   In the method of Patent Document 1, it is important to set the shooting interval. However, fine setting of the shooting interval cannot be performed due to restrictions on CCD exposure and readout time, and there is a possibility that proper shooting cannot be performed.

また、特許文献2の方法では、撮影のたびに赤目の検出処理を行うので、その処理を行う分、撮影間隔が長くなり、その間に被写体が動いてしまうおそれがある。このため、撮影者が意図した構図の写真が撮れないおそれがある。   Further, in the method of Patent Document 2, since red-eye detection processing is performed every time photographing is performed, the photographing interval becomes longer by the amount of the processing, and the subject may move during that time. For this reason, there is a possibility that the photograph of the composition intended by the photographer cannot be taken.

本発明は、このような事情に鑑みてなされたもので、撮影者の意図する構図で赤目の目立たない若しくは確実に補正された画像を簡単に得られる撮影方法及び装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide an imaging method and apparatus capable of easily obtaining an image in which the red-eye is not conspicuous or reliably corrected with the composition intended by the photographer. To do.

請求項1に係る発明は、前記目的を達成するために、本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影方法において、所定の差分ステップでフラッシュの発光量を適正発光量から段階的に減少させて複数回本撮影することを特徴とする撮影方法を提供する。   In order to achieve the above object, the invention according to claim 1 obtains an appropriate flash amount at the time of main shooting in advance when shooting with the flash fired at the time of main shooting, and uses the flash with the determined appropriate flash amount. There is provided a photographing method for performing main photographing a plurality of times by reducing the light emission amount of a flash stepwise from an appropriate light emission amount in a predetermined difference step.

請求項1に係る発明によれば、所定の差分ステップでフラッシュの発光量を適正発光量から段階的に減少させて複数回本撮影が行われる。赤目は、フラッシュ光が被写体の網膜の毛細血管に反射して、カメラのレンズに戻ることにより発生する現象であるので、反射光を減らすことにより、すなわち、フラッシュの発光量を抑えることにより、軽減させることができる。そこで、発光量を段階的に減少させて複数回フラッシュ撮影することにより、簡単に赤目を目立たなくした画像を得ることができる。この際、減少させる差分ステップは、たとえば、事前に求めた適正発光量に応じて設定することにより、適切に設定することができる。すなわち、赤目はフラッシュの発光量が大きいほど顕著に現れるので、事前に求めた適正発光量が大きいほど差分ステップを大きく取ることにより、適切に各回の発光量を設定することができ、赤目の目立たない画像を効率よく簡単に得ることができる。なお、減少させる差分ステップは、一定の値に設定することもできる。   According to the first aspect of the present invention, the main photographing is performed a plurality of times by gradually reducing the flash light emission amount from the appropriate light emission amount in a predetermined difference step. Red-eye is a phenomenon that occurs when flash light is reflected back to the capillaries of the subject's retina and returns to the camera lens, so it is reduced by reducing the amount of reflected light, that is, by reducing the amount of flash emitted. Can be made. Therefore, by reducing the amount of light emitted step by step and performing flash photography a plurality of times, it is possible to easily obtain an image in which the red eye is inconspicuous. At this time, the difference step to be decreased can be appropriately set by setting, for example, according to the appropriate light emission amount obtained in advance. In other words, the red eye appears more prominently as the flash light intensity increases, so the larger the appropriate light emission amount obtained in advance, the larger the difference step, the appropriate light emission amount can be set each time. No image can be obtained efficiently and easily. The difference step to be decreased can be set to a constant value.

請求項2に係る発明は、前記目的を達成するために、本撮影前に画像を撮影し、得られた画像から被写体の顔を検出し、被写体の顔が検出された場合にのみ、フラッシュの発光量を適正発光量から段階的に減少させて複数回本撮影することを特徴とする請求項1に記載の撮影方法を提供する。   In order to achieve the above object, the invention according to claim 2 shoots an image before the main shooting, detects the subject's face from the obtained image, and only detects the subject's face when the subject's face is detected. The photographing method according to claim 1, wherein the photographing is performed a plurality of times by gradually reducing the light emission amount from the appropriate light emission amount.

請求項2に係る発明によれば、本撮影前に画像を撮影し、得られた画像から被写体の顔を検出し、被写体の顔が検出された場合にのみ、フラッシュの発光量を適正発光量から段階的に減少させて複数回本撮影する。すなわち、風景撮影などのように、被写体に顔が含まれない場合、赤目は生じ得ないので、このような場合は、複数回の撮影は行わず、通常通り適正発光量でフラッシュを発光させて、1回だけ本撮影を行う。これにより、無駄な発光、撮影を防止できる。   According to the second aspect of the present invention, an image is photographed before the actual photographing, the face of the subject is detected from the obtained image, and the flash emission amount is set to the appropriate emission amount only when the subject face is detected. Reduce the number of shots step by step and take multiple shots. In other words, red eyes cannot occur when the subject does not include a face, such as in landscape photography.In this case, the flash is not emitted multiple times and the flash is emitted as usual. Take a real shot only once. Thereby, useless light emission and photography can be prevented.

請求項3に係る発明は、前記目的を達成するために、前記差分ステップは、調光結果に基づいて求めることを特徴とする請求項1又は2に記載の撮影方法を提供する。   The invention according to claim 3 provides the imaging method according to claim 1 or 2, characterized in that, in order to achieve the object, the difference step is obtained based on a dimming result.

請求項3に係る発明によれば、差分ステップは、調光結果に基づいて求められる。たとえば、本撮影前にフラッシュをプリ発光させ、得られた画像に基づいて適正発光量を求め、求めた適正発光量に応じて設定する(適正発光量が多くなるに従って差分ステップが大きくなるように設定する。)。これにより、プリ発光による赤目軽減効果も得ることができ、効率よく赤目の発生を防止することができる。   According to the invention of claim 3, the difference step is obtained based on the dimming result. For example, the flash is pre-flashed before the actual shooting, the appropriate light emission amount is obtained based on the obtained image, and set according to the obtained appropriate light emission amount (so that the difference step increases as the appropriate light emission amount increases). Set.) Thereby, the red-eye reduction effect by pre-light emission can also be acquired, and generation | occurrence | production of red eyes can be prevented efficiently.

請求項4に係る発明は、前記目的を達成するために、本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影方法において、所定の差分ステップで撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフトさせて複数回本撮影することを特徴とする撮影方法を提供する。   In order to achieve the above object, the invention according to claim 4 obtains an appropriate flash amount at the time of main shooting in advance when shooting with the flash fired at the time of main shooting, and uses the flash with the determined appropriate flash amount. In a photographing method for performing main photographing with light emission, at least one of photographing sensitivity or a photographing aperture is gradually shifted from the proper photographing sensitivity or the proper photographing aperture to the under side in a predetermined difference step, and plural photographing is performed. Provide a shooting method.

請求項4に係る発明によれば、事前に求めた適正発光量に応じた差分ステップで撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフト(撮影感度を適正撮影感度から段階的に下げる方向にシフト、又は、撮影絞りを適正撮影絞りから段階的に絞る方向にシフト)させて複数回本撮影が行われる。上記のように、赤目は、フラッシュ光が被写体の網膜の毛細血管に反射して、カメラのレンズに戻ることにより発生する現象であるので、撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフトさせることにより、軽減させることができる。そこで、撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフトさせて複数回フラッシュ撮影することにより、簡単に赤目を目立たなくした画像を得ることができる。この際、シフトさせる差分ステップは、たとえば、事前に求めた適正発光量に応じて設定することにより、適切に設定することができる。すなわち、赤目はフラッシュの発光量が大きいほど顕著に現れるので、事前に求めた適正発光量が大きいほど差分ステップを大きく取ることにより、適切に各回の撮影感度又は撮影絞りを設定することができ、赤目の目立たない画像を効率よく簡単に得ることができる。なお、減少させる差分ステップは、一定の値に設定することもできる。   According to the fourth aspect of the present invention, at least one of the photographing sensitivity and the photographing aperture is gradually shifted from the proper photographing sensitivity or the proper photographing aperture to the under side in a difference step corresponding to the appropriate light emission amount obtained in advance (the photographing sensitivity). Is shifted in a stepwise direction from the appropriate shooting sensitivity, or the shooting aperture is shifted in a stepped direction from the proper shooting aperture), and the multiple shooting is performed. As described above, red eye is a phenomenon that occurs when flash light is reflected by capillaries of the subject's retina and returns to the lens of the camera. This can be mitigated by shifting gradually from the photographing aperture to the under side. Therefore, it is possible to easily obtain an image in which the red eye is inconspicuous by performing flash photography a plurality of times by shifting at least one of the imaging sensitivity and the imaging aperture gradually from the appropriate imaging sensitivity or the appropriate imaging aperture to the under side. At this time, the difference step to be shifted can be appropriately set, for example, by setting according to the appropriate light emission amount obtained in advance. That is, the red eye appears more prominently as the flash emission amount is larger, so the larger the appropriate emission amount obtained in advance, the larger the difference step, the appropriate shooting sensitivity or shooting aperture can be set each time, It is possible to efficiently and easily obtain an image with inconspicuous red eyes. The difference step to be decreased can be set to a constant value.

請求項5に係る発明は、前記目的を達成するために、本撮影前に画像を撮影し、得られた画像から被写体の顔を検出し、被写体の顔が検出された場合にのみ、撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフトさせて複数回本撮影することを特徴とする請求項4に記載の撮影方法を提供する。   In order to achieve the above object, the invention according to claim 5 shoots an image before actual shooting, detects the subject's face from the obtained image, and only when the subject's face is detected, the shooting sensitivity. Alternatively, the photographing method according to claim 4, wherein at least one of the photographing apertures is shifted gradually from the appropriate photographing sensitivity or the appropriate photographing aperture to the under side in a stepwise manner, and the photographing is performed a plurality of times.

請求項5に係る発明によれば、本撮影前に画像を撮影し、得られた画像から被写体の顔を検出し、被写体の顔が検出された場合にのみ、撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフトさせて複数回本撮影する。すなわち、風景撮影などのように、被写体に顔が含まれない場合、赤目は生じ得ないので、このような場合は、複数回の撮影は行わず、通常通り適正発光量でフラッシュを発光させて、1回だけ本撮影を行う。これにより、無駄な発光、撮影を防止できる。   According to the fifth aspect of the present invention, at least one of the photographing sensitivity and the photographing aperture is taken only when an image is photographed before the main photographing, the face of the subject is detected from the obtained image, and the face of the subject is detected. Is gradually shifted from the appropriate shooting sensitivity or the appropriate shooting aperture to the under side in order to perform multiple shooting. In other words, red eyes cannot occur when the subject does not include a face, such as in landscape photography.In this case, the flash is not emitted multiple times and the flash is emitted as usual. Take a real shot only once. Thereby, useless light emission and photography can be prevented.

請求項6に係る発明は、前記目的を達成するために、前記差分ステップは、調光結果に基づいて求めることを特徴とする請求項4又は5に記載の撮影方法を提供する。   The invention according to claim 6 provides the imaging method according to claim 4 or 5, characterized in that, in order to achieve the object, the difference step is obtained based on a dimming result.

請求項6に係る発明によれば、差分ステップは、調光結果に基づいて求められる。たとえば、本撮影前にフラッシュをプリ発光させ、得られた画像に基づいて適正発光量を求め、求めた適正発光量に応じて設定する(適正発光量が多くなるに従って差分ステップが大きくなるように設定する。)。これにより、プリ発光による赤目軽減効果も得ることができ、効率よく赤目の発生を防止することができる。   According to the invention which concerns on Claim 6, a difference step is calculated | required based on the light control result. For example, the flash is pre-flashed before the actual shooting, the appropriate light emission amount is obtained based on the obtained image, and set according to the obtained appropriate light emission amount (so that the difference step increases as the appropriate light emission amount increases). Set.) Thereby, the red-eye reduction effect by pre-light emission can also be acquired, and generation | occurrence | production of red eyes can be prevented efficiently.

請求項7に係る発明は、前記目的を達成するために、本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影方法において、所定の差分ステップでフラッシュの発光量を適正発光量から段階的に増加させて複数回本撮影し、本撮影により得られた各画像から赤目を検出し、赤目が検出された画像に対して画像処理により赤目補正することを特徴とする撮影方法を提供する。   In order to achieve the above object, the invention according to claim 7 obtains an appropriate flash amount of the flash at the time of the main shooting in advance when shooting with the flash fired at the time of the main shooting. In the shooting method of shooting with flash, the flash amount is gradually increased from the appropriate flash amount in a predetermined difference step, and multiple shots are taken, and red eyes are detected from each image obtained by the shot, Provided is a photographing method characterized in that red-eye correction is performed by image processing on an image in which red-eye is detected.

請求項7に係る発明によれば、所定の差分ステップでフラッシュの発光量を適正発光量から段階的に増加させて複数回本撮影が行われる。そして、撮影により得られた各画像から赤目が検出され、赤目が検出された画像に対して画像処理により赤目補正が行われる。撮影された画像から赤目を検出し、画像処理により赤目補正を行う場合、赤目は、その領域が大きいほど検出しやすく、色相も赤目未発生時との差分が大きいほど検出しやすくなる。一方、赤目は、フラッシュの反射光が増えるほど顕著になる。そこで、発光量を段階的に増やして複数回フラッシュ撮影することにより、赤目が検出しやすい画像を得て、適切に赤目補正を行う。この際、増加させる差分ステップは、たとえば、一定の値、又は、事前に求めた適正発光量に応じて設定する。なお、事前に求めた適正発光量に応じて設定した場合には、より適切に設定することができる。すなわち、赤目はフラッシュの発光量が大きいほど顕著に現れるので、事前に求めた適正発光量が大きいほど差分ステップを大きく取ることにより、適切に各回の発光量を設定することができ、赤目を検出しやすい画像を効率よく簡単に得ることができるようになる。   According to the seventh aspect of the present invention, the main photographing is performed a plurality of times by gradually increasing the light emission amount of the flash from the appropriate light emission amount in a predetermined difference step. Then, red-eye is detected from each image obtained by photographing, and red-eye correction is performed on the image from which red-eye is detected by image processing. When red-eye is detected from a photographed image and red-eye correction is performed by image processing, the red-eye is easier to detect as the area is larger, and the hue is also easier to detect as the difference from when no red-eye is generated. On the other hand, red eyes become more noticeable as the reflected light from the flash increases. Therefore, by increasing the amount of light emission stepwise and performing flash photography a plurality of times, an image in which red eyes are easily detected is obtained, and red-eye correction is appropriately performed. At this time, the difference step to be increased is set according to, for example, a fixed value or an appropriate light emission amount obtained in advance. In addition, when it sets according to the appropriate light emission amount calculated | required in advance, it can set more appropriately. In other words, the red eye appears more prominently as the flash light intensity increases, so the larger the appropriate light intensity obtained in advance, the larger the difference step, the more appropriate the light intensity can be set each time, and the red eye is detected. Images that are easy to do can be obtained efficiently and easily.

請求項8に係る発明は、前記目的を達成するために、本撮影により得られた各画像から被写体の顔を検出し、被写体の顔が検出された画像については、赤目補正した画像のみを記録することを特徴とする請求項7に記載の撮影方法を提供する。   In order to achieve the above object, the invention according to claim 8 detects the face of the subject from each image obtained by the actual photographing, and records only the red-eye corrected image for the image from which the subject's face is detected. An imaging method according to claim 7 is provided.

請求項8に係る発明によれば、本撮影により得られた各画像から被写体の顔が検出され、被写体の顔が検出された画像については、赤目補正した画像のみが記録される。これにより、確実に赤目補正された画像のみを記録することができ、無駄な画像が記録されるのを防止することができる(記憶媒体の容量を圧迫するのを防止することができる。)。   According to the eighth aspect of the present invention, the face of the subject is detected from each image obtained by the actual photographing, and only the red-eye corrected image is recorded for the image from which the face of the subject is detected. As a result, it is possible to reliably record only the red-eye-corrected image and prevent the useless image from being recorded (the storage medium can be prevented from being compressed).

請求項9に係る発明は、前記目的を達成するために、赤目が検出された画像について赤目らしさの評価値を求め、赤目補正された画像がある場合は、最も評価値が高い画像のみを記録することを特徴とする請求項7に記載の撮影方法を提供する。   In order to achieve the above object, the invention according to claim 9 obtains an evaluation value of redness for an image in which red eyes are detected, and when there is an image corrected for red eyes, only an image having the highest evaluation value is recorded. An imaging method according to claim 7 is provided.

請求項9に係る発明によれば、赤目が検出された画像について赤目らしさの評価値が求められ、赤目補正された画像がある場合は、最も評価値が高い画像のみが記録される。これにより、確実に赤目補正された画像のみを記録することができ、無駄な画像が記録されるのを防止することができる。   According to the ninth aspect of the present invention, an evaluation value of redness is obtained for an image in which red-eye is detected, and when there is an image corrected for red-eye, only an image having the highest evaluation value is recorded. As a result, it is possible to record only an image that has been reliably corrected for red-eye, and to prevent useless images from being recorded.

請求項10に係る発明は、前記目的を達成するために、本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影方法において、所定の差分ステップで撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にオーバー側にシフトさせて複数回本撮影し、本撮影により得られた各画像から赤目を検出し、赤目が検出された画像に対して画像処理により赤目補正することを特徴とする撮影方法を提供する。   In order to achieve the above object, the invention according to claim 10 obtains the appropriate flash amount of the flash at the time of the main shooting in advance when shooting with the flash fired at the time of the main shooting. In the shooting method for actual shooting with light emission, at least one of shooting sensitivity or shooting aperture is gradually shifted from the appropriate shooting sensitivity or the appropriate shooting aperture to the over side by a predetermined difference step, and multiple shooting is performed. Provided is a photographing method characterized in that red eyes are detected from each obtained image, and red-eye correction is performed by image processing on an image from which red eyes are detected.

請求項10に係る発明によれば、所定の差分ステップで露出を適正露出から段階的にオーバー側にシフトさせて複数回本撮影が行われる。そして、撮影により得られた各画像から赤目が検出され、赤目が検出された画像に対して画像処理により赤目補正が行われる。赤目は、フラッシュの反射光が増えるほど顕著になるので、露出を段階的にオーバー側にシフトさせて複数回フラッシュ撮影することにより、赤目が検出しやすい画像が得られ、適切に赤目補正を行うことができる。この際、増加させる差分ステップは、たとえば、一定の値、又は、事前に求めた適正発光量に応じて設定する。なお、事前に求めた適正発光量に応じて設定した場合には、より適切に設定することができる。すなわち、赤目はフラッシュの発光量が大きいほど顕著に現れるので、事前に求めた適正発光量が大きいほど差分ステップを大きく取ることにより、適切に各回の発光量を設定することができ、赤目を検出しやすい画像を効率よく簡単に得ることができるようになる。   According to the tenth aspect of the present invention, the main photographing is performed a plurality of times by gradually shifting the exposure from the proper exposure to the over side in a predetermined difference step. Then, red-eye is detected from each image obtained by photographing, and red-eye correction is performed on the image from which red-eye is detected by image processing. Red eye becomes more prominent as the amount of reflected light from the flash increases. By taking multiple flash shots with the exposure gradually shifted to the over side, an image that is easy to detect red eyes is obtained, and red-eye correction is performed appropriately. be able to. At this time, the difference step to be increased is set according to, for example, a fixed value or an appropriate light emission amount obtained in advance. In addition, when it sets according to the appropriate light emission amount calculated | required in advance, it can set more appropriately. In other words, the red eye appears more prominently as the flash light intensity increases, so the larger the appropriate light intensity obtained in advance, the larger the difference step, the more appropriate the light intensity can be set each time, and the red eye is detected. Images that are easy to do can be obtained efficiently and easily.

請求項11に係る発明は、前記目的を達成するために、本撮影により得られた各画像から被写体の顔を検出し、被写体の顔が検出された画像については、赤目補正した画像のみを記録することを特徴とする請求項10に記載の撮影方法を提供する。   According to an eleventh aspect of the present invention, in order to achieve the above object, the face of the subject is detected from each image obtained by the actual photographing, and only the red-eye corrected image is recorded for the image from which the face of the subject is detected. The imaging method according to claim 10 is provided.

請求項11に係る発明によれば、本撮影により得られた各画像から被写体の顔が検出され、被写体の顔が検出された画像については、赤目補正した画像のみが記録される。これにより、確実に赤目補正された画像のみを記録することができ、無駄な画像が記録されるのを防止することができる。   According to the eleventh aspect of the invention, the face of the subject is detected from each image obtained by the actual photographing, and only the red-eye corrected image is recorded for the image from which the face of the subject is detected. As a result, it is possible to record only an image that has been reliably corrected for red-eye, and to prevent useless images from being recorded.

請求項12に係る発明は、前記目的を達成するために、赤目が検出された画像について赤目らしさの評価値を求め、赤目補正された画像がある場合は、最も評価値が高い画像のみを記録することを特徴とする請求項10に記載の撮影方法を提供する。   In order to achieve the above object, the invention according to claim 12 obtains an evaluation value of redness for an image in which red eyes are detected, and when there is an image corrected for red eyes, only an image having the highest evaluation value is recorded. The imaging method according to claim 10 is provided.

請求項12に係る発明によれば、赤目が検出された画像について赤目らしさの評価値が求められ、赤目補正された画像がある場合は、最も評価値が高い画像のみが記録される。これにより、確実に赤目補正された画像のみを記録することができ、無駄な画像が記録されるのを防止することができる。   According to the twelfth aspect of the present invention, an evaluation value of redness is obtained for an image in which red-eye is detected, and when there is an image corrected for red-eye, only an image having the highest evaluation value is recorded. As a result, it is possible to record only an image that has been reliably corrected for red-eye, and to prevent useless images from being recorded.

請求項13に係る発明は、前記目的を達成するために、フラッシュを発光させて撮影する撮影方法において、1回の撮影指示で、撮影直前にフラッシュをプリ発光させてフラッシュ撮影する赤目軽減フラッシュ撮影と、撮影直前にフラッシュをプリ発光させないでフラッシュ撮影する通常フラッシュ撮影の2回の撮影を実施し、撮影により得られた各画像から赤目を検出し、赤目が検出された画像に対して画像処理により赤目補正することを特徴とする撮影方法を提供する。   According to a thirteenth aspect of the present invention, in order to achieve the above object, in a photographing method in which a flash is fired, a red-eye reduction flash photographing in which a flash is pre-flashed immediately before photographing in one photographing instruction. In addition, the normal flash shooting is performed twice without taking the flash pre-flash immediately before shooting, and red eyes are detected from each image obtained by shooting, and image processing is performed on the images in which red eyes are detected. The present invention provides a photographing method characterized by red-eye correction.

請求項13に係る発明によれば、1回の撮影指示で赤目軽減フラッシュ撮影と通常フラッシュ撮影の2回の撮影が行われる。そして、撮影により得られた各画像から赤目が検出され、赤目が検出された画像に対して画像処理により赤目補正が行われる。赤目軽減フラッシュ撮影された画像は、赤目の発生を抑制することができるが、これに対して赤目検出を行って、画像処理により赤目補正を行う場合、補正すべきレベルのものであっても、通常フラッシュ撮影時に発生する赤目よりも大きさ、色の差分が小さくなるため、赤目が検出しにくくなり、適切な補正ができない場合がある。そこで、1回の撮影指示で赤目軽減フラッシュ撮影と通常フラッシュ撮影の2回の撮影を行い、いずれの撮影画像についても赤目補正を行うことにより、適切な画像を得ることができる。   According to the thirteenth aspect of the present invention, two shootings of red-eye reduction flash shooting and normal flash shooting are performed with one shooting instruction. Then, red-eye is detected from each image obtained by photographing, and red-eye correction is performed on the image from which red-eye is detected by image processing. The red-eye reduction flash image can suppress the occurrence of red-eye, but when red-eye detection is performed for this and red-eye correction is performed by image processing, Since the difference in size and color is smaller than that of red eyes that normally occur during flash photography, red eyes are difficult to detect and appropriate correction may not be possible. Therefore, an appropriate image can be obtained by performing red-eye reduction flash shooting and normal flash shooting twice with a single shooting instruction, and performing red-eye correction on any shot image.

請求項14に係る発明は、前記目的を達成するために、撮影により得られた各画像から被写体の顔を検出し、被写体の顔が検出された画像については、赤目補正した画像のみを記録することを特徴とする請求項13に記載の撮影方法を提供する。   In order to achieve the above object, the invention according to claim 14 detects the face of the subject from each image obtained by shooting, and records only the red-eye corrected image from which the face of the subject is detected. An imaging method according to claim 13 is provided.

請求項14に係る発明によれば、本撮影により得られた各画像から被写体の顔が検出され、被写体の顔が検出された画像については、赤目補正した画像のみが記録される。これにより、確実に赤目補正された画像のみを記録することができ、無駄な画像が記録されるのを防止することができる。   According to the fourteenth aspect of the present invention, the face of the subject is detected from each image obtained by the main photographing, and only the red-eye corrected image is recorded for the image from which the face of the subject is detected. As a result, it is possible to record only an image that has been reliably corrected for red-eye, and to prevent useless images from being recorded.

請求項15に係る発明は、前記目的を達成するために、赤目が検出された画像について赤目らしさの評価値を求め、赤目補正された画像がある場合は、最も評価値が高い画像のみを記録することを特徴とする請求項13に記載の撮影方法を提供する。   In order to achieve the above object, the invention according to claim 15 obtains an evaluation value of redness likeness for an image in which red-eye is detected, and when there is an image corrected for red-eye, only an image having the highest evaluation value is recorded. The imaging method according to claim 13 is provided.

請求項15に係る発明によれば、赤目が検出された画像について赤目らしさの評価値が求められ、赤目補正された画像がある場合は、最も評価値が高い画像のみが記録される。これにより、確実に赤目補正された画像のみを記録することができ、無駄な画像が記録されるのを防止することができる。   According to the fifteenth aspect of the present invention, an evaluation value of redness is obtained for an image in which red-eye is detected, and when there is an image corrected for red-eye, only an image having the highest evaluation value is recorded. As a result, it is possible to record only an image that has been reliably corrected for red-eye, and to prevent useless images from being recorded.

請求項16に係る発明は、前記目的を達成するために、本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影装置において、1回の撮影指示でフラッシュの発光量を変えた本撮影の処理を複数回実行する撮影制御手段と、所定の差分ステップでフラッシュの発光量が適正発光量から段階的に減少するように各回のフラッシュの発光量を設定するフラッシュ発光量設定手段と、を備えたことを特徴とする撮影装置を提供する。   In order to achieve the above object, according to the sixteenth aspect of the present invention, in the case of shooting with the flash fired at the time of actual shooting, an appropriate flash amount of the flash at the time of actual shooting is obtained in advance, and the flash is used with the determined appropriate flash amount. In a photographing device that emits light and performs main photographing, photographing control means for executing a plurality of main photographing processes in which the amount of flash light is changed by one photographing instruction, and the amount of light emitted by the flash at a predetermined difference step are set to an appropriate light amount. And a flash light emission amount setting means for setting the light emission amount of each flash so as to decrease step by step.

請求項16に係る発明によれば、請求項1に係る発明と同様に、所定の差分ステップでフラッシュの発光量を適正発光量から段階的に減少させて複数回本撮影が行われる。   According to the sixteenth aspect of the present invention, as in the first aspect of the present invention, the main photographing is performed a plurality of times by gradually reducing the flash light emission amount from the appropriate light emission amount in a predetermined difference step.

請求項17に係る発明は、前記目的を達成するために、撮影により得られた画像から被写体の顔を検出する顔検出手段を備え、前記撮影制御手段は、本撮影前に撮影された画像から前記顔検出手段で被写体の顔が検出された場合にのみ、フラッシュの発光量を変えた本撮影の処理を複数回実行することを特徴とする請求項16に記載の撮影装置を提供する。   In order to achieve the above object, the invention according to claim 17 includes face detection means for detecting the face of a subject from an image obtained by photographing, and the photographing control means is configured to detect an image taken before the actual photographing. 17. The photographing apparatus according to claim 16, wherein the main photographing process with the flash emission amount changed is executed a plurality of times only when the face of the subject is detected by the face detecting means.

請求項17に係る発明によれば、請求項2に係る発明と同様に、本撮影前に被写体の顔が検出された場合にのみ複数回本撮影が行われる。   According to the invention of claim 17, as in the invention of claim 2, the main shooting is performed a plurality of times only when the face of the subject is detected before the main shooting.

請求項18に係る発明は、前記目的を達成するために、調光結果に基づいて前記差分ステップを算出する差分ステップ算出手段を備えたことを特徴とする請求項16又は17に記載の撮影装置を提供する。   The invention according to claim 18 is provided with a difference step calculating means for calculating the difference step based on a dimming result in order to achieve the object. I will provide a.

請求項18に係る発明によれば、請求項3に係る発明と同様に、差分ステップが調光結果に基づいて算出される。   According to the invention of claim 18, as in the invention of claim 3, the difference step is calculated based on the dimming result.

請求項19に係る発明は、前記目的を達成するために、本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影装置において、1回の撮影指示で撮影感度又は撮影絞りの少なくとも一方を変えた本撮影の処理を複数回実行する撮影制御手段と、所定の差分ステップで撮影感度又は撮影絞りの少なくとも一方が適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフトするように各回の撮影感度又は撮影絞りを設定する設定手段と、を備えたことを特徴とする撮影装置を提供する。   In order to achieve the above object, according to the nineteenth aspect of the present invention, in the case of shooting with the flash fired at the time of actual shooting, an appropriate flash amount of the flash at the time of actual shooting is obtained in advance, and the flash is used with the determined appropriate flash amount. In a photographing apparatus that performs main photographing with light emission, photographing control means for executing a plurality of main photographing processes in which at least one of photographing sensitivity or photographing aperture is changed by one photographing instruction, and photographing sensitivity or photographing at a predetermined difference step. There is provided a photographing apparatus comprising: a setting means for setting a photographing sensitivity or a photographing aperture for each time so that at least one of the diaphragms is shifted to an underside in a stepwise manner from the appropriate photographing sensitivity or the appropriate photographing aperture. .

請求項19に係る発明によれば、請求項4に係る発明と同様に、撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフトさせて複数回本撮影が行われる。   According to the nineteenth aspect of the present invention, as in the fourth aspect, at least one of the photographing sensitivity or the photographing diaphragm is gradually shifted from the appropriate photographing sensitivity or the suitable photographing aperture to the under side in stages to perform the plural photographing. Is done.

請求項20に係る発明は、前記目的を達成するために、撮影により得られた画像から被写体の顔を検出する顔検出手段を備え、前記撮影制御手段は、本撮影前に撮影された画像から前記顔検出手段で被写体の顔が検出された場合にのみ、撮影感度又は撮影絞りの少なくとも一方を変えた本撮影の処理を複数回実行することを特徴とする請求項19に記載の撮影装置を提供する。   In order to achieve the above object, the invention according to claim 20 includes face detection means for detecting a face of a subject from an image obtained by photographing, and the photographing control means is configured to detect an image taken before the actual photographing. 20. The photographing apparatus according to claim 19, wherein only when the face of the subject is detected by the face detection unit, the main photographing process is performed a plurality of times while changing at least one of the photographing sensitivity and the photographing aperture. provide.

請求項20に係る発明によれば、請求項5に係る発明と同様に、本撮影前に被写体の顔が検出された場合にのみ複数回本撮影が行われる。   According to the twentieth aspect of the present invention, as in the fifth aspect of the present invention, the main photographing is performed a plurality of times only when the face of the subject is detected before the main photographing.

請求項21に係る発明は、前記目的を達成するために、調光結果に基づいて前記差分ステップを算出する差分ステップ算出手段を備えたことを特徴とする請求項19又は20に記載の撮影装置を提供する。   The invention according to claim 21 is provided with a difference step calculating means for calculating the difference step based on a dimming result in order to achieve the object. I will provide a.

請求項21に係る発明によれば、請求項6に係る発明と同様に、差分ステップが調光結果に基づいて算出される。   According to the invention of claim 21, as in the invention of claim 6, the difference step is calculated based on the dimming result.

請求項22に係る発明は、前記目的を達成するために、本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影装置において、1回の撮影指示でフラッシュの発光量を変えた本撮影の処理を複数回実行する撮影制御手段と、所定の差分ステップでフラッシュの発光量が適正発光量から段階的に増加するように各回のフラッシュの発光量を設定するフラッシュ発光量設定手段と、撮影により得られた画像から赤目を検出する赤目検出手段と、前記赤目検出手段で赤目が検出された画像に対して画像処理により赤目補正する赤目補正手段と、を備えたこと特徴とする撮影装置を提供する。   In order to achieve the above object, the invention according to claim 22 is to obtain an appropriate flash amount at the time of actual shooting in advance when shooting with the flash being fired at the time of actual shooting, and to use the flash with the determined appropriate flash amount. In a photographing device that emits light and performs main photographing, photographing control means for executing a plurality of main photographing processes in which the amount of flash light is changed by one photographing instruction, and the amount of light emitted by the flash at a predetermined difference step are set to an appropriate light amount. The flash light amount setting means for setting the light emission amount of each flash so as to increase step by step, the red eye detection means for detecting red eyes from an image obtained by photographing, and the red eye is detected by the red eye detection means There is provided a photographing apparatus including a red-eye correcting unit that corrects red-eye for an image by image processing.

請求項22に係る発明によれば、請求項7に係る発明と同様に、所定の差分ステップでフラッシュの発光量を適正発光量から段階的に増加させて複数回本撮影が行われる。そして、撮影により得られた各画像から赤目が検出され、赤目が検出された画像に対して画像処理により赤目補正が行われる。   According to the twenty-second aspect of the invention, as in the seventh aspect of the invention, the main photographing is performed a plurality of times by gradually increasing the flash light emission amount from the appropriate light emission amount in a predetermined difference step. Then, red-eye is detected from each image obtained by photographing, and red-eye correction is performed on the image from which red-eye is detected by image processing.

請求項23に係る発明は、前記目的を達成するために、撮影により得られた画像から被写体の顔を検出する顔検出手段と、前記顔検出手段で被写体の顔が検出された画像について、前記赤目検出手段で赤目補正された画像のみを記録する記録制御手段と、を備えたことを特徴とする請求項22に記載の撮影装置を提供する。   According to a twenty-third aspect of the present invention, in order to achieve the above object, a face detection unit that detects a face of a subject from an image obtained by photographing, and an image in which the face of the subject is detected by the face detection unit, 23. The photographing apparatus according to claim 22, further comprising: a recording control unit that records only an image that has been red-eye corrected by the red-eye detection unit.

請求項23に係る発明によれば、請求項8に係る発明と同様に、被写体の顔が検出された画像については、赤目補正した画像のみが記録される。   According to the twenty-third aspect of the invention, as in the eighth aspect of the invention, only the red-eye corrected image is recorded for the image from which the face of the subject is detected.

請求項24に係る発明は、前記目的を達成するために、前記赤目検出手段で赤目が検出された画像について赤目らしさの評価値を算出する評価値算出手段と、前記赤目補正手段で赤目補正された画像がある場合に最も評価値が高い画像のみを記録する記録制御手段と、を備えたことを特徴とする請求項22に記載の撮影装置を提供する。   According to a twenty-fourth aspect of the present invention, in order to achieve the object, the red-eye correction is performed by the evaluation value calculating unit that calculates the evaluation value of the red-eyeness for the image in which the red eye is detected by the red-eye detecting unit, and the red-eye correcting unit. 23. The photographing apparatus according to claim 22, further comprising: a recording control unit that records only an image having the highest evaluation value when there is an image.

請求項24に係る発明によれば、請求項9に係る発明と同様に、赤目補正された画像がある場合は、検出時に最も赤目らしいと判定された画像のみが記録される。   According to the twenty-fourth aspect, as in the ninth aspect, when there is a red-eye corrected image, only the image determined to be most likely red-eye at the time of detection is recorded.

請求項25に係る発明は、前記目的を達成するために、本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影装置において、1回の撮影指示で撮影感度又は撮影絞りの少なくとも一方を変えた本撮影の処理を複数回実行する撮影制御手段と、所定の差分ステップで撮影感度又は撮影絞りの少なくとも一方が適正撮影感度又は撮影絞りから段階的にオーバー側にシフトするように各回の撮影感度又は撮影絞りを設定する設定手段と、撮影により得られた画像から赤目を検出する赤目検出手段と、前記赤目検出手段で赤目が検出された画像に対して画像処理により赤目補正する赤目補正手段と、を備えたこと特徴とする撮影装置を提供する。   In order to achieve the above object, the invention according to claim 25 is to obtain an appropriate flash amount at the time of main shooting in advance when shooting with the flash being fired at the time of actual shooting, and to use the flash with the determined appropriate flash amount. In a photographing apparatus that performs main photographing with light emission, photographing control means for executing a plurality of main photographing processes in which at least one of photographing sensitivity or photographing aperture is changed by one photographing instruction, and photographing sensitivity or photographing at a predetermined difference step. Setting means for setting the photographing sensitivity or the photographing aperture at each time so that at least one of the diaphragms shifts gradually from the photographing sensitivity to the appropriate photographing sensitivity, or the red-eye detecting means for detecting red eyes from the image obtained by photographing And a red-eye correction unit that corrects red-eye by image processing on an image in which red-eye is detected by the red-eye detection unit. Subjected to.

請求項25に係る発明によれば、請求項10と同様に、所定の差分ステップで撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にオーバー側にシフトさせて複数回本撮影が行われる。そして、撮影により得られた各画像から赤目が検出され、赤目が検出された画像に対して画像処理により赤目補正が行われる。   According to the invention of claim 25, as in the case of claim 10, at least one of the imaging sensitivity and the imaging aperture is shifted from the appropriate imaging sensitivity or the appropriate imaging aperture to the over side step by step in a predetermined difference step. Real shooting is performed. Then, red-eye is detected from each image obtained by photographing, and red-eye correction is performed on the image from which red-eye is detected by image processing.

請求項26に係る発明は、前記目的を達成するために、撮影により得られた画像から被写体の顔を検出する顔検出手段と、前記顔検出手段で被写体の顔が検出された画像について、前記赤目検出手段で赤目補正された画像のみを記録する記録制御手段と、を備えたことを特徴とする請求項25に記載の撮影装置を提供する。   According to a twenty-sixth aspect of the present invention, in order to achieve the above object, a face detection unit that detects a face of a subject from an image obtained by photographing, and an image in which the face of the subject is detected by the face detection unit, 26. The photographing apparatus according to claim 25, further comprising: a recording control unit that records only an image that has been red-eye corrected by the red-eye detection unit.

請求項26に係る発明によれば、請求項11に係る発明と同様に、被写体の顔が検出された画像については、赤目補正した画像のみが記録される。   According to the twenty-sixth aspect of the invention, as in the eleventh aspect of the invention, only the red-eye corrected image is recorded for the image in which the face of the subject is detected.

請求項27に係る発明は、前記目的を達成するために、前記赤目検出手段で赤目が検出された画像について赤目らしさの評価値を算出する評価値算出手段と、前記赤目補正手段で赤目補正された画像がある場合に最も評価値が高い画像のみを記録する記録制御手段と、を備えたことを特徴とする請求項25に記載の撮影装置を提供する。   According to a twenty-seventh aspect of the present invention, in order to achieve the above object, the red-eye correction is performed by the evaluation value calculating unit that calculates an evaluation value of redness for the image in which the red eye is detected by the red-eye detecting unit, and the red-eye correcting unit. 26. The photographing apparatus according to claim 25, further comprising: a recording control unit that records only an image having the highest evaluation value when there is an image.

請求項27に係る発明によれば、請求項12に係る発明と同様に、赤目補正された画像がある場合は、検出時に最も赤目らしいと判定された画像のみが記録される。   According to the twenty-seventh aspect of the invention, as in the twelfth aspect of the invention, when there is an image that has been corrected for red-eye, only the image that is determined to be most likely red-eye at the time of detection is recorded.

請求項28に係る発明は、前記目的を達成するために、フラッシュを発光させて撮影する撮影装置において、1回の撮影指示で、撮影直前にフラッシュをプリ発光させてフラッシュ撮影する赤目軽減フラッシュ撮影と、撮影直前にフラッシュをプリ発光させないでフラッシュ撮影する通常フラッシュ撮影の2回の撮影を実施する撮影制御手段と、撮影により得られた各画像から赤目を検出する赤目検出手段と、前記赤目検出手段で赤目が検出された画像に対して画像処理により赤目補正する赤目補正手段と、を備えたことを特徴とする撮影装置を提供する。   According to a twenty-eighth aspect of the present invention, in order to achieve the above object, in a photographing apparatus that shoots with a flash, a red-eye reduction flash shoot in which a flash is pre-flashed immediately before shooting in one shooting instruction. A shooting control unit that performs two shootings of normal flash shooting without flashing immediately before shooting, a red-eye detection unit that detects red-eye from each image obtained by shooting, and the red-eye detection There is provided a photographing apparatus comprising: red-eye correction means for correcting red-eye by image processing on an image in which red-eye is detected by the means.

請求項28に係る発明によれば、請求項13に係る発明と同様に、1回の撮影指示で赤目軽減フラッシュ撮影と通常フラッシュ撮影の2回の撮影が行われる。そして、撮影により得られた各画像から赤目が検出され、赤目が検出された画像に対して画像処理により赤目補正が行われる。   According to the invention of claim 28, as with the invention of claim 13, two shootings of red-eye reduction flash shooting and normal flash shooting are performed with one shooting instruction. Then, red-eye is detected from each image obtained by photographing, and red-eye correction is performed on the image from which red-eye is detected by image processing.

請求項29に係る発明は、前記目的を達成するために、撮影により得られた画像から被写体の顔を検出する顔検出手段と、前記顔検出手段で被写体の顔が検出された画像について、前記赤目検出手段で赤目補正された画像のみを記録する記録制御手段と、を備えたことを特徴とする請求項28に記載の撮影装置を提供する。   In order to achieve the above object, the invention according to claim 29 relates to a face detection unit that detects a face of a subject from an image obtained by photographing, and an image in which the face of the subject is detected by the face detection unit. 29. The photographing apparatus according to claim 28, further comprising: a recording control unit that records only an image that has been red-eye corrected by the red-eye detection unit.

請求項29に係る発明によれば、請求項14に係る発明と同様に、被写体の顔が検出された画像については、赤目補正した画像のみが記録される。   According to the invention of claim 29, as in the invention of claim 14, only the red-eye corrected image is recorded for the image from which the face of the subject is detected.

請求項30に係る発明は、前記目的を達成するために、前記赤目検出手段で赤目が検出された画像について赤目らしさの評価値を算出する評価値算出手段と、前記赤目補正手段で赤目補正された画像がある場合に最も評価値が高い画像のみを記録する記録制御手段と、を備えたことを特徴とする請求項28に記載の撮影装置を提供する。   According to a thirty-sixth aspect of the present invention, in order to achieve the above object, the red-eye correction is performed by the evaluation value calculating unit that calculates the evaluation value of the red-eyeness for the image in which the red eye is detected by the red-eye detecting unit, and the red-eye correcting unit. 29. The photographing apparatus according to claim 28, further comprising: a recording control unit that records only an image having the highest evaluation value when there is an image.

請求項30に係る発明によれば、請求項15に係る発明と同様に、赤目補正された画像がある場合は、検出時に最も赤目らしいと判定された画像のみが記録される。   According to the thirty-third aspect, as in the fifteenth aspect, when there is an image that has been corrected for red-eye, only the image that is determined to be most likely red-eye at the time of detection is recorded.

本発明によれば、撮影者の意図する構図で赤目のない画像を簡単に撮影することができる。   According to the present invention, it is possible to easily capture an image without red eyes in a composition intended by the photographer.

以下、添付図面を参照して本発明に係る撮影方法及び装置を実施するための最良の形態について説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, the best mode for carrying out an imaging method and apparatus according to the invention will be described with reference to the accompanying drawings.

図1は、本発明が適用された撮影装置の第1の実施形態の概略構成を示すブロック図である。   FIG. 1 is a block diagram showing a schematic configuration of a first embodiment of a photographing apparatus to which the present invention is applied.

この撮影装置10は、画像を撮像素子で撮像して、デジタルデータとして記録するデジタルカメラとして構成されており、撮影光学系12、撮像素子14、アナログ信号処理部16、デジタル信号処理部18、記憶メディア20、操作部22、液晶モニタ(LCD)24、電源26、フラッシュ28等を備えて構成されている。   The photographing apparatus 10 is configured as a digital camera that picks up an image with an image pickup device and records the image as digital data. The photographing optical system 12, the image pickup device 14, an analog signal processing unit 16, a digital signal processing unit 18, and a storage The apparatus includes a medium 20, an operation unit 22, a liquid crystal monitor (LCD) 24, a power source 26, a flash 28, and the like.

この撮影装置10の全体の動作は、デジタル信号処理部18に備えられたCPU30によって統括制御されており、CPU30は、所定の制御プログラムに従って動作することにより、装置の各部の動作を制御する。バス32を介してCPU30に接続されたフラッシュROM34には、このCPU30が実行する制御プログラムや制御に必要な各種データが記録されている。CPU30は、このフラッシュROM34に記録された制御プログラムをSDRAM36にロードし、SDRAM36を作業領域として使用しながらロードした制御プログラムを逐次実行することにより、装置全体の動作を制御する。   The overall operation of the photographing apparatus 10 is comprehensively controlled by the CPU 30 provided in the digital signal processing unit 18, and the CPU 30 controls the operation of each part of the apparatus by operating according to a predetermined control program. A flash ROM 34 connected to the CPU 30 via the bus 32 records a control program executed by the CPU 30 and various data necessary for control. The CPU 30 loads the control program recorded in the flash ROM 34 onto the SDRAM 36 and controls the operation of the entire apparatus by sequentially executing the loaded control program while using the SDRAM 36 as a work area.

撮影光学系12は、いわゆるAFズームレンズで構成されており、ズームレンズ12z、フォーカスレンズ12f、アイリス絞り12i、メカシャッタ12s等を備えて構成されている。   The photographing optical system 12 is configured by a so-called AF zoom lens, and includes a zoom lens 12z, a focus lens 12f, an iris diaphragm 12i, a mechanical shutter 12s, and the like.

ズームレンズ12zは、図示しないズームモータに駆動されることにより、光軸上を前後移動して、焦点距離を可変し、フォーカスレンズ12fは、図示しないフォーカスモータに駆動されることにより、光軸上を前後移動して、焦点位置を可変する。また、アイリス絞り12iは、図示しないアイリスモータに駆動されることにより、その開口量を可変して、撮像素子14への入射光量を調整し、シャッタ12sは、図示しないシャッタモータに駆動されることにより開閉して、撮像素子14への露光/遮光を行う。   The zoom lens 12z is moved back and forth on the optical axis by being driven by a zoom motor (not shown) to change the focal length, and the focus lens 12f is driven on the optical axis by being driven by a focus motor (not shown). Move back and forth to change the focal position. Further, the iris diaphragm 12i is driven by an iris motor (not shown) to change the opening amount thereof to adjust the amount of light incident on the image sensor 14, and the shutter 12s is driven by a shutter motor (not shown). The image sensor 14 is exposed / light-shielded by opening and closing.

CPU30は、レンズ駆動回路38を介してズームモータ、フォーカスモータ、アイリスモータ、シャッタモータの駆動を制御することにより、ズームレンズ12z、フォーカスレンズ12f、アイリス絞り12i、シャッタ12sの動作を制御する。   The CPU 30 controls the operations of the zoom lens 12z, the focus lens 12f, the iris diaphragm 12i, and the shutter 12s by controlling the driving of the zoom motor, the focus motor, the iris motor, and the shutter motor via the lens driving circuit 38.

撮像素子14は、単板式のカラーCCDで構成されており、撮影光学系12を介して入射した光を電気信号(画像信号)に変換する。この撮像素子14は、アナログ信号処理部16に備えられたタイミングジェネレータ(TG)40から与えられる駆動信号に従って動作し、CPU30は、このタイミングジェネレータ40を制御することにより、撮像素子14の動作を制御する。なお、本実施の形態では、撮像素子14に単板式のカラーCCDを使用しているが、使用する撮像素子は、これに限定されるものではなく、CMOS等の他の構成の撮像素子を使用することもできる。   The image sensor 14 is composed of a single-plate color CCD, and converts light incident through the photographing optical system 12 into an electrical signal (image signal). The image sensor 14 operates according to a drive signal supplied from a timing generator (TG) 40 provided in the analog signal processing unit 16, and the CPU 30 controls the operation of the image sensor 14 by controlling the timing generator 40. To do. In the present embodiment, a single-plate color CCD is used for the image sensor 14. However, the image sensor to be used is not limited to this, and an image sensor having another configuration such as a CMOS is used. You can also

アナログ信号処理部16は、撮像素子14から出力された画像信号に各種アナログ信号処理を施し、デジタル信号に変換して出力する。このアナログ信号処理部16は、タイミングジェネレータ40、相関二重サンプリング回路(CDS)42、オート・ゲイン・コントロール(AGC)回路44、A/Dコンバータ46等を備えている。   The analog signal processing unit 16 performs various analog signal processing on the image signal output from the image sensor 14, converts the image signal into a digital signal, and outputs the digital signal. The analog signal processing unit 16 includes a timing generator 40, a correlated double sampling circuit (CDS) 42, an auto gain control (AGC) circuit 44, an A / D converter 46, and the like.

タイミングジェネレータ40は、上記のようにCPU30からの指令に従い撮像素子14に駆動信号を出力する。撮像素子14は、このタイミングジェネレータ40から与えられる駆動信号に従って動作し、画像信号を出力する。   The timing generator 40 outputs a drive signal to the image sensor 14 in accordance with a command from the CPU 30 as described above. The image sensor 14 operates according to the drive signal supplied from the timing generator 40 and outputs an image signal.

相関二重サンプリング回路42は、撮像素子14から得られた画像信号を相関二重サンプリング処理し、画像信号に含まれるリセットノイズを取り除く。   The correlated double sampling circuit 42 performs correlated double sampling processing on the image signal obtained from the image sensor 14 and removes reset noise included in the image signal.

オート・ゲイン・コントロール回路44は、相関二重サンプリング処理された画像信号を増幅し、一定レベルの大きさにコントロールする。   The auto gain control circuit 44 amplifies the image signal that has been subjected to the correlated double sampling process, and controls it to a certain level.

A/Dコンバータ46は、増幅されたアナログの画像信号をデジタルの画像信号に変換してデジタル信号処理部18に出力する。   The A / D converter 46 converts the amplified analog image signal into a digital image signal and outputs the digital image signal to the digital signal processing unit 18.

デジタル信号処理部18は、アナログ信号処理部16から出力されたデジタルの画像信号を取り込み、各種信号処理を施して、輝度信号(Y信号)と色差信号(Cr、Cb信号)とからなる画像信号(YC信号)を生成する。そして、生成された画像信号を圧縮して、記憶メディア20に記録する。また、記憶メディア20に記録された圧縮画像データを伸張して、被圧縮の画像信号を生成し、液晶モニタ24に出力する。また、必要に応じて撮影画像から人物の顔を検出し、赤目を検出し、赤目の補正を行う。   The digital signal processing unit 18 takes in the digital image signal output from the analog signal processing unit 16, performs various signal processing, and forms an image signal composed of a luminance signal (Y signal) and a color difference signal (Cr, Cb signal). (YC signal) is generated. Then, the generated image signal is compressed and recorded in the storage medium 20. Further, the compressed image data recorded in the storage medium 20 is decompressed to generate a compressed image signal, which is output to the liquid crystal monitor 24. If necessary, a human face is detected from the captured image, red eyes are detected, and red eyes are corrected.

このデジタル信号処理部18は、上述したCPU30、画像バッファ50、YC処理回路52、圧縮・伸張処理回路54、メディアコントローラ56、AE検出回路58、AF検出回路60、顔検出回路62、赤目検出・補正回路64、フラッシュ発光時間算出回路68、エンコーダ70等を備えて構成されている。   The digital signal processing unit 18 includes the CPU 30, the image buffer 50, the YC processing circuit 52, the compression / decompression processing circuit 54, the media controller 56, the AE detection circuit 58, the AF detection circuit 60, the face detection circuit 62, the red-eye detection / detection circuit 54. A correction circuit 64, a flash emission time calculation circuit 68, an encoder 70, and the like are provided.

画像バッファ50は、CPU30からの指令に従い、A/Dコンバータ46から出力された1画面分の画像信号を蓄積する。   The image buffer 50 stores the image signal for one screen output from the A / D converter 46 in accordance with a command from the CPU 30.

YC処理回路52は、CPU30からの指令に従い、画像バッファ50に蓄積された1画面分の画像信号を取り込み、各種信号処理を施して輝度信号(Y)と色差信号(Cr信号,Cb信号)とからなる画像信号(YC信号)を生成する。   The YC processing circuit 52 takes in an image signal for one screen stored in the image buffer 50 in accordance with a command from the CPU 30, performs various signal processing, and outputs a luminance signal (Y) and a color difference signal (Cr signal, Cb signal). An image signal (YC signal) is generated.

圧縮・伸張処理回路54は、CPU30からの指令に従い、入力されたYCデータに圧縮処理を施し、圧縮画像データを生成する。また、CPU30からの指令に従い、入力された圧縮画像データに伸張処理を施し、非圧縮のYCデータを生成する。   The compression / decompression processing circuit 54 performs compression processing on the input YC data in accordance with a command from the CPU 30 to generate compressed image data. Further, in accordance with a command from the CPU 30, the input compressed image data is decompressed to generate uncompressed YC data.

メディアコントローラ56は、CPU30からの指令に従い、記憶メディア20にアクセスし、データの記録及び読み出しを行う。なお、記憶メディア20については、内蔵式のものでもよいし、また、メモリカードのように着脱式のものであってもよい。本実施の形態では、着脱式のメモリカードが用いられるものとする。   The media controller 56 accesses the storage medium 20 according to a command from the CPU 30 and records and reads data. The storage medium 20 may be a built-in type or a removable type like a memory card. In this embodiment, a removable memory card is used.

AE検出回路58は、CPU30からの指令に従い、画像バッファ50に蓄積された1画面分の画像信号からAE制御に必要な積算値を算出する。ここでは、1画面を複数のエリア(たとえば16×16)に分割し、分割したエリアごとにR、G、Bの画像信号の積算値を算出する。CPU30は、このAE検出回路58から得た積算値に基づいて撮影シーンの明るさを検出(測光)し、その結果に基づいて撮影に適した露出値(EV値)を算出する。そして、得られた露出値に基づき適正撮影感度を設定し(撮影感度がユーザによって指定されている場合は、指定された撮影感度が適正撮影感度に設定される。)、所定のプログラム線図に従って適正露出(撮影絞りと適正シャッタ速度)を決定する。   The AE detection circuit 58 calculates an integrated value necessary for AE control from the image signal for one screen stored in the image buffer 50 in accordance with a command from the CPU 30. Here, one screen is divided into a plurality of areas (for example, 16 × 16), and an integrated value of R, G, and B image signals is calculated for each divided area. The CPU 30 detects (photometric) the brightness of the shooting scene based on the integrated value obtained from the AE detection circuit 58, and calculates an exposure value (EV value) suitable for shooting based on the result. Then, an appropriate shooting sensitivity is set based on the obtained exposure value (if the shooting sensitivity is specified by the user, the specified shooting sensitivity is set to the appropriate shooting sensitivity), and according to a predetermined program diagram. Proper exposure (shooting aperture and proper shutter speed) is determined.

AF検出回路60は、CPU30からの指令に従い、画像バッファ50に蓄積された1画面分の画像信号からAF制御に必要な積算値を算出する。ここで、本実施の形態の撮影装置10は、画像のコントラストによりAF制御を行うものとし(いわゆるコントラストAF)、AF検出回路60は、入力された画像信号から画像の鮮鋭度を示す焦点評価値(たとえば、所定のフォーカスエリア内におけるG信号の高周波成分の積算値)を算出する。CPU30は、フォーカスレンズ12fを至近から無限遠まで移動させて各点で焦点評価値を算出し、焦点評価値が極大となる位置をサーチする。そして、その焦点評価値が極大となる位置を合焦位置として、その位置にフォーカスレンズ12fを移動させる。   The AF detection circuit 60 calculates an integrated value necessary for AF control from an image signal for one screen stored in the image buffer 50 in accordance with a command from the CPU 30. Here, the imaging apparatus 10 according to the present embodiment performs AF control based on image contrast (so-called contrast AF), and the AF detection circuit 60 determines a focus evaluation value indicating the sharpness of the image from the input image signal. (For example, an integrated value of high-frequency components of the G signal in a predetermined focus area) is calculated. The CPU 30 moves the focus lens 12f from the closest distance to infinity, calculates a focus evaluation value at each point, and searches for a position where the focus evaluation value is maximized. Then, the focus lens 12f is moved to the position where the focus evaluation value is maximized as the focus position.

顔検出回路62は、CPU30からの指令に従い、YC処理回路52で生成された画像信号から画像中の顔領域を抽出する。この顔領域の抽出処理は、公知の方法を用いることができ、たとえば、エッジ検出または形状パターン検出による顔検出方法、色相抽出又は肌色抽出による顔検出方法、候補領域を抽出して、この候補領域を小領域に分割し、領域ごとの特徴量を予め設定した顔領域パターンと照合して、その確度から顔領域を抽出する方法(特開2000−137788号公報参照)、顔候補領域を抽出して、各候補領域の重複度から確度を評価して顔領域を抽出する方法(特開2000−149018号公報参照)、及び、顔候補領域を抽出して、各候補領域の濃度が所定の閾値に対応する値である場合に、胴体候補領域を抽出し、顔および胴体候補領域の濃度や彩度コントラストを用いて確度を評価して、顔領域を抽出する方法(特開2000−148980号公報参照)などを用いることができる。   The face detection circuit 62 extracts a face area in the image from the image signal generated by the YC processing circuit 52 in accordance with a command from the CPU 30. A known method can be used for this face area extraction process. For example, a face detection method based on edge detection or shape pattern detection, a face detection method based on hue extraction or skin color extraction, a candidate area is extracted, and the candidate area is extracted. Is divided into small areas, the feature quantity of each area is compared with a preset face area pattern, and a face area is extracted from the accuracy (see Japanese Patent Laid-Open No. 2000-137788), and a face candidate area is extracted. A method of extracting the face area by evaluating the accuracy from the overlapping degree of each candidate area (see Japanese Patent Laid-Open No. 2000-149018), and extracting the face candidate area, and the density of each candidate area is a predetermined threshold value A body candidate region is extracted, the accuracy is evaluated using the density and saturation contrast of the face and the body candidate region, and a face region is extracted (Japanese Patent Laid-Open No. 2000-148). 80 No. see Japanese) or the like can be used.

赤目検出・補正回路64は、CPU30からの指令に従い、YC処理回路52で生成された画像信号から画像中の赤目領域を抽出し、抽出された赤目領域を画像処理により補正する。   The red-eye detection / correction circuit 64 extracts a red-eye region in the image from the image signal generated by the YC processing circuit 52 in accordance with a command from the CPU 30, and corrects the extracted red-eye region by image processing.

なお、この赤目領域の抽出処理についても上記顔領域の抽出処理の方法と同様に公知の方法を用いることができ、たとえば、顔検出回路62で検出された顔領域からエッジ検出、形状パターン検出、位置情報又は色相情報等を用いて瞳抽出を行い、色相等から赤目を検出する方法や、エッジ検出、形状パターン検出又は位置情報等を用いて目を抽出し、この目の画像データの輝度ヒストグラムから低輝度領域を抽出して、抽出した低輝度領域を収縮処理して瞳の領域を抽出し、色相等から赤目を検出する方法、顔領域をxy平面として各画素毎に色相等を用いた画像特徴量zを求め、xyzの三次元空間を設定してz値の山状分布からxy平面を分割し、分割領域ごとに形状情報や統計的画像特徴量等から赤目を検出する方法(特開2000−76427号公報参照)などを用いることができる。   As for the red-eye region extraction process, a known method can be used in the same manner as the face region extraction process. For example, edge detection, shape pattern detection, and the like from the face region detected by the face detection circuit 62 can be performed. A pupil extraction using position information or hue information, etc., a method for detecting red eyes from hue, etc., an eye detection using edge detection, shape pattern detection or position information, etc., and a luminance histogram of the image data of this eye A low luminance region is extracted from the image, and the extracted low luminance region is contracted to extract a pupil region, and the red eye is detected from the hue, etc., and the hue is used for each pixel with the face region as the xy plane. A method of obtaining an image feature amount z, setting a three-dimensional space of xyz, dividing an xy plane from a mountain distribution of z values, and detecting red eyes from shape information, statistical image feature amounts, etc. Open 2000 And the like can be used see Japanese Patent 76427).

また、抽出した赤目の補正方法についても同様に公知の方法を用いることができ、たとえば、抽出した赤目領域の色変換又は彩度低下によって赤目を補正する方法や、抽出した赤目領域で最小明度の画素に近づけるように、他の全画素の彩度又は明度を補正する方法(特開2000−76427号公報参照)などを用いることができる。   Similarly, a known method can be used for the extracted red-eye correction method, for example, a method of correcting red eye by color conversion or saturation reduction of the extracted red-eye region, A method of correcting the saturation or lightness of all other pixels so as to be close to the pixels (see JP 2000-76427 A) can be used.

フラッシュ発光時間算出回路は、本撮影時に複数回フラッシュ撮影する場合において、各回におけるフラッシュ28の発光時間(t(1)、t(2)、…、t(n_max))を適正発光時間(t_flash)から算出する。なお、この点については、後に詳述する。   The flash light emission time calculation circuit calculates the light emission time (t (1), t (2),..., T (n_max)) of the flash 28 at each time when the flash photography is performed a plurality of times during the main photographing. Calculate from This point will be described in detail later.

エンコーダ70は、CPU30からの指令に従い、YC処理回路52で生成された画像信号を液晶モニタ24に表示するための信号に変換する。このエンコーダ70で変換された信号は、LCD駆動回路72を介して液晶モニタ24に出力され、これにより、液晶モニタ24に画像が再生表示される。   The encoder 70 converts the image signal generated by the YC processing circuit 52 into a signal for displaying on the liquid crystal monitor 24 in accordance with a command from the CPU 30. The signal converted by the encoder 70 is output to the liquid crystal monitor 24 via the LCD drive circuit 72, whereby an image is reproduced and displayed on the liquid crystal monitor 24.

操作部22は、撮影装置10の各種操作手段であり、撮影を指示するためのシャッタボタン、撮影/再生の各種モードを設定するためのモードダイヤル、テレ/ワイドのズームを指示するためのズームボタン、メニュー画面の表示を指示するメニューボタン、操作の実行/決定等を指示する実行ボタン、操作のキャンセル等を指示するキャンセルボタン、カーソルの移動等を指示する十字ボタン、フラッシュのモードを設定するフラッシュボタン、電源ボタン等を含んで構成されており、操作に応じた信号をCPU30に出力する。CPU30は、この操作部22からの指示入力に応じた処理を実行し、各部を制御する。   The operation unit 22 is various operation means of the photographing apparatus 10, and includes a shutter button for instructing photographing, a mode dial for setting various photographing / playback modes, and a zoom button for instructing tele / wide zoom. , A menu button for instructing to display a menu screen, an execution button for instructing execution / determination of an operation, a cancel button for instructing to cancel the operation, a cross button for instructing movement of the cursor, a flash for setting a flash mode, etc. A button, a power button, and the like are included, and a signal corresponding to an operation is output to the CPU 30. The CPU 30 executes processing according to the instruction input from the operation unit 22 and controls each unit.

なお、本装置において、各種の設定は、液晶モニタ24に表示されるメニュー画面によって行うようにされている。すなわち、メニューボタンでメニュー画面の表示を指示すると、液晶モニタ24にメニュー画面が表示され、このメニュー画面で各種設定を行うようにされている。たとえば、撮影時における撮影感度の設定(オート、100、200、400、800等)や画像サイズの設定(1M、3M、6M等)、ホワイトバランスの設定(オート、マニュアル、晴天、曇天、蛍光灯、白熱灯等)、測光方式の設定(マルチ、スポット、中央重点等)、AE方式の設定(オート、絞り優先、シャッタ速度優先、マニュアル、シーンプログラム等)、AF方式の設定(センター固定AF、顔検出AF、マニュアルフォーカス)、セルフタイマの設定(ON/OFF)をメニュー画面で行うことができるようにされている。   In the present apparatus, various settings are made on a menu screen displayed on the liquid crystal monitor 24. That is, when the menu button is used to instruct the display of the menu screen, the menu screen is displayed on the liquid crystal monitor 24, and various settings are made on this menu screen. For example, shooting sensitivity settings (auto, 100, 200, 400, 800, etc.), image size settings (1M, 3M, 6M, etc.), white balance settings (auto, manual, clear sky, cloudy, fluorescent lamp) , Incandescent lamp, etc.), metering method setting (multi, spot, center weight, etc.), AE method setting (auto, aperture priority, shutter speed priority, manual, scene program, etc.), AF method setting (center fixed AF, Face detection AF, manual focus), and self-timer setting (ON / OFF) can be performed on the menu screen.

また、必要に応じて各種動作の指示も液晶モニタ24の表示を利用して行うようにされている。たとえば、画像の選択や削除の指示等を画面の表示に従って行うことができるようにされている。   In addition, various operation instructions are also made using the display on the liquid crystal monitor 24 as necessary. For example, an image selection or deletion instruction can be performed according to the display on the screen.

電源26の電力は、図示しない電源制御回路によって各部に供給される。CPU30は、電源制御回路を制御して、各部への電力供給を制御する。   The power of the power supply 26 is supplied to each unit by a power supply control circuit (not shown). The CPU 30 controls the power supply control circuit to control power supply to each unit.

フラッシュ28は、クセノン管によって構成されており、フラッシュ発光制御回路74によって発光が制御される。フラッシュ発光制御回路74は、CPU30からの指示に従い、撮影に同期させてフラッシュ28を発光させ、その発光時間を制御することにより発光量を調整する。なお、本実施の形態では、フラッシュ28をクセノン管で構成しているが、この他、LED等の他の光源で構成することもできる。   The flash 28 is composed of a xenon tube, and light emission is controlled by a flash light emission control circuit 74. The flash light emission control circuit 74 adjusts the light emission amount by controlling the light emission time by causing the flash 28 to emit light in synchronization with photographing in accordance with an instruction from the CPU 30. In the present embodiment, the flash 28 is composed of a xenon tube, but it can also be composed of other light sources such as LEDs.

次に、以上のように構成された本実施の形態の撮影装置10の作用について説明する。   Next, the operation of the imaging apparatus 10 of the present embodiment configured as described above will be described.

まず、フラッシュ28を発光させないで画像を撮影する場合の処理手順について概説する。   First, an outline of a processing procedure when an image is taken without causing the flash 28 to emit light will be described.

撮影装置10のモードを撮影モードに設定し、電源を投入すると、撮像素子14の駆動が開始され、撮像素子14で捉えた画像が液晶モニタ24にスルー表示される。すなわち、撮像素子14で連続的に画像が撮影され、得られた画像信号が連続的に処理されて、液晶モニタ24に出力される。   When the mode of the photographing apparatus 10 is set to the photographing mode and the power is turned on, driving of the image sensor 14 is started, and an image captured by the image sensor 14 is displayed on the liquid crystal monitor 24 as a through display. That is, images are continuously captured by the image sensor 14, and the obtained image signals are continuously processed and output to the liquid crystal monitor 24.

この際、同時に人物の顔検出が行われ、顔が検出されると、その検出された顔を囲うようにしてフレームが液晶モニタ24に表示される。なお、顔検出は次のように行われる。すなわち、撮像素子14からアナログ信号処理部16を介してデジタル信号処理部18に取り込まれた画像信号は、YC処理回路52でYC信号に変換され、顔検出回路62に加えられる。顔検出回路62は、得られたYC信号から画像中における人物の顔領域を検出し、その検出結果をCPU30に出力する。CPU30は取得した顔領域の情報に基づいて液晶モニタ24にフレームを表示させる。   At this time, a human face is detected at the same time. When a face is detected, a frame is displayed on the liquid crystal monitor 24 so as to surround the detected face. Note that face detection is performed as follows. In other words, the image signal captured by the digital signal processing unit 18 from the image sensor 14 via the analog signal processing unit 16 is converted into a YC signal by the YC processing circuit 52 and applied to the face detection circuit 62. The face detection circuit 62 detects a human face area in the image from the obtained YC signal, and outputs the detection result to the CPU 30. The CPU 30 displays a frame on the liquid crystal monitor 24 based on the acquired face area information.

撮影者は、この液晶モニタ24に表示される画像を見て構図を決定し、シャッタボタンを押下し、撮影を指示する。CPU30は、この撮影指示応じて、AE制御の処理を実行し、被写体を測光して、適正撮影感度と適正露出を決定する。また、AF制御の処理を実行し、主要被写体に焦点を合わせる。そして、合焦後、AE処理で求めた撮影感度と露出で撮像素子14を露光し、記録用の画像を撮像する。   The photographer determines the composition by looking at the image displayed on the liquid crystal monitor 24, presses the shutter button, and instructs the photographing. In response to the shooting instruction, the CPU 30 executes AE control processing, and measures the subject to determine the appropriate shooting sensitivity and the appropriate exposure. Also, AF control processing is executed to focus on the main subject. Then, after focusing, the image sensor 14 is exposed with the imaging sensitivity and exposure obtained by the AE process, and an image for recording is captured.

撮像素子14から出力された記録用の画像信号は、アナログ信号処理部16で所要の信号処理を施され、デジタルの画像信号とされた後、デジタル信号処理部18に取り込まれ、デジタル信号処理部18の画像バッファ50に蓄積される。   The recording image signal output from the image sensor 14 is subjected to required signal processing by the analog signal processing unit 16 to be converted into a digital image signal, and then taken into the digital signal processing unit 18 to be digital signal processing unit. 18 image buffers 50 are accumulated.

画像バッファ50に蓄積された画像信号は、CPU30の制御の下、YC処理回路52に加えられ、所定の信号処理が施されて、輝度信号と色差信号とからなるYC信号が生成される。そして、生成されたYC信号は、圧縮・伸張処理回路54に加えられ、所定の圧縮処理が施された後、メディアコントローラ56を介して記憶メディア20に記録される。   The image signal stored in the image buffer 50 is added to the YC processing circuit 52 under the control of the CPU 30 and subjected to predetermined signal processing to generate a YC signal composed of a luminance signal and a color difference signal. The generated YC signal is applied to the compression / decompression processing circuit 54, subjected to a predetermined compression process, and then recorded on the storage medium 20 via the media controller 56.

次に、フラッシュ28を発光させて撮影する場合の処理手順について説明する。   Next, a processing procedure for shooting with the flash 28 emitted will be described.

本実施の形態の撮影装置10において、フラッシュ撮影する場合、まず、本撮影(記録用の画像の撮影)に先立ってフラッシュ28を所定光量でプリ発光させて被写体を撮影し、得られた画像の明るさに基づいて本撮影時におけるフラッシュ28の適正発光量(適正発光時間)を決定する。そして、顔の有無に基づき本撮影の撮影回数を決定し、各回における発光量(発光時間)を適正発光量に基づいて決定する。すなわち、顔が検出された場合は、赤目が発生する可能性があるので、本撮影の撮影回数を複数回(本実施の形態では3回)に設定し、各回における発光量を適正発光量に基づいて決定する(顔が検出されない場合は、赤目は発生しえないので、本撮影の回数は1回とし、適正発光量でフラッシュ28を発光させて本撮影する。)。この際、各回における発光量は、所定の差分ステップで適正発光量から段階的に小さくなるように設定し、その差分ステップを適正発光量に基づいて決定する。すなわち、適正発光量が大きい程、赤目が目立つようになるので、適正発光量が大きい程、差分ステップが大きくなるように決定する。そして、このように決定した、撮影回数、発光量でフラッシュ撮影を行う。   In the photographing apparatus 10 of the present embodiment, when photographing with a flash, first, the subject is photographed by pre-flashing the flash 28 with a predetermined amount of light prior to the actual photographing (recording image photographing). Based on the brightness, an appropriate light emission amount (appropriate light emission time) of the flash 28 at the time of actual photographing is determined. Then, the number of times of actual photographing is determined based on the presence or absence of the face, and the light emission amount (light emission time) at each time is determined based on the appropriate light emission amount. That is, when a face is detected, red eyes may occur. Therefore, the number of times of actual photographing is set to a plurality of times (three times in this embodiment), and the light emission amount at each time is set to an appropriate light emission amount. (If no face is detected, red eyes cannot occur, so the number of times of actual photographing is set to one, and the flash 28 is emitted with an appropriate light emission amount to perform actual photographing.) At this time, the light emission amount at each time is set so as to decrease stepwise from the appropriate light emission amount at a predetermined difference step, and the difference step is determined based on the appropriate light emission amount. That is, as the appropriate light emission amount increases, the red eye becomes more conspicuous. Therefore, the difference step is determined to increase as the appropriate light emission amount increases. Then, flash shooting is performed with the number of shootings and the amount of light emission determined as described above.

図2は、本実施の形態の撮影装置10によるフラッシュ撮影時における処理手順を示すフローチャートである。   FIG. 2 is a flowchart showing a processing procedure at the time of flash photographing by the photographing apparatus 10 of the present embodiment.

シャッタボタンの押下により、本撮影の指示が行われると、CPU30は、AE制御の処理を実行し、被写体を測光して、適正撮影感度と適正露出を設定する(ステップS10)。また、AF制御の処理を実行し、主要被写体に焦点を合わせる(ステップS11)。   When an instruction for actual photographing is issued by pressing the shutter button, the CPU 30 executes AE control processing, and measures the subject to set proper photographing sensitivity and proper exposure (step S10). Also, AF control processing is executed to focus on the main subject (step S11).

この後、CPU30は、フラッシュ発光制御回路74にコマンドを出力し、フラッシュ28を所定の発光量(発光時間)でプリ発光させる(ステップS12)。そして、そのプリ発光時に撮像素子14で撮像された画像に基づいて適正発光量(適正発光時間)を算出する。すなわち、プリ発光時に撮像素子14で撮像された画像の画像信号をAE検出回路58に加え、分割エリアごとのR、G、Bの画像信号の積算値を算出させる(ステップS13)。そして、このAE検出回路58から得た積算値に基づいて適正発光時間(t_flash)を算出する(ステップS14)。   Thereafter, the CPU 30 outputs a command to the flash light emission control circuit 74 to cause the flash 28 to perform pre-light emission with a predetermined light emission amount (light emission time) (step S12). Then, an appropriate light emission amount (appropriate light emission time) is calculated based on the image captured by the image sensor 14 during the pre-light emission. That is, the image signal of the image captured by the image sensor 14 during pre-emission is added to the AE detection circuit 58, and the integrated value of the R, G, B image signals for each divided area is calculated (step S13). Then, an appropriate light emission time (t_flash) is calculated based on the integrated value obtained from the AE detection circuit 58 (step S14).

適正発光時間(t_flash)の算出は、次のように行われる。すなわち、まず、プリ発光時の積算値(ipre)と、スルー画時の積算値(ith)と、目標積算値(iob)とから、次式『ΔEV = log(iob / (ipre - ith )) / log2』によりΔEV値を算出する(logは常用対数)。そして、図5に示す所定の変換テーブルを用いてΔEV値をフラッシュ発光時間に変換し、適正発光時間(t_flash)を算出する。   The calculation of the appropriate light emission time (t_flash) is performed as follows. That is, first, from the integrated value during pre-flash (ipre), integrated value during live view (ith), and target integrated value (iob), the following equation [ΔEV = log (iob / (ipre-ith)) / EV2] to calculate the ΔEV value (log is the common logarithm). Then, using the predetermined conversion table shown in FIG. 5, the ΔEV value is converted into the flash emission time, and the appropriate emission time (t_flash) is calculated.

この変換テーブルは、ΔEV値とフラッシュの発光時間との対応テーブルであり、ΔEV値に対応した発光時間でフラッシュを発光すると、積算した場合に目標積算値になるような発光となる。   This conversion table is a correspondence table between the ΔEV value and the flash emission time. When the flash is emitted for the emission time corresponding to the ΔEV value, the emission becomes a target integrated value when integrated.

このようにして、フラッシュ28の適正発光時間(t_flash)が算出されると、CPU30は、本撮影の撮影回数(n_max)を設定する処理を実行する(ステップS15)。   In this way, when the appropriate light emission time (t_flash) of the flash 28 is calculated, the CPU 30 executes a process of setting the number of times of actual photographing (n_max) (step S15).

図3は、この撮影回数(n_max)の設定処理の手順を示すフローチャートである。   FIG. 3 is a flowchart showing the procedure for setting the number of times of photographing (n_max).

まず、プリ発光時に撮像素子14で撮像された画像のYC信号を顔検出回路62に加え、画像中の顔領域を検出させる。この顔判定の結果はSDRAM36に格納され、CPU30は、その顔検出の結果に基づいて顔の有無を判定する(ステップS30)。   First, a YC signal of an image captured by the image sensor 14 at the time of pre-emission is added to the face detection circuit 62 to detect a face area in the image. The face determination result is stored in the SDRAM 36, and the CPU 30 determines the presence or absence of a face based on the face detection result (step S30).

この判定の結果、顔ありと判定すると、CPU30は、本撮影の撮影回数(n_max)を3に設定し(ステップS31)、顔なしと判定すると、本撮影の撮影回数(n_max)を1に設定する(ステップS32)。すなわち、顔がない場合は、赤目が生じ得ないので、本撮影の回数は1回とし、顔がある場合にのみ複数回(本実施の形態では3回)本撮影するように設定する。これにより、無駄なフラッシュ撮影を防止でき、電力消費、記憶メディア20の容量圧迫を防止できる。設定された本撮影の撮影回数(n_max)の情報はSDRAM36に格納される。   As a result of this determination, if it is determined that there is a face, the CPU 30 sets the number of actual photographing (n_max) to 3 (step S31). (Step S32). That is, when there is no face, red eyes cannot occur, so the number of times of actual photographing is set to one time, and only when there is a face, the main photographing is set to be performed a plurality of times (three times in this embodiment). Thereby, useless flash photography can be prevented, and power consumption and compression of the storage medium 20 can be prevented. Information on the set number of times of main shooting (n_max) is stored in the SDRAM 36.

なお、本例ではプリ発光時における顔検出の結果に基づいて本撮影の撮影回数を設定しているが、顔検出のタイミングは、これに限定されるものではない。それより前又は後に得られた画像の顔検出の結果に基づいて撮影回数を設定するようにしてもよい。   In this example, the number of times of actual photographing is set based on the result of face detection at the time of pre-flash, but the timing of face detection is not limited to this. You may make it set the frequency | count of imaging | photography based on the result of the face detection of the image obtained before or after that.

以上のようにして本撮影時における撮影回数が設定されると、次に、CPU30は、フラッシュ発光時間算出回路68に対して、各回における実際のフラッシュ28の発光時間(t(1)、t(2)、…t(n_max))の算出処理を行わせる(ステップS16)。   When the number of times of photographing at the time of main photographing is set as described above, the CPU 30 then causes the flash light emitting time calculating circuit 68 to actually emit the flash 28 at each time (t (1), t ( 2)... T (n_max)) is calculated (step S16).

図4は、このフラッシュ発光時間算出回路68による実際のフラッシュ28の発光時間の算出処理の手順を示すフローチャートである。   FIG. 4 is a flowchart showing the procedure of the actual flash 28 flash time calculation process by the flash flash time calculation circuit 68.

まず、CPU30から適正発光時間(t_flash)の情報を取得する(ステップS40)。そして、図5に示す所定の変換テーブルを用いて適正発光時間(t_flash)をΔEV値(ΔEV_flash)に変換し(ステップS41)、変換したΔEV値(ΔEV_flash)と閾値とを比較する(ステップS42)。   First, information on the appropriate light emission time (t_flash) is acquired from the CPU 30 (step S40). Then, the appropriate light emission time (t_flash) is converted into the ΔEV value (ΔEV_flash) using the predetermined conversion table shown in FIG. 5 (step S41), and the converted ΔEV value (ΔEV_flash) is compared with the threshold (step S42). .

そして、その閾値との比較において差分ステップ(ΔEV_delta)を設定する。すなわち、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値を超えていると判定すると、差分ステップ(ΔEV_delta)にΔEV_delta1を設定する(ステップS43)。一方、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値以下と判定すると、差分ステップ(ΔEV_delta)にΔEV_delta2を設定する(ステップS44)。   Then, a difference step (ΔEV_delta) is set in comparison with the threshold. That is, if it is determined that the ΔEV value (ΔEV_flash) converted from the appropriate light emission time exceeds the threshold value, ΔEV_delta1 is set in the difference step (ΔEV_delta) (step S43). On the other hand, when it is determined that the ΔEV value (ΔEV_flash) converted from the appropriate light emission time is equal to or smaller than the threshold value, ΔEV_delta2 is set to the difference step (ΔEV_delta) (step S44).

ここで、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値を超えている場合に設定される差分ステップ(ΔEV_delta1)は、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値以下の場合に設定される差分ステップ(ΔEV_delta2)よりも小さく設定されている(ΔEV_delta1 > ΔEV_delta2)。これは、適正発光時間が長い場合(発光量が大きい)には、赤目発生の可能性が大きいと考えられるためであり、これにより、各回適切な発光量(発光時間)に設定することができる。   Here, the difference step (ΔEV_delta1) set when the ΔEV value (ΔEV_flash) converted from the appropriate light emission time exceeds the threshold value is set when the ΔEV value (ΔEV_flash) converted from the appropriate light emission time is equal to or less than the threshold value. Is set smaller than the difference step (ΔEV_delta2) to be performed (ΔEV_delta1> ΔEV_delta2). This is because, when the appropriate light emission time is long (the light emission amount is large), it is considered that the possibility of red-eye generation is large, and accordingly, an appropriate light emission amount (light emission time) can be set each time. .

このようにして、差分ステップ(ΔEV_delta)を設定後、CPU30から撮影回数(n_max)の情報を取得し(ステップS45)、設定した差分ステップ(ΔEV_delta)と適正発光時間から変換したΔEV値(ΔEV_flash)に基づいて各撮影回における実際の発光時間(t(1)、t(2)、…t(n_max))を算出する(ステップS46〜S50)。すなわち、まず、変数nをn=1とし(ステップS46)、次式[ΔEV(n) = ΔEV_flash − (n - 1) * ΔEV_delta]…(式1)により、1回目の撮影のΔEV値(ΔEV(1))を算出する(ステップS47)。そして、所定の変換テーブル(図5参照)を用いてΔEV値(ΔEV(1))を発光時間(t(1))に変換する(ステップS48)。なお、1回目の撮影時の発光時間は、適正発光時間(t_flash)に設定される。   In this way, after setting the difference step (ΔEV_delta), information on the number of photographing (n_max) is acquired from the CPU 30 (step S45), and the ΔEV value (ΔEV_flash) converted from the set difference step (ΔEV_delta) and the appropriate light emission time. Based on the above, the actual light emission time (t (1), t (2),... T (n_max)) at each photographing time is calculated (steps S46 to S50). That is, first, the variable n is set to n = 1 (step S46), and the following formula [ΔEV (n) = ΔEV_flash− (n−1) * ΔEV_delta] (Expression 1) (1)) is calculated (step S47). Then, the ΔEV value (ΔEV (1)) is converted into the light emission time (t (1)) using a predetermined conversion table (see FIG. 5) (step S48). In addition, the light emission time at the time of the first photographing is set to an appropriate light emission time (t_flash).

この後、変数nに1を加算して(ステップS49)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS50)、超えるまで上記ステップS47〜S49の処理を繰り返す。   Thereafter, 1 is added to the variable n (step S49), and it is determined whether or not the variable n exceeds the number of times of photographing (n_max) (step S50).

以上により、各撮影回における実際のフラッシュ28の発光時間(発光量)が設定される。設定された各撮影回における実際のフラッシュの発光時間の情報は、SDRAM36に格納される。   As described above, the actual flash time (light emission amount) of the flash 28 in each shooting time is set. Information on the actual flash emission time at each set shooting time is stored in the SDRAM 36.

なお、本実施の形態の撮影装置10では、顔が検出されていない場合、撮影回数(n_max)が1に設定されるので、この場合は実際の撮影時の発光時間が適正発光時間(t_flash)に設定される。   In the photographing apparatus 10 according to the present embodiment, when the face is not detected, the number of photographing (n_max) is set to 1. In this case, the light emission time at the time of actual photographing is the appropriate light emission time (t_flash). Set to

一方、顔が検出されている場合、撮影回数(n_max)が3設定されるので、3回分の発光時間が設定される。この場合、上式1より、1回目のΔEV値はΔEV(1) = ΔEV_flash、2回目のΔEV値は、ΔEV(2) = ΔEV_flash − ΔEV_delta、3回目のΔEV値は、ΔEV(3) = ΔEV_flash − 2*ΔEV_deltaとなる。すなわち、設定された差分ステップで段階的に減少する。この結果、実際の発光時間(t(1)、(t(2))、(t(3)))も適正発光時間(t_flash)から段階的に減少するように設定される。   On the other hand, when the face is detected, the number of times of photographing (n_max) is set to 3, so the light emission time for 3 times is set. In this case, from the above equation 1, the first ΔEV value is ΔEV (1) = ΔEV_flash, the second ΔEV value is ΔEV (2) = ΔEV_flash−ΔEV_delta, and the third ΔEV value is ΔEV (3) = ΔEV_flash − 2 * ΔEV_delta. That is, it decreases in steps at the set difference step. As a result, the actual light emission time (t (1), (t (2)), (t (3))) is also set to decrease stepwise from the appropriate light emission time (t_flash).

以上のようにして、各撮影回における実際のフラッシュ28の発光時間(発光量)が設定されると、CPU30は、図2に示すように、設定された撮影回数(n_max)で本撮影の処理を実行する(ステップS17〜S22)。すなわち、まず、変数nをn=1とし(ステップS17)、1回目の撮影のフラッシュ28の発光時間t(1)を設定するとともに(ステップS18)、撮影感度と露出を適正撮影感度、適正露出に設定して(ステップS19)、1回目のフラッシュ撮影を実施する(ステップS20)。   As described above, when the actual flash time (light emission amount) of the flash 28 is set at each shooting time, the CPU 30 performs the processing of the main shooting at the set number of shooting times (n_max) as shown in FIG. Is executed (steps S17 to S22). That is, first, the variable n is set to n = 1 (step S17), the light emission time t (1) of the flash 28 for the first shooting is set (step S18), and the shooting sensitivity and exposure are set to the appropriate shooting sensitivity and exposure. (Step S19), the first flash photography is performed (step S20).

この後、CPU30は、変数nに1を加算して(ステップS21)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS22)、超えるまで上記ステップS18〜S21の処理を繰り返す。   Thereafter, the CPU 30 adds 1 to the variable n (step S21), determines whether or not the variable n exceeds the number of times of photographing (n_max) (step S22), and the processing of the above steps S18 to S21 until it exceeds. repeat.

すなわち、スルー画において顔が検出されておらず、撮影回数(n_max)が1回に設定されている場合は、1回で撮影は終了し、顔が検出されて、撮影回数(n_max)が3回に設定されている場合は、3回フラッシュ撮影をして、撮影処理を終了する。この場合、1回目は発光時間t(1)(=適正発光時間(t_flash))、2回目は発光時間t(2)、3回目は発光時間t(3)でフラッシュ28を発光させて、フラッシュ撮影が行われる(t(1)>t(2)>t(3))。すなわち、段階的に光量が落とされて撮影される。   That is, when a face is not detected in the through image and the number of times of photographing (n_max) is set to one, the photographing is finished once, the face is detected, and the number of times of photographing (n_max) is three. If the time is set, the flash photography is performed three times, and the photographing process is terminated. In this case, the first time is the flash time t (1) (= appropriate flash time (t_flash)), the second time is the flash time t (2), and the third time is the flash time t (3). Shooting is performed (t (1)> t (2)> t (3)). That is, the image is taken with the light amount reduced step by step.

このように本実施の形態の撮影装置10では、フラッシュ撮影する際、顔の有無に基づき本撮影の撮影回数を決定し、複数回撮影する場合は、発光量(発光時間)を段階的に弱めて複数回撮影を実施する。これにより、赤目の目立たない画像を簡単に得ることができる。また、撮影指示からの間隔が開くこともないので、撮影者の意図する構図で被写体を撮影することができる。   As described above, in the photographing apparatus 10 of the present embodiment, when performing flash photography, the number of times of photographing is determined based on the presence or absence of a face, and when photographing multiple times, the light emission amount (light emission time) is gradually reduced. Take multiple shots. As a result, it is possible to easily obtain an image with inconspicuous red eyes. In addition, since the interval from the shooting instruction is not increased, the subject can be shot with the composition intended by the photographer.

なお、本実施の形態の撮影装置10で複数回撮影される画像は、段階的に暗くなるが、複数枚撮影することで赤目と画像の明るさの兼ね合いからユーザが好ましい画像を選択することができる。したがって、複数回撮影した場合は、撮影により得られた画像をすべて記憶メディア20に記録し、後にユーザが不要な画像を削除する。なお、記録前に撮影により得られた画像を液晶モニタ24に表示し、記録する画像をユーザが選択して、記憶メディア20に記録するようにしてもよい。また、これらの処理方法をユーザが選択できるようにしてもよい。   Note that an image captured a plurality of times by the image capturing apparatus 10 of the present embodiment darkens in a stepwise manner, but the user can select a preferable image based on the balance between red-eye and image brightness by capturing a plurality of images. it can. Therefore, when a plurality of shots are taken, all the images obtained by the shots are recorded in the storage medium 20, and the user deletes unnecessary images later. Note that an image obtained by photographing before recording may be displayed on the liquid crystal monitor 24, and an image to be recorded may be selected by the user and recorded on the storage medium 20. In addition, the user may be able to select these processing methods.

また、本実施の形態の撮影装置10には、赤目を検出し、自動修正する赤目検出・補正回路64が備えられているので、各画像について自動で赤目補正を行って記憶メディア20に記録するようにしてもよい。また、必要に応じてユーザが赤目補正の指示を行い、撮影された画像に赤目補正の処理を行うようにしてもよい。   In addition, since the photographing apparatus 10 according to the present embodiment includes the red-eye detection / correction circuit 64 that detects and automatically corrects red-eye, the image is automatically corrected and recorded in the storage medium 20. You may do it. Further, if necessary, the user may instruct red-eye correction, and red-eye correction processing may be performed on the captured image.

また、本実施の形態では、フラッシュ28をプリ発光させて、本撮影時のフラッシュ28の適正発光時間を求めているが、適正発光時間を算出する方法は、これに限定されるものではなく、たとえば、被写体までの距離を検出し、その距離情報と絞り値情報とに基づいて算出するようにしてもよい。なお、本実施の形態のように、フラッシュ28をプリ発光させて適正発光時間を求めることにより、プリ発光による赤目軽減作用を得ることができ、より効果的に赤目の発生を抑制できる。   Further, in the present embodiment, the flash 28 is pre-flashed to obtain the appropriate flash time of the flash 28 at the time of actual shooting, but the method of calculating the proper flash time is not limited to this, For example, the distance to the subject may be detected and calculated based on the distance information and the aperture value information. Note that, as in the present embodiment, the flash 28 is pre-lighted and the appropriate light emission time is obtained, whereby the red-eye reduction action by the pre-light emission can be obtained, and the generation of red eyes can be more effectively suppressed.

また、本実施の形態では、顔検出を行い、顔が検出された場合にのみ、複数回撮影するようにしているが、顔の検出の有無に関わらず、複数回の撮影を行うようにしてもよい。なお、本実施の形態のように顔検出を行い、顔が検出された場合にのみ、複数回撮影することにより、無駄な撮影を防止することができる。   Also, in this embodiment, face detection is performed, and multiple shots are taken only when a face is detected. However, multiple shots are taken regardless of whether or not a face is detected. Also good. It should be noted that useless photographing can be prevented by performing face detection as in the present embodiment and photographing multiple times only when a face is detected.

また、本実施の形態では、フラッシュ28の発光量を発光時間でコントロールしているが、光源の強度を変えて発光量をコントロールするようにしてもよい。   In the present embodiment, the light emission amount of the flash 28 is controlled by the light emission time, but the light emission amount may be controlled by changing the intensity of the light source.

また、本実施の形態では、差分ステップ(ΔEV_delta)を設定する際、適正発光時間と閾値との比較において、2段階に分けて設定しているが、更に詳細に設定できるようにしてもよい。たとえば、適正発光時間を複数の区分に分割し、区分ごとに差分ステップを設定し、算出された適正発光時間が、どの区分に属するかによって差分ステップを設定するようにしてもよい。また、算出された適正発光時間に比例して、差分ステップを設定するようにしてもよい。また、算出された適正発光時間に応じて関数により、差分ステップを設定するようにしてもよい。なお、いずれの場合も適正発光量が大きくなるに従い差分ステップが大きくなるように設定する。   Further, in the present embodiment, when the difference step (ΔEV_delta) is set, it is set in two stages in the comparison between the appropriate light emission time and the threshold, but it may be set in more detail. For example, the appropriate light emission time may be divided into a plurality of sections, a difference step may be set for each section, and the difference step may be set depending on which section the calculated appropriate light emission time belongs to. Further, the difference step may be set in proportion to the calculated appropriate light emission time. Further, the difference step may be set by a function according to the calculated appropriate light emission time. In either case, the difference step is set to increase as the appropriate light emission amount increases.

また、本実施の形態では、フラッシュの適正発光量に基づいて差分ステップを設定しているが、差分ステップは適正発光量に関わらず一定としてもよい。ただし、本実施の形態のようにフラッシュの適正発光量に応じて差分ステップを設定した場合には、より効果的に赤目の発生を抑制することができる。   In the present embodiment, the difference step is set based on the appropriate light emission amount of the flash, but the difference step may be constant regardless of the appropriate light emission amount. However, when the difference step is set according to the appropriate light emission amount of the flash as in this embodiment, the occurrence of red eyes can be more effectively suppressed.

また、差分ステップを適正発光量に基づいて設定する場合には、適正発光量が大きくなるに従い差分ステップが大きくなるように設定すればよく、その値は特に限定されるものではない。閾値も含め確実に赤目が軽減された画像が得られるように考慮して設定するものとする。   Further, when the difference step is set based on the appropriate light emission amount, the difference step may be set so as to increase as the appropriate light emission amount increases, and the value is not particularly limited. It is set in consideration so that an image in which red eyes are reliably reduced including a threshold value can be obtained.

この点を考慮すると、ΔEV値が2以下となるような撮影が必ず行われるように設定することが好ましい。たとえば、撮影回数(n_max)が2に設定されている場合において、ΔEV_delta1=2、ΔEV_delta2=1とすると、閾値を2.5とすれば、ΔEV_flash>2.5となる場合には、必ずΔEV_delta1=2となる。ΔEVは、変換テーブルから4.5を超えることは無いので、必ずΔEV値が2を下回る撮影が行われる。   Considering this point, it is preferable to set so that photographing is always performed so that the ΔEV value is 2 or less. For example, when the number of times of shooting (n_max) is set to 2, assuming that ΔEV_delta1 = 2 and ΔEV_delta2 = 1, if the threshold value is 2.5 and ΔEV_flash> 2.5, then ΔEV_delta1 = 2 Since ΔEV does not exceed 4.5 from the conversion table, photographing with a ΔEV value below 2 is always performed.

また、本実施の形態では、複数回撮影する場合において、撮影回数(n_max)を3回に設定しているが、撮影回数は、これに限定されるものではなく、適宜増減させて設定することもできる。また、ユーザが任意に設定できるようにしてもよい。   Further, in the present embodiment, when shooting a plurality of times, the number of times of shooting (n_max) is set to 3 times, but the number of times of shooting is not limited to this, and may be set by increasing or decreasing appropriately. You can also. Moreover, you may enable it to set arbitrarily by a user.

図6は、本発明に係る撮影装置の第2の実施の形態の概略構成を示すブロック図である。   FIG. 6 is a block diagram showing a schematic configuration of the second embodiment of the photographing apparatus according to the present invention.

上述した第1の実施の形態の撮影装置10では、顔検出したフラッシュ撮影時にフラッシュの発光量(発光時間)を段階的に減少させて複数回フラッシュ撮影しているが、本実施の形態の撮影装置100では、顔検出したフラッシュ撮影時に撮影感度を段階的に落として、複数回フラッシュ撮影を行う。   In the photographing apparatus 10 according to the first embodiment described above, the amount of flash emission (light emission time) is reduced stepwise at the time of flash photography with face detection, and the flash photography is performed a plurality of times. In the apparatus 100, the shooting sensitivity is decreased in stages during flash shooting with face detection, and flash shooting is performed a plurality of times.

このように、本実施の形態では、撮影感度を段階的に変化させて撮影することから、各回の撮影感度を設定するための撮影感度算出回路102を備えている点で上述した第1の実施の形態の撮影装置10と相違している(フラッシュ発光時間算出回路68に代えて撮影感度算出回路102が設けられている。)。したがって、他の構成については、上述した第1の実施の形態の撮影装置10と同じ符号を付して、その説明は省略する。   As described above, in the present embodiment, since the photographing sensitivity is changed in steps, the first embodiment described above is provided in that the photographing sensitivity calculation circuit 102 for setting the photographing sensitivity for each time is provided. (The imaging sensitivity calculation circuit 102 is provided instead of the flash emission time calculation circuit 68). Accordingly, the other components are denoted by the same reference numerals as those of the imaging device 10 of the first embodiment described above, and the description thereof is omitted.

撮影感度算出回路102は、フラッシュ28の適正発光時間に基づいて各回における撮影感度を設定する。具体的には、上記第1の実施の形態の撮影装置10と同様に、適正発光時間(t_flash)をΔEV値(ΔEV_flash)に変換し、変換したΔEV値(ΔEV_flash)と閾値とを比較する。そして、その閾値との比較において差分ステップ(ΔSV)を設定する。すなわち、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値を超えている場合は大きい差分ステップを設定し、閾値以下の場合は小さい差分ステップを設定する。そして、求めた差分ステップ(ΔSV)と適正撮影感度(SV_flash)とから次式[SV(n) = SV_flash − (n - 1) * ΔSV]…(式2)により、各回における実際の撮影感度を設定する。   The photographing sensitivity calculation circuit 102 sets the photographing sensitivity at each time based on the appropriate light emission time of the flash 28. Specifically, as in the imaging device 10 of the first embodiment, the appropriate light emission time (t_flash) is converted into a ΔEV value (ΔEV_flash), and the converted ΔEV value (ΔEV_flash) is compared with a threshold value. Then, a difference step (ΔSV) is set in comparison with the threshold. That is, when the ΔEV value (ΔEV_flash) converted from the appropriate light emission time exceeds the threshold value, a large difference step is set, and when it is equal to or less than the threshold value, a small difference step is set. Then, from the obtained difference step (ΔSV) and appropriate shooting sensitivity (SV_flash), the actual shooting sensitivity at each time is calculated by the following equation [SV (n) = SV_flash− (n−1) * ΔSV] (Equation 2). Set.

以下、本実施の形態の撮影装置100によるフラッシュ撮影時の処理動作の手順について説明する。   Hereinafter, a procedure of processing operation at the time of flash photographing by the photographing apparatus 100 of the present embodiment will be described.

図7は、本実施の形態の撮影装置100によるフラッシュ撮影時における処理手順を示すフローチャートである。   FIG. 7 is a flowchart showing a processing procedure at the time of flash photographing by the photographing apparatus 100 of the present embodiment.

シャッタボタンの押下により、本撮影の指示が行われると、CPU30は、AE制御の処理を実行し、被写体を測光し、適正撮影感度と適正露出(適正絞り、適正シャッタ速度)を設定する(ステップS110)。また、AF制御の処理を実行し、主要被写体に焦点を合わせる(ステップS111)。   When an instruction for actual photographing is issued by pressing the shutter button, the CPU 30 executes AE control processing, measures the subject, and sets appropriate photographing sensitivity and proper exposure (proper aperture, proper shutter speed) (step) S110). Also, AF control processing is executed to focus on the main subject (step S111).

この後、CPU30は、フラッシュ発光制御回路74にコマンドを出力し、フラッシュ28を所定の発光時間でプリ発光させる(ステップS112)。そして、そのプリ発光時に得られた画像を分割測光し(ステップS113)、適正発光時間(t_flash)を算出する(ステップS114)。   Thereafter, the CPU 30 outputs a command to the flash emission control circuit 74, and causes the flash 28 to pre-emit for a predetermined emission time (step S112). Then, the divided photometry is performed on the image obtained during the pre-flash (step S113), and an appropriate flash time (t_flash) is calculated (step S114).

適正発光時間(t_flash)が算出されると、CPU30は、本撮影の撮影回数(n_max)を設定する処理を実行する(ステップS115)。すなわち、上記第1の実施の形態と同様に顔の有無に応じて撮影回数を設定する。本実施の形態では、顔ありの場合、本撮影の撮影回数(n_max)を3に設定し、顔なしの場合、本撮影の撮影回数(n_max)を1に設定する。設定された本撮影の撮影回数(n_max)の情報はSDRAM36に格納される。   When the appropriate light emission time (t_flash) is calculated, the CPU 30 executes a process of setting the number of times of actual photographing (n_max) (step S115). That is, as in the first embodiment, the number of times of shooting is set according to the presence or absence of a face. In the present embodiment, the number of times of actual photographing (n_max) is set to 3 when there is a face, and the number of times of actual photographing (n_max) is set to 1 when there is no face. Information on the set number of times of main shooting (n_max) is stored in the SDRAM 36.

以上のようにして本撮影時における撮影回数が設定されると、次に、CPU30は、撮影感度算出回路102に対して、各回における撮影感度(SV(1)、SV(2)、…SV(n_max))の算出処理を行わせる(ステップS116)。   When the number of times of photographing at the time of main photographing is set as described above, the CPU 30 then causes the photographing sensitivity calculation circuit 102 to take photographing sensitivity (SV (1), SV (2),... SV ( n_max)) is performed (step S116).

図8は、この撮影感度算出回路102による実際の撮影感度の算出処理の手順を示すフローチャートである。   FIG. 8 is a flowchart showing a procedure of actual photographing sensitivity calculation processing by the photographing sensitivity calculation circuit 102.

まず、CPU30から適正発光時間(t_flash)の情報を取得する(ステップS40)。そして、図5に示す所定の変換テーブルを用いて適正発光時間(t_flash)をΔEV値(ΔEV_flash)に変換し(ステップS121)、変換したΔEV値(ΔEV_flash)と閾値とを比較する(ステップS122)。   First, information on the appropriate light emission time (t_flash) is acquired from the CPU 30 (step S40). Then, the appropriate light emission time (t_flash) is converted into the ΔEV value (ΔEV_flash) using the predetermined conversion table shown in FIG. 5 (step S121), and the converted ΔEV value (ΔEV_flash) is compared with the threshold (step S122). .

そして、その閾値との比較において差分ステップ(ΔSV)を設定する。すなわち、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値を超えていると判定すると、差分ステップ(ΔSV)にΔSV1を設定する(ステップS123)。一方、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値以下と判定すると、差分ステップ(ΔSV)にΔSV2を設定する(ステップS124)。   Then, a difference step (ΔSV) is set in comparison with the threshold. That is, if it is determined that the ΔEV value (ΔEV_flash) converted from the appropriate light emission time exceeds the threshold value, ΔSV1 is set to the difference step (ΔSV) (step S123). On the other hand, if it is determined that the ΔEV value (ΔEV_flash) converted from the appropriate light emission time is equal to or smaller than the threshold value, ΔSV2 is set to the difference step (ΔSV) (step S124).

ここで、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値を超えている場合に設定される差分ステップ(ΔSV1)は、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値以下の場合に設定される差分ステップ(ΔSV2)よりも小さく設定されている(ΔSV1 > ΔSV2)。これは、適正発光時間が長い場合(発光量が大きい場合)には、赤目発生の可能性が大きいと考えられるためであり、これにより、各回適切な撮影感度に設定することができる。   Here, the difference step (ΔSV1) set when the ΔEV value (ΔEV_flash) converted from the appropriate light emission time exceeds the threshold value is set when the ΔEV value (ΔEV_flash) converted from the appropriate light emission time is less than or equal to the threshold value. The difference step (ΔSV2) is set to be smaller (ΔSV1> ΔSV2). This is because, when the appropriate light emission time is long (when the light emission amount is large), it is considered that the possibility of occurrence of red-eye is high, and thus it is possible to set an appropriate photographing sensitivity each time.

このようにして、差分ステップ(ΔSV)を設定後、CPU30から撮影回数(n_max)の情報を取得するとともに(ステップS125)、適正撮影感度(SV_flash)の情報を取得する(ステップS126)。そして、取得した適正撮影感度(SV_flash)の情報と、設定した差分ステップ(ΔSV)の情報とに基づいて、各撮影回における実際の撮影感度(SV(1)、SV(2)、…SV(n_max))を算出する(ステップS127〜S131)。すなわち、まず、変数nをn=1とし(ステップS127)、次式[SV(n) = SV_flash − (n - 1) * ΔSV]…(式2)により、1回目の撮影における撮影感度SV(1)を算出する(ステップS128)。なお、1回目の撮影における撮影感度SV(1)は、適正撮影感度(SV_flash)に設定される。   In this way, after setting the difference step (ΔSV), information on the number of shootings (n_max) is acquired from the CPU 30 (step S125), and information on the appropriate shooting sensitivity (SV_flash) is acquired (step S126). Based on the acquired appropriate shooting sensitivity (SV_flash) information and the set difference step (ΔSV) information, the actual shooting sensitivity (SV (1), SV (2),... SV ( n_max)) is calculated (steps S127 to S131). That is, first, the variable n is set to n = 1 (step S127), and the following formula [SV (n) = SV_flash− (n−1) * ΔSV] (Expression 2) is used. 1) is calculated (step S128). Note that the shooting sensitivity SV (1) in the first shooting is set to an appropriate shooting sensitivity (SV_flash).

この後、変数nに1を加算して(ステップS130)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS131)、超えるまで上記ステップS128〜S131の処理を繰り返す。   Thereafter, 1 is added to the variable n (step S130), it is determined whether or not the variable n exceeds the number of times of photographing (n_max) (step S131), and the processing of steps S128 to S131 is repeated until the variable n is exceeded.

以上により、各撮影回における実際の撮影感度が設定される。設定された各撮影回における実際の撮影感度の情報は、SDRAM36に格納される。   As described above, the actual photographing sensitivity at each photographing time is set. Information of actual photographing sensitivity at each set photographing time is stored in the SDRAM 36.

なお、本実施の形態の撮影装置100では、顔が検出されていない場合、撮影回数(n_max)が1に設定されるので、この場合、実際の撮影感度SV(1)は適正撮影感度(SV_flash)に設定される。   In the photographing apparatus 100 of the present embodiment, when the face is not detected, the number of photographing (n_max) is set to 1. In this case, the actual photographing sensitivity SV (1) is the appropriate photographing sensitivity (SV_flash). ).

一方、顔が検出されている場合、撮影回数(n_max)が3設定されるので、3回分の撮影感度が設定される。この場合、上式2より、1回目の撮影感度SV(1) は、適正撮影感度SV_flashに設定され、2回目の撮影感度SV(2)は、SV_flash − ΔSVに設定される。また、3回目の撮影感度SV(3)は、SV_flash − 2ΔSVに設定される。すなわち、設定された差分ステップで段階的に落とされる。   On the other hand, when the face is detected, the number of times of shooting (n_max) is set to 3, so the shooting sensitivity for 3 times is set. In this case, from the above equation 2, the first imaging sensitivity SV (1) is set to the appropriate imaging sensitivity SV_flash, and the second imaging sensitivity SV (2) is set to SV_flash−ΔSV. The third imaging sensitivity SV (3) is set to SV_flash-2ΔSV. That is, it is dropped step by step at the set difference step.

以上のようにして、各撮影回における実際の撮影感度SV(n)が設定されると、CPU30は、図7に示すように、設定された撮影回数(n_max)で本撮影の処理を実行する(ステップS117〜S122)。すなわち、まず、変数nをn=1とし(ステップS117)、1回目の撮影のフラッシュ28の発光時間(適正発光時間)を設定するとともに(ステップS118)、撮影感度と露出を設定する(ステップS119)。この際、撮影感度は、上記ステップS116で設定された1回目の撮影感度SV(1)(1回目は適正撮影感度)を設定する。そして、このように設定された撮影感度、露出で1回目のフラッシュ撮影を実施する(ステップS120)。   When the actual shooting sensitivity SV (n) at each shooting time is set as described above, the CPU 30 executes the main shooting process at the set number of shooting times (n_max) as shown in FIG. (Steps S117 to S122). That is, first, the variable n is set to n = 1 (step S117), the light emission time (appropriate light emission time) of the flash 28 for the first photographing is set (step S118), and the photographing sensitivity and exposure are set (step S119). ). At this time, as the shooting sensitivity, the first shooting sensitivity SV (1) set in step S116 (the first shooting sensitivity is appropriate) is set. Then, the first flash shooting is performed with the shooting sensitivity and exposure set in this way (step S120).

この後、CPU30は、変数nに1を加算して(ステップS121)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS122)、超えるまで上記ステップS118〜S121の処理を繰り返す。   Thereafter, the CPU 30 adds 1 to the variable n (step S121), determines whether or not the variable n exceeds the number of times of photographing (n_max) (step S122), and the processing of the above steps S118 to S121 until it exceeds. repeat.

すなわち、スルー画において顔が検出されておらず、撮影回数(n_max)が1回に設定されている場合は、1回で撮影は終了し、顔が検出されて、撮影回数(n_max)が3回に設定されている場合は、3回フラッシュ撮影をして、撮影処理を終了する。この場合、1回目の撮影は、撮影感度がSV(1)(=適正撮影感度(SV_flash))に、2回目の撮影は撮影感度がSV(2)に、3回目は撮影感度がSV(3)に設定されて、それぞれフラッシュ撮影が行われる(SV(1)>SV(2)>SV(3))。すなわち、撮影感度が適正撮影感度から段階的に下がる方向にシフトされて撮影される。   That is, when a face is not detected in the through image and the number of times of photographing (n_max) is set to one, the photographing is finished once, the face is detected, and the number of times of photographing (n_max) is three. If the time is set, the flash photography is performed three times, and the photographing process is terminated. In this case, the first shot has a shooting sensitivity of SV (1) (= appropriate shooting sensitivity (SV_flash)), the second shooting has a shooting sensitivity of SV (2), and the third shooting has a shooting sensitivity of SV (3 ) And flash shooting is performed for each (SV (1)> SV (2)> SV (3)). That is, the shooting sensitivity is shifted in a direction that gradually decreases from the appropriate shooting sensitivity.

このように本実施の形態の撮影装置100では、フラッシュ撮影する際、顔の有無に基づき本撮影の撮影回数を決定し、複数回撮影する場合は、撮影感度を適正撮影感度から段階的に下げて、複数回撮影を実施する。これにより、赤目の目立たない画像を簡単に得ることができる。また、撮影指示からの間隔が開くこともないので、撮影者の意図する構図で被写体を撮影することができる。   As described above, in the photographing apparatus 100 according to the present embodiment, when performing flash photography, the number of times of photographing is determined based on the presence or absence of a face, and when photographing a plurality of times, the photographing sensitivity is gradually reduced from the appropriate photographing sensitivity. Multiple times. As a result, it is possible to easily obtain an image with inconspicuous red eyes. In addition, since the interval from the shooting instruction is not increased, the subject can be shot with the composition intended by the photographer.

なお、本実施の形態の撮影装置100においても、撮影される画像は段階的に暗くなるが、複数枚撮影することで赤目と画像の明るさの兼ね合いからユーザが好ましい画像を選択することができる。したがって、複数回撮影した場合は、撮影により得られた画像をすべて記憶メディア20に記録し、後にユーザが不要な画像を削除する。なお、記録前に撮影により得られた画像を液晶モニタ24に表示し、記録する画像をユーザが選択して、記憶メディア20に記録するようにしてもよい。また、これらの処理方法をユーザが選択できるようにしてもよい。   In the photographing apparatus 100 according to the present embodiment, the photographed image is gradually darkened, but by photographing a plurality of images, the user can select a preferable image based on the balance between the red eye and the brightness of the image. . Therefore, when a plurality of shots are taken, all the images obtained by the shots are recorded in the storage medium 20, and the user deletes unnecessary images later. Note that an image obtained by photographing before recording may be displayed on the liquid crystal monitor 24, and an image to be recorded may be selected by the user and recorded on the storage medium 20. In addition, the user may be able to select these processing methods.

また、本実施の形態の撮影装置100には、赤目を検出し、自動修正する赤目検出・補正回路64が備えられているので、各画像について自動で赤目補正を行って記憶メディア20に記録するようにしてもよい。また、必要に応じてユーザが赤目補正の指示を行い、撮影された画像に赤目補正の処理を行うようにしてもよい。   In addition, since the photographing apparatus 100 according to the present embodiment includes a red-eye detection / correction circuit 64 that detects red eyes and automatically corrects them, the red-eye correction is automatically performed on each image and recorded in the storage medium 20. You may do it. Further, if necessary, the user may instruct red-eye correction, and red-eye correction processing may be performed on the captured image.

また、本実施の形態では、フラッシュ28をプリ発光させて、本撮影時のフラッシュ28の適正発光時間を求めているが、適正発光時間を算出する方法は、これに限定されるものではなく、たとえば、被写体までの距離を検出し、その距離情報と絞り値情報とに基づいて算出するようにしてもよい。   Further, in the present embodiment, the flash 28 is pre-flashed to obtain the appropriate flash time of the flash 28 at the time of actual shooting, but the method of calculating the proper flash time is not limited to this, For example, the distance to the subject may be detected and calculated based on the distance information and the aperture value information.

また、本実施の形態では、顔検出を行い、顔が検出された場合にのみ、複数回撮影するようにしているが、顔の検出の有無に関わらず、複数回の撮影を行うようにしてもよい。なお、本実施の形態のように顔検出を行い、顔が検出された場合にのみ、複数回撮影することにより、無駄な撮影を防止することができる。   Also, in this embodiment, face detection is performed, and multiple shots are taken only when a face is detected. However, multiple shots are taken regardless of whether or not a face is detected. Also good. It should be noted that useless photographing can be prevented by performing face detection as in the present embodiment and photographing multiple times only when a face is detected.

また、本実施の形態では、差分ステップ(ΔSV)を設定する際、適正発光時間と閾値との比較において、2段階に分けて設定しているが、更に詳細に設定できるようにしてもよい。たとえば、適正発光時間を複数の区分に分割し、区分ごとに差分ステップを設定し、算出された適正発光時間が、どの区分に属するかによって差分ステップを設定するようにしてもよい。また、算出された適正発光時間に比例して、差分ステップを設定するようにしてもよい。また、算出された適正発光時間に応じて関数により、差分ステップを設定するようにしてもよい。なお、いずれの場合も適正発光量が大きくなるに従い差分ステップが大きくなるように設定する。   In the present embodiment, when the difference step (ΔSV) is set, it is set in two stages in the comparison between the appropriate light emission time and the threshold, but it may be set in more detail. For example, the appropriate light emission time may be divided into a plurality of sections, a difference step may be set for each section, and the difference step may be set depending on which section the calculated appropriate light emission time belongs to. Further, the difference step may be set in proportion to the calculated appropriate light emission time. Further, the difference step may be set by a function according to the calculated appropriate light emission time. In either case, the difference step is set to increase as the appropriate light emission amount increases.

また、本実施の形態では、フラッシュの適正発光量に基づいて差分ステップを設定しているが、差分ステップは適正発光量に関わらず一定としてもよい。ただし、本実施の形態のようにフラッシュの適正発光量に応じて差分ステップを設定した場合には、より効果的に赤目の発生を抑制することができる。   In the present embodiment, the difference step is set based on the appropriate light emission amount of the flash, but the difference step may be constant regardless of the appropriate light emission amount. However, when the difference step is set according to the appropriate light emission amount of the flash as in this embodiment, the occurrence of red eyes can be more effectively suppressed.

また、差分ステップを適正発光量に基づいて設定する場合には、適正発光量が大きくなるに従い差分ステップが大きくなるように設定すればよく、その値は特に限定されるものではない。閾値も含め確実に赤目が軽減された画像が得られるように考慮して設定するものとする。たとえば、撮影回数(n_max)が2に設定されている場合において、ΔSV1=2、ΔSV2=1とし、閾値を2.5とする。   Further, when the difference step is set based on the appropriate light emission amount, the difference step may be set so as to increase as the appropriate light emission amount increases, and the value is not particularly limited. It is set in consideration so that an image in which red eyes are reliably reduced including a threshold value can be obtained. For example, when the number of times of shooting (n_max) is set to 2, ΔSV1 = 2, ΔSV2 = 1, and the threshold value is 2.5.

また、上記実施の形態では、撮影感度を適正撮影感度から段階的に下げて複数回撮影しているが、撮影絞りを適正撮影絞りから段階的に絞る方向にシフトさせて複数回撮影するようにしてもよい。また、撮影感度と撮影絞りの双方を調整して、複数回撮影するようにしてもよい。   In the above embodiment, the shooting sensitivity is lowered from the appropriate shooting sensitivity step by step and shot multiple times. However, the shooting aperture is shifted from the appropriate shooting aperture in a stepwise manner and shot multiple times. May be. Further, it is possible to shoot a plurality of times by adjusting both the shooting sensitivity and the shooting aperture.

また、本実施の形態では、複数回撮影する場合において、撮影回数を3回に設定しているが、撮影回数は、これに限定されるものではなく、適宜増減させて設定することもできる。また、ユーザが任意に設定できるようにしてもよい。   Further, in the present embodiment, when shooting a plurality of times, the number of times of shooting is set to three, but the number of times of shooting is not limited to this, and can be set by appropriately increasing or decreasing. Moreover, you may enable it to set arbitrarily by a user.

図9は、本発明に係る撮影装置の第3の実施の形態の概略構成を示すブロック図である。   FIG. 9 is a block diagram showing a schematic configuration of the third embodiment of the photographing apparatus according to the present invention.

上述した第1の実施の形態の撮影装置10では、顔検出したフラッシュ撮影時にフラッシュの発光量を段階的に減少させて複数回フラッシュ撮影を行っているが、本実施の形態の撮影装置200では、顔検出したフラッシュ撮影時にフラッシュの発光量を段階的に増加させて複数回フラッシュ撮影し、各画像について赤目の検出・補正処理を実施して、赤目が補正された画像についてのみ記録する。すなわち、意図的に赤目を強調させることにより、赤目の検出をしやすくし、確実に赤目が補正された画像を取得する。   In the photographing apparatus 10 according to the first embodiment described above, flash photographing is performed a plurality of times by gradually reducing the flash emission amount at the time of flash photographing with face detection. However, in the photographing apparatus 200 according to the present embodiment. During flash shooting with face detection, the flash emission amount is increased step by step and flash shooting is performed a plurality of times, and red-eye detection / correction processing is performed for each image, and only red-eye corrected images are recorded. That is, by intentionally emphasizing the red eye, it is easy to detect the red eye, and an image in which the red eye is reliably corrected is acquired.

このように、本実施の形態では、赤目が補正され画像のみを記録することから、画像記録の要否を判定する画像記録判定回路202を備えている点で上述した第1の実施の形態の撮影装置10と相違している。したがって、他の構成については、上述した第1の実施の形態の撮影装置10と同じ符号を付して、その説明は省略する。   As described above, in this embodiment, since the red-eye is corrected and only the image is recorded, the image recording determination circuit 202 that determines whether or not image recording is necessary is provided. This is different from the photographing apparatus 10. Accordingly, the other components are denoted by the same reference numerals as those of the imaging device 10 of the first embodiment described above, and the description thereof is omitted.

上記のように、本実施の形態の撮影装置200では、顔検出したフラッシュ撮影時にフラッシュの発光量を段階的に増加させて複数回フラッシュ撮影を実施する。撮影された各画像の画像データは、赤目検出・補正回路64に加えられ、赤目の検出が行われる。そして、赤目が検出された画像については、その補正処理が行われる。画像記録判定回路202は、この赤目検出・補正回路64による赤目の検出・補正結果と顔検出回路62による顔検出の結果に基づき画像記録の要否を判定する。すなわち、顔が検出されていない画像(通常のフラッシュ撮影画像)、及び、顔が検出され、かつ、赤目が検出・補正された画像については、画像記録が必要と判定する(記録判定)。一方、顔は検出されたが、赤目は検出・補正されていない画像については画像記録が不要と判定する(消去判定)。CPU30は、この画像記録判定回路202の判定結果に基づいて画像の記録処理を実施する。   As described above, in the photographing apparatus 200 according to the present embodiment, flash photographing is performed a plurality of times by gradually increasing the flash emission amount during face-detected flash photographing. The image data of each photographed image is added to the red-eye detection / correction circuit 64 to detect red eyes. And about the image from which the red eye was detected, the correction process is performed. The image recording determination circuit 202 determines the necessity of image recording based on the detection / correction result of the red eye by the red eye detection / correction circuit 64 and the result of the face detection by the face detection circuit 62. That is, it is determined that image recording is necessary for an image in which no face is detected (normal flash photographed image) and an image in which a face is detected and red-eye is detected and corrected (recording determination). On the other hand, it is determined that image recording is unnecessary for an image in which a face is detected but red-eye is not detected or corrected (erase determination). The CPU 30 performs an image recording process based on the determination result of the image recording determination circuit 202.

以下、本実施の形態の撮影装置200によるフラッシュ撮影時の処理動作の手順について説明する。   Hereinafter, the procedure of the processing operation at the time of flash photographing by the photographing apparatus 200 of the present embodiment will be described.

図10は、本実施の形態の撮影装置200によるフラッシュ撮影時における処理手順を示すフローチャートである。   FIG. 10 is a flowchart showing a processing procedure at the time of flash photographing by the photographing apparatus 200 of the present embodiment.

シャッタボタンの押下により、本撮影の指示が行われると、CPU30は、AE制御の処理を実行し、被写体を測光して、適正撮影感度、適正露出を設定する(ステップS210)。また、AF制御の処理を実行し、主要被写体に焦点を合わせる(ステップS211)。   When an instruction for actual shooting is issued by pressing the shutter button, the CPU 30 executes AE control processing, and measures the subject to set the appropriate shooting sensitivity and the appropriate exposure (step S210). Also, AF control processing is executed to focus on the main subject (step S211).

この後、CPU30は、フラッシュ発光制御回路74にコマンドを出力し、フラッシュ28を所定の発光量(発光時間)でプリ発光させる(ステップS212)。そして、そのプリ発光時に撮像素子14で撮像された画像に基づいて適正発光量(適正発光時間)を算出する。すなわち、プリ発光時に撮像素子14で撮像された画像の画像信号をAE検出回路58に加え、分割エリアごとのR、G、Bの画像信号の積算値を算出させる(ステップS213)。そして、このAE検出回路58から得た積算値に基づいて適正発光時間(t_flash)を算出する(ステップS214)。   Thereafter, the CPU 30 outputs a command to the flash light emission control circuit 74 to cause the flash 28 to perform pre-light emission with a predetermined light emission amount (light emission time) (step S212). Then, an appropriate light emission amount (appropriate light emission time) is calculated based on the image captured by the image sensor 14 during the pre-light emission. That is, the image signal of the image captured by the image sensor 14 during pre-emission is added to the AE detection circuit 58, and the integrated value of the R, G, B image signals for each divided area is calculated (step S213). Then, an appropriate light emission time (t_flash) is calculated based on the integrated value obtained from the AE detection circuit 58 (step S214).

適正発光時間(t_flash)が算出されると、CPU30は、本撮影の撮影回数(n_max)を設定する処理を実行する(ステップS215)。すなわち、プリ発光時に撮像素子14で撮像された画像のYC信号を顔検出回路62に加え、画像中の顔領域を検出させる。そして、その顔検出回路62による顔検出の結果、顔ありと判定すると、本撮影の撮影回数(n_max)を3に設定し、顔なしと判定すると、本撮影の撮影回数(n_max)を1に設定する(図3参照)。設定された本撮影の撮影回数(n_max)の情報はSDRAM36に格納される。   When the appropriate light emission time (t_flash) is calculated, the CPU 30 executes a process of setting the number of times of actual shooting (n_max) (step S215). That is, the YC signal of the image captured by the image sensor 14 during pre-emission is added to the face detection circuit 62 to detect a face area in the image. As a result of the face detection by the face detection circuit 62, when it is determined that there is a face, the number of times of actual shooting (n_max) is set to 3, and when it is determined that there is no face, the number of times of shooting of actual shooting (n_max) is set to 1. Set (see FIG. 3). Information on the set number of times of main shooting (n_max) is stored in the SDRAM 36.

本撮影時における撮影回数が設定されると、次に、CPU30は、フラッシュ発光時間算出回路68に対して、各回における実際のフラッシュ28の発光時間(t(1)、t(2)、…t(n_max))の算出処理を行わせる(ステップS216)。   When the number of times of photographing at the time of the main photographing is set, the CPU 30 then causes the flash light emitting time calculating circuit 68 to execute the actual light emitting time (t (1), t (2),. (n_max)) is calculated (step S216).

図11は、このフラッシュ発光時間算出回路68による実際のフラッシュ28の発光時間の算出処理の手順を示すフローチャートである。   FIG. 11 is a flowchart showing the procedure of the actual flash 28 flashing time calculation process by the flash flashing time calculation circuit 68.

まず、CPU30から適正発光時間(t_flash)の情報を取得する(ステップS240)。そして、図5に示す所定の変換テーブルを用いて適正発光時間(t_flash)をΔEV値(ΔEV_flash)に変換する(ステップS241)。   First, information on the appropriate light emission time (t_flash) is acquired from the CPU 30 (step S240). Then, the appropriate light emission time (t_flash) is converted into the ΔEV value (ΔEV_flash) using the predetermined conversion table shown in FIG. 5 (step S241).

次にCPU30から差分ステップ(ΔEV_delta)の情報を取得する(ステップS242)。ここで、この差分ステップ(ΔEV_delta)は、一定の値としてフラッシュROM34に格納されており、CPU30は、このフラッシュROM34に格納された差分ステップ(ΔEV_delta)の情報をフラッシュ発光時間算出回路68に加える。   Next, information on the difference step (ΔEV_delta) is acquired from the CPU 30 (step S242). Here, the difference step (ΔEV_delta) is stored in the flash ROM 34 as a constant value, and the CPU 30 adds the information of the difference step (ΔEV_delta) stored in the flash ROM 34 to the flash emission time calculation circuit 68.

次に、CPU30から撮影回数(n_max)の情報を取得し(ステップS243)、あらかじめ取得した差分ステップ(ΔEV_delta)と適正発光時間から変換したΔEV値(ΔEV_flash)に基づいて各撮影回における実際の発光時間(t(1)、t(2)、…t(n_max))を算出する(ステップS244〜S248)。すなわち、まず、変数nをn=1とし(ステップS244)、次式[ΔEV(n) = ΔEV_flash + (n - 1) * ΔEV_delta]…(式3)により、1回目の撮影のΔEV値(ΔEV(1))を算出する(ステップS245)。そして、所定の変換テーブル(図5参照)を用いてΔEV値(ΔEV(1))を発光時間(t(1))に変換する(ステップS246)。なお、1回目の撮影時の発光時間は、適正発光時間(t_flash)に設定される。   Next, information on the number of times of photographing (n_max) is obtained from the CPU 30 (step S243), and actual light emission at each photographing time is based on the difference step (ΔEV_delta) obtained in advance and the ΔEV value (ΔEV_flash) converted from the appropriate light emission time. Time (t (1), t (2),... T (n_max)) is calculated (steps S244 to S248). That is, first, the variable n is set to n = 1 (step S244), and the following expression [ΔEV (n) = ΔEV_flash + (n−1) * ΔEV_delta] (Expression 3) (1)) is calculated (step S245). Then, the ΔEV value (ΔEV (1)) is converted into the light emission time (t (1)) using a predetermined conversion table (see FIG. 5) (step S246). In addition, the light emission time at the time of the first photographing is set to an appropriate light emission time (t_flash).

この後、変数nに1を加算して(ステップS247)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS248)、超えるまで上記ステップS245〜S248の処理を繰り返す。   Thereafter, 1 is added to the variable n (step S247), it is determined whether or not the variable n exceeds the number of times of photographing (n_max) (step S248), and the processes of steps S245 to S248 are repeated until the variable n is exceeded.

以上により、各撮影回における実際のフラッシュ28の発光時間(発光量)が設定される。設定された各撮影回における実際のフラッシュの発光時間の情報は、SDRAM36に格納される。   As described above, the actual flash time (light emission amount) of the flash 28 in each shooting time is set. Information on the actual flash emission time at each set shooting time is stored in the SDRAM 36.

なお、本実施の形態の撮影装置200では、顔が検出されていない場合、撮影回数(n_max)が1に設定されるので、この場合は実際の撮影時の発光時間が適正発光時間(t_flash)に設定される。   Note that in the photographing apparatus 200 of the present embodiment, when the face is not detected, the number of times of photographing (n_max) is set to 1, and in this case, the light emission time during actual photographing is the appropriate light emission time (t_flash). Set to

一方、顔が検出されている場合、撮影回数(n_max)が3設定されるので、3回分の発光時間が設定される。この場合、上式3より、1回目のΔEV値はΔEV(1) = ΔEV_flash(適正発光時間)、2回目のΔEV値は、ΔEV(2) = ΔEV_flash + ΔEV_delta、3回目のΔEV値は、ΔEV(3) = ΔEV_flash + 2*ΔEV_deltaとなる。すなわち、設定された差分ステップで段階的に増加する。この結果、実際の発光時間(t(1)、(t(2))、(t(3)))も適正発光時間(t_flash)から段階的に増加するように設定される。   On the other hand, when the face is detected, the number of times of photographing (n_max) is set to 3, so the light emission time for 3 times is set. In this case, from Equation 3, the first ΔEV value is ΔEV (1) = ΔEV_flash (appropriate light emission time), the second ΔEV value is ΔEV (2) = ΔEV_flash + ΔEV_delta, and the third ΔEV value is ΔEV (3) = ΔEV_flash + 2 * ΔEV_delta. That is, it increases step by step at the set difference step. As a result, the actual light emission time (t (1), (t (2)), (t (3))) is also set to increase stepwise from the appropriate light emission time (t_flash).

以上のようにして、各撮影回における実際のフラッシュ28の発光時間(発光量)が設定されると、CPU30は、図10に示すように、設定された撮影回数(n_max)で本撮影の処理を実行する(ステップS217〜S222)。すなわち、まず、変数nをn=1とし(ステップS217)、1回目の撮影のフラッシュ28の発光時間t(1)を設定するとともに(ステップS218)、撮影感度、露出を適正撮影感度、適正露出に設定して(ステップS219)、1回目のフラッシュ撮影を実施する(ステップS220)。   As described above, when the actual flash time (light emission amount) of the flash 28 at each shooting time is set, the CPU 30 performs the process of the main shooting at the set shooting number (n_max) as shown in FIG. Are executed (steps S217 to S222). That is, first, the variable n is set to n = 1 (step S217), the light emission time t (1) of the flash 28 for the first shooting is set (step S218), and the shooting sensitivity and exposure are set to the appropriate shooting sensitivity and exposure. (Step S219), the first flash photography is performed (step S220).

この後、CPU30は、変数nに1を加算して(ステップS221)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS222)、超えるまで上記ステップS18〜S21の処理を繰り返す。   Thereafter, the CPU 30 adds 1 to the variable n (step S221), determines whether or not the variable n exceeds the number of times of photographing (n_max) (step S222), and the processing of the above steps S18 to S21 until it exceeds. repeat.

すなわち、スルー画において顔が検出されておらず、撮影回数(n_max)が1回に設定されている場合は、1回で撮影は終了し、顔が検出されて、撮影回数(n_max)が3回に設定されている場合は、3回フラッシュ撮影をして、撮影処理を終了する。この場合、1回目は発光時間t(1)(=適正発光時間(t_flash))、2回目は発光時間t(2)、3回目は発光時間t(3)でフラッシュ28を発光させて、フラッシュ撮影が行われる(t(1)<t(2)<t(3))。すなわち、フラッシュ28の発光量が段階的に上げられて撮影される。   That is, when a face is not detected in the through image and the number of times of photographing (n_max) is set to one, the photographing is finished once, the face is detected, and the number of times of photographing (n_max) is three. If the time is set, the flash photography is performed three times, and the photographing process is terminated. In this case, the first time is the flash time t (1) (= appropriate flash time (t_flash)), the second time is the flash time t (2), and the third time is the flash time t (3). Shooting is performed (t (1) <t (2) <t (3)). In other words, the amount of light emitted from the flash 28 is increased stepwise to take a picture.

このように本実施の形態の撮影装置200では、フラッシュ撮影する際、顔の有無に基づき本撮影の撮影回数を決定し、複数回撮影する場合は、発光時間を段階的に長くして(発光量を段階的に上げて)、複数回フラッシュ撮影を実施する。これにより、赤目の検出しやすい画像を簡単に得ることができる。得られた画像はSDRAM36に一時的に格納される。   As described above, in the photographing apparatus 200 according to the present embodiment, the number of photographing times of the main photographing is determined based on the presence or absence of the face when flash photography is performed. Increase the amount in steps) and take multiple flash shots. Thereby, it is possible to easily obtain an image that is easy to detect red-eye. The obtained image is temporarily stored in the SDRAM 36.

以上のようにしてフラッシュ撮影が行われると、図10に示すように、CPU30は、撮影により得られた画像に対して赤目の検出・補正処理を実行する。   When flash photography is performed as described above, as shown in FIG. 10, the CPU 30 executes red-eye detection / correction processing on an image obtained by photography.

まず、変数nをn=1とし(ステップS223)、処理対象の画像に1回目の撮影画像を選択し(ステップS224)、その画像に対して赤目の検出処理を行う(ステップS225)。すなわち、1回目の撮影により得られた画像の画像データを顔検出回路62に加え、顔検出をさせる。そして、顔検出回路62で顔検出された画像の画像データを赤目検出・補正回路64に加え、赤目の検出処理を行わせる。赤目検出・補正回路64は、入力された画像データに対して赤目の検出を行い、その検出結果をCPU30に出力する。CPU30は、赤目検出・補正回路64による赤目の検出結果に基づき赤目の有無を判定し(ステップS226)、赤目が検出されると、赤目検出・補正回路64に赤目補正の指示を出力する。赤目検出・補正回路64は、このCPU30の指示に応じて撮影により得られた画像に対して画像処理により赤目の補正の処理を行う(ステップS227)。この赤目補正された画像の画像データは、顔検出の情報及び赤目補正の情報とともにSDRAM36に格納される。   First, the variable n is set to n = 1 (step S223), the first captured image is selected as the processing target image (step S224), and red-eye detection processing is performed on the image (step S225). That is, image data of an image obtained by the first shooting is added to the face detection circuit 62, and face detection is performed. Then, the image data of the image whose face is detected by the face detection circuit 62 is added to the red-eye detection / correction circuit 64, and a red-eye detection process is performed. The red-eye detection / correction circuit 64 detects red eyes for the input image data and outputs the detection result to the CPU 30. The CPU 30 determines the presence / absence of a red eye based on the detection result of the red eye by the red eye detection / correction circuit 64 (step S226), and outputs a red eye correction instruction to the red eye detection / correction circuit 64 when the red eye is detected. The red-eye detection / correction circuit 64 performs red-eye correction processing by image processing on an image obtained by photographing in accordance with the instruction from the CPU 30 (step S227). The image data of the red-eye corrected image is stored in the SDRAM 36 together with face detection information and red-eye correction information.

1回目に撮影された画像に対する赤目の検出・補正処理が終了すると、CPU30は、変数nに1を加算して(ステップS228)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS229)、超えるまで上記ステップS224〜S228の処理を繰り返す。すなわち、スルー画において顔が検出されておらず、撮影回数(n_max)が1回に設定されている場合は、1回で赤目の検出・補正処理は終了し、顔が検出されて、撮影回数(n_max)が3回に設定されている場合は、3回赤目の検出・補正処理が行われる(1日目に撮影された画像の赤目検出・補正が終了すると、2回目に撮影された画像の赤目検出・補正が行われ、2回目に撮影された画像の赤目検出・補正が終了すると、3回目に撮影された画像の赤目検出・補正が行われる。)。   When the red-eye detection / correction processing for the first captured image is completed, the CPU 30 adds 1 to the variable n (step S228), and determines whether the variable n exceeds the number of times of capturing (n_max). (Step S229), and the processes of Steps S224 to S228 are repeated until it exceeds. That is, when a face is not detected in the through image and the number of times of photographing (n_max) is set to one, the red-eye detection / correction process is completed once, the face is detected, and the number of times of photographing is detected. When (n_max) is set to 3 times, the red eye detection / correction process is performed 3 times (when the red eye detection / correction of the image taken on the first day is completed, the image taken the second time) When the red-eye detection / correction is performed and the red-eye detection / correction of the second image is completed, the red-eye detection / correction of the third image is performed).

なお、ステップS225で赤目が検出されず、ステップS226で赤目が検出されていないと判定されると、その画像に対する赤目補正の処理は行われず、そのまま赤目補正無しの情報とともにSDRAM36に格納される。   If it is determined in step S225 that no red eye has been detected and no red eye has been detected in step S226, the red eye correction process is not performed on the image, and is stored in the SDRAM 36 together with information indicating no red eye correction.

スルー画において顔が検出されていない画像については、当然に赤目が発生していないので、その画像の画像データは、そのままSDRAM36に格納される。   Of course, red-eye does not occur for an image in which a face is not detected in the through image, and the image data of the image is stored in the SDRAM 36 as it is.

以上のようにして、撮影により得られた画像に対する赤目の検出・補正処理が完了すると、CPU30は、画像の記録判定の処理を行って、画像の記録処理を実施する(ステップS230)。すなわち、画像記録判定回路202に画像記録の要否の判定を行わせ、その判定結果に基づいて画像の記録処理を実施する。   As described above, when the red-eye detection / correction processing for the image obtained by photographing is completed, the CPU 30 performs image recording determination processing and performs image recording processing (step S230). That is, the image recording determination circuit 202 determines whether or not image recording is necessary, and performs an image recording process based on the determination result.

図12は、この撮影画像の記録処理の手順を示すフローチャートである。   FIG. 12 is a flowchart showing the procedure of this photographed image recording process.

まず、本撮影の撮影回数(n_max)の情報を取得する(ステップS260)。そして、変数nをn=1とし(ステップS261)、処理対象の画像に1回目の撮影画像を選択する(ステップS262)。   First, information on the number of photographing times (n_max) of the main photographing is acquired (step S260). Then, the variable n is set to n = 1 (step S261), and the first captured image is selected as the processing target image (step S262).

CPU30は、1回目の撮影により得られた画像の顔検出の情報と赤目補正の情報を画像記録判定回路202に加え、画像記録の要否を判定させる。   The CPU 30 adds the face detection information and red-eye correction information of the image obtained by the first shooting to the image recording determination circuit 202, and determines whether or not image recording is necessary.

まず、画像記録判定回路202は、その画像の顔検出の結果に基づき顔が検出されているか否かを判定する(ステップS263)。この判定の結果、顔が検出されていないと判定すると、画像記録判定回路202は、画像の記録が必要と判断し、記録判定を行う。すなわち、この場合、本撮影が1回のみの通常撮影であるので、そのまま記録する処理を行う。CPU30は、この画像記録判定回路202による記録判定の判定結果に応じて、その画像の記録処理を実行する(ステップS265)。すなわち、画像に所要の圧縮処理を施して(必要に応じて非圧縮)、記憶メディア20に記録する。   First, the image recording determination circuit 202 determines whether or not a face is detected based on the face detection result of the image (step S263). If it is determined that the face is not detected as a result of the determination, the image recording determination circuit 202 determines that image recording is necessary, and performs recording determination. That is, in this case, since the main shooting is a normal shooting only once, the recording process is performed as it is. The CPU 30 executes the recording process of the image according to the determination result of the recording determination by the image recording determination circuit 202 (step S265). That is, the image is subjected to a required compression process (uncompressed as necessary) and recorded in the storage medium 20.

ステップS263で顔が検出されていると判定すると、赤目補正の結果に基づいて赤目補正がされたか否かを判定する(ステップS264)。この判定の結果、赤目補正がされていると判定すると、画像記録判定回路202は、画像の記録が必要と判断し、記録判定を行う。CPU30は、この画像記録判定回路202による記録判定の判定結果に応じて、その画像の記録処理を実行する(ステップS265)。   If it is determined in step S263 that a face has been detected, it is determined whether red-eye correction has been performed based on the result of red-eye correction (step S264). If it is determined that red-eye correction has been performed as a result of this determination, the image recording determination circuit 202 determines that image recording is necessary, and performs recording determination. The CPU 30 executes the recording process of the image according to the determination result of the recording determination by the image recording determination circuit 202 (step S265).

一方、ステップS264において、赤目補正がされていないと判定すると、画像記録判定回路202は、画像の記録が不要と判断し、消去判定を行う。CPU30は、この画像記録判定回路202による消去判定の判定結果に応じて、その画像の消去処理を実行する(ステップS266)。すなわち、記憶メディア20には記録しないようにする。   On the other hand, if it is determined in step S264 that red-eye correction has not been performed, the image recording determination circuit 202 determines that image recording is unnecessary and performs erasure determination. The CPU 30 executes an erasing process for the image according to the determination result of the erasure determination by the image recording determination circuit 202 (step S266). That is, it is not recorded on the storage medium 20.

このように、撮影された画像に顔が検出されていない場合、及び、顔が検出されていて、かつ、赤目補正も行われている場合のみ記憶メディア20へ画像を記録し、顔が検出されているが、赤目の補正は行われていない場合は消去する。これにより確実に赤目補正が行われた画像を記録することができる。   As described above, only when the face is not detected in the photographed image, and when the face is detected and the red-eye correction is performed, the image is recorded on the storage medium 20 and the face is detected. However, if red-eye correction has not been performed, it is deleted. As a result, an image on which red-eye correction has been performed can be recorded reliably.

この後、CPU30は、変数nに1を加算して(ステップS267)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS268)、超えるまで上記ステップS262〜S267の処理を繰り返す。   Thereafter, the CPU 30 adds 1 to the variable n (step S267), determines whether or not the variable n exceeds the number of times of photographing (n_max) (step S268), and the processing of the above steps S262 to S267 until it exceeds. repeat.

以上説明したように、本実施の形態の撮影装置200は、フラッシュ撮影時にフラッシュの発光量を段階的に増加させて複数回フラッシュ撮影し、各画像について赤目の検出・補正処理を実施し、赤目が検出・補正された画像についてのみ記録する。これにより、確実に赤目が補正された画像を記憶メディア20に記録することができる。   As described above, the image capturing apparatus 200 according to the present embodiment performs flash image capturing a plurality of times by gradually increasing the flash emission amount during flash image capturing, performs red-eye detection / correction processing on each image, and performs red eye detection. Only images that have been detected and corrected are recorded. As a result, it is possible to reliably record an image with corrected red eyes on the storage medium 20.

なお、上記実施の形態では、画像記録判定時において、本撮影された画像の顔検出の検出結果に基づいて画像記録の要否を判定しているが、スルー画として撮影された画像(たとえばプリ発光時の画像)の顔検出の検出結果に基づいて画像記録の要否を判定するようにしてもよい。   In the above embodiment, whether or not image recording is necessary is determined based on the detection result of face detection of the actually captured image at the time of image recording determination. The necessity of image recording may be determined based on the detection result of the face detection of the image at the time of light emission).

また、スルー画で顔が検出されておらず、1回だけ本撮影する場合には、赤目が発生しないことが明らかなので、赤目の検出・補正の処理(ステップS223〜S229)は行わず、そのまま記録するようにしてもよい。   In addition, when a face is not detected in the through image and it is clear that red eyes do not occur when the main shooting is performed only once, the red-eye detection / correction processing (steps S223 to S229) is not performed and is performed as it is. It may be recorded.

また、本実施の形態においても、フラッシュ28をプリ発光させて、本撮影時のフラッシュ28の適正発光時間を求めているが、適正発光時間を算出する方法は、これに限定されるものではない。   Also in the present embodiment, the flash 28 is pre-flashed to obtain the appropriate flash time for the flash 28 at the time of actual shooting, but the method for calculating the proper flash time is not limited to this. .

また、本実施の形態では、顔検出を行い、顔が検出された場合にのみ、複数回撮影するようにしているが、顔の検出の有無に関わらず、複数回の撮影を行うようにしてもよい。   Also, in this embodiment, face detection is performed, and multiple shots are taken only when a face is detected. However, multiple shots are taken regardless of whether or not a face is detected. Also good.

また、本実施の形態では、フラッシュ28の発光量を発光時間でコントロールしているが、光源の強度を変えて発光量をコントロールするようにしてもよい。   In the present embodiment, the light emission amount of the flash 28 is controlled by the light emission time, but the light emission amount may be controlled by changing the intensity of the light source.

また、本実施の形態では、差分ステップ(ΔEV_delta)を設定する際、適正発光時間と閾値との比較において、2段階に分けて設定しているが、更に詳細に設定できるようにしてもよい。たとえば、適正発光時間を複数の区分に分割し、区分ごとに差分ステップを設定し、算出された適正発光時間が、どの区分に属するかによって差分ステップを設定するようにしてもよい。また、算出された適正発光時間に比例して、差分ステップを設定するようにしてもよい。また、算出された適正発光時間に応じて関数により、差分ステップを設定するようにしてもよい。なお、いずれの場合も適正発光量が大きくなるに従い差分ステップが小さくなるように設定する。   Further, in the present embodiment, when the difference step (ΔEV_delta) is set, it is set in two stages in the comparison between the appropriate light emission time and the threshold, but it may be set in more detail. For example, the appropriate light emission time may be divided into a plurality of sections, a difference step may be set for each section, and the difference step may be set depending on which section the calculated appropriate light emission time belongs to. Further, the difference step may be set in proportion to the calculated appropriate light emission time. Further, the difference step may be set by a function according to the calculated appropriate light emission time. In either case, the difference step is set to decrease as the appropriate light emission amount increases.

また、本実施の形態では、差分ステップを一定としているが、フラッシュの適正発光量に応じて差分ステップを設定するようにしてもよい。   In the present embodiment, the difference step is constant, but the difference step may be set according to the appropriate amount of light emitted from the flash.

たとえば、上記ステップS241により適正発光時間(t_flash)をΔEV値(ΔEV_flash)に変換した後、その変換したΔEV値(ΔEV_flash)と閾値とを比較して差分ステップ(ΔEV_delta)を設定するようにしてもよい。すなわち、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値を超えている場合は差分ステップ(ΔEV_delta)をΔEV_delta1に設定し、閾値以下の場合は差分ステップ(ΔEV_delta)をΔEV_delta2に設定する。ここで、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値を超えている場合に設定する差分ステップ(ΔEV_delta1)は、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値以下の場合に設定する差分ステップ(ΔEV_delta2)よりも大きく設定する(ΔEV_delta1 < ΔEV_delta2)。これは、適正発光時間が短い(発光量が小さい)方が、赤目が発生しにくくなると考えられるためである。すなわち、適正発光時間が短く、赤目が発生しにくい場合は、差分ステップ(ΔEV_delta)を大きくし、赤目が検出されやすくする。一方、適正発光時間が長く、赤目が発生しやすい場合は、差分ステップ(ΔEV_delta)を小さくし、白飛び等が生じない範囲で赤目が検出されやすくする。   For example, after the appropriate light emission time (t_flash) is converted into the ΔEV value (ΔEV_flash) in step S241, the converted ΔEV value (ΔEV_flash) is compared with the threshold value to set the difference step (ΔEV_delta). Good. That is, if the ΔEV value (ΔEV_flash) converted from the appropriate light emission time exceeds the threshold value, the difference step (ΔEV_delta) is set to ΔEV_delta1, and if it is equal to or less than the threshold value, the difference step (ΔEV_delta) is set to ΔEV_delta2. Here, the difference step (ΔEV_delta1) set when the ΔEV value (ΔEV_flash) converted from the appropriate light emission time exceeds the threshold value is set when the ΔEV value (ΔEV_flash) converted from the appropriate light emission time is equal to or less than the threshold value. It is set larger than the difference step (ΔEV_delta2) (ΔEV_delta1 <ΔEV_delta2). This is because it is considered that red eyes are less likely to occur when the appropriate light emission time is shorter (the light emission amount is smaller). That is, when the appropriate light emission time is short and red eyes are difficult to occur, the difference step (ΔEV_delta) is increased to facilitate detection of red eyes. On the other hand, if the appropriate light emission time is long and red eyes are likely to occur, the difference step (ΔEV_delta) is reduced so that red eyes are easily detected within a range where whiteout or the like does not occur.

また、上記実施の形態では、複数回フラッシュ撮影した場合において、赤目補正された画像をすべて記憶メディア20に記録するようにしているが、記録前に液晶モニタ24に表示させ、記録の要否をユーザに問い合わせるようにしてもよい。この場合において、赤目補正された画像が複数枚ある場合は、記録する画像をユーザに個別に選択させるようにしてもよい。   Further, in the above embodiment, when the flash photography is performed a plurality of times, all the red-eye corrected images are recorded on the storage medium 20. However, before recording, the images are displayed on the liquid crystal monitor 24 to determine whether or not recording is necessary. The user may be inquired. In this case, when there are a plurality of red-eye corrected images, the user may individually select an image to be recorded.

さらに、複数回撮影された画像のなかで最も赤目らしい画像を自動で検出し、その画像の赤目補正後の画像データのみを記録するようにしてもよい。   Furthermore, it is also possible to automatically detect the most red-eye image among images taken a plurality of times and record only the image data after the red-eye correction of the image.

図13は、最も赤目らしい画像のみを記録する場合の撮影画像の記録処理の手順を示すフローチャートである。   FIG. 13 is a flowchart showing the procedure of the recorded image recording process when only the most red-eye image is recorded.

まず、本撮影の撮影回数(n_max)の情報を取得する(ステップS280)。そして、記録画像回n_recをn_rec=0、赤目検出評価値REV(n)をREV(0)=0とし(ステップS281)、変数nをn=1として(ステップS282)、処理対象の画像に1回目の撮影画像を選択する(ステップS283)。   First, information on the number of times of actual photographing (n_max) is acquired (step S280). The recorded image times n_rec is set to n_rec = 0, the red-eye detection evaluation value REV (n) is set to REV (0) = 0 (step S281), the variable n is set to n = 1 (step S282), and 1 is added to the image to be processed. The second captured image is selected (step S283).

CPU30は、1回目の撮影により得られた画像の赤目補正の情報を画像記録判定回路202に加え、画像記録の要否を判定させる。   The CPU 30 adds the red-eye correction information of the image obtained by the first shooting to the image recording determination circuit 202, and determines whether or not image recording is necessary.

ここで、この画像記録判定回路202に加える赤目補正の情報には、その画像に対する赤目補正の実施の有無と、赤目検出時における赤目らしさの評価値の情報(赤目検出評価値)が含まれる。したがって、本例の場合、赤目検出・補正回路64は、撮影された画像から赤目を検出するとともに、画像の赤目らしさの評価値も算出する。   Here, the red-eye correction information applied to the image recording determination circuit 202 includes information on whether or not red-eye correction has been performed on the image, and information on the evaluation value of red-eyeness (red-eye detection evaluation value) when red-eye is detected. Therefore, in the case of this example, the red-eye detection / correction circuit 64 detects red-eye from the photographed image and also calculates an evaluation value of the redness of the image.

なお、赤目検出評価値は、公知の手法を用いて算出することができる。たとえば、次のような方法で算出することができる。まず、あらかめ赤目らしさを表す特徴量と、特徴量の値に応じたスコアを定義する。たとえば、画素の値が赤色を表す値であることは、赤目であると判断する1つの根拠となり得る。よって、画素の値は赤目らしさを表す特徴量となり得る。この場合、たとえば、誰の目にも赤色とわかる色を表す画素値には高いスコアが、また、一応赤色ではあるが見る者によっては茶色と判断するかもしれない色を表す画素値には低いスコアがつくように、特徴量とスコアとの対応付けを定義する。一方、明らかに赤色ではない色(例えば黄色)を表す画素値にはゼロまたはマイナスのスコアがつくように、特徴量とスコアとの対応付けを定義する。そして、赤目として検出された領域内の各画素について特徴量を算出し、その特徴量をスコアに換算して赤目検出評価値とする。   The red-eye detection evaluation value can be calculated using a known method. For example, it can be calculated by the following method. First, a feature quantity that represents the redness of a prior art and a score corresponding to the value of the feature quantity are defined. For example, if the value of the pixel is a value representing red, it can be one basis for determining that the eye has red eyes. Therefore, the value of the pixel can be a feature amount representing redness. In this case, for example, a high score is obtained for a pixel value representing a color that can be recognized by anyone's eyes as red, and a low value is represented for a pixel value representing a color that is red but may be judged brown depending on the viewer. The association between the feature quantity and the score is defined so that the score is obtained. On the other hand, the correspondence between the feature quantity and the score is defined so that a pixel value that clearly represents a color that is not red (for example, yellow) has a zero or negative score. Then, a feature amount is calculated for each pixel in the region detected as red-eye, and the feature amount is converted into a score to obtain a red-eye detection evaluation value.

なお、使用する赤目の検出方法によっては、赤目の検出過程で赤目検出評価値(赤目らしさのスコア)を求めることができるので(赤目検出評価値に基づいて赤目の検出を行う)、この赤目の検出過程で求められた赤目検出評価値を利用してもよい。   Depending on the red-eye detection method used, a red-eye detection evaluation value (red-eye likelihood score) can be obtained in the red-eye detection process (red-eye detection is performed based on the red-eye detection evaluation value). You may use the red-eye detection evaluation value calculated | required in the detection process.

画像記録判定回路202は、取得した赤目補正の情報に基づいて赤目補正の有無を判定する(ステップS284)。この判定の結果、赤目補正をしていると判定すると、画像記録判定回路202は、その画像の赤目検出評価値の情報を取得する(ステップS285)。この場合、1回目の撮影画像なので、1回目の撮影画像の赤目検出評価値REV(1)の情報を取得する。一方、赤目補正をしていないと判定すると、画像記録判定回路202は、その画像の赤目検出評価値REV(n)を0とする(ステップS286)。   The image recording determination circuit 202 determines the presence / absence of red-eye correction based on the acquired red-eye correction information (step S284). As a result of this determination, if it is determined that red-eye correction is performed, the image recording determination circuit 202 acquires information on the red-eye detection evaluation value of the image (step S285). In this case, since this is the first captured image, information on the red-eye detection evaluation value REV (1) of the first captured image is acquired. On the other hand, if it is determined that the red-eye correction is not performed, the image recording determination circuit 202 sets the red-eye detection evaluation value REV (n) of the image to 0 (step S286).

この後、画像記録判定回路202は、取得した赤目検出評価値REV(n)と、先に撮影された画像の赤目検出評価値REV(n-1)とを比較し、取得した赤目検出評価値REV(n)が、先に撮影された画像の赤目検出評価値REV(n-1)よりも大きいか否かを判定する(ステップS287)。   Thereafter, the image recording determination circuit 202 compares the acquired red-eye detection evaluation value REV (n) with the red-eye detection evaluation value REV (n-1) of the previously captured image, and acquires the acquired red-eye detection evaluation value. It is determined whether REV (n) is larger than the red-eye detection evaluation value REV (n-1) of the previously captured image (step S287).

今回は1回目に撮影された画像を対象としているので、1回目に撮影された画像の赤目検出評価値REV(1)と赤目検出評価値REV(0)=0とを比較し、1回目に撮影された画像の赤目検出評価値REV(1)が赤目検出評価値REV(0)=0よりも大きいか否かを判定する。   This time, since the first image is taken as an object, the red eye detection evaluation value REV (1) of the first image is compared with the red eye detection evaluation value REV (0) = 0. It is determined whether or not the red-eye detection evaluation value REV (1) of the photographed image is larger than the red-eye detection evaluation value REV (0) = 0.

そして、取得した赤目検出評価値REV(n)が、先に撮影された画像の赤目検出評価値REV(n-1)よりも大きいと判定すると、記録画像回n_recをその撮影回に設定する(ステップS288)。   Then, when it is determined that the acquired red-eye detection evaluation value REV (n) is larger than the red-eye detection evaluation value REV (n-1) of the previously captured image, the recorded image time n_rec is set to the imaging time ( Step S288).

今回は1回目に撮影された画像を対象としているので、1回目に撮影された画像の赤目検出評価値REV(1)が赤目検出評価値REV(0)=0よりも大きいと判定すると、記録画像回n_recを1に設定する。   This time, the image taken for the first time is targeted, so if the red-eye detection evaluation value REV (1) of the image taken for the first time is determined to be greater than the red-eye detection evaluation value REV (0) = 0, recording is performed. Set image times n_rec to 1.

この後、CPU30は、変数nに1を加算して(ステップS289)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS290)、超えるまで上記ステップS283〜S289の処理を繰り返す。   Thereafter, the CPU 30 adds 1 to the variable n (step S289), determines whether or not the variable n exceeds the number of times of photographing (n_max) (step S290), and the processing of steps S283 to S289 is performed until the variable n is exceeded. repeat.

すなわち、上記ステップS283〜S289を繰り返し十個することにより、各撮影回における撮影画像の中から最も赤目検出評価値REV(n)の高い画像を選出し、その選出された撮影回の値を記録画像回n_recに設定する。たとえば、2回目の撮影画像の赤目検出評価値REV(2)が最も高い場合には、記録画像回n_recに2が設定され、3回目の撮影画像の赤目検出評価値REV(2)が最も高い場合には、記録画像回n_recに3が設定される。一方、全ての画像について、赤目補正がされていない場合は、記録画像回n_recが0に設定される。   That is, by repeating the above steps S283 to S289 ten times, the image with the highest red-eye detection evaluation value REV (n) is selected from the captured images at each shooting time, and the selected shooting time value is recorded. Set to image times n_rec. For example, when the red-eye detection evaluation value REV (2) of the second captured image is the highest, 2 is set in the recorded image time n_rec, and the red-eye detection evaluation value REV (2) of the third captured image is the highest. In this case, 3 is set to the recorded image time n_rec. On the other hand, when red-eye correction has not been performed for all images, the recorded image count n_rec is set to zero.

そして、全ての画像について赤目検出評価値の比較が完了すると、CPU30は、この画像記録判定回路202による記録画像回n_recの設定結果に基づき、記録画像回n_recが0に設定されているか否かを判定する(ステップS291)。   When the comparison of the red-eye detection evaluation values for all the images is completed, the CPU 30 determines whether or not the recording image number n_rec is set to 0 based on the setting result of the recording image number n_rec by the image recording determination circuit 202. Determination is made (step S291).

この判定の結果、記録画像回n_recが0に設定されていないと判定すると、設定された記録画像回の画像を記憶メディア20に記録する(ステップS292)。すなわち、必要に応じて圧縮処理を施し、メディアコントローラ56を介して記憶メディア20に記録する。たとえば、記録画像回n_recが2に設定されている場合は、2回目に撮影された画像の画像データを記憶メディア20に記録し、記録画像回n_recが3に設定されている場合は、3回目に撮影された画像の画像データを記憶メディア20に記録する。これにより、最も赤目らしい画像として赤目補正が施された画像のみが記憶メディア20に記録される。   If it is determined that the recorded image count n_rec is not set to 0 as a result of this determination, the set recorded image count image is recorded in the storage medium 20 (step S292). That is, compression processing is performed as necessary, and recording is performed on the storage medium 20 via the media controller 56. For example, when the recorded image time n_rec is set to 2, the image data of the image taken for the second time is recorded in the storage medium 20, and when the recorded image time n_rec is set to 3, the third time. The image data of the captured image is recorded in the storage medium 20. As a result, only the image that has undergone red-eye correction is recorded in the storage medium 20 as the most red-eye image.

一方、上記ステップS291において、記録画像回n_recが0に設定されていると判定すると、全ての画像を記憶メディア20に記録する(ステップS293)。たとえば、顔が検出され、複数回フラッシュ撮影されたが、どの画像についても赤目が検出されず、赤目補正が行われなかった場合には、全ての画像が記憶メディア20に記録される。また、顔が検出されず、通常どおり1回のみフラッシュ撮影された場合には、赤目補正が行われないので、そのまま記憶メディア20に記録される。   On the other hand, if it is determined in step S291 that the recorded image count n_rec is set to 0, all images are recorded in the storage medium 20 (step S293). For example, if a face is detected and flash photography is performed a plurality of times, but no red-eye is detected for any image and no red-eye correction is performed, all images are recorded in the storage medium 20. If no face is detected and flash photography is performed only once as usual, red-eye correction is not performed, and the face is recorded as it is in the storage medium 20.

このように、赤目補正した場合において、最も赤目らしい画像についてのみ記憶メディア20に記録することにより、確実に赤目補正された画像を記録することができる。すなわち、最も赤目らしい画像は、もっとも正確に赤目補正ができるので、赤目補正された画像として最も好ましい画像を記録することができる。これにより、無駄に記憶メディア20の容量を圧迫するのを防止することができる。   As described above, when red-eye correction is performed, by recording only the most red-eye-like image on the storage medium 20, it is possible to reliably record the red-eye corrected image. That is, the most red-eye image can be corrected with the most accurate red-eye correction, so that the most preferable image can be recorded as the red-eye corrected image. Thereby, it is possible to prevent the storage medium 20 from being squeezed.

また、本実施の形態では、複数回撮影する場合において、撮影回数を3回に設定しているが、撮影回数は、これに限定されるものではなく、適宜増減させて設定することもできる。また、ユーザが任意に設定できるようにしてもよい。   Further, in the present embodiment, when shooting a plurality of times, the number of times of shooting is set to three, but the number of times of shooting is not limited to this, and can be set by appropriately increasing or decreasing. Moreover, you may enable it to set arbitrarily by a user.

図14は、本発明に係る撮影装置の第4の実施の形態の概略構成を示すブロック図である。   FIG. 14 is a block diagram showing a schematic configuration of the fourth embodiment of the photographing apparatus according to the present invention.

上述した第3の実施の形態の撮影装置200では、顔検出したフラッシュ撮影時にフラッシュの発光量を段階的に増加させて複数回フラッシュ撮影し、各画像について赤目の検出・補正処理を実施して、赤目が補正された画像についてのみ記録しているが、本実施の形態の撮影装置300では、上記第2の実施の形態の撮影装置100のように、顔検出したフラッシュ撮影時に撮影感度を段階的に上げて複数回フラッシュ撮影する。そして、各画像について赤目の検出・補正処理を実施し、赤目が補正された画像についてのみ記録する。   In the photographing apparatus 200 according to the third embodiment described above, the flash emission amount is increased stepwise at the time of flash photography with face detection, and multiple flash photography is performed, and red-eye detection / correction processing is performed on each image. In this case, the image capturing apparatus 300 according to the present embodiment has a recording sensitivity level at the time of flash shooting with face detection as in the image capturing apparatus 100 according to the second embodiment. Raise the target and take multiple flash shots. Then, red-eye detection / correction processing is performed on each image, and only the image with the red-eye corrected is recorded.

このように、本実施の形態では、赤目が補正され画像のみを記録することから、画像記録の要否を判定する画像記録判定回路302を備えている点で上述した第2の実施の形態の撮影装置100と相違している。したがって、他の構成については、上述した第2の実施の形態の撮影装置100と同じ符号を付して、その説明は省略する。   As described above, in this embodiment, since the red-eye is corrected and only the image is recorded, the image recording determination circuit 302 that determines whether or not image recording is necessary is provided. This is different from the photographing apparatus 100. Therefore, the other components are denoted by the same reference numerals as those of the imaging device 100 of the second embodiment described above, and the description thereof is omitted.

上記のように、本実施の形態の撮影装置300では、顔検出したフラッシュ撮影時に撮影感度を段階的に上げて複数回フラッシュ撮影を実施する。撮影された各画像の画像データは、赤目検出・補正回路64に加えられ、赤目の検出が行われる。そして、赤目が検出された画像については、その補正処理が行われる。画像記録判定回路302は、この赤目検出・補正回路64による赤目の検出・補正結果と顔検出回路62による顔検出の結果に基づき画像記録の要否を判定する。すなわち、顔が検出されていない画像(通常のフラッシュ撮影画像)、及び、顔が検出され、かつ、赤目が検出・補正された画像については、画像記録が必要と判定する(記録判定)。一方、顔は検出されたが、赤目は検出・補正されていない画像については画像記録が不要と判定する(消去判定)。CPU30は、この画像記録判定回路302の判定結果に基づいて画像の記録処理を実施する。   As described above, the photographing apparatus 300 according to the present embodiment performs flash photographing a plurality of times by gradually increasing the photographing sensitivity during face-detected flash photographing. The image data of each photographed image is added to the red-eye detection / correction circuit 64 to detect red eyes. And about the image from which the red eye was detected, the correction process is performed. The image recording determination circuit 302 determines the necessity of image recording based on the detection / correction result of the red eye by the red eye detection / correction circuit 64 and the result of the face detection by the face detection circuit 62. That is, it is determined that image recording is necessary for an image in which no face is detected (normal flash photographed image) and an image in which a face is detected and red-eye is detected and corrected (recording determination). On the other hand, it is determined that image recording is unnecessary for an image in which a face is detected but red-eye is not detected or corrected (erase determination). The CPU 30 performs an image recording process based on the determination result of the image recording determination circuit 302.

以下、本実施の形態の撮影装置300によるフラッシュ撮影時の処理動作の手順について説明する。   Hereinafter, a procedure of processing operation at the time of flash photographing by the photographing apparatus 300 of the present embodiment will be described.

図15は、本実施の形態の撮影装置300によるフラッシュ撮影時における処理手順を示すフローチャートである。   FIG. 15 is a flowchart showing a processing procedure at the time of flash photographing by the photographing apparatus 300 of the present embodiment.

シャッタボタンの押下により、本撮影の指示が行われると、CPU30は、AE制御の処理を実行し、被写体を測光して、適正撮影感度、適正露出を設定する(ステップS310)。また、AF制御の処理を実行し、主要被写体に焦点を合わせる(ステップS311)。   When an instruction for actual photographing is issued by pressing the shutter button, the CPU 30 executes AE control processing, and measures the subject to set proper photographing sensitivity and proper exposure (step S310). Also, AF control processing is executed to focus on the main subject (step S311).

この後、CPU30は、フラッシュ発光制御回路74にコマンドを出力し、フラッシュ28を所定の発光量(発光時間)でプリ発光させる(ステップS312)。そして、そのプリ発光時に撮像素子14で撮像された画像に基づいて適正発光量(適正発光時間)を算出する。すなわち、プリ発光時に撮像素子14で撮像された画像の画像信号をAE検出回路58に加え、分割エリアごとのR、G、Bの画像信号の積算値を算出させる(ステップS313)。そして、このAE検出回路58から得た積算値に基づいて適正発光時間(t_flash)を算出する(ステップS314)。   Thereafter, the CPU 30 outputs a command to the flash light emission control circuit 74 to cause the flash 28 to perform pre-light emission with a predetermined light emission amount (light emission time) (step S312). Then, an appropriate light emission amount (appropriate light emission time) is calculated based on the image captured by the image sensor 14 during the pre-light emission. That is, the image signal of the image captured by the image sensor 14 during pre-emission is added to the AE detection circuit 58, and the integrated value of the R, G, B image signals for each divided area is calculated (step S313). Then, an appropriate light emission time (t_flash) is calculated based on the integrated value obtained from the AE detection circuit 58 (step S314).

適正発光時間(t_flash)が算出されると、CPU30は、本撮影の撮影回数(n_max)を設定する処理を実行する(ステップS315)。すなわち、プリ発光時に撮像素子14で撮像された画像のYC信号を顔検出回路62に加え、画像中の顔領域を検出させる。そして、その顔検出回路62による顔検出の結果、顔ありと判定すると、本撮影の撮影回数(n_max)を3に設定し、顔なしと判定すると、本撮影の撮影回数(n_max)を1に設定する(図3参照)。設定された本撮影の撮影回数(n_max)の情報はSDRAM36に格納される。   When the appropriate light emission time (t_flash) is calculated, the CPU 30 executes a process of setting the number of times of actual shooting (n_max) (step S315). That is, the YC signal of the image captured by the image sensor 14 at the time of pre-emission is added to the face detection circuit 62 to detect the face area in the image. As a result of the face detection by the face detection circuit 62, if it is determined that there is a face, the number of times of actual shooting (n_max) is set to 3, and if it is determined that there is no face, the number of times of shooting of actual shooting (n_max) is set to 1. Set (see FIG. 3). Information on the set number of times of main shooting (n_max) is stored in the SDRAM 36.

本撮影時における撮影回数が設定されると、次に、CPU30は、撮影感度算出回路102に対して、各回における実際の撮影感度(SV(1)、SV(2)、…SV(n_max))の算出処理を行わせる(ステップS316)。   Once the number of times of photographing at the time of actual photographing is set, the CPU 30 then causes the photographing sensitivity calculation circuit 102 to perform actual photographing sensitivity at each time (SV (1), SV (2),... SV (n_max)). Is calculated (step S316).

図16は、この撮影感度算出回路102による実際の撮影感度の算出処理の手順を示すフローチャートである。   FIG. 16 is a flowchart showing a procedure of actual photographing sensitivity calculation processing by the photographing sensitivity calculation circuit 102.

まず、CPU30から適正発光時間(t_flash)の情報を取得する(ステップS350)。そして、図5に示す所定の変換テーブルを用いて適正発光時間(t_flash)をΔEV値(ΔEV_flash)に変換する(ステップS351)。   First, information on the appropriate light emission time (t_flash) is acquired from the CPU 30 (step S350). Then, the appropriate light emission time (t_flash) is converted into the ΔEV value (ΔEV_flash) using the predetermined conversion table shown in FIG. 5 (step S351).

次にCPU30から差分ステップ(ΔSV)の情報を取得する(ステップS342)。ここで、この差分ステップ(ΔSV)は、一定の値としてフラッシュROM34に格納されており、CPU30は、このフラッシュROM34に格納された差分ステップ(ΔSV)の情報を撮影感度算出回路102に加える。   Next, information on the difference step (ΔSV) is acquired from the CPU 30 (step S342). Here, the difference step (ΔSV) is stored in the flash ROM 34 as a constant value, and the CPU 30 adds the information of the difference step (ΔSV) stored in the flash ROM 34 to the photographing sensitivity calculation circuit 102.

次に、CPU30から撮影回数(n_max)の情報を取得し(ステップS343)、あらかじめ取得した差分ステップ(ΔSV)と適正撮影感度(SV_flash)とに基づいて各撮影回における実際の撮影感度(SV(1)、SV(2)、…SV(n_max))を算出する(ステップS344〜S347)。すなわち、まず、変数nをn=1とし(ステップS344)、次式[SV(n) = SV_flash + (n - 1) * ΔSV]…(式4)により、1回目の撮影の撮影感度ΔSV(1)を算出する(ステップS345)。なお、1回目の撮影の撮影感度ΔSV(1)は、適正撮影感度(SV_flash)に設定される。   Next, information on the number of times of shooting (n_max) is acquired from the CPU 30 (step S343), and the actual shooting sensitivity (SV ( 1), SV (2),... SV (n_max)) are calculated (steps S344 to S347). That is, first, the variable n is set to n = 1 (step S344), and the following sensitivity [SV (n) = SV_flash + (n-1) * ΔSV] (Expression 4) 1) is calculated (step S345). Note that the shooting sensitivity ΔSV (1) of the first shooting is set to an appropriate shooting sensitivity (SV_flash).

この後、変数nに1を加算して(ステップS346)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS347)、超えるまで上記ステップS345〜S247の処理を繰り返す。   Thereafter, 1 is added to the variable n (step S346), it is determined whether or not the variable n exceeds the number of times of photographing (n_max) (step S347), and the processing of steps S345 to S247 is repeated until the variable n is exceeded.

以上により、各撮影回における実際の撮影感度が設定される。設定された各撮影回における実際の撮影感度の情報は、SDRAM36に格納される。   As described above, the actual photographing sensitivity at each photographing time is set. Information of actual photographing sensitivity at each set photographing time is stored in the SDRAM 36.

なお、本実施の形態の撮影装置200では、顔が検出されていない場合、撮影回数(n_max)が1に設定されるので、この場合、実際の撮影感度(SV(1))は適正撮影感度(SV_flash)に設定される。   In the photographing apparatus 200 according to the present embodiment, when the face is not detected, the number of photographing (n_max) is set to 1. In this case, the actual photographing sensitivity (SV (1)) is the appropriate photographing sensitivity. Set to (SV_flash).

一方、顔が検出されている場合、撮影回数(n_max)が3設定されるので、3回分の撮影感度が設定される。この場合、上式4より、1回目の撮影の撮影感度SV(1)は、SV_flash(適正撮影感度)、2回目の撮影の撮影感度SV(2)は、SV_flash + ΔSV、3回目の撮影の撮影感度SV(3)は、SV_flash + 2*ΔSVとなる。すなわち、設定された差分ステップで段階的に撮影感度が上がるように設定される。   On the other hand, when the face is detected, the number of times of shooting (n_max) is set to 3, so the shooting sensitivity for 3 times is set. In this case, from the above equation 4, the shooting sensitivity SV (1) for the first shooting is SV_flash (appropriate shooting sensitivity), the shooting sensitivity SV (2) for the second shooting is SV_flash + ΔSV, The shooting sensitivity SV (3) is SV_flash + 2 * ΔSV. That is, it is set so that the photographing sensitivity increases step by step at the set difference step.

以上のようにして、各撮影回における実際の撮影感度が設定されると、CPU30は、図15に示すように、設定された撮影回数(n_max)で本撮影の処理を実行する(ステップS317〜S322)。すなわち、まず、変数nをn=1とし(ステップS317)、1回目の撮影のフラッシュ28の発光時間t(1)(=適正発光時間)を設定するとともに(ステップS318)、撮影感度と露出を設定する(ステップS319)。この際、撮影感度SVは、上記ステップS316で設定で設定された1回目の撮影感度SV(1)(1回目は適正撮影感度)を設定する。そして、このように設定された撮影感度と露出で1回目のフラッシュ撮影を実行する(ステップS320)。   As described above, when the actual shooting sensitivity at each shooting time is set, the CPU 30 executes the main shooting process at the set number of shooting times (n_max) as shown in FIG. 15 (steps S317 to S317). S322). That is, first, the variable n is set to n = 1 (step S317), and the light emission time t (1) (= appropriate light emission time) of the first photographing flash 28 is set (step S318), and the photographing sensitivity and exposure are set. Setting is made (step S319). At this time, the shooting sensitivity SV is set to the first shooting sensitivity SV (1) (the first shooting is the appropriate shooting sensitivity) set in step S316. Then, the first flash photographing is executed with the photographing sensitivity and exposure set in this way (step S320).

この後、CPU30は、変数nに1を加算して(ステップS321)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS322)、超えるまで上記ステップS318〜S321の処理を繰り返す。   Thereafter, the CPU 30 adds 1 to the variable n (step S321), determines whether or not the variable n exceeds the number of times of photographing (n_max) (step S322), and the processing of the above steps S318 to S321 is performed until it exceeds. repeat.

すなわち、スルー画において顔が検出されておらず、撮影回数(n_max)が1回に設定されている場合は、1回で撮影は終了し、顔が検出されて、撮影回数(n_max)が3回に設定されている場合は、3回フラッシュ撮影をして、撮影処理を終了する。この場合、1回目の撮影は、撮影感度がSV(1)(=適正発光感度(SV_flash))に、2回目の撮影は撮影感度がSV(2)に、3回目は撮影感度がSV(3)に設定されて、それぞれフラッシュ撮影が行われる(SV(1)>SV(2)>SV(3))。すなわち、段階的に撮影感度が適正撮影感度から上げられる方向にシフトされて撮影される。   That is, when a face is not detected in the through image and the number of times of photographing (n_max) is set to one, the photographing is finished once, the face is detected, and the number of times of photographing (n_max) is three. If the time is set, the flash photography is performed three times, and the photographing process is terminated. In this case, for the first shooting, the shooting sensitivity is SV (1) (= appropriate light emission sensitivity (SV_flash)), for the second shooting, the shooting sensitivity is SV (2), and for the third shooting, the shooting sensitivity is SV (3 ) And flash shooting is performed for each (SV (1)> SV (2)> SV (3)). In other words, the shooting sensitivity is gradually shifted in the direction of increasing from the appropriate shooting sensitivity.

このように本実施の形態の撮影装置300では、フラッシュ撮影する際、顔の有無に基づき本撮影の撮影回数を決定し、複数回撮影する場合は、撮影感度を段階的に上げて、複数回撮影を実施する。これにより、赤目の検出しやすい画像を簡単に得ることができる。得られた画像はSDRAM36に一時的に格納される。   As described above, in the photographing apparatus 300 according to the present embodiment, when performing flash photographing, the number of photographing times of main photographing is determined based on the presence or absence of a face. Take a picture. Thereby, it is possible to easily obtain an image that is easy to detect red-eye. The obtained image is temporarily stored in the SDRAM 36.

以上のようにしてフラッシュ撮影が行われると、図15に示すように、CPU30は、撮影により得られた画像に対して赤目の検出・補正処理を実行する。   When flash shooting is performed as described above, as shown in FIG. 15, the CPU 30 executes red-eye detection / correction processing on an image obtained by shooting.

まず、変数nをn=1とし(ステップS323)、処理対象の画像に1回目の撮影画像を選択し(ステップS324)、その画像に対して赤目の検出処理を行う(ステップS325)。すなわち、1回目の撮影により得られた画像の画像データを顔検出回路62に加え、顔検出をさせる。そして、顔検出回路62で顔検出された画像の画像データを赤目検出・補正回路64に加え、赤目の検出処理を行わせる。赤目検出・補正回路64は、入力された画像データに対して赤目の検出を行い、その検出結果をCPU30に出力する。CPU30は、赤目検出・補正回路64による赤目の検出結果に基づき赤目の有無を判定し(ステップS326)、赤目が検出されると、赤目検出・補正回路64に赤目補正の指示を出力する。赤目検出・補正回路64は、このCPU30の指示に応じて撮影により得られた画像に対して画像処理により赤目の補正の処理を行う(ステップS327)。この赤目補正された画像の画像データは、顔検出の情報及び赤目補正の情報とともにSDRAM36に格納される。   First, the variable n is set to n = 1 (step S323), the first captured image is selected as the processing target image (step S324), and red-eye detection processing is performed on the image (step S325). That is, image data of an image obtained by the first shooting is added to the face detection circuit 62, and face detection is performed. Then, the image data of the image whose face is detected by the face detection circuit 62 is added to the red-eye detection / correction circuit 64, and a red-eye detection process is performed. The red-eye detection / correction circuit 64 detects red eyes for the input image data and outputs the detection result to the CPU 30. The CPU 30 determines the presence or absence of a red eye based on the detection result of the red eye by the red eye detection / correction circuit 64 (step S326), and outputs a red eye correction instruction to the red eye detection / correction circuit 64 when the red eye is detected. The red-eye detection / correction circuit 64 performs red-eye correction processing by image processing on an image obtained by photographing in accordance with an instruction from the CPU 30 (step S327). The image data of the red-eye corrected image is stored in the SDRAM 36 together with face detection information and red-eye correction information.

1回目に撮影された画像に対する赤目の検出・補正処理が終了すると、CPU30は、変数nに1を加算して(ステップS328)、nが撮影回数(n_max)が超えているか否かを判定し(ステップS329)、超えるまで上記ステップS324〜S328の処理を繰り返す。すなわち、スルー画において顔が検出されておらず、撮影回数(n_max)が1回に設定されている場合は、1回で赤目の検出・補正処理は終了し、顔が検出されて、撮影回数(n_max)が3回に設定されている場合は、3回赤目の検出・補正処理が行われる(1日目に撮影された画像の赤目検出・補正が終了すると、2回目に撮影された画像の赤目検出・補正が行われ、2回目に撮影された画像の赤目検出・補正が終了すると、3回目に撮影された画像の赤目検出・補正が行われる。)。   When the red-eye detection / correction processing for the first photographed image ends, the CPU 30 adds 1 to the variable n (step S328), and determines whether n exceeds the number of times of photographing (n_max). (Step S329), the processes of Steps S324 to S328 are repeated until it exceeds. That is, when a face is not detected in the through image and the number of times of photographing (n_max) is set to one, the red-eye detection / correction process is completed once, the face is detected, and the number of times of photographing is detected. When (n_max) is set to 3 times, the red eye detection / correction process is performed 3 times (when the red eye detection / correction of the image taken on the first day is completed, the image taken the second time) When the red-eye detection / correction is performed and the red-eye detection / correction of the second image is completed, the red-eye detection / correction of the third image is performed).

なお、ステップS325で赤目が検出されず、ステップS326で赤目が検出されていないと判定されると、その画像に対する赤目補正の処理は行われず、そのまま赤目補正無しの情報とともにSDRAM36に格納される。   If it is determined in step S325 that no red eye has been detected and no red eye has been detected in step S326, the red eye correction process is not performed on the image, and is stored in the SDRAM 36 together with information indicating no red eye correction.

以上のようにして、撮影により得られた画像に対する赤目の検出・補正処理が完了すると、CPU30は、画像の記録判定の処理を行って、画像の記録処理を実施する(ステップS330)。すなわち、画像記録判定回路202に画像記録の要否の判定を行わせ、その判定結果に基づいて画像の記録処理を実施する。   As described above, when the red-eye detection / correction processing for the image obtained by photographing is completed, the CPU 30 performs image recording determination processing and performs image recording processing (step S330). That is, the image recording determination circuit 202 determines whether or not image recording is necessary, and performs an image recording process based on the determination result.

なお、この画像記録処理は、上記第3の実施の形態の撮影装置200における画像記録の処理(ステップS230)と同じである。すなわち、複数回フラッシュ撮影した場合は、赤目補正された画像についてのみ撮影により得られた画像を記憶メディア20に記録する(図12参照)。これにより、赤目補正された好ましい画像のみを記録することができる。   This image recording process is the same as the image recording process (step S230) in the photographing apparatus 200 of the third embodiment. That is, when the flash photography is performed a plurality of times, the image obtained by photographing only the red-eye corrected image is recorded in the storage medium 20 (see FIG. 12). As a result, it is possible to record only a preferable image that has undergone red-eye correction.

このように、本実施の形態の撮影装置300では、フラッシュ撮影時に撮影感度を段階的に上げて複数回フラッシュ撮影し、各画像について自動で赤目の検出・補正処理を実施し、赤目が補正された画像についてのみ記憶メディア20に記録する。これにより確実に赤目補正された画像のみを記録することができる。また、撮影指示からの間隔が開くこともないので、撮影者の意図する構図で被写体を撮影することができる。   As described above, in the photographing apparatus 300 according to the present embodiment, the photographing sensitivity is increased stepwise at the time of flash photographing and the flash photographing is performed a plurality of times, and the red-eye detection / correction processing is automatically performed on each image to correct the red-eye. Only the recorded image is recorded in the storage medium 20. As a result, it is possible to record only an image that has been reliably corrected for red-eye. In addition, since the interval from the shooting instruction is not increased, the subject can be shot with the composition intended by the photographer.

なお、上記実施の形態においても、フラッシュ28をプリ発光させて、本撮影時のフラッシュ28の適正発光時間を求めているが、適正発光時間を算出する方法は、これに限定されるものではない。     In the embodiment described above, the flash 28 is pre-flashed to obtain the appropriate flash time for the flash 28 at the time of actual shooting. However, the method for calculating the proper flash time is not limited to this. .

また、本実施の形態では、顔検出を行い、顔が検出された場合にのみ、複数回撮影するようにしているが、顔の検出の有無に関わらず、複数回の撮影を行うようにしてもよい。   Also, in this embodiment, face detection is performed, and multiple shots are taken only when a face is detected. However, multiple shots are taken regardless of whether or not a face is detected. Also good.

また、本実施の形態では、差分ステップを一定にしているが、フラッシュの適正発光量に応じて差分ステップを設定するようにしてもよい。たとえば、上記ステップS341により適正発光時間(t_flash)をΔEV値(ΔEV_flash)に変換した後、その変換したΔEV値(ΔEV_flash)と閾値とを比較して差分ステップ(ΔSV)を設定するようにしてもよい。すなわち、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値を超えている場合は、差分ステップ(ΔSV)をΔSV1に設定し、閾値以下の場合は、差分ステップ(ΔSV)をΔSV2に設定する。ここで、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値を超えている場合に設定する差分ステップ(ΔSV1)は、適正発光時間から変換したΔEV値(ΔEV_flash)が閾値以下の場合に設定する差分ステップ(ΔSV2)よりも大きく設定される(ΔSV1 < ΔSV2)。これは、適正発光時間が短い(発光量が小さい)方が、赤目が発生しにくくなると考えられるためである。すなわち、適正発光時間が短く、赤目が発生しにくい場合は、感度の差分ステップ(ΔSV)を大きくし、赤目が検出されやすくする。一方、適正発光時間が長く、赤目が発生しやすい場合は、感度の差分ステップ(ΔSV)を小さくし、白飛び等が生じない範囲で赤目が検出されやすくする。   Further, in the present embodiment, the difference step is made constant, but the difference step may be set according to the appropriate light emission amount of the flash. For example, after the appropriate light emission time (t_flash) is converted into the ΔEV value (ΔEV_flash) in step S341, the converted ΔEV value (ΔEV_flash) is compared with the threshold value to set the difference step (ΔSV). Good. That is, if the ΔEV value (ΔEV_flash) converted from the appropriate light emission time exceeds the threshold value, the difference step (ΔSV) is set to ΔSV1, and if it is equal to or less than the threshold value, the difference step (ΔSV) is set to ΔSV2. Here, the difference step (ΔSV1) set when the ΔEV value (ΔEV_flash) converted from the appropriate light emission time exceeds the threshold value is set when the ΔEV value (ΔEV_flash) converted from the appropriate light emission time is equal to or less than the threshold value. It is set larger than the difference step (ΔSV2) (ΔSV1 <ΔSV2). This is because it is considered that red eyes are less likely to occur when the appropriate light emission time is shorter (the light emission amount is smaller). That is, when the appropriate light emission time is short and red eyes are difficult to occur, the sensitivity difference step (ΔSV) is increased to facilitate detection of red eyes. On the other hand, if the proper light emission time is long and red eyes are likely to occur, the sensitivity difference step (ΔSV) is reduced to make it easier to detect red eyes in a range where whiteout or the like does not occur.

また、上記実施の形態では、撮影感度を適正撮影感度から段階的に上げて複数回撮影しているが、撮影絞りを適正撮影絞りから段階的に開く方向にシフトさせて複数回撮影するようにしてもよい。また、撮影感度と撮影絞りの双方を調整して、複数回撮影するようにしてもよい。   In the above embodiment, the shooting sensitivity is stepped up from the appropriate shooting sensitivity and shot multiple times. However, the shooting aperture is shifted from the appropriate shooting aperture in a stepwise opening direction and shot multiple times. May be. Further, it is possible to shoot a plurality of times by adjusting both the shooting sensitivity and the shooting aperture.

また、本実施の形態では、感度の差分ステップ(ΔSV)を設定する際、適正発光時間と閾値との比較において、2段階に分けて設定しているが、更に詳細に設定できるようにしてもよい。たとえば、適正発光時間を複数の区分に分割し、区分ごとに感度の分ステップを設定し、算出された適正発光時間が、どの区分に属するかによって感度の差分ステップを設定するようにしてもよい。また、算出された適正発光時間に比例して、差分ステップを設定するようにしてもよい。また、算出された適正発光時間に比例して、差分ステップを設定するようにしてもよい。また、算出された適正発光時間に応じて関数により、差分ステップを設定するようにしてもよい。なお、いずれの場合も適正発光量が大きくなるに従い差分ステップが小さくなるように設定する。   In this embodiment, when the sensitivity difference step (ΔSV) is set, it is set in two stages in the comparison between the appropriate light emission time and the threshold, but it may be set in more detail. Good. For example, the appropriate light emission time may be divided into a plurality of sections, a sensitivity minute step may be set for each section, and a sensitivity difference step may be set depending on which section the calculated appropriate light emission time belongs to. . Further, the difference step may be set in proportion to the calculated appropriate light emission time. Further, the difference step may be set in proportion to the calculated appropriate light emission time. Further, the difference step may be set by a function according to the calculated appropriate light emission time. In either case, the difference step is set to decrease as the appropriate light emission amount increases.

また、上記実施の形態では、複数回フラッシュ撮影した場合において、赤目補正された画像をすべて記憶メディア20に記録するようにしているが、記録前に液晶モニタ24に表示させ、記録の要否をユーザに問い合わせるようにしてもよい。   Further, in the above embodiment, when the flash photography is performed a plurality of times, all the red-eye corrected images are recorded on the storage medium 20. However, before recording, the images are displayed on the liquid crystal monitor 24 to determine whether or not recording is necessary. The user may be inquired.

また、赤目補正された画像が複数枚ある場合には、記録する画像をユーザに選択させるようにしてもよい。   Further, when there are a plurality of red-eye corrected images, the user may select an image to be recorded.

さらに、複数回撮影された画像のなかで最も赤目らしい画像を自動で検出し、その画像の赤目補正後の画像データのみを記録するようにしてもよい(図13参照)。   Furthermore, it is also possible to automatically detect the most red-eye image among images taken a plurality of times and record only the image data after the red-eye correction of the image (see FIG. 13).

また、本実施の形態では、複数回撮影する場合において、撮影回数を3回に設定しているが、撮影回数は、これに限定されるものではなく、適宜増減させて設定することもできる。また、ユーザが任意に設定できるようにしてもよい。   Further, in the present embodiment, when shooting a plurality of times, the number of times of shooting is set to three, but the number of times of shooting is not limited to this, and can be set by appropriately increasing or decreasing. Moreover, you may enable it to set arbitrarily by a user.

図17は、本発明に係る撮影装置の第5の実施の形態の概略構成を示すブロック図である。   FIG. 17 is a block diagram showing a schematic configuration of the fifth embodiment of the photographing apparatus according to the present invention.

本実施の形態の撮影装置400では、フラッシュ撮影時に1回の撮影指示で通常フラッシュ撮影と赤目軽減フラッシュ撮影の2回の撮影を行い、得られた各画像について赤目の検出・補正処理を行って画像の記録を行う。   The photographing apparatus 400 according to the present embodiment performs two photographings of normal flash photographing and red-eye reduction flash photographing with one photographing instruction at the time of flash photographing, and performs red-eye detection / correction processing for each obtained image. Record an image.

ここで、通常フラッシュ撮影とは、適正露出の下、適正発光量(適正発光時間)でフラッシュを発光させて撮影することをいい、赤目軽減フラッシュ撮影とは、通常フラッシュ撮影の直前にフラッシュをプリ発光させて撮影することをいう。   Here, normal flash photography refers to shooting with the appropriate flash amount (appropriate flash duration) under appropriate exposure, and flash shooting with red-eye reduction. Shooting with light emission.

画像をデジタルデータとして記録するデジタルカメラの場合、撮影段階で赤目が発生した場合であっても、画像処理により、それを補正することができる。しかし、人種による瞳の色の違いなどの影響で、どんな被写体でも簡単に違和感なく補正するのは難しいと考えられる。したがって、赤目軽減フラッシュ撮影を行うなどして撮影段階でできるだけ赤目を軽減させ、それでも発生した赤目について、後処理で補正することが望ましい。   In the case of a digital camera that records an image as digital data, even if red eyes are generated at the shooting stage, it can be corrected by image processing. However, it is considered difficult to easily correct any subject without a sense of incongruity due to the difference in the color of the eyes depending on the race. Therefore, it is desirable to reduce red eyes as much as possible at the shooting stage by performing red-eye reduction flash photography, and to correct the red eyes that still occur in post-processing.

しかし、赤目軽減フラッシュ撮影で発生する赤目は、補正すべきレベルのものであっても、通常フラッシュ撮影時に発生する赤目より、大きさ、色の差分が小さくなり、赤目を検出しづらくなるという欠点がある。その結果、赤目の検出方式によっては、検出できず、適切な補正ができないという問題がある。   However, the red-eye that occurs in red-eye reduction flash photography has the disadvantage that even if it is at a level that should be corrected, the difference in size and color is smaller than red-eye that normally occurs during flash photography, making it difficult to detect red-eye. There is. As a result, there is a problem that some red-eye detection methods cannot be detected and cannot be appropriately corrected.

そこで、本実施の形態の撮影装置400では、フラッシュ撮影時に1回の撮影指示で通常フラッシュ撮影と赤目軽減フラッシュ撮影の2回の撮影を行い、得られた各画像について赤目の検出・補正処理を行って画像の記録を行う。   Therefore, the photographing apparatus 400 according to the present embodiment performs two photographings of a normal flash photographing and a red-eye reduction flash photographing in response to one photographing instruction at the time of flash photographing, and performs red-eye detection / correction processing for each obtained image. Go to record the image.

なお、装置の基本構成は、上述した第1の実施の形態の撮影装置10と同じであり、フラッシュ発光時間算出回路68がなく、画像記録判定回路402を有する点で相違している。   The basic configuration of the apparatus is the same as that of the photographing apparatus 10 of the first embodiment described above, and is different in that the flash light emission time calculation circuit 68 is not provided and the image recording determination circuit 402 is provided.

画像記録判定回路402は、上記第3の実施の形態の撮影装置200における画像記録判定回路202と同様に、フラッシュ撮影により得られた2枚の画像の赤目補正の結果と顔検出の結果に基づき画像記録の要否を判定する。すなわち、顔が検出されていない画像、及び、顔が検出され、かつ、赤目が検出・補正された画像については、画像記録が必要と判定する(記録判定)。一方、顔は検出されたが、赤目は検出・補正されていない画像については画像記録が不要と判定する(消去判定)。CPU30は、この画像記録判定回路402の判定結果に基づいて画像の記録処理を実施する。   Similar to the image recording determination circuit 202 in the image capturing apparatus 200 of the third embodiment, the image recording determination circuit 402 is based on the red-eye correction result and the face detection result of two images obtained by flash shooting. The necessity of image recording is determined. That is, it is determined that image recording is necessary for an image in which no face is detected and an image in which a face is detected and red-eye is detected and corrected (recording determination). On the other hand, it is determined that image recording is unnecessary for an image in which a face is detected but red-eye is not detected or corrected (erase determination). The CPU 30 performs an image recording process based on the determination result of the image recording determination circuit 402.

以下、本実施の形態の撮影装置400によるフラッシュ撮影時の処理動作の手順について説明する。   Hereinafter, a procedure of processing operation at the time of flash photographing by the photographing apparatus 400 of the present embodiment will be described.

図18は、本実施の形態の撮影装置400によるフラッシュ撮影時における処理手順を示すフローチャートである。   FIG. 18 is a flowchart showing a processing procedure at the time of flash photographing by the photographing apparatus 400 of the present embodiment.

シャッタボタンの押下により、本撮影の指示が行われると、CPU30は、AE制御の処理を実行し、被写体を測光して、適正撮影感度、適正露出を設定する(ステップS410)。また、AF制御の処理を実行し、主要被写体に焦点を合わせる(ステップS411)。   When an instruction for actual shooting is issued by pressing the shutter button, the CPU 30 executes AE control processing, and measures the subject to set appropriate shooting sensitivity and appropriate exposure (step S410). Also, AF control processing is executed to focus on the main subject (step S411).

この後、CPU30は、フラッシュ発光制御回路74にコマンドを出力し、フラッシュ28を所定の発光量(発光時間)でプリ発光させる(ステップS312)。そして、そのプリ発光時に撮像素子14で撮像された画像に基づいて適正発光量(適正発光時間)を算出する。すなわち、プリ発光時に撮像素子14で撮像された画像の画像信号をAE検出回路58に加え、分割エリアごとのR、G、Bの画像信号の積算値を算出させる(ステップS313)。そして、このAE検出回路58から得た積算値に基づいて適正発光時間を算出する(ステップS414)。   Thereafter, the CPU 30 outputs a command to the flash light emission control circuit 74 to cause the flash 28 to perform pre-light emission with a predetermined light emission amount (light emission time) (step S312). Then, an appropriate light emission amount (appropriate light emission time) is calculated based on the image captured by the image sensor 14 during the pre-light emission. That is, the image signal of the image captured by the image sensor 14 during pre-emission is added to the AE detection circuit 58, and the integrated value of the R, G, B image signals for each divided area is calculated (step S313). Then, the appropriate light emission time is calculated based on the integrated value obtained from the AE detection circuit 58 (step S414).

適正発光時間が算出されると、CPU30は、本撮影の撮影回数(n_max)を設定する(ステップS415)。ここで、本実施の形態の撮影装置400では、1回のフラッシュ撮影で通常フラッシュ撮影と赤目軽減フラッシュ撮影の2回の撮影を行うので、本撮影の撮影回数(n_max)を2に設定する。   When the appropriate light emission time is calculated, the CPU 30 sets the number of times (n_max) of main shooting (step S415). Here, since the photographing apparatus 400 of the present embodiment performs two photographings of the normal flash photographing and the red-eye reduction flash photographing by one flash photographing, the photographing number (n_max) of the main photographing is set to 2.

本撮影時における撮影回数が設定されると、次に、CPU30は、各撮影回の撮影条件を設定する(ステップS416)。ここでは、1回目の撮影を通常フラッシュ撮影とし、2回目の撮影を赤目軽減フラッシュ撮影とする。   When the number of times of photographing at the time of main photographing is set, the CPU 30 then sets the photographing conditions for each photographing time (step S416). Here, the first shooting is normal flash shooting, and the second shooting is red-eye reduction flash shooting.

以上のようにして、各撮影回における撮影条件が設定されると、CPU30は、設定された撮影条件の下で各回の本撮影の処理を実行する(ステップS417〜S424)。   As described above, when the shooting conditions for each shooting time are set, the CPU 30 executes the main shooting process for each time under the set shooting conditions (steps S417 to S424).

まず、変数nをn=1とし(ステップS417)、1回目の撮影(1回目の撮影は通常フラッシュ撮影)のフラッシュ28の発光時間を設定するとともに(ステップS418)、撮影感度、露出を適正撮影感度、適正露出に設定する(ステップS419)。   First, the variable n is set to n = 1 (step S417), the light emission time of the flash 28 for the first shooting (the first shooting is the normal flash shooting) is set (step S418), and the shooting sensitivity and exposure are set appropriately. Sensitivity and proper exposure are set (step S419).

この後、CPU30は、今回の撮影が赤目軽減フラッシュ撮影か否かを判定する(ステップS420)。そして、今回の撮影が赤目軽減フラッシュ撮影と判定すると、フラッシュ28をプリ発光させ(ステップS421)、その後、フラッシュ撮影を行う(ステップS422)。一方、赤目軽減フラッシュ撮影ではないと判定すると、フラッシュ28をプリ発光させずにフラッシュ撮影を行う(ステップS422)。   Thereafter, the CPU 30 determines whether or not the current shooting is red-eye reduction flash shooting (step S420). If the current shooting is determined to be red-eye reduction flash shooting, the flash 28 is pre-flashed (step S421), and then flash shooting is performed (step S422). On the other hand, if it is determined that it is not red-eye reduction flash photography, flash photography is performed without pre-flashing the flash 28 (step S422).

1回目の撮影は、通常フラッシュ撮影であるので、フラッシュ28はプリ発光させずにフラッシュ撮影を行う。   Since the first shooting is normal flash shooting, the flash 28 performs flash shooting without pre-flash.

一方、2回目の撮影は、赤目軽減フラッシュ撮影であるので、フラッシュ28をプリ発光させたのち、フラッシュ撮影を行う。   On the other hand, since the second shooting is red-eye reduction flash shooting, flash shooting is performed after the flash 28 is pre-flashed.

この後、CPU30は、変数nに1を加算して(ステップS423)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS424)、超えるまで上記ステップS318〜S321の処理を繰り返す。   Thereafter, the CPU 30 adds 1 to the variable n (step S423), determines whether or not the variable n exceeds the number of times of photographing (n_max) (step S424), and the processing of steps S318 to S321 is performed until the variable n is exceeded. repeat.

すなわち、1回目の撮影(通常フラッシュ撮影)は、フラッシュ28をプリ発光させずにフラッシュ撮影を行い、2回目の撮影(赤目軽減フラッシュ撮影)は、フラッシュ28をプリ発光させたのち、フラッシュ撮影を行う。   That is, the first shooting (normal flash shooting) performs flash shooting without pre-flashing the flash 28, and the second shooting (red-eye reduction flash shooting) performs flash shooting after pre-flashing the flash 28. Do.

以上のようにして通常フラッシュ撮影と赤目軽減フラッシュ撮影の2回のフラッシュ撮影が終了すると、CPU30は、撮影により得られた画像に対して赤目の検出・補正処理を実行する(ステップS425〜S431)。   When the two flash shootings of the normal flash shooting and the red-eye reduction flash shooting are completed as described above, the CPU 30 executes the red-eye detection / correction process on the image obtained by the shooting (steps S425 to S431). .

まず、変数nをn=1とし(ステップS425)、処理対象の画像に1回目の撮影画像(通常フラッシュで撮影された画像)を選択し(ステップS426)、その画像に対して赤目の検出処理を行う(ステップS427)。すなわち、1回目の撮影により得られた画像の画像データを顔検出回路62に加え、顔検出をさせる。そして、顔検出回路62で顔検出された画像の画像データを赤目検出・補正回路64に加え、赤目の検出処理を行わせる。赤目検出・補正回路64は、入力された画像データに対して赤目の検出を行い、その検出結果をCPU30に出力する。CPU30は、赤目検出・補正回路64による赤目の検出結果に基づき赤目の有無を判定し(ステップS428)、赤目が検出されると、赤目検出・補正回路64に赤目補正の指示を出力する。赤目検出・補正回路64は、このCPU30の指示に応じて撮影により得られた画像に対して画像処理により赤目の補正の処理を行う(ステップS429)。この赤目補正された画像の画像データは、顔検出の情報及び赤目補正の情報とともにSDRAM36に格納される。   First, the variable n is set to n = 1 (step S425), the first captured image (image captured with a normal flash) is selected as the processing target image (step S426), and red-eye detection processing is performed on the image. Is performed (step S427). That is, image data of an image obtained by the first shooting is added to the face detection circuit 62, and face detection is performed. Then, the image data of the image whose face is detected by the face detection circuit 62 is added to the red-eye detection / correction circuit 64, and a red-eye detection process is performed. The red-eye detection / correction circuit 64 detects red eyes for the input image data and outputs the detection result to the CPU 30. The CPU 30 determines the presence or absence of a red eye based on the detection result of the red eye by the red eye detection / correction circuit 64 (step S428), and outputs a red eye correction instruction to the red eye detection / correction circuit 64 when the red eye is detected. The red-eye detection / correction circuit 64 performs red-eye correction processing by image processing on an image obtained by photographing in accordance with an instruction from the CPU 30 (step S429). The image data of the red-eye corrected image is stored in the SDRAM 36 together with face detection information and red-eye correction information.

1回目に撮影された画像に対する赤目の検出・補正処理が終了すると、CPU30は、変数nに1を加算して(ステップS430)、変数nが撮影回数(n_max)が超えているか否かを判定し(ステップS431)、超えるまで上記ステップS426〜S430の処理を繰り返す。   When the red-eye detection / correction processing for the first captured image ends, the CPU 30 adds 1 to the variable n (step S430), and determines whether the variable n exceeds the number of times of capturing (n_max). (Step S431), and the processing of Steps S426 to S430 is repeated until it exceeds.

なお、ステップS427で赤目が検出されず、ステップS428で赤目が検出されていないと判定されると、その画像に対する赤目補正の処理は行われず、そのまま赤目補正無しの情報とともにSDRAM36に格納される。   If it is determined in step S427 that no red eye is detected and no red eye is detected in step S428, the red-eye correction process is not performed on the image, and the image is stored in the SDRAM 36 together with information indicating no red-eye correction.

本実施の形態の撮影装置400では、通常フラッシュ撮影と赤目軽減フラッシュ撮影の2回の撮影が行われているので、各撮影で得られた画像に対して赤目の検出・補正処理が行われる。   In the photographing apparatus 400 of the present embodiment, normal flash photography and red-eye reduction flash photography are performed twice, so that red-eye detection / correction processing is performed on an image obtained by each photographing.

以上のようにして、撮影により得られた画像に対する赤目の検出・補正処理が完了すると、CPU30は、画像の記録判定の処理を行って、画像の記録処理を実施する(ステップS430)。すなわち、画像記録判定回路402に画像記録の要否の判定を行わせ、その判定結果に基づいて画像の記録処理を実施する。   As described above, when the red-eye detection / correction processing for the image obtained by photographing is completed, the CPU 30 performs image recording determination processing and performs image recording processing (step S430). That is, the image recording determination circuit 402 determines whether or not image recording is necessary, and performs an image recording process based on the determination result.

なお、この画像記録処理は、上記第3の実施の形態の撮影装置200における画像記録の処理(ステップS430)と同じである。すなわち、赤目補正された画像についてのみ撮影により得られた画像を記憶メディア20に記録する(図12参照)。これにより、適切に赤目補正された好ましい画像のみを記録することができる。   This image recording process is the same as the image recording process (step S430) in the photographing apparatus 200 of the third embodiment. That is, an image obtained by photographing only for the red-eye corrected image is recorded in the storage medium 20 (see FIG. 12). As a result, it is possible to record only a preferable image that has been appropriately red-eye corrected.

このように、本実施の形態の撮影装置400では、フラッシュ撮影時に1回の撮影指示で通常フラッシュ撮影と赤目軽減フラッシュ撮影の2回のフラッシュ撮影を行い、各撮影画像について自動で赤目の検出・補正処理を実施し、赤目が補正された画像についてのみ記憶メディア20に記録する。これにより確実に赤目補正された画像のみを記録することができる。また、撮影指示からの間隔が開くこともないので、撮影者の意図する構図で被写体を撮影することができる。   As described above, the photographing apparatus 400 according to the present embodiment performs two flash photographings of normal flash photographing and red-eye reduction flash photographing in response to one photographing instruction at the time of flash photographing, and automatically detects red-eye for each photographed image. Correction processing is performed, and only the image whose red-eye is corrected is recorded in the storage medium 20. As a result, it is possible to record only an image that has been reliably corrected for red-eye. In addition, since the interval from the shooting instruction is not increased, the subject can be shot with the composition intended by the photographer.

なお、本実施の形態では、双方画像が赤目補正された場合、双方の画像を記憶メディア20に記録するようにしているが、記録前に液晶モニタ24に表示させ、個別に記録の要否をユーザに問い合わせるようにしてもよい。   In this embodiment, when both images are red-eye corrected, both images are recorded on the storage medium 20. However, before recording, the images are displayed on the liquid crystal monitor 24, and the necessity of recording individually is determined. The user may be inquired.

また、いずれの画像が赤目らしいかを判定し、赤目らしい画像の赤目補正後の画像データのみを記録するようにしてもよい(図13参照)。   Further, it may be determined which image is red-eyed and only the image data after red-eye correction of the red-eye-like image is recorded (see FIG. 13).

また、上記実施の形態においても、フラッシュ28をプリ発光させて、本撮影時のフラッシュ28の適正発光時間を求めているが、適正発光時間を算出する方法は、これに限定されるものではない。   Also in the above-described embodiment, the flash 28 is pre-flashed to obtain the appropriate flash time for the flash 28 at the time of actual shooting. However, the method for calculating the proper flash time is not limited to this. .

さらに、上記実施の形態では、フラッシュ撮影時に常に赤目軽減フラッシュ撮影と通常フラッシュ撮影の2回の撮影を行うようにしているが、スルー画の段階で顔が検出されなかった場合は、通常フラッシュ撮影を行い、スルー画の段階で顔が検出された場合にのみ赤目軽減フラッシュ撮影と通常フラッシュ撮影の2回の撮影を行うようにしてもよい。   Further, in the above-described embodiment, two shootings of red-eye reduction flash shooting and normal flash shooting are always performed at the time of flash shooting. However, if a face is not detected at the through image stage, normal flash shooting is performed. The red eye reduction flash photography and the normal flash photography may be performed only when a face is detected at the through image stage.

また、フラッシュモードとして、通常フラッシュ撮影のみを行う通常フラッシュ撮影モードと、赤目軽減フラッシュ撮影のみを行う赤目軽減フラッシュ撮影モードと、通常フラッシュ撮影と赤目軽減フラッシュ撮影の2回の撮影を行う2枚撮りモードを用意し、ユーザが適宜選択できるようにしてもよい。   In addition, as a flash mode, a normal flash shooting mode in which only normal flash shooting is performed, a red-eye reduction flash shooting mode in which only red-eye reduction flash shooting is performed, and double shooting in which normal flash shooting and red-eye reduction flash shooting are performed twice. A mode may be prepared so that the user can select as appropriate.

なお、上記一連の実施の形態では、本発明をデジタルカメラに適用した場合を例に説明したが、本発明の適用は、これに限定されるものではなく、フラッシュの撮影機能を備えた携帯電話機やビデオカメラ等にも同様に適用することができる。   In the series of embodiments described above, the case where the present invention is applied to a digital camera has been described as an example. However, the application of the present invention is not limited to this, and a mobile phone provided with a flash photographing function. It can be similarly applied to video cameras and video cameras.

また、上記一連の実施の形態の撮影装置では、実際のフラッシュ発光時間の算出処理や撮影感度の算出処理、撮影画像の記録判定処理、赤目の検出・補正処理、顔の検出処理等をハードウェア回路で実現しているが、ソフトウェアによって行うこともできる。   In addition, in the imaging apparatus according to the above-described series of embodiments, the actual flash emission time calculation processing, imaging sensitivity calculation processing, captured image recording determination processing, red-eye detection / correction processing, face detection processing, and the like are performed by hardware. Although it is realized by a circuit, it can also be performed by software.

第1の実施形態の撮影装置の概略構成を示すブロック図1 is a block diagram illustrating a schematic configuration of a photographing apparatus according to a first embodiment. 第1の実施の形態の撮影装置によるフラッシュ撮影時における処理手順を示すフローチャートThe flowchart which shows the process sequence at the time of flash imaging | photography with the imaging device of 1st Embodiment. 第1の実施の形態の撮影装置によるフラッシュ撮影時における撮影回数の設定処理の手順を示すフローチャートThe flowchart which shows the procedure of the setting process of the frequency | count of imaging | photography at the time of flash imaging | photography with the imaging device of 1st Embodiment. 第1の実施の形態の撮影装置によるフラッシュ撮影時における実際のフラッシュの発光時間の算出処理の手順を示すフローチャートThe flowchart which shows the procedure of the calculation process of the actual flash emission time at the time of flash photography with the imaging device of 1st Embodiment フラッシュ発光時間変換テーブルFlash emission time conversion table 第2の実施の形態の撮影装置の概略構成を示すブロック図The block diagram which shows schematic structure of the imaging device of 2nd Embodiment 第2の実施の形態の撮影装置によるフラッシュ撮影時における処理手順を示すフローチャートThe flowchart which shows the process sequence at the time of flash photography by the imaging device of 2nd Embodiment 第2の実施の形態の撮影装置によるフラッシュ撮影時における実際の撮影感度の算出処理の手順を示すフローチャートThe flowchart which shows the procedure of the calculation process of the actual imaging sensitivity at the time of flash imaging | photography with the imaging device of 2nd Embodiment. 第3の実施の形態の撮影装置の概略構成を示すブロック図The block diagram which shows schematic structure of the imaging device of 3rd Embodiment 第3実施の形態の撮影装置によるフラッシュ撮影時における処理手順を示すフローチャートThe flowchart which shows the process sequence at the time of flash imaging | photography with the imaging device of 3rd Embodiment. 第3の実施の形態の撮影装置によるフラッシュ撮影時における実際のフラッシュの発光時間の算出処理の手順を示すフローチャートThe flowchart which shows the procedure of the calculation process of the actual flash emission time at the time of flash imaging | photography with the imaging device of 3rd Embodiment. 第3の実施の形態の撮影装置によるフラッシュ撮影時における撮影画像の記録処理の手順を示すフローチャート9 is a flowchart showing a procedure of recorded image recording processing at the time of flash shooting by the imaging apparatus of the third embodiment. 最も赤目らしい画像のみを記録する場合の撮影画像の記録処理の手順を示すフローチャートFlow chart showing the procedure for recording a captured image when only the most red-eye image is recorded 第4の実施の形態の撮影装置の概略構成を示すブロック図The block diagram which shows schematic structure of the imaging device of 4th Embodiment 第4実施の形態の撮影装置によるフラッシュ撮影時における処理手順を示すフローチャートThe flowchart which shows the process sequence at the time of flash imaging | photography with the imaging device of 4th Embodiment. 第4の実施の形態の撮影装置によるフラッシュ撮影時における実際の撮影感度の算出処理の手順を示すフローチャートThe flowchart which shows the procedure of the calculation process of the actual imaging sensitivity at the time of flash imaging | photography with the imaging device of 4th Embodiment. 第5の実施の形態の撮影装置の概略構成を示すブロック図A block diagram showing a schematic configuration of a photographing apparatus according to a fifth embodiment 第5実施の形態の撮影装置によるフラッシュ撮影時における処理手順を示すフローチャートThe flowchart which shows the process sequence at the time of flash imaging | photography with the imaging device of 5th Embodiment.

符号の説明Explanation of symbols

10…撮影装置、12…撮影光学系、12z…ズームレンズ、12f…フォーカスレンズ、12i…アイリス絞り、12s…シャッタ、14…撮像素子、16…アナログ信号処理部、18…デジタル信号処理部、20…記憶メディア、22…操作部、24…液晶モニタ(LCD)、26…電源、28…フラッシュ、30…CPU、32…バス、34…フラッシュROM、36…SDRAM、38…レンズ駆動回路、40…タイミングジェネレータ(TG)、42…相関二重サンプリング回路(CDS)、44…オート・ゲイン・コントロール(AGC)回路、46…A/Dコンバータ、50…画像バッファ、52…YC処理回路、54…圧縮・伸張処理回路、56…メディアコントローラ、58…AE検出回路、60…AF検出回路、62…顔検出回路、64…赤目検出・補正回路、68…フラッシュ発光時間算出回路、70…エンコーダ、72…LCD駆動回路、74…フラッシュ発光制御回路、100…撮影装置、102…撮影感度算出回路、200…撮影装置、202…画像記録判定回路、300…撮影装置、302…画像記録判定回路、400…撮影装置、402…画像記録判定回路   DESCRIPTION OF SYMBOLS 10 ... Imaging device, 12 ... Imaging optical system, 12z ... Zoom lens, 12f ... Focus lens, 12i ... Iris diaphragm, 12s ... Shutter, 14 ... Image sensor, 16 ... Analog signal processing part, 18 ... Digital signal processing part, 20 DESCRIPTION OF SYMBOLS ... Storage medium, 22 ... Operation part, 24 ... Liquid crystal monitor (LCD), 26 ... Power supply, 28 ... Flash, 30 ... CPU, 32 ... Bus, 34 ... Flash ROM, 36 ... SDRAM, 38 ... Lens drive circuit, 40 ... Timing generator (TG), 42 ... correlated double sampling circuit (CDS), 44 ... auto gain control (AGC) circuit, 46 ... A / D converter, 50 ... image buffer, 52 ... YC processing circuit, 54 ... compression Decompression processing circuit 56 ... Media controller 58 ... AE detection circuit 60 ... AF detection circuit 62 ... Detection circuit, 64 ... Red-eye detection / correction circuit, 68 ... Flash emission time calculation circuit, 70 ... Encoder, 72 ... LCD drive circuit, 74 ... Flash emission control circuit, 100 ... Shooting device, 102 ... Shooting sensitivity calculation circuit, 200 ... Imaging device 202 ... Image recording determination circuit 300 ... Imaging device 302 ... Image recording determination circuit 400 ... Imaging device 402 ... Image recording determination circuit

Claims (30)

本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影方法において、
所定の差分ステップでフラッシュの発光量を適正発光量から段階的に減少させて複数回本撮影することを特徴とする撮影方法。
When shooting with the flash fired during the main shooting, obtain the appropriate flash amount for the main shooting in advance,
An image-taking method characterized in that the main flash is taken a plurality of times by gradually reducing the flash light emission amount from the appropriate light emission amount at a predetermined difference step.
本撮影前に画像を撮影し、得られた画像から被写体の顔を検出し、被写体の顔が検出された場合にのみ、フラッシュの発光量を適正発光量から段階的に減少させて複数回本撮影することを特徴とする請求項1に記載の撮影方法。   Take an image before the actual shooting, detect the subject's face from the obtained image, and only when the subject's face is detected, decrease the flash emission amount from the appropriate emission amount step by step. The photographing method according to claim 1, wherein photographing is performed. 前記差分ステップは、調光結果に基づいて求めることを特徴とする請求項1又は2に記載の撮影方法。   The imaging method according to claim 1, wherein the difference step is obtained based on a dimming result. 本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影方法において、
所定の差分ステップで撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフトさせて複数回本撮影することを特徴とする撮影方法。
When shooting with the flash fired during the main shooting, obtain the appropriate flash amount for the main shooting in advance,
An imaging method characterized in that at least one of imaging sensitivity or imaging aperture is shifted gradually from the appropriate imaging sensitivity or imaging aperture to the under side in a predetermined difference step to perform multiple imaging.
本撮影前に画像を撮影し、得られた画像から被写体の顔を検出し、被写体の顔が検出された場合にのみ、撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフトさせて複数回本撮影することを特徴とする請求項4に記載の撮影方法。   Take an image before the actual shooting, detect the subject's face from the obtained image, and only if the subject's face is detected, at least one of the shooting sensitivity or the shooting aperture is changed from the appropriate shooting sensitivity or the appropriate shooting aperture 5. The photographing method according to claim 4, wherein the main photographing is performed a plurality of times while shifting to the under side. 前記差分ステップは、調光結果に基づいて求めることを特徴とする請求項4又は5に記載の撮影方法。   6. The photographing method according to claim 4, wherein the difference step is obtained based on a dimming result. 本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影方法において、
所定の差分ステップでフラッシュの発光量を適正発光量から段階的に増加させて複数回本撮影し、
本撮影により得られた各画像から赤目を検出し、
赤目が検出された画像に対して画像処理により赤目補正することを特徴とする撮影方法。
When shooting with the flash fired during the main shooting, obtain the appropriate flash amount for the main shooting in advance,
In a predetermined difference step, the flash emission level is gradually increased from the appropriate flash emission level, and multiple shots are taken.
Detect red eyes from each image obtained by this shooting,
An imaging method, wherein red-eye correction is performed by image processing on an image in which red-eye is detected.
本撮影により得られた各画像から被写体の顔を検出し、
被写体の顔が検出された画像については、赤目補正した画像のみを記録することを特徴とする請求項7に記載の撮影方法。
Detect the face of the subject from each image obtained by the actual shooting,
8. The photographing method according to claim 7, wherein only the red-eye corrected image is recorded for the image in which the face of the subject is detected.
赤目が検出された画像について赤目らしさの評価値を求め、赤目補正された画像がある場合は、最も評価値が高い画像のみを記録することを特徴とする請求項7に記載の撮影方法。   The photographing method according to claim 7, wherein an evaluation value of redness is obtained for an image in which red-eye is detected, and if there is an image corrected for red-eye, only an image having the highest evaluation value is recorded. 本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影方法において、
所定の差分ステップで撮影感度又は撮影絞りの少なくとも一方を適正撮影感度又は適正撮影絞りから段階的にオーバー側にシフトさせて複数回本撮影し、
本撮影により得られた各画像から赤目を検出し、
赤目が検出された画像に対して画像処理により赤目補正することを特徴とする撮影方法。
When shooting with the flash fired during the main shooting, obtain the appropriate flash amount for the main shooting in advance,
At least one of the shooting sensitivity or shooting aperture is shifted from the appropriate shooting sensitivity or shooting aperture to the over side step by step in a predetermined difference step, and multiple shots are taken.
Detect red eyes from each image obtained by this shooting,
An imaging method, wherein red-eye correction is performed by image processing on an image in which red-eye is detected.
本撮影により得られた各画像から被写体の顔を検出し、
被写体の顔が検出された画像については、赤目補正した画像のみを記録することを特徴とする請求項10に記載の撮影方法。
Detect the face of the subject from each image obtained by the actual shooting,
The image capturing method according to claim 10, wherein only the red-eye corrected image is recorded for the image in which the face of the subject is detected.
赤目が検出された画像について赤目らしさの評価値を求め、赤目補正された画像がある場合は、最も評価値が高い画像のみを記録することを特徴とする請求項10に記載の撮影方法。   The photographing method according to claim 10, wherein an evaluation value of redness is obtained for an image in which red-eye is detected, and if there is an image corrected for red-eye, only an image having the highest evaluation value is recorded. フラッシュを発光させて撮影する撮影方法において、
1回の撮影指示で、撮影直前にフラッシュをプリ発光させてフラッシュ撮影する赤目軽減フラッシュ撮影と、撮影直前にフラッシュをプリ発光させないでフラッシュ撮影する通常フラッシュ撮影の2回の撮影を実施し、
撮影により得られた各画像から赤目を検出し、
赤目が検出された画像に対して画像処理により赤目補正することを特徴とする撮影方法。
In the shooting method of shooting with the flash fired,
With one shooting instruction, two shootings were performed: red-eye reduction flash shooting with flash pre-flash just before shooting, and normal flash shooting without flash pre-flash immediately before shooting,
Detect red eyes from each image obtained by shooting,
An imaging method, wherein red-eye correction is performed by image processing on an image in which red-eye is detected.
撮影により得られた各画像から被写体の顔を検出し、
被写体の顔が検出された画像については、赤目補正した画像のみを記録することを特徴とする請求項13に記載の撮影方法。
Detect the face of the subject from each image obtained by shooting,
14. The photographing method according to claim 13, wherein only the red-eye corrected image is recorded for the image in which the face of the subject is detected.
赤目が検出された画像について赤目らしさの評価値を求め、赤目補正された画像がある場合は、最も評価値が高い画像のみを記録することを特徴とする請求項13に記載の撮影方法。   The photographing method according to claim 13, wherein an evaluation value of redness is obtained for an image in which red-eye is detected, and if there is an image corrected for red-eye, only an image having the highest evaluation value is recorded. 本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影装置において、
1回の撮影指示でフラッシュの発光量を変えた本撮影の処理を複数回実行する撮影制御手段と、
所定の差分ステップでフラッシュの発光量が適正発光量から段階的に減少するように各回のフラッシュの発光量を設定するフラッシュ発光量設定手段と、
を備えたことを特徴とする撮影装置。
When shooting with the flash fired at the time of actual shooting, obtain the appropriate flash intensity for the actual shooting in advance,
Shooting control means for executing a plurality of times of main shooting processing in which the flash emission amount is changed by one shooting instruction;
A flash light emission amount setting means for setting the light emission amount of each flash so that the light emission amount of the flash gradually decreases from the appropriate light emission amount in a predetermined difference step;
An imaging apparatus comprising:
撮影により得られた画像から被写体の顔を検出する顔検出手段を備え、前記撮影制御手段は、本撮影前に撮影された画像から前記顔検出手段で被写体の顔が検出された場合にのみ、フラッシュの発光量を変えた本撮影の処理を複数回実行することを特徴とする請求項16に記載の撮影装置。   Face detection means for detecting the face of the subject from the image obtained by shooting, and the shooting control means, only when the face of the subject is detected by the face detection means from the image shot before the main shooting, The photographing apparatus according to claim 16, wherein the main photographing process with the flash emission amount changed is executed a plurality of times. 調光結果に基づいて前記差分ステップを算出する差分ステップ算出手段を備えたことを特徴とする請求項16又は17に記載の撮影装置。   18. The photographing apparatus according to claim 16 or 17, further comprising difference step calculation means for calculating the difference step based on a dimming result. 本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影装置において、
1回の撮影指示で撮影感度又は撮影絞りの少なくとも一方を変えた本撮影の処理を複数回実行する撮影制御手段と、
所定の差分ステップで撮影感度又は撮影絞りの少なくとも一方が適正撮影感度又は適正撮影絞りから段階的にアンダー側にシフトするように各回の撮影感度又は撮影絞りを設定する設定手段と、
を備えたことを特徴とする撮影装置。
When shooting with the flash fired at the time of actual shooting, obtain the appropriate flash intensity for the actual shooting in advance,
Photographing control means for executing a plurality of times of main photographing processing in which at least one of photographing sensitivity or photographing aperture is changed by one photographing instruction;
Setting means for setting the shooting sensitivity or the shooting aperture for each time so that at least one of the shooting sensitivity or the shooting aperture is shifted gradually from the appropriate shooting sensitivity or the appropriate shooting aperture to the under side in a predetermined difference step;
An imaging apparatus comprising:
撮影により得られた画像から被写体の顔を検出する顔検出手段を備え、前記撮影制御手段は、本撮影前に撮影された画像から前記顔検出手段で被写体の顔が検出された場合にのみ、撮影感度又は撮影絞りの少なくとも一方を変えた本撮影の処理を複数回実行することを特徴とする請求項19に記載の撮影装置。   Face detection means for detecting the face of the subject from the image obtained by shooting, and the shooting control means, only when the face of the subject is detected by the face detection means from the image shot before the main shooting, 20. The photographing apparatus according to claim 19, wherein the main photographing process in which at least one of photographing sensitivity and photographing diaphragm is changed is executed a plurality of times. 調光結果に基づいて前記差分ステップを算出する差分ステップ算出手段を備えたことを特徴とする請求項19又は20に記載の撮影装置。   21. The photographing apparatus according to claim 19 or 20, further comprising difference step calculation means for calculating the difference step based on a dimming result. 本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影装置において、
1回の撮影指示でフラッシュの発光量を変えた本撮影の処理を複数回実行する撮影制御手段と、
所定の差分ステップでフラッシュの発光量が適正発光量から段階的に増加するように各回のフラッシュの発光量を設定するフラッシュ発光量設定手段と、
撮影により得られた画像から赤目を検出する赤目検出手段と、
前記赤目検出手段で赤目が検出された画像に対して画像処理により赤目補正する赤目補正手段と、
を備えたこと特徴とする撮影装置。
When shooting with the flash fired at the time of actual shooting, obtain the appropriate flash intensity for the actual shooting in advance,
Shooting control means for executing a plurality of times of main shooting processing in which the flash emission amount is changed by one shooting instruction;
A flash light emission amount setting means for setting the light emission amount of each flash so that the flash light emission amount gradually increases from the appropriate light emission amount in a predetermined difference step;
Red-eye detecting means for detecting red eyes from an image obtained by photographing;
Red-eye correction means for correcting red-eye by image processing on an image in which red-eye is detected by the red-eye detection means;
An imaging apparatus comprising:
撮影により得られた画像から被写体の顔を検出する顔検出手段と、
前記顔検出手段で被写体の顔が検出された画像について、前記赤目検出手段で赤目補正された画像のみを記録する記録制御手段と、
を備えたことを特徴とする請求項22に記載の撮影装置。
Face detection means for detecting the face of the subject from an image obtained by shooting;
A recording control means for recording only an image in which the face of the subject is detected by the face detection means, and an image whose red eye is corrected by the red eye detection means;
The photographing apparatus according to claim 22, further comprising:
前記赤目検出手段で赤目が検出された画像について赤目らしさの評価値を算出する評価値算出手段と、
前記赤目補正手段で赤目補正された画像がある場合に最も評価値が高い画像のみを記録する記録制御手段と、
を備えたことを特徴とする請求項22に記載の撮影装置。
Evaluation value calculation means for calculating an evaluation value of redness likeness for an image in which red eyes are detected by the red eye detection means;
A recording control means for recording only an image having the highest evaluation value when there is an image that has been red-eye corrected by the red-eye correction means;
The photographing apparatus according to claim 22, further comprising:
本撮影時にフラッシュを発光させて撮影する場合に事前に本撮影時におけるフラッシュの適正発光量を求め、求めた適正発光量でフラッシュを発光させて本撮影する撮影装置において、
1回の撮影指示で撮影感度又は撮影絞りの少なくとも一方を変えた本撮影の処理を複数回実行する撮影制御手段と、
所定の差分ステップで撮影感度又は撮影絞りの少なくとも一方が適正撮影感度又は撮影絞りから段階的にオーバー側にシフトするように各回の撮影感度又は撮影絞りを設定する設定手段と、
撮影により得られた画像から赤目を検出する赤目検出手段と、
前記赤目検出手段で赤目が検出された画像に対して画像処理により赤目補正する赤目補正手段と、
を備えたこと特徴とする撮影装置。
When shooting with the flash fired at the time of actual shooting, obtain the appropriate flash intensity for the actual shooting in advance,
Photographing control means for executing a plurality of times of main photographing processing in which at least one of photographing sensitivity or photographing aperture is changed by one photographing instruction;
A setting means for setting the photographing sensitivity or the photographing aperture of each time so that at least one of the photographing sensitivity or the photographing aperture is gradually shifted to the over side from the appropriate photographing sensitivity or the photographing aperture in a predetermined difference step;
Red-eye detecting means for detecting red eyes from an image obtained by photographing;
Red-eye correction means for correcting red-eye by image processing on an image in which red-eye is detected by the red-eye detection means;
An imaging apparatus comprising:
撮影により得られた画像から被写体の顔を検出する顔検出手段と、
前記顔検出手段で被写体の顔が検出された画像について、前記赤目検出手段で赤目補正された画像のみを記録する記録制御手段と、
を備えたことを特徴とする請求項25に記載の撮影装置。
Face detection means for detecting the face of the subject from an image obtained by shooting;
A recording control means for recording only an image in which the face of the subject is detected by the face detection means, and an image whose red eye is corrected by the red eye detection means;
26. The photographing apparatus according to claim 25, comprising:
前記赤目検出手段で赤目が検出された画像について赤目らしさの評価値を算出する評価値算出手段と、
前記赤目補正手段で赤目補正された画像がある場合に最も評価値が高い画像のみを記録する記録制御手段と、
を備えたことを特徴とする請求項25に記載の撮影装置。
Evaluation value calculation means for calculating an evaluation value of redness likeness for an image in which red eyes are detected by the red eye detection means;
A recording control means for recording only an image having the highest evaluation value when there is an image that has been red-eye corrected by the red-eye correction means;
26. The photographing apparatus according to claim 25, comprising:
フラッシュを発光させて撮影する撮影装置において、
1回の撮影指示で、撮影直前にフラッシュをプリ発光させてフラッシュ撮影する赤目軽減フラッシュ撮影と、撮影直前にフラッシュをプリ発光させないでフラッシュ撮影する通常フラッシュ撮影の2回の撮影を実施する撮影制御手段と、
撮影により得られた各画像から赤目を検出する赤目検出手段と、
前記赤目検出手段で赤目が検出された画像に対して画像処理により赤目補正する赤目補正手段と、
を備えたことを特徴とする撮影装置。
In an imaging device that shoots with a flash,
Shooting control that performs two shootings: red-eye reduction flash shooting with flash pre-flash just before shooting and normal flash shooting without flash pre-flash just before shooting with one shooting instruction Means,
Red-eye detection means for detecting red eyes from each image obtained by photographing;
Red-eye correction means for correcting red-eye by image processing on an image in which red-eye is detected by the red-eye detection means;
An imaging apparatus comprising:
撮影により得られた画像から被写体の顔を検出する顔検出手段と、
前記顔検出手段で被写体の顔が検出された画像について、前記赤目検出手段で赤目補正された画像のみを記録する記録制御手段と、
を備えたことを特徴とする請求項28に記載の撮影装置。
Face detection means for detecting the face of the subject from an image obtained by shooting;
A recording control means for recording only an image in which the face of the subject is detected by the face detection means, and an image whose red eye is corrected by the red eye detection means;
29. The photographing apparatus according to claim 28, comprising:
前記赤目検出手段で赤目が検出された画像について赤目らしさの評価値を算出する評価値算出手段と、
前記赤目補正手段で赤目補正された画像がある場合に最も評価値が高い画像のみを記録する記録制御手段と、
を備えたことを特徴とする請求項28に記載の撮影装置。
Evaluation value calculation means for calculating an evaluation value of redness likeness for an image in which red eyes are detected by the red eye detection means;
A recording control means for recording only an image having the highest evaluation value when there is an image that has been red-eye corrected by the red-eye correction means;
29. The photographing apparatus according to claim 28, comprising:
JP2007159427A 2007-06-15 2007-06-15 Photographing method and apparatus Abandoned JP2008312057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007159427A JP2008312057A (en) 2007-06-15 2007-06-15 Photographing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007159427A JP2008312057A (en) 2007-06-15 2007-06-15 Photographing method and apparatus

Publications (1)

Publication Number Publication Date
JP2008312057A true JP2008312057A (en) 2008-12-25

Family

ID=40239227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007159427A Abandoned JP2008312057A (en) 2007-06-15 2007-06-15 Photographing method and apparatus

Country Status (1)

Country Link
JP (1) JP2008312057A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014096836A (en) * 2014-01-08 2014-05-22 Nikon Corp Digital camera
JP2015110052A (en) * 2015-02-19 2015-06-18 株式会社ユニバーサルエンターテインメント Game device

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0329930A (en) * 1989-06-27 1991-02-07 Minolta Camera Co Ltd Camera system
JPH03168621A (en) * 1989-11-28 1991-07-22 Minolta Camera Co Ltd Camera system
JP2000075364A (en) * 1998-08-27 2000-03-14 Canon Inc Camera system
JP2001222049A (en) * 2000-02-10 2001-08-17 Fuji Photo Film Co Ltd Image pickup unit, method of image pickup control, and recording medium readable by computer
JP2001324751A (en) * 2000-05-16 2001-11-22 Canon Inc Image pickup device and set value display method therefor
JP2003107567A (en) * 2001-09-28 2003-04-09 Ricoh Co Ltd Image pickup device, electronic flash control method, and program making computer implement the same method
JP2004320284A (en) * 2003-04-15 2004-11-11 Nikon Gijutsu Kobo:Kk Digital camera
JP2005039715A (en) * 2003-07-18 2005-02-10 Pentax Corp Digital camera having red-eye reducing bracket photographing mode
JP2005065079A (en) * 2003-08-19 2005-03-10 Fuji Photo Film Co Ltd Camera
JP2005086271A (en) * 2003-09-04 2005-03-31 Nikon Corp Electronic camera
JP2005130213A (en) * 2003-10-23 2005-05-19 Canon Inc Electronic camera
JP2005210288A (en) * 2004-01-21 2005-08-04 Fuji Photo Film Co Ltd Imaging device and method, and program
JP2005221578A (en) * 2004-02-03 2005-08-18 Canon Inc Imaging apparatus, control method thereof, program and storage medium
JP2006126814A (en) * 2004-09-29 2006-05-18 Casio Comput Co Ltd Imaging apparatus, its control method and control program
JP2006148272A (en) * 2004-11-17 2006-06-08 Sanyo Electric Co Ltd Electronic camera
JP2006350558A (en) * 2005-06-14 2006-12-28 Canon Inc Image processor and its method
JP2007067934A (en) * 2005-08-31 2007-03-15 Canon Inc Imaging apparatus and its control method

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0329930A (en) * 1989-06-27 1991-02-07 Minolta Camera Co Ltd Camera system
JPH03168621A (en) * 1989-11-28 1991-07-22 Minolta Camera Co Ltd Camera system
JP2000075364A (en) * 1998-08-27 2000-03-14 Canon Inc Camera system
JP2001222049A (en) * 2000-02-10 2001-08-17 Fuji Photo Film Co Ltd Image pickup unit, method of image pickup control, and recording medium readable by computer
JP2001324751A (en) * 2000-05-16 2001-11-22 Canon Inc Image pickup device and set value display method therefor
JP2003107567A (en) * 2001-09-28 2003-04-09 Ricoh Co Ltd Image pickup device, electronic flash control method, and program making computer implement the same method
JP2004320284A (en) * 2003-04-15 2004-11-11 Nikon Gijutsu Kobo:Kk Digital camera
JP2005039715A (en) * 2003-07-18 2005-02-10 Pentax Corp Digital camera having red-eye reducing bracket photographing mode
JP2005065079A (en) * 2003-08-19 2005-03-10 Fuji Photo Film Co Ltd Camera
JP2005086271A (en) * 2003-09-04 2005-03-31 Nikon Corp Electronic camera
JP2005130213A (en) * 2003-10-23 2005-05-19 Canon Inc Electronic camera
JP2005210288A (en) * 2004-01-21 2005-08-04 Fuji Photo Film Co Ltd Imaging device and method, and program
JP2005221578A (en) * 2004-02-03 2005-08-18 Canon Inc Imaging apparatus, control method thereof, program and storage medium
JP2006126814A (en) * 2004-09-29 2006-05-18 Casio Comput Co Ltd Imaging apparatus, its control method and control program
JP2006148272A (en) * 2004-11-17 2006-06-08 Sanyo Electric Co Ltd Electronic camera
JP2006350558A (en) * 2005-06-14 2006-12-28 Canon Inc Image processor and its method
JP2007067934A (en) * 2005-08-31 2007-03-15 Canon Inc Imaging apparatus and its control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014096836A (en) * 2014-01-08 2014-05-22 Nikon Corp Digital camera
JP2015110052A (en) * 2015-02-19 2015-06-18 株式会社ユニバーサルエンターテインメント Game device

Similar Documents

Publication Publication Date Title
US8199203B2 (en) Imaging apparatus and imaging method with face detection based on scene recognition results
US8106995B2 (en) Image-taking method and apparatus
US7893969B2 (en) System for and method of controlling a parameter used for detecting an objective body in an image and computer program
JP4761066B2 (en) White balance correction method and imaging apparatus
TWI423664B (en) Imaging apparatus and exposure control method
JP4615458B2 (en) Exposure control method and imaging apparatus
JP4542058B2 (en) Imaging apparatus and imaging method
US20040061796A1 (en) Image capturing apparatus
US8237854B2 (en) Flash emission method and flash emission apparatus
JP5306628B2 (en) Imaging method and apparatus
US9071766B2 (en) Image capturing apparatus and control method thereof
JP6284408B2 (en) Image processing apparatus, imaging apparatus, determination method, driving method, imaging method, and program
JP2003324656A (en) Imaging device and imaging method, recording medium, and program
JP2002223387A (en) Imaging unit
JP5048599B2 (en) Imaging device
US9922410B2 (en) Image processing apparatus and image processing method
JP4285668B2 (en) Imaging apparatus, exposure control method thereof, and recording medium
JP2006127489A (en) Imaging device, image-processing device, method for controlling imaging device, and program for making computer execute the same
JP2008312057A (en) Photographing method and apparatus
JP2009033386A (en) Photographing device and method
JP2015050733A (en) Exposure control apparatus, exposure control method, control program, and imaging apparatus
JP6300514B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP4789776B2 (en) Imaging apparatus and imaging method
JP5448391B2 (en) Imaging apparatus and red-eye correction method
JP2001136546A (en) Electronic camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110714

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110719

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20110914