JP2014096836A - Digital camera - Google Patents

Digital camera Download PDF

Info

Publication number
JP2014096836A
JP2014096836A JP2014002045A JP2014002045A JP2014096836A JP 2014096836 A JP2014096836 A JP 2014096836A JP 2014002045 A JP2014002045 A JP 2014002045A JP 2014002045 A JP2014002045 A JP 2014002045A JP 2014096836 A JP2014096836 A JP 2014096836A
Authority
JP
Japan
Prior art keywords
image
face
digital camera
correction
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014002045A
Other languages
Japanese (ja)
Inventor
Toshiyuki Nakamura
敏行 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2014002045A priority Critical patent/JP2014096836A/en
Publication of JP2014096836A publication Critical patent/JP2014096836A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a preferable image which has sufficient operability, in which possibility of occurrence of release time lag is eliminated and to which image processing is applied.SOLUTION: A digital camera includes: an imaging section for acquiring an image; a correction section for performing prescribed correction on the image acquired by the imaging section; a face detection section for detecting a face of a subject from the image which the imaging section acquires: a determining section for determining whether a state of the face which the face detection section detects satisfies a prescribed condition or not; and a control section for performing control the correction section to carry out the prescribed correction on the image where the state of the face is determined to satisfy the prescribed condition by the determining section and to accept an instruction whether the correction section performs the prescribed correction or not from a user on the image where the state of the face is determined not to satisfy the prescribed condition by the determining section.

Description

本発明は、画像を取得するデジタルカメラに関する。   The present invention relates to a digital camera that acquires an image.

従来から、好ましい画像を得る方法として、人物を撮影した撮影画像の中から人物部分を抽出し、その人物の撮影状態が悪い場合に、連続撮影を行うデジタルカメラが知られている(特許文献1など)。   2. Description of the Related Art Conventionally, as a method for obtaining a preferable image, a digital camera that extracts a person part from a photographed image of a person and performs continuous photographing when the photographing state of the person is bad is known (Patent Document 1). Such).

また、この他に、撮影により得た画像に対して画像処理を施すことにより、好ましい画像を生成するデジタルカメラが知られている。例えば、下記の非特許文献1のデジタルカメラは、画像中に含まれる人物の顔を自動的に認識し、認識した顔が美しい印象の顔となるように、撮影時の露出条件を調整したり、撮影により得た画像に対して画像処理を施すメイクアップ機能を有している。   In addition, a digital camera that generates a preferable image by performing image processing on an image obtained by photographing is known. For example, the following digital camera of Non-Patent Document 1 automatically recognizes the face of a person included in an image, and adjusts the exposure conditions at the time of shooting so that the recognized face has a beautiful impression. And a makeup function for performing image processing on an image obtained by photographing.

特開2005−045601号公報JP 2005-045601 A

カシオ計算機株式会社 EXILIM ZOOM EX−Z300取扱説明書Casio Computer Co., Ltd. EXILIM ZOOM EX-Z300 Instruction Manual

ところが、特許文献1のデジタルカメラでは、ユーザがシャッターボタンを操作するタイミングと、連続撮影で実際に画像が得られるタイミングとが異なるため、必ずしも所望のタイミングで画像を撮影できない。   However, in the digital camera of Patent Document 1, the timing at which the user operates the shutter button is different from the timing at which an image is actually obtained by continuous shooting, and thus it is not always possible to capture an image at a desired timing.

また、非特許文献1のデジタルカメラにおいては、撮影により得た画像にメイクアップ機能を適用するか否かを予めユーザが設定し、設定に応じてメイクアップ機能を適用する。そのため、操作が煩雑になるという問題点があった。この問題を回避するために、上記の設定なしに、撮影により得た画像に常にメイクアップ機能を適用することが考えられる。しかし、メイクアップのための画像処理に数秒(約3秒程度)かかるため、画像を続けて撮影したいときに速写性、応答性が劣るという問題点があった。   In the digital camera disclosed in Non-Patent Document 1, the user sets in advance whether to apply the makeup function to an image obtained by shooting, and the makeup function is applied according to the setting. Therefore, there is a problem that the operation becomes complicated. In order to avoid this problem, it is conceivable to always apply a makeup function to an image obtained by shooting without the above setting. However, since image processing for make-up takes several seconds (about 3 seconds), there is a problem in that rapid photographing and responsiveness are poor when it is desired to continuously photograph images.

そこで、本発明のデジタルカメラ1は、操作性が良く、レリーズタイムラグが発生するおそれを減らすとともに、画像処理を適用した好ましい画像を取得することを目的とする。   Therefore, the digital camera 1 of the present invention aims to obtain a preferable image that has good operability, reduces the possibility of a release time lag, and applies image processing.

本発明のデジタルカメラは、画像を取得する撮像部と、前記撮像部により取得された画像に対して所定の補正を行う補正部と、前記撮像部により取得された画像から被写体の顔を検出する顔検出部と、前記顔検出部により検出された前記顔の状態が所定の条件を満たすか否かを判定する判定部と、前記判定部によって前記顔の状態が前記所定の条件を満たしていると判定された画像については、前記補正部が前記所定の補正を行うよう制御し、前記判定部によって前記顔の状態が所定の条件を満たしていないと判定された画像については、前記補正部が前記所定の補正を行うか否かについてユーザからの指示を受付けるよう制御する制御部と、を備えることを特徴とする。   The digital camera of the present invention detects an object's face from an image capturing unit that acquires an image, a correction unit that performs a predetermined correction on the image acquired by the image capturing unit, and the image acquired by the image capturing unit. A face detection unit; a determination unit that determines whether or not the state of the face detected by the face detection unit satisfies a predetermined condition; and the state of the face satisfies the predetermined condition by the determination unit The correction unit controls the correction unit to perform the predetermined correction, and for the image determined by the determination unit that the face state does not satisfy the predetermined condition, the correction unit A control unit that controls to accept an instruction from a user as to whether or not to perform the predetermined correction.

本発明のデジタルカメラによれば、操作性が良く、レリーズタイムラグが発生するおそれを減らすとともに、画像処理を適用した好ましい画像を取得することができる。   According to the digital camera of the present invention, the operability is good, the possibility of a release time lag being reduced, and a preferable image to which image processing is applied can be acquired.

本発明の実施形態におけるデジタルカメラ1の構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera 1 in embodiment of this invention. デジタルカメラ1における撮像時の動作を示すフローチャートである。4 is a flowchart illustrating an operation at the time of image capturing in the digital camera 1. 被写体に目つぶりがある画像の例、目つぶりがない画像の例を示す図である。It is a figure which shows the example of an image with a subject's blink, and the example of an image without a blink. 再生時の表示部8の例を示す図である。It is a figure which shows the example of the display part 8 at the time of reproduction | regeneration.

以下、図面を用いて本発明の実施形態について説明する。図1は、本発明の実施形態におけるデジタルカメラ1の構成を示すブロック図である。図1に示すように、デジタルカメラ1は、撮像レンズ2、撮像素子3、A/D変換部4、バッファメモリ5、画像処理部6、制御部7、表示部8、操作部9、記録I/F部10、記録媒体11、バス12を備える。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a digital camera 1 according to an embodiment of the present invention. As shown in FIG. 1, the digital camera 1 includes an imaging lens 2, an imaging device 3, an A / D conversion unit 4, a buffer memory 5, an image processing unit 6, a control unit 7, a display unit 8, an operation unit 9, and a recording I. / F unit 10, recording medium 11, and bus 12.

撮像レンズ2は、撮像素子3の撮像面に被写体像を結像する。なお、撮像レンズ2は、ズームレンズやフォーカスレンズ等の複数のレンズからなる撮像光学系であっても良い。撮像素子3は、撮像レンズ2を通過した被写体光を光電変換し、R、G、Bの各色に対応するアナログ画像信号を出力する。撮像素子3は、撮像待機時、所定間隔ごとに間引き読み出しを行い、スルー画像を取得する。その後、撮像素子3は、後述するレリーズ釦15が全押しされると本画像を取得する。   The imaging lens 2 forms a subject image on the imaging surface of the imaging element 3. The imaging lens 2 may be an imaging optical system including a plurality of lenses such as a zoom lens and a focus lens. The imaging element 3 photoelectrically converts the subject light that has passed through the imaging lens 2 and outputs analog image signals corresponding to R, G, and B colors. The imaging device 3 performs thinning-out reading at predetermined intervals during imaging standby and acquires a through image. Thereafter, the image sensor 3 acquires the main image when a release button 15 described later is fully pressed.

撮像素子3から出力される画像信号は、A/D変換部4に入力される。A/D変換部4は、撮像素子3から出力されるアナログの画像信号をA/D変換し、デジタルの画像信号に変更する。なお、このデジタルの画像信号は、1コマにまとめられ、画像データとしてバッファメモリ5に記録される。バッファメモリ5は、画像処理部6による画像処理の前工程や後工程で画像データを一時的に記録する。   An image signal output from the image sensor 3 is input to the A / D converter 4. The A / D conversion unit 4 performs A / D conversion on the analog image signal output from the image sensor 3 and changes it to a digital image signal. The digital image signals are collected into one frame and recorded in the buffer memory 5 as image data. The buffer memory 5 temporarily records image data in the pre-process and post-process of image processing by the image processing unit 6.

画像処理部6は、バッファメモリ5に記録された画像データに対して画像処理を施す。なお、この画像処理としては、周知のホワイトバランス調整、色補間、階調変換処理、輪郭強調処理等が挙げられる。また、画像処理部6は、記録媒体11に画像ファイルを記録する前にJPEG(Joint Photographic Experts Group)形式等で圧縮する処理や、圧縮された上記のデータを伸長復元する処理をも実行する。   The image processing unit 6 performs image processing on the image data recorded in the buffer memory 5. Examples of the image processing include well-known white balance adjustment, color interpolation, gradation conversion processing, and contour enhancement processing. The image processing unit 6 also executes a process of compressing in JPEG (Joint Photographic Experts Group) format or the like before recording an image file on the recording medium 11 and a process of decompressing and restoring the compressed data.

また、画像処理部6は、美肌処理を行う。この美肌処理は、本画像に対して施される画像処理であり、以下に示す処理が挙げられる。   The image processing unit 6 performs skin beautification processing. This skin beautification process is an image process performed on the main image, and includes the following processes.

画像処理部6は、例えば、画像の露出をオーバー側に補正する露出補正を行う。これにより、被写体の肌が白く表現された好ましい画像を得ることができる。   For example, the image processing unit 6 performs exposure correction for correcting the exposure of the image to the over side. Thereby, a preferable image in which the skin of the subject is expressed white can be obtained.

また、画像処理部6は、ソフトフォーカス処理を行う。これにより、被写体が女性である場合、女性らしさが強調されるとともに、柔らかみのある好ましい画像を得ることができる。また、被写体のしわや肌荒れ等が目立ちにくい好ましい画像を得ることができる。   The image processing unit 6 performs soft focus processing. Thereby, when a subject is a woman, while femininity is emphasized, a preferable image with softness can be obtained. In addition, it is possible to obtain a preferable image in which wrinkles and rough skin of the subject are not noticeable.

また、画像処理部6は、彩度や明度のパラメータを補正することにより、肌を白く表現したり、肌色のくすみ等を軽減しても良い。   In addition, the image processing unit 6 may correct the parameters of saturation and lightness to express the skin white or reduce the dullness of the skin color.

また、画像処理部6は、画像に含まれる人物を痩身に見せる補正を行う。例えば、画像処理部6は、画像の縦横比を若干縦長に変更した後、人物の部分を切り出し、画像の大きさを調整する。或いは画像処理部6は、特開2004−264893号公報のように、顔の輪郭を補正して頬を細く見せるようにしても良い。   Further, the image processing unit 6 performs correction to make the person included in the image look slim. For example, the image processing unit 6 changes the aspect ratio of the image to be slightly long and then cuts out a person portion and adjusts the size of the image. Alternatively, the image processing unit 6 may correct the outline of the face and make the cheek look thin as disclosed in Japanese Patent Application Laid-Open No. 2004-264893.

また、画像処理部6は、顔における特徴部分(眉、目、口等)の調整を行う。例えば、画像処理部6は、目の部分を大きくする補正や鼻の幅を狭くする補正などを行う。また、画像処理部6は、特徴部分の色を補正する。例えば、画像処理部6は上瞼の色に青味を増す色補正や、頬の色に赤味を増す色補正を行う。これにより、アイシャドーや頬紅のようなポイントメイクアップの効果が得られるため、被写体となる女性の見栄えを良くすることができる。また、画像処理部6は、唇の色に赤味を増す色補正を行う。これにより、被写体の顔色を良く見せることができる。   In addition, the image processing unit 6 adjusts feature portions (eyebrows, eyes, mouth, etc.) in the face. For example, the image processing unit 6 performs correction for enlarging the eye part, correction for narrowing the nose width, and the like. Further, the image processing unit 6 corrects the color of the feature portion. For example, the image processing unit 6 performs color correction for increasing bluish color on the upper eyelid color and color correction for increasing redness on the cheek color. Thereby, since the effect of point makeup such as eye shadow and blusher is obtained, the appearance of a woman as a subject can be improved. Further, the image processing unit 6 performs color correction for increasing redness to the color of the lips. Thereby, the face color of the subject can be shown well.

制御部7は、所定のシーケンスプログラムにしたがって、デジタルカメラ1の統括的な制御を行うとともに、撮像時に必要となる各種演算(AF、AE等)を実行する。また、制御部7は、顔検出部13、判定部14等の機能を有している。顔検出部13は、撮像により取得した画像や記録媒体11に記録した画像から特徴点を抽出して顔、顔の大きさ等を検出する。例えば、顔検出部13は、特開2001−16573号公報等に記載された特徴点抽出処理によって顔を抽出する。上記の特徴点としては、例えば、眉、目、鼻、唇の各端点、顔の輪郭点、頭頂点や顎の下端点等が挙げられる。そして、顔検出部13は、顔の位置情報を特定する。   The control unit 7 performs overall control of the digital camera 1 according to a predetermined sequence program, and executes various calculations (AF, AE, etc.) necessary for imaging. The control unit 7 has functions such as a face detection unit 13 and a determination unit 14. The face detection unit 13 extracts a feature point from an image acquired by imaging or an image recorded on the recording medium 11, and detects a face, a face size, and the like. For example, the face detection unit 13 extracts a face by a feature point extraction process described in Japanese Patent Laid-Open No. 2001-16573. Examples of the feature points include eyebrow, eye, nose, and lip end points, face contour points, head apexes, and chin lower end points. Then, the face detection unit 13 specifies face position information.

判定部14は、顔検出部13により検出された顔に目つぶりがないか否かを判定する。なお、目つぶりとは、画像中の被写体が目をつぶっている状態を示す。被写体に目つぶりある画像の例を図3(A)、目つぶりがない画像の例を図3(B)に示す。例えば、判定部14は、目の上瞼線及び下瞼線を検出し、上瞼線及び下瞼線の間隔を測定する。そして、判定部14は、この間隔の値が所定値以上の場合に、目つぶりがないと判定する。また、判定部14は、顔検出部13により検出された顔が笑顔であるか否かを判定する。例えば、判定部14は、特開平8−249453号公報、特開平10−255043号公報に示されるように、表情カテゴリとして、怒り、嫌悪、恐れ、悲しみ、笑顔、驚きの合計6種類の基本表情を考え、無表情から各基本表情への時系列画像の処理を行い、笑顔か否かを判定する。   The determination unit 14 determines whether or not the face detected by the face detection unit 13 is blinking. Note that blinking means a state in which the subject in the image closes his eyes. FIG. 3A shows an example of an image with blinking on the subject, and FIG. 3B shows an example of an image without blinking. For example, the determination unit 14 detects the upper and lower eyelid lines of the eyes and measures the interval between the upper and lower eyelid lines. Then, the determination unit 14 determines that there is no blinking when the value of the interval is equal to or greater than a predetermined value. Further, the determination unit 14 determines whether or not the face detected by the face detection unit 13 is a smile. For example, as shown in JP-A-8-249453 and JP-A-10-255043, the determination unit 14 has six types of basic facial expressions of anger, disgust, fear, sadness, smile, and surprise as facial expression categories. Considering the above, the time-series image processing from the expressionless expression to each basic expression is performed, and it is determined whether or not it is a smile.

表示部8は、制御部7の制御により各種の画像を表示する。表示部8に表示される各種の画像は、スルー画像、本画像、記録媒体11に記録された画像、メニュー画像等を含む。操作部9は、レリーズ釦15、十字キー16等を有する。レリーズ釦15は、撮像時に
ユーザにより操作される。十字キー16は、上記のメニュー画像等で操作される。なお、レリーズ釦15及び十字キー16の状態は制御部7により検知され、検知された釦やキーの状態に基づいたシーケンスが実行される。記録I/F部10は、記録媒体11を接続するためのコネクタを備えている。この記録I/F部10と記録媒体11とが接続されることにより、記録媒体11に対してデータの書き込み/読み出しを実行する。バス12は、バッファメモリ5、画像処理部6、制御部7、表示部8、記録I/F部10を相互に接続することにより、データや信号の出入力を実行する。
The display unit 8 displays various images under the control of the control unit 7. Various images displayed on the display unit 8 include a through image, a main image, an image recorded on the recording medium 11, a menu image, and the like. The operation unit 9 includes a release button 15, a cross key 16, and the like. The release button 15 is operated by the user during imaging. The cross key 16 is operated on the above menu image or the like. The state of the release button 15 and the cross key 16 is detected by the control unit 7, and a sequence based on the detected button and key states is executed. The recording I / F unit 10 includes a connector for connecting the recording medium 11. When the recording I / F unit 10 and the recording medium 11 are connected, data writing / reading is executed on the recording medium 11. The bus 12 connects the buffer memory 5, the image processing unit 6, the control unit 7, the display unit 8, and the recording I / F unit 10, thereby executing input / output of data and signals.

このデジタルカメラ1は、本画像に対して目つぶり検出及び笑顔検出を行い、目つぶりがなく、且つ笑顔である場合のみ、本画像に美肌処理を施し、美肌処理を施した本画像を記録媒体11に記録する。一方、本画像に含まれる顔に目つぶりがある場合や、笑顔でない場合は、美肌処理を施すことなく、そのまま記録媒体11に記録する。目をつぶっている本画像や、笑顔でない本画像をそのまま記録するのは、これらの画像は、ユーザにとって好ましくなく、削除される可能性が高いからである。なお、目つぶり検出及び笑顔検出に約200msの処理時間を要するが、目をつぶっている本画像や、笑顔でない本画像に美肌処理を施さないことにより、約3秒の処理時間を短縮することができる。したがって、次の撮像が可能になるまでの時間が短くなるため、レリーズタイムラグが発生するおそれを減らすことができる。   The digital camera 1 performs blink detection and smile detection on the main image, and performs skin beautification on the main image only when there is no blink and a smile, and the main image subjected to skin beautification is recorded on the recording medium. 11 is recorded. On the other hand, when the face included in the main image has a blink or when it is not a smile, the face is recorded on the recording medium 11 as it is without performing skin beautification processing. The reason why the main image whose eyes are closed or the main image which is not a smile is recorded as it is is that these images are not preferable for the user and are likely to be deleted. In addition, although processing time of about 200 ms is required for blink detection and smile detection, the processing time of about 3 seconds can be shortened by not performing the skin beautification process on the main image with closed eyes or the main image that is not smiling. Can do. Therefore, since the time until the next imaging becomes possible is shortened, the possibility that a release time lag occurs can be reduced.

図2は、デジタルカメラ1における撮像時の動作を示すフローチャートである。なお、便宜上、1人の人物を撮像するシーンを例に挙げて説明する。   FIG. 2 is a flowchart showing an operation at the time of imaging in the digital camera 1. For convenience, a scene in which one person is imaged will be described as an example.

ステップS101は、撮像モードを開始する処理である。例えば、制御部7は、各部を制御して、スルー画像を取得する。   Step S101 is processing for starting the imaging mode. For example, the control unit 7 acquires a through image by controlling each unit.

ステップS102は、レリーズ釦15が半押しされたか否かを判定する処理である。レリーズ釦15が半押しされた場合(ステップS102の判定がYESとなる場合)には、ステップS103に進む。一方、レリーズ釦15が半押しされない場合(ステップS102の判定がNOとなる場合)には、レリーズ釦15が半押しされるまで待機する。   Step S102 is processing for determining whether or not the release button 15 has been half-pressed. If the release button 15 is pressed halfway (when the determination in step S102 is YES), the process proceeds to step S103. On the other hand, when the release button 15 is not half-pressed (when the determination in step S102 is NO), the process waits until the release button 15 is half-pressed.

ステップS103は、AFとAEとをロックする処理である。制御部7は、各部を制御して、AFとAEとをロックする。   Step S103 is a process for locking AF and AE. The control unit 7 controls each unit to lock AF and AE.

ステップS104は、レリーズ釦15が引き続き半押しされているか否かを判定する処理である。レリーズ釦15が引き続き半押しされている場合(ステップS104の判定がYESとなる場合)には、ステップS105に進む。一方、レリーズ釦15が引き続き半押しされていない場合(ステップS104の判定がNOとなる場合)には、ステップS102に戻り、レリーズ釦15が半押しされたか否かを判定する。   Step S104 is a process for determining whether or not the release button 15 is still half-pressed. When the release button 15 is continuously pressed halfway (when the determination in step S104 is YES), the process proceeds to step S105. On the other hand, if the release button 15 has not been pressed halfway (when the determination in step S104 is NO), the process returns to step S102 to determine whether the release button 15 has been pressed halfway.

ステップS105は、レリーズ釦15が全押しされたか否かを判定する。レリーズ釦15が全押しされた場合(ステップS105の判定がYESとなる場合)には、ステップS106に進む。一方、レリーズ釦15が全押しされない場合(ステップS105の判定がNOとなる場合)には、ステップS104に戻り、レリーズ釦15が引き続き半押しされているか否かを判定する。   In step S105, it is determined whether or not the release button 15 has been fully pressed. If the release button 15 is fully pressed (when the determination in step S105 is YES), the process proceeds to step S106. On the other hand, when the release button 15 is not fully pressed (when the determination in step S105 is NO), the process returns to step S104, and it is determined whether or not the release button 15 is continuously pressed halfway.

ステップS106は、本画像を取得する処理である。制御部7は、各部を制御して、本画像を取得する。画像処理部6は、本画像にホワイトバランス調整、色補間、階調変換処理、輪郭強調処理等を施す。   Step S106 is processing to acquire the main image. The control unit 7 controls each unit to acquire the main image. The image processing unit 6 performs white balance adjustment, color interpolation, gradation conversion processing, contour enhancement processing, and the like on the main image.

ステップS107は、顔を検出したか否かを判定する処理である。顔検出部13は、ス
テップS106で取得した本画像から顔を検出する。顔を検出した場合(ステップS107の判定がYESとなる場合)には、ステップS108に進む。一方、顔を検出しない場合(ステップS107の判定がNOとなる場合)には、後述するステップS111に進む。
Step S107 is processing for determining whether or not a face has been detected. The face detection unit 13 detects a face from the main image acquired in step S106. When a face is detected (when the determination in step S107 is YES), the process proceeds to step S108. On the other hand, when the face is not detected (when the determination in step S107 is NO), the process proceeds to step S111 described later.

ステップS108は、目つぶりがないか否かを判定する処理である。判定部14は、ステップS107で顔検出部13により検出した顔に目つぶりがないか否かを判定する。目つぶりがない場合(ステップS108の判定がYESとなる場合)には、ステップS109に進む。一方、目つぶりがある場合(ステップS108の判定がNOとなる場合)には、後述するステップS111に進む。   Step S108 is processing for determining whether there is no blinking. The determination unit 14 determines whether or not the face detected by the face detection unit 13 in step S107 has any blinking. If there is no blinking (if the determination in step S108 is YES), the process proceeds to step S109. On the other hand, when there is blinking (when the determination in step S108 is NO), the process proceeds to step S111 described later.

ステップS109は、笑顔であるか否かを判定する処理である。判定部14は、ステップS107で顔検出部13により検出した顔が笑顔であるか否かを判定する。笑顔である場合(ステップS109の判定がYESとなる場合)には、ステップS110に進む。一方、笑顔でない場合(ステップS109の判定がNOとなる場合)には、後述するステップS111に進む。   Step S109 is processing for determining whether or not the user is smiling. The determination unit 14 determines whether or not the face detected by the face detection unit 13 in step S107 is a smile. When it is a smile (when determination of step S109 becomes YES), it progresses to step S110. On the other hand, when it is not a smile (when determination of step S109 becomes NO), it progresses to step S111 mentioned later.

ステップS110は、本画像に対して美肌処理を施す処理である。画像処理部6は、ステップS106で取得した本画像に対して美肌処理を施す。   Step S110 is a process for performing a skin beautification process on the main image. The image processing unit 6 performs skin beautification processing on the main image acquired in step S106.

ステップS111は、本画像を記録する処理である。制御部7は、ステップS106で取得した本画像、又はステップS110で美肌処理を施した本画像を記録媒体11に記録する。なお、制御部7は、美肌処理を施した本画像を記録する場合、画像のExif情報(付帯情報)に、美肌処理の内容を示す情報を記録する。これにより、例えば、美肌処理の内容を示す情報を画像とともに表示すれば、ユーザは、どのような美肌処理が施されたのかを、本画像の再生時に確認することができる。なお、美肌処理の設定を、付帯情報として記録する代わりに、本画像と対応付けた別のファイルとして記録しても良い。   Step S111 is processing to record the main image. The control unit 7 records the main image acquired in step S106 or the main image subjected to skin beautification in step S110 on the recording medium 11. In addition, when recording the main image which performed the skin beautification process, the control part 7 records the information which shows the content of the skin beautification process in the Exif information (accessory information) of an image. Thereby, for example, if information indicating the content of the skin beautification process is displayed together with the image, the user can check what skin beautifying process has been performed at the time of reproduction of the main image. Note that the setting for skin beautification processing may be recorded as a separate file associated with the main image instead of recording as supplementary information.

なお、本実施形態のデジタルカメラ1は、美肌処理を施さなかった本画像、すなわち目つぶりがあった本画像や笑顔でない本画像に対して、再生時に美肌処理を施すことができる。例えば、制御部7は、付帯情報を用いて、美肌処理を施されていない本画像を記録媒体11から読み出す。そして、制御部7は、読み出した本画像に対応するサムネイル画像の一覧を表示部8に表示し、表示したサムネイル画像の一覧から、十字キー16を介したユーザの指定により美肌処理の対象となる本画像の選択を受け付ける。その後、制御部7は、選択された本画像とともに、「美肌処理しますか?」等のメッセージを表示部8に表示し、美肌処理を施すか否かの選択を受け付ける(図3参照)。制御部7は、美肌処理を施す選択を受け付けた場合、画像処理部6を制御して、本画像に美肌処理を施す。そして、制御部7は、美肌処理を施した本画像を記録する指示を受け付けた場合、該本画像を記録媒体11に記録する。   Note that the digital camera 1 according to the present embodiment can perform skin beautification processing during reproduction on a main image that has not been subjected to skin beautification processing, that is, a main image with blinking or a non-smiling main image. For example, the control unit 7 reads from the recording medium 11 the main image that has not been subjected to the skin beautifying process, using the accompanying information. Then, the control unit 7 displays a list of thumbnail images corresponding to the read main image on the display unit 8, and is subjected to skin beautification processing by the user's designation via the cross key 16 from the displayed list of thumbnail images. The selection of the main image is accepted. Thereafter, the control unit 7 displays a message such as “Do you want to beautify skin” on the display unit 8 together with the selected main image, and accepts the selection of whether or not to perform the beautification process (see FIG. 3). When the control unit 7 receives a selection for performing skin beautification processing, the control unit 7 controls the image processing unit 6 to perform skin beautification processing on the main image. When the control unit 7 receives an instruction to record the main image subjected to the skin beautification process, the control unit 7 records the main image on the recording medium 11.

撮像時には美肌処理を施さず、画像を再生したときに美肌処理を施す従来のデジタルカメラでは、まず美肌処理を施す対象となる画像の選択をユーザから受け付け、その後、選択された画像に美肌処理を施す。また、再生時に美肌処理を施さず、撮像時に美肌処理を施すように構成したデジタルカメラでは、美肌処理を施すか否かの設定を予めユーザから受け付け、美肌処理を施す設定がされた場合に、撮像により得た画像に美肌処理を施す。しかし、再生時の画像選択や撮像時の設定は、操作が煩雑になるという問題点があった。このような問題を回避するために、撮像により得た画像に常に美肌処理を施すデジタルカメラが考えられる。ところが、上述した美肌処理は、複合的な処理であり、約3秒程度の時間がかかる。そのため、画像を続けて撮像したいときに、速写性、応答性が劣る。   In a conventional digital camera that does not perform skin beautification processing at the time of image capture and performs skin beautification processing when an image is reproduced, first, selection of an image to be subjected to skin beautification processing is received from a user, and then skin beautification processing is performed on the selected image. Apply. In addition, in a digital camera configured not to perform skin beautification during playback but to perform skin beautification during imaging, when a setting for whether or not to perform skin beautification is received from the user in advance, Skin beautification processing is performed on an image obtained by imaging. However, there is a problem in that the operation for selecting an image during reproduction and setting during imaging is complicated. In order to avoid such a problem, a digital camera that always performs beautification processing on an image obtained by imaging can be considered. However, the skin beautification process described above is a complex process and takes about 3 seconds. For this reason, when it is desired to continuously capture images, the quickness and response are poor.

そこで、本実施形態のデジタルカメラ1は、撮像時には常に美肌処理を有効とし、本画像に含まれる顔に目つぶりがなく、且つ笑顔である場合に、本画像に対して美肌処理を施す。したがって、本実施形態のデジタルカメラ1によれば、レリーズタイムラグが発生するおそれを減らすとともに、画像処理を適用した好ましい画像を取得することができる。また、本実施形態のデジタルカメラ1は、本画像に美肌処理を施すか否かを、十字キー16を介してユーザが指定しなくても良いため、操作性が良い。   Therefore, the digital camera 1 according to the present embodiment always enables the skin beautification process at the time of imaging, and performs the skin beautifying process on the main image when the face included in the main image has no blinking and is smiling. Therefore, according to the digital camera 1 of the present embodiment, it is possible to obtain a preferable image to which image processing is applied while reducing the possibility of occurrence of a release time lag. In addition, the digital camera 1 according to the present embodiment has good operability because the user does not have to specify whether or not to perform skin beautification processing on the main image via the cross key 16.

(実施形態の補足)
上記の実施形態では、本画像に美肌処理を施す例を示したが、これに限らない。例えば、画像処理部6は、赤目補正を行っても良い。周知のように、赤目現象は、暗い中で大きく開いた瞳孔から光が入り、眼球内部の毛細血管が無数に走る脈略膜層に光が反射して黒目が赤く撮影されてしまう現象である。制御部7は、顔検出部13により検出した顔の目が相当する位置において、赤色の丸い領域があるか否かを判定する。そして、画像処理部6は、赤色の丸い領域がある場合には、その領域の色情報を、例えば黒色の色情報に変更する。
(Supplement of embodiment)
In the above embodiment, an example in which the skin beautification process is performed on the main image has been described, but the present invention is not limited thereto. For example, the image processing unit 6 may perform red-eye correction. As is well known, the red-eye phenomenon is a phenomenon in which light enters from a wide open pupil in the dark, and the black eye is photographed in red by reflection of the light into the venous membrane layer where innumerable capillaries run inside the eyeball. . The control unit 7 determines whether there is a red round region at a position corresponding to the face eye detected by the face detection unit 13. Then, if there is a red round area, the image processing unit 6 changes the color information of the area to, for example, black color information.

また、画像処理部6は、歯の色を白く補正しても良い。また、画像処理部6は、瞳の中にライトのように光る白い輝きを入れても良い。なお、輝きの形状は、丸形でも良いし、星形等でも良い。さらに、画像処理部6は、瞳の色を変更しても良い。   The image processing unit 6 may correct the tooth color to white. Further, the image processing unit 6 may put a white glow that shines like light into the pupil. The shine shape may be a round shape or a star shape. Further, the image processing unit 6 may change the color of the pupil.

また、画像処理部6は、D−ライティング(登録商標)のように、本画像の暗部またはハイライト部を画像解析で特定し、その暗部またはハイライト部を中心として画像の階調を調整しても良い。   Further, the image processing unit 6 specifies a dark portion or a highlight portion of the main image by image analysis as in D-Lighting (registered trademark), and adjusts the gradation of the image around the dark portion or the highlight portion. May be.

また、画像処理部6は、満面の笑顔に近づくように、笑顔補正を行っても良い。例えば、画像処理部6は、目、口の各領域を構成する画素の位置情報に基づいて、口角を上げ、目尻を下げるように、座標変換及び補間演算を行う。   Further, the image processing unit 6 may perform smile correction so as to approach a full smile. For example, the image processing unit 6 performs coordinate conversion and interpolation calculation so as to raise the mouth angle and lower the corner of the eye based on the position information of the pixels constituting the eye and mouth regions.

上記の実施形態では、目つぶり検出及び笑顔検出により、被写体の顔の状態が良好であるか否かを判定したが、これに限らない。例えば、判定部14は、公知の視線検出を行い、被写体の視線がデジタルカメラ1を向いているか否かを判定する。そして、制御部7は、被写体の視線がデジタルカメラ1を向いていると判定した場合に、画像処理部6を制御して、本画像に美肌処理を施しても良い。さらに、顔の状態が良好であるか否かの判定に、露出、合焦状態、手ブレ等を加味しても良い。例えば、判定部14は、適正露出であり、合焦状態が良く、手ブレがないほど顔の状態が良好であると判定する。   In the above embodiment, whether or not the face state of the subject is good is determined by blink detection and smile detection, but the present invention is not limited to this. For example, the determination unit 14 performs known line-of-sight detection to determine whether the line of sight of the subject is facing the digital camera 1. When the control unit 7 determines that the line of sight of the subject is facing the digital camera 1, the control unit 7 may control the image processing unit 6 to perform skin beautification processing on the main image. Furthermore, exposure, focus state, camera shake, and the like may be taken into consideration in determining whether or not the face state is good. For example, the determination unit 14 determines that the exposure is appropriate, the in-focus state is good, and the face state is so good that there is no camera shake.

上記の実施形態では、ステップS106で取得した本画像を全て記録する例を示したが、これに限らない。例えば、ステップS108で目つぶりがあると判定された画像や、ステップS109で笑顔でないと判定された画像を記録しなくても良い。   In the above embodiment, an example is shown in which all the main images acquired in step S106 are recorded, but the present invention is not limited to this. For example, it is not necessary to record an image determined to have a blink in step S108 or an image determined not to smile in step S109.

ステップS101で、顔検出部13は、スルー画像から顔を検出し、検出した顔の位置情報をバッファメモリ5に記録する。そして、ステップS107で顔検出部13は、本画像から顔を検出する際にこの位置情報を参照しても良い。これにより、ステップS107の処理時間を短縮するため、レリーズタイムラグのおそれをより減らすことができる。   In step S <b> 101, the face detection unit 13 detects a face from the through image, and records the detected face position information in the buffer memory 5. In step S107, the face detection unit 13 may refer to the position information when detecting a face from the main image. Thereby, since the processing time of step S107 is shortened, the possibility of a release time lag can be further reduced.

1…デジタルカメラ、3…撮像素子、6…画像処理部、7…制御部、13…顔検出部、14…判定部
DESCRIPTION OF SYMBOLS 1 ... Digital camera, 3 ... Image sensor, 6 ... Image processing part, 7 ... Control part, 13 ... Face detection part, 14 ... Determination part

Claims (6)

画像を取得する撮像部と、
前記撮像部により取得された画像に対して所定の補正を行う補正部と、
前記撮像部により取得された画像から被写体の顔を検出する顔検出部と、
前記顔検出部により検出された前記顔の状態が所定の条件を満たすか否かを判定する判定部と、
前記判定部によって前記顔の状態が前記所定の条件を満たしていると判定された画像については、前記補正部が前記所定の補正を行うよう制御し、前記判定部によって前記顔の状態が所定の条件を満たしていないと判定された画像については、前記補正部が前記所定の補正を行うか否かについてユーザからの指示を受付けるよう制御する制御部と、を備えること
を特徴とするデジタルカメラ。
An imaging unit for acquiring an image;
A correction unit that performs a predetermined correction on the image acquired by the imaging unit;
A face detection unit for detecting the face of the subject from the image acquired by the imaging unit;
A determination unit that determines whether or not the state of the face detected by the face detection unit satisfies a predetermined condition;
For the image in which the face state is determined to satisfy the predetermined condition by the determination unit, the correction unit is controlled to perform the predetermined correction, and the face state is predetermined by the determination unit. A digital camera comprising: a control unit that controls to accept an instruction from a user as to whether or not the correction unit performs the predetermined correction for an image that is determined not to satisfy the condition.
請求項1に記載のデジタルカメラにおいて、
前記所定の条件は、前記被写体の顔が目つぶりしていないこと
を特徴とするデジタルカメラ。
The digital camera according to claim 1, wherein
The digital camera according to claim 1, wherein the predetermined condition is that the face of the subject is not blinking.
請求項1または請求項2に記載のデジタルカメラにおいて、
前記所定の条件は、前記被写体の顔が笑顔であること
を特徴とするデジタルカメラ。
The digital camera according to claim 1 or 2,
The digital camera characterized in that the predetermined condition is that a face of the subject is a smile.
請求項1から請求項3の何れか一項に記載のデジタルカメラにおいて、前記所定の補正は、色調補正と、コントラスト補正と、明るさ補正と、前記顔の特徴部分の調整と、の画像処理の内の少なくとも一つの画像処理を含む美肌処理であること
を特徴とするデジタルカメラ。
4. The digital camera according to claim 1, wherein the predetermined correction includes image processing including color tone correction, contrast correction, brightness correction, and adjustment of the facial feature portion. 5. A digital camera characterized by being a skin beautifying process including at least one of the image processing.
請求項4に記載のデジタルカメラにおいて、
前記顔における特徴部分の調整は、歯の色を白くなるようにする調整であること
を特徴とするデジタルカメラ。
The digital camera according to claim 4, wherein
The digital camera according to claim 1, wherein the adjustment of the characteristic portion in the face is an adjustment to make a tooth color white.
請求項4に記載のデジタルカメラにおいて、
前記顔における特徴部分の調整は、前記被写体の肌の色味を変更する調整であること
を特徴とするデジタルカメラ。
The digital camera according to claim 4, wherein
The digital camera according to claim 1, wherein the adjustment of the characteristic portion of the face is an adjustment for changing a skin color of the subject.
JP2014002045A 2014-01-08 2014-01-08 Digital camera Pending JP2014096836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014002045A JP2014096836A (en) 2014-01-08 2014-01-08 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014002045A JP2014096836A (en) 2014-01-08 2014-01-08 Digital camera

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009071337A Division JP2010226416A (en) 2009-03-24 2009-03-24 Digital camera

Publications (1)

Publication Number Publication Date
JP2014096836A true JP2014096836A (en) 2014-05-22

Family

ID=50939517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014002045A Pending JP2014096836A (en) 2014-01-08 2014-01-08 Digital camera

Country Status (1)

Country Link
JP (1) JP2014096836A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016092684A (en) * 2014-11-07 2016-05-23 カシオ計算機株式会社 Imaging apparatus, imaging control method, and program
JP2018045366A (en) * 2016-09-13 2018-03-22 カシオ計算機株式会社 Image processing device, image processing method and program

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004303193A (en) * 2003-03-20 2004-10-28 Omron Corp Image processor
JP2005316743A (en) * 2004-04-28 2005-11-10 Toshiba Corp Image processing method and device
JP2007295545A (en) * 2006-03-30 2007-11-08 Canon Inc Image processing device, image processing method, image pickup device, program and storage medium
JP2008198062A (en) * 2007-02-15 2008-08-28 Sony Corp Image processor and image processing method
JP2008293140A (en) * 2007-05-22 2008-12-04 Olympus Imaging Corp Image processor and camera
JP2008312057A (en) * 2007-06-15 2008-12-25 Fujifilm Corp Photographing method and apparatus
JP2009037414A (en) * 2007-08-01 2009-02-19 Canon Inc Image processor and image processing method
JP2010147808A (en) * 2008-12-18 2010-07-01 Olympus Imaging Corp Imaging apparatus and image processing method in same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004303193A (en) * 2003-03-20 2004-10-28 Omron Corp Image processor
JP2005316743A (en) * 2004-04-28 2005-11-10 Toshiba Corp Image processing method and device
JP2007295545A (en) * 2006-03-30 2007-11-08 Canon Inc Image processing device, image processing method, image pickup device, program and storage medium
JP2008198062A (en) * 2007-02-15 2008-08-28 Sony Corp Image processor and image processing method
JP2008293140A (en) * 2007-05-22 2008-12-04 Olympus Imaging Corp Image processor and camera
JP2008312057A (en) * 2007-06-15 2008-12-25 Fujifilm Corp Photographing method and apparatus
JP2009037414A (en) * 2007-08-01 2009-02-19 Canon Inc Image processor and image processing method
JP2010147808A (en) * 2008-12-18 2010-07-01 Olympus Imaging Corp Imaging apparatus and image processing method in same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016092684A (en) * 2014-11-07 2016-05-23 カシオ計算機株式会社 Imaging apparatus, imaging control method, and program
JP2018045366A (en) * 2016-09-13 2018-03-22 カシオ計算機株式会社 Image processing device, image processing method and program

Similar Documents

Publication Publication Date Title
JP5239126B2 (en) Electronic camera
JP4898475B2 (en) Imaging control apparatus, imaging apparatus, and imaging control method
KR101401855B1 (en) Image processing device and image processing method
JP4789825B2 (en) Imaging apparatus and control method thereof
JP2010211497A (en) Digital camera and image processing program
US9135726B2 (en) Image generation apparatus, image generation method, and recording medium
JP6111723B2 (en) Image generating apparatus, image generating method, and program
JP2007282119A (en) Electronic camera and image processing apparatus
US20100188520A1 (en) Imaging device and storage medium storing program
JP2013172166A (en) Image processing apparatus, imaging apparatus, and program
JP2010199720A (en) Digital camera
JP2010244239A (en) Image processor, digital camera and program
JP2010226416A (en) Digital camera
JP4983643B2 (en) Imaging apparatus and correction program
JP2010092094A (en) Image processing apparatus, image processing program, and digital camera
JP5272775B2 (en) Electronic still camera
JP6033006B2 (en) Image processing apparatus, control method thereof, control program, and imaging apparatus
JP2014096836A (en) Digital camera
JP2012003324A (en) Image processing system, imaging apparatus, image processing program and memory medium
JP2010199968A (en) Digital camera
JP6087615B2 (en) Image processing apparatus and control method therefor, imaging apparatus, and display apparatus
JP6873816B2 (en) Imaging device, control method of imaging device, and program
JP5040844B2 (en) Imaging apparatus, imaging method, and program
JP2010263519A (en) Image reproducing apparatus, digital camera and program
JP2006148326A (en) Imaging apparatus and method of controlling the same

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140902

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140909

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150427

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150929