JP4849163B2 - Image processing apparatus, image processing method, and computer program - Google Patents

Image processing apparatus, image processing method, and computer program Download PDF

Info

Publication number
JP4849163B2
JP4849163B2 JP2009223762A JP2009223762A JP4849163B2 JP 4849163 B2 JP4849163 B2 JP 4849163B2 JP 2009223762 A JP2009223762 A JP 2009223762A JP 2009223762 A JP2009223762 A JP 2009223762A JP 4849163 B2 JP4849163 B2 JP 4849163B2
Authority
JP
Japan
Prior art keywords
image
detection
detected
face
pattern
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.)
Expired - Fee Related
Application number
JP2009223762A
Other languages
Japanese (ja)
Other versions
JP2010016878A (en
Inventor
弘 阿部
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2009223762A priority Critical patent/JP4849163B2/en
Publication of JP2010016878A publication Critical patent/JP2010016878A/en
Application granted granted Critical
Publication of JP4849163B2 publication Critical patent/JP4849163B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Exposure Control For Cameras (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Studio Devices (AREA)

Description

本発明は、人物などの被写体を含んだ画像の撮影を行なう画像処理装置及び画像処理方法、並びにコンピュータ・プログラムに係り、特に、画像に含まれる被写体から特定のパターンを認識したことに応じてカメラ・ワークの自動化処理を行なう画像処理装置及び画像処理方法、並びにコンピュータ・プログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a computer program for capturing an image including a subject such as a person, and more particularly, to a camera according to recognition of a specific pattern from a subject included in an image. The present invention relates to an image processing apparatus, an image processing method, and a computer program for performing work automation.

さらに詳しくは、本発明は、画像に含まれる被写体から笑顔を認識したことを利用して撮影するタイミングを自動的に決定する画像処理装置及び画像処理方法、並びにコンピュータ・プログラムに係り、特に、入力画像に複数の被写体を含む場合に、適当な被写体に着目して笑顔検出を行ない、撮影タイミングを自動的に決定する画像処理装置及び画像処理方法、並びにコンピュータ・プログラムに関する。   More particularly, the present invention relates to an image processing apparatus, an image processing method, and a computer program that automatically determine shooting timing using recognition of a smile from a subject included in an image. The present invention relates to an image processing apparatus, an image processing method, and a computer program for performing smile detection by paying attention to an appropriate subject when an image includes a plurality of subjects and automatically determining shooting timing.

カメラは、視覚的な情報を記録する手段として長い歴史を持つ。最近では、フィルムや感光板を使って撮影する銀塩カメラに代わって、CCD(Charge Coupled Device)やCMOS(Complementary Mental−Oxide Semiconductor)などの固体撮像素子で捕捉した画像をデジタル化するデジタルカメラが広範に普及している。デジタルカメラによれば、デジタル符号化された画像をメモリに記憶し、コンピュータによる画像処理や画像管理を行なうことができ、さらにフィルムの寿命という問題がないといった利点がある。   Cameras have a long history as a means of recording visual information. Recently, digital cameras that digitize images captured by solid-state imaging devices such as CCD (Charge Coupled Device) and CMOS (Complementary Mental-Oxide Semiconductor) have been used in place of film cameras that use film or photosensitive plates. Widely used. According to the digital camera, there is an advantage that a digitally encoded image can be stored in a memory, image processing and image management by a computer can be performed, and there is no problem of film life.

銀塩カメラもデジタルカメラも基本的なカメラ・ワークはほとんど同じであるが、撮影画像のデジタル化とも相俟って、カメラ・ワークに関して自動化技術が進んでおり、このため、カメラ操作に未熟なユーザであっても、撮影に失敗する可能性は極めて低くなってきている。   Although the basic camera work is the same for both silver halide cameras and digital cameras, automation technology for camera work is advancing in conjunction with the digitization of captured images. Even the user has a very low possibility of shooting failure.

例えば、オート・フォーカス機能(AF)、自動露光(AE)、手振れ補正などである。デジタルカメラの場合、AFやAEなどの処理を光学系で行なうだけでなく、デジタル処理により実現することができるという利点がある。また、AWB(Auto White Balance)により撮像画像に対してホワイトバランス・ゲインを掛けるなど、デジタル処理により撮影画像に画質調整を施すことによって、適正な色状態を再現することができる。   For example, auto focus function (AF), automatic exposure (AE), camera shake correction, and the like. In the case of a digital camera, there is an advantage that processing such as AF and AE can be realized not only by an optical system but also by digital processing. In addition, an appropriate color state can be reproduced by performing image quality adjustment on a captured image by digital processing, such as multiplying a captured image by white balance / gain using AWB (Auto White Balance).

オート・フォーカスや画質補正などの機能は、画像フレーム内に存在する1以上の被写体のうちいずれに合わせて処理を行なうべきである。古くは、ユーザが重要な被写体をマニュアル操作で設定することが行なわれていた。最近では、撮像画像から顔を検出して、その顔に対して自動的にフォーカスを合わせる、あるいは、その顔に合わせて自動的に画質を補正する、といった顔検出を利用した撮像技術が導入されている。   Functions such as auto focus and image quality correction should be processed in accordance with any one or more subjects existing in the image frame. In the old days, the user set an important subject manually. Recently, imaging technology using face detection has been introduced, such as detecting a face from a captured image and automatically focusing on the face, or automatically correcting the image quality according to the face. ing.

ここで、撮像した画像信号から顔を検出する手法として、例えば、平均的な顔画像をテンプレートとして利用し、入力画像信号とマッチングする手法が当業界において広く知られている(例えば、特許文献1を参照のこと)。また、撮像された顔が傾いていると、顔を正しく検出し難いため、顔の角度を検出して、その検出値に応じて顔の画像を回転させた後、マッチング処理などを行なうなどの手法も知られている。顔の角度を検出する方法としては、顔の中心線を検出し、その中心線らしさを示す度合いを顔の左右対称性に基づいて算出して、その度合いの高い中心線の角度を顔の角度として出力する手法などが挙げられる(例えば、特許文献2を参照のこと)。   Here, as a method for detecting a face from a captured image signal, for example, a method for matching an input image signal using an average face image as a template is widely known in the art (for example, Patent Document 1). checking). In addition, if the imaged face is tilted, it is difficult to detect the face correctly. Therefore, the face angle is detected, the face image is rotated according to the detected value, and matching processing is performed. Techniques are also known. As a method for detecting the face angle, the center line of the face is detected, the degree of the center line is calculated based on the symmetry of the face, and the angle of the center line having a high degree is calculated as the face angle. For example (see, for example, Patent Document 2).

また、最近では、笑顔など被写体の画像から特定のパターンを認識したことを利用して撮影するタイミングを決めるオート・シャッタに関する研究開発が進められている。   Recently, research and development on an auto shutter that determines the timing of shooting using the recognition of a specific pattern from an image of a subject such as a smile is underway.

例えば、撮影する主要被写体に含まれる注目部位において、主要被写体が所定の撮影条件を満たすかどうかを判断し、撮影条件を満たしたときに撮影タイミング信号を出力するカメラについて提案がなされている(例えば、特許文献3〜5を参照のこと)。ここで言う注目部位とは、例えば、人物を撮影するときの当該人物の目や口の形や色、鳥を撮影するときの当該鳥の羽根などである。   For example, there has been proposed a camera that determines whether a main subject satisfies a predetermined imaging condition at a site of interest included in the main subject to be imaged and outputs an imaging timing signal when the imaging condition is satisfied (for example, And see Patent Documents 3 to 5). The attention site here refers to, for example, the shape and color of the eyes and mouth of the person when photographing a person, the feathers of the bird when photographing a bird, and the like.

具体的な撮影タイミングの判断基準として、人物が見栄えよく写る条件である、「瞬きをしていない」、「視線がカメラ方向を向いている」、「微笑んでいる」などを適切な撮影タイミングの判断基準とすることが考えられる。また、人物を被写体として撮影した写真を良好にするために写真を修正する技術が従来から知られているが、人が瞬きしている瞬間の写真を瞬きしていない写真に修正することや、笑っていない人の写真を笑っているように修正することは難しいということも、笑顔を撮影条件とする理由の1つである。   Specific criteria for shooting timing are appropriate shooting timings such as “not blinking”, “looking at the camera”, “smiling”, etc. It can be considered as a criterion. In addition, the technology that corrects the photo to improve the photo taken with the person as the subject has been known conventionally, but the photo at the moment when the person is blinking can be corrected to the photo that does not blink, One of the reasons for making smiles a shooting condition is that it is difficult to correct a photograph of a person who is not laughing as if it were laughing.

例えば、被写体の目の中の白色部分の面積や、口の横方向の長さ、口の中の白色部分の面積などの画像情報に基づいて、「微笑んでいる」という撮影条件を判定することができる。しかしながら、撮像素子より入力された画像フレーム中に複数の被写体が含まれる場合には、いずれの被写体に着目して笑顔検出して撮影タイミングの制御を行なうべきか不明である。   For example, the shooting condition of “smiling” is determined based on image information such as the area of the white part of the subject's eyes, the lateral length of the mouth, and the area of the white part of the mouth. Can do. However, when a plurality of subjects are included in an image frame input from the image sensor, it is unclear which subject should be focused on to detect a smile and control the shooting timing.

例えば、複数の顔が検出された場合には一番大きい又は最至近の顔の枠がAFエリアに設定するとともに、スルー画像を利用して顔検出を行なうときには、顔検出を行なっていないときよりもスルー画像の輝度を上げて顔検出し易くするデジタルカメラについて提案がなされている(例えば、特許文献6を参照のこと)。しかしながら、当該デジタルカメラは、笑顔検出に基づいて自動撮影を行なうものではなく、また、AFエリアに設定する検出顔はカメラ側によって自動的に決められてしまい、撮影者が自ら笑顔を撮りたいと望む被写体を指定することはできない。   For example, when a plurality of faces are detected, the largest or closest face frame is set as the AF area, and when face detection is performed using a through image, the face detection is not performed. Also, a proposal has been made for a digital camera that increases the brightness of a through image and facilitates face detection (see, for example, Patent Document 6). However, the digital camera does not automatically shoot based on smile detection, and the detection face to be set in the AF area is automatically determined by the camera, and the photographer wants to shoot a smile himself. The desired subject cannot be specified.

また、検出した顔のうち距離が最も近い顔に焦点が合うように撮影レンズの焦点調整を行なうとともに、液晶表示器には焦点が合わされた顔を囲む枠を表示し、枠で囲まれた顔が所望の人物の顔でないときには十字キーなどのユーザ操作によって他の顔に枠を移動する撮像装置について提案がなされている(例えば、特許文献7を参照のこと)。この撮像装置は、最至近であることを基準として主役判定して自動焦点合わせを行なうが、笑顔検出に基づいて自動撮影を行なうものではない。また、撮影者が自ら笑顔を撮りたいと望む被写体を指定することができるが、特定の被写体しか検出対象に選ぶことはできない。   In addition, the focus of the photographic lens is adjusted so that the closest face among the detected faces is in focus, and a frame surrounding the focused face is displayed on the liquid crystal display, and the face surrounded by the frame An image pickup apparatus that moves a frame to another face by a user operation such as a cross key when the face is not a desired person's face has been proposed (see, for example, Patent Document 7). This image pickup apparatus determines a leading role based on being close to the camera and performs automatic focusing, but does not perform automatic shooting based on smile detection. In addition, although the photographer can specify a subject that he / she wants to take a smile on his / her own, only a specific subject can be selected as a detection target.

自動焦点合わせの場合、光学系が持つ焦点深度などの特性も依るが、基本的には結像する場所は1点であるから、同時に複数の被写体を検出対象に選ぶことはあり得ない。これに対し、笑顔検出による自動撮影の場合、例えばパーティーなどの風景を撮影する際に比較的大人数を画角に含めた場合、注目しているメンバーの1人が笑っているだけでは不十分であり、メンバーが同時に笑っていることが撮影条件として要求されることもある。言い換えれば、笑顔検出に基づく自動撮影は、自動焦点合わせとは本質的に相違する。   In the case of automatic focusing, although the characteristics such as the depth of focus of the optical system also depend on each other, it is basically impossible to select a plurality of subjects as detection targets at the same time because there is only one point of image formation. On the other hand, in the case of automatic shooting with smile detection, for example, when a relatively large number of people is included in the angle of view when shooting a scene such as a party, it is not sufficient that one of the members of interest is laughing. And it is sometimes required as a shooting condition that the members are laughing at the same time. In other words, automatic shooting based on smile detection is essentially different from automatic focusing.

特開2003−271933号公報(段落0051〜0053、図6)JP 2003-271933 A (paragraphs 0051 to 0053, FIG. 6) 特開平9−171560号公報(段落0032〜0044、図4)Japanese Patent Laid-Open No. 9-171560 (paragraphs 0032 to 0044, FIG. 4) 特開2000−347278号公報JP 2000-347278 A 特開2004−294498号公報JP 2004-294498 A 特開2006−237803号公報JP 2006-237803 A 特開2006−33437号公報JP 2006-33437 A 特開2006−145629号公報JP 2006-145629 A

本発明の目的は、画像に含まれる被写体から特定のパターンを認識したことに応じてカメラ・ワークの自動化処理を好適に行なうことができる、優れた画像処理装置及び画像処理方法、並びにコンピュータ・プログラムを提供することにある。   An object of the present invention is to provide an excellent image processing apparatus, image processing method, and computer program capable of suitably performing camera / work automation processing in response to recognition of a specific pattern from a subject included in an image. Is to provide.

本発明のさらなる目的は、画像に含まれる被写体から笑顔を認識したことを利用して、適切な撮影タイミングを自動的に決定することができる、優れた画像処理装置及び画像処理方法、並びにコンピュータ・プログラムを提供することにある。   A further object of the present invention is to provide an excellent image processing apparatus and image processing method capable of automatically determining an appropriate shooting timing using recognition of a smile from a subject included in an image, and a computer To provide a program.

本発明のさらなる目的は、入力画像に複数の被写体が含まれる場合に、適当な被写体に着目して笑顔検出を行ない、好適な撮影タイミングを自動的に決定することができる、優れた画像処理装置及び画像処理方法、並びにコンピュータ・プログラムを提供することにある。   A further object of the present invention is to provide an excellent image processing apparatus capable of performing smile detection by paying attention to an appropriate subject and automatically determining a suitable shooting timing when the input image includes a plurality of subjects. And an image processing method, and a computer program.

本発明は、上記課題を参酌してなされたものであり、その第1の側面は、被写体を結像した画像を入力する画像入力手段と、
該入力画像を信号処理する画像信号処理手段と、
前記画像信号処理手段による信号処理後の入力画像を画面表示する表示手段と、
前記画像信号処理手段による信号処理後の入力画像から被写体の顔を検出する顔検出手段と、
前記顔検出手段によって検出された検出顔から笑顔検出の対象とすべきものを設定する笑顔検出対象顔設定手段と、
前記表示手段が表示するスルー画像上において、前記笑顔検出対象顔設定手段によって設定された検出顔をその他の検出顔と区別して表示する表示制御手段と、
前記の笑顔検出対象に設定された検出顔とその他の検出顔を区別した表示画面上におけるユーザの操作に応じて、笑顔検出対象の検出顔を変更する笑顔検出顔変更手段と、
を具備することを特徴とする画像撮影装置である。
The present invention has been made in consideration of the above problems, and a first aspect of the present invention is an image input means for inputting an image formed by imaging a subject;
Image signal processing means for signal processing the input image;
Display means for displaying an input image after signal processing by the image signal processing means;
Face detection means for detecting the face of the subject from the input image after signal processing by the image signal processing means;
A smile detection target face setting unit that sets a target for smile detection from the detected faces detected by the face detection unit;
Display control means for displaying the detection face set by the smile detection target face setting means on the through image displayed by the display means separately from other detection faces;
A smile detection face changing means for changing a detection face of the smile detection target in accordance with a user operation on a display screen that distinguishes the detection face set as the smile detection target and the other detection faces;
It is an image photographing device characterized by comprising.

本発明の係る画像撮影装置は、笑顔検出対象となった検出顔の笑顔度レベルを検出し、検出された笑顔度レベルが笑顔検出レベルに到達したことに応じて撮影処理を制御するように構成されている。勿論、笑顔検出結果に基づいて撮影以外の処理を行なうことも考えられる。   An image capturing apparatus according to the present invention is configured to detect a smile level of a detected face that is a smile detection target, and to control a shooting process in response to the detected smile level reaching the smile detection level. Has been. Of course, it is also conceivable to perform processing other than shooting based on the smile detection result.

現在、デジタルカメラなどの画像撮影装置が広範に普及しており、各種カメラ・ワークの自動化技術についても並行して進められている。このうち、自動撮影に関しては、笑顔など被写体の画像から特定のパターンを認識したことを利用して撮影するタイミングを決めるオート・シャッタ機能について研究開発がなされている。具体的な撮影タイミングの判断基準として、人物が見栄えよく写る条件である、「瞬きをしていない」、「視線がカメラ方向を向いている」、「微笑んでいる」などを適切な撮影タイミングの判断基準とすることが考えられる。   At present, image photographing devices such as digital cameras are widely used, and various camera / work automation technologies are being promoted in parallel. Among these, with regard to automatic shooting, research and development have been conducted on an auto-shutter function that determines the timing of shooting using recognition of a specific pattern from an image of a subject such as a smile. Specific criteria for shooting timing are appropriate shooting timings such as “not blinking”, “looking at the camera”, “smiling”, etc. It can be considered as a criterion.

ここで、撮像素子より入力された画像フレーム中に複数の被写体が含まれる場合には、いずれの被写体に着目して笑顔検出して撮影タイミングの制御を行なうべきか、という問題がある。   Here, when a plurality of subjects are included in the image frame input from the image sensor, there is a problem of which subject should be focused on to detect a smile and control the photographing timing.

これに対し、本発明に係る画像撮影装置は、撮影者が笑顔を検出して笑顔を撮りたい被写体を自在に選択するように構成されている。具体的には、前記顔検出手段によって検出された検出顔から笑顔検出の対象とすべきものを設定し、笑顔検出対象に設定された検出顔とその他の検出顔を区別してスルー画像上にOSD表示するが、表示画面上におけるユーザの操作に応じて、笑顔検出対象の検出顔を変更するようになっている。   On the other hand, the image photographing apparatus according to the present invention is configured such that the photographer detects a smile and freely selects a subject for which a smile is desired. Specifically, from the detected faces detected by the face detecting means, those to be smile detection targets are set, and the detected face set as the smile detection target is distinguished from other detection faces and displayed on the through image as an OSD. However, the face to be detected for smile is changed according to the user's operation on the display screen.

前記顔検出手段が入力画像から複数の被写体の顔を検出したときに、前記笑顔検出対象顔設定手段は、画像内の各検出顔の位置又はその他の情報に基づいて検出顔毎の重要度を判別し、該重要度に応じて各検出顔に優先順位を割り振り、優先順位の高い方から所定数の検出顔を笑顔検出の対象に設定する。   When the face detection means detects faces of a plurality of subjects from the input image, the smile detection target face setting means determines the importance of each detected face based on the position of each detection face in the image or other information. A priority is assigned to each detected face in accordance with the importance, and a predetermined number of detected faces are set as smile detection targets from the higher priority.

また、撮影者などのユーザが笑顔検出対象となっている検出顔を死人で切るようにするために、前記表示制御手段は、笑顔検出対象となった検出顔に枠を付けてスルー画像を表示するようにする。あるいは、前記表示制御手段は、前記顔検出手段によって検出されたすべての検出顔に枠を付けるとともに、笑顔検出対象となった検出顔についての枠の表示形式を変え又は所定のアイコンを付けてスルー画像を表示する。   In addition, in order for a user such as a photographer to cut a detection face that is a smile detection target by a dead person, the display control unit displays a through image with a frame on the detection face that is a smile detection target. To do. Alternatively, the display control means attaches a frame to all detected faces detected by the face detection means, and changes the display format of the frame for the detected face that is a smile detection target or attaches a predetermined icon to the through face. Display an image.

ここで、2以上の検出顔を笑顔検出対象とした場合において、前記撮影制御手段は、少なくとも1人の笑顔が検出されたら撮影を自動的に行なう、あるいは、選択されたN人全員の笑顔が検出されたら撮影を自動的に行なうようにしてもよい。   Here, when two or more detected faces are set as smile detection targets, the shooting control means automatically performs shooting when at least one smile is detected, or smiles of all the selected N people are detected. If detected, shooting may be performed automatically.

前記表示手段の表示画面はタッチパネルを兼ね備えていてもよい。このような場合、前記笑顔検出顔変更手段は、前記タッチパネルに対するユーザ操作に応じて笑顔検出対象の検出顔を変更するようにすればよい。   The display screen of the display means may also have a touch panel. In such a case, the smile detection face changing unit may change the detection face of the smile detection target in accordance with a user operation on the touch panel.

あるいは、前記顔検出手段が入力画像から複数の被写体の顔を検出するとともに各検出顔に操作順を付与し、前記笑顔検出対象顔設定手段が各検出顔の重要度に応じて複数の検出顔を笑顔検出の対象に設定している場合において、前記笑顔検出顔変更手段は、上下左右キーなどの一般的な操作キーを介してユーザが指定した検出顔を操作順に応じて特定し、該検出顔の優先順位を繰り上げて笑顔検出の対象に変更するようにする。   Alternatively, the face detection unit detects faces of a plurality of subjects from the input image and assigns an operation order to each detection face, and the smile detection target face setting unit sets a plurality of detection faces according to the importance of each detection face. Is set as a smile detection target, the smile detection face changing means specifies a detection face designated by a user through a general operation key such as an up / down / left / right key in accordance with an operation order, and detects the detected face. Raise the priority of the face and change it to a smile detection target.

また、複数の検出顔を笑顔検出の対象に設定している場合には、前記タッチパネルを介してユーザが指定した検出顔の優先順位を繰り上げて笑顔検出の対象に変更するようにする。   In addition, when a plurality of detected faces are set as smile detection targets, the priority order of the detection faces designated by the user via the touch panel is raised and changed to smile detection targets.

また、複数の検出顔を笑顔検出の対象に設定している場合には、前記笑顔検出顔変更手段は、前記タッチパネルを介して前記画面上でユーザが指定した領域内の検出顔の優先順位を繰り上げて笑顔検出の対象に変更するようにしてもよい。   Further, when a plurality of detected faces are set as smile detection targets, the smile detection face changing means sets the priority order of the detected faces in the area designated by the user on the screen via the touch panel. You may make it change to the object of smile detection.

ここで、笑顔検出の対象とすることができる被写体の人数がN人に制限されている場合において、前記タッチパネルを介して前記画面上でユーザが指定した領域内にN人を超える検出顔が含まれているときには、該領域内の検出顔毎の重要度を判別し、該重要度に応じて各検出顔に優先順位を割り振り、優先順位の高い方から所定数の検出顔を笑顔検出の対象に設定するようにすればよい。   Here, in the case where the number of subjects that can be smile detection targets is limited to N, detection faces exceeding N people are included in an area designated by the user on the screen via the touch panel. The priority for each detected face in the region is determined, a priority is assigned to each detected face according to the importance, and a predetermined number of detected faces from the higher priority are subject to smile detection. Should be set to.

このように、本発明に係る画像撮影装置によれば、撮影者が笑顔を検出して笑顔を撮りたい被写体を自在に選択することができる。例えばスルー画像を表示するタッチパネル上で任意に笑顔検出対象の被写体を指定することが可能であり、笑顔の検出対象となる被写体と非対象となる被写体とを区別してスルー画像に表示することもできる。したがって、例えばパーティーなどの風景を撮影する際に比較的大人数を画角に含めた場合などに、2人以上のメンバーが同時に笑っていることを撮影条件にして、笑顔検出に基づく自動撮影を好適に行なうことができる。   As described above, according to the image photographing apparatus of the present invention, the photographer can freely select a subject to detect a smile and to take a smile. For example, a smile detection target subject can be arbitrarily designated on a touch panel that displays a through image, and a subject that is a smile detection target and a non-target subject can be distinguished and displayed on the through image. . Therefore, for example, when shooting a scene such as a party, when a relatively large number of people is included in the angle of view, automatic shooting based on smile detection is performed under the condition that two or more members are laughing at the same time. It can be suitably performed.

また、本発明の第2の側面は、被写体を結像した入力画像を撮影するための処理をコンピュータ上で実行するようにコンピュータ可読形式で記述されたコンピュータ・プログラムであって、前記コンピュータに対し、
該入力画像を信号処理する画像信号処理手順と、
前記画像信号処理手順を実行して信号処理後の入力画像を所定の表示手段に画面表示する表示手順と、
前記画像信号処理手順を実行して信号処理後の入力画像から被写体の顔を検出する顔検出手順と、
前記顔検出手順を実行することによって検出された検出顔から笑顔検出の対象とすべきものを設定する笑顔検出対象顔設定手順と、
前記画面上に表示されるスルー画像上において、前記笑顔検出対象顔設定手順を実行して設定された検出顔をその他の検出顔と区別して表示する表示制御手順と、
前記の笑顔検出対象に設定された検出顔とその他の検出顔を区別した表示画面上におけるユーザの操作に応じて、笑顔検出対象の検出顔を変更する笑顔検出顔変更手順と、
を実行させることを特徴とするコンピュータ・プログラムである。
According to a second aspect of the present invention, there is provided a computer program written in a computer-readable format so as to execute a process for photographing an input image formed on a subject on a computer. ,
An image signal processing procedure for signal processing the input image;
A display procedure for executing the image signal processing procedure and displaying the input image after the signal processing on a predetermined display means;
A face detection procedure for executing the image signal processing procedure to detect the face of the subject from the input image after the signal processing;
A smile detection target face setting procedure for setting what should be a smile detection target from the detected faces detected by executing the face detection procedure;
On the through image displayed on the screen, a display control procedure for displaying the detected face set by executing the smile detection target face setting procedure separately from other detected faces;
A smile detection face changing procedure for changing a detection face of the smile detection target in accordance with a user operation on a display screen that distinguishes the detection face set as the smile detection target and the other detection faces;
Is a computer program characterized in that

本発明の第2の側面に係るコンピュータ・プログラムは、コンピュータ上で所定の処理を実現するようにコンピュータ可読形式で記述されたコンピュータ・プログラムを定義したものである。換言すれば、本発明の第2の側面に係るコンピュータ・プログラムをコンピュータにインストールすることによって、コンピュータ上では協働的作用が発揮され、本発明の第1の側面に係る画像撮影装置と同様の作用効果を得ることができる。   The computer program according to the second aspect of the present invention defines a computer program described in a computer-readable format so as to realize predetermined processing on the computer. In other words, by installing the computer program according to the second aspect of the present invention in the computer, a cooperative action is exhibited on the computer, and the same as the image photographing apparatus according to the first aspect of the present invention. An effect can be obtained.

本発明によれば、画像に含まれる被写体から笑顔を認識したことを利用して、適切な撮影タイミングを自動的に決定することができる、優れた画像処理装置及び画像処理方法、並びにコンピュータ・プログラムを提供することができる。   Advantageous Effects of Invention According to the present invention, an excellent image processing apparatus, image processing method, and computer program capable of automatically determining an appropriate shooting timing using recognition of a smile from a subject included in an image Can be provided.

また、本発明によれば、入力画像に複数の被写体が含まれる場合に、適当な被写体に着目して笑顔検出を行ない、好適な撮影タイミングを自動的に決定することができる、優れた画像処理装置及び画像処理方法、並びにコンピュータ・プログラムを提供することができる。   Further, according to the present invention, when an input image includes a plurality of subjects, it is possible to perform smile detection by paying attention to an appropriate subject and automatically determine a suitable shooting timing. An apparatus, an image processing method, and a computer program can be provided.

本発明に係る画像処理装置によれば、撮影者が笑顔を検出して笑顔を撮りたい被写体を自在に選択することができる。例えばスルー画像を表示するタッチパネル上で任意に笑顔検出対象の被写体を指定することが可能であり、笑顔の検出対象となる被写体と非対象となる被写体とを区別してスルー画像に表示することもできる。したがって、例えばパーティーなどの風景を撮影する際に比較的大人数を画角に含めた場合などに、2人以上のメンバーが同時に笑っていることを撮影条件にして、笑顔検出に基づく自動撮影を好適に行なうことができる。   According to the image processing apparatus of the present invention, a photographer can detect a smile and freely select a subject for which a smile is desired. For example, a smile detection target subject can be arbitrarily designated on a touch panel that displays a through image, and a subject that is a smile detection target and a non-target subject can be distinguished and displayed on the through image. . Therefore, for example, when shooting a scene such as a party, when a relatively large number of people is included in the angle of view, automatic shooting based on smile detection is performed under the condition that two or more members are laughing at the same time. It can be suitably performed.

本発明のさらに他の目的、特徴や利点は、後述する本発明の実施形態や添付する図面に基づくより詳細な説明によって明らかになるであろう。   Other objects, features, and advantages of the present invention will become apparent from more detailed description based on embodiments of the present invention described later and the accompanying drawings.

図1は、本発明を適用することができるデジタルスチルカメラ1のハードウェア構成を模式的に示した図である。FIG. 1 is a diagram schematically showing a hardware configuration of a digital still camera 1 to which the present invention can be applied. 図2は、カメラ画像をモニタ・ディスプレイ25上にスルー表示する際のデータフローを模式的に示した図である。FIG. 2 is a diagram schematically showing a data flow when a camera image is displayed through on the monitor / display 25. 図3は、デジタルスチルカメラ1が画像撮影処理する際のデータフローを模式的に示した図である。FIG. 3 is a diagram schematically showing a data flow when the digital still camera 1 performs image photographing processing. 図4は、デジタルスチルカメラ1が画像撮影する際の処理手順を示したフローチャートである。FIG. 4 is a flowchart showing a processing procedure when the digital still camera 1 captures an image. 図5は、デジタルスチルカメラ1が笑顔検出に基づいて自動撮影を行なうとともに撮影するタイミングを被写体に通知するための処理手順を示したフローチャートである。FIG. 5 is a flowchart showing a processing procedure for the digital still camera 1 to perform automatic shooting based on smile detection and notify the subject of shooting timing. 図6は、検出対象の検出顔のみ枠を表示したスルー画像の一例を示した図である。FIG. 6 is a diagram illustrating an example of a through image in which only a detection target detection face frame is displayed. 図7は、検出対象の検出顔に枠を表示するための処理手順を示したフローチャートである。FIG. 7 is a flowchart showing a processing procedure for displaying a frame on the detection face to be detected. 図8は、笑顔検出の対象として選択されている検出顔のみ枠の形態を変えて表示したスルー画像の一例を示した図である。FIG. 8 is a diagram illustrating an example of a through image displayed by changing only the frame shape of the detected face selected as the smile detection target. 図9は、検出対象の検出顔の枠にアイコンを付加したスルー画像の一例を示した図である。FIG. 9 is a diagram illustrating an example of a through image in which an icon is added to the detection face frame to be detected. 図10は、自動で選択された笑顔検出対象の顔を別の顔に変更する操作を説明するための図である。FIG. 10 is a diagram for explaining an operation for changing the automatically selected smile detection target face to another face. 図11は、自動で選択された笑顔検出対象の顔を別の顔に変更する操作を説明するための図である。FIG. 11 is a diagram for explaining an operation of changing the automatically selected smile detection target face to another face. 図12は、画像から検出された各検出顔に対してキー操作のための操作順を割り振る処理を説明するための図である。FIG. 12 is a diagram for explaining processing for assigning an operation order for key operation to each detected face detected from an image. 図13は、上下左右キーのキー操作に応じて処理対象の検出顔を変更するときの画面遷移例を示した図である。FIG. 13 is a diagram showing an example of screen transition when the detection face to be processed is changed according to the key operation of the up / down / left / right keys. 図14は、笑顔検出の対象となる検出顔を3名としたときに、笑顔検出対象の検出顔を変更するときの画面遷移例を示した図である。FIG. 14 is a diagram showing an example of screen transition when changing the detection face of the smile detection target when there are three detection faces to be smile detection targets. 図15Aは、同時に複数の検出顔を笑顔検出の対象として師弟するときの画面遷移例を示した図である。FIG. 15A is a diagram illustrating an example of screen transition when a plurality of detected faces are simultaneously taught as smile detection targets. 図15Bは、同時に複数の検出顔を笑顔検出の対象として師弟するときの画面遷移例を示した図である。FIG. 15B is a diagram showing an example of screen transition when a plurality of detected faces are simultaneously taught as smile detection targets. 図15Cは、同時に複数の検出顔を笑顔検出の対象として師弟するときの画面遷移例を示した図である。FIG. 15C is a diagram illustrating an example of screen transition when a plurality of detected faces are simultaneously trained as smile detection targets. 図15Dは、同時に複数の検出顔を笑顔検出の対象として師弟するときの画面遷移例を示した図である。FIG. 15D is a diagram illustrating an example of screen transition when a plurality of detected faces are simultaneously trained as smile detection targets. 図16は、ユーザのタッチパネル操作に応じて笑顔検出対象となる検出顔を切り替えるための処理手順を示したフローチャートである。FIG. 16 is a flowchart illustrating a processing procedure for switching a detection face to be a smile detection target according to a user's touch panel operation.

以下、図面を参照しながら本発明の実施形態について詳解する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1には、本発明を適用することができるデジタルスチルカメラ1のハードウェア構成を模式的に示している。図示のデジタルスチルカメラ1は、撮像素子11と、前処理部12と、カメラ・デジタル信号処理部(DSP)16で構成され、光学系10を介して入力される画像をデジタル処理して記録するようになっている。   FIG. 1 schematically shows a hardware configuration of a digital still camera 1 to which the present invention can be applied. The illustrated digital still camera 1 includes an image sensor 11, a preprocessing unit 12, and a camera / digital signal processing unit (DSP) 16, and digitally processes and records an image input via the optical system 10. It is like that.

光学系10は、被写体からの光を撮像素子11に集光するためのレンズ、レンズを移動させてフォーカス合わせやズーミングを行なうための駆動機構、開閉操作により被写体からの光を所定時間だけ撮像素子11に入射させるシャッタ機構、被写体からの光線束の方向並びに範囲を限定するアイリス(絞り)機構(いずれも図示しない)を含んでいる。ドライバ10aは、後述するCPU29からの制御信号に基づいて、光学系10内の各機構の駆動を制御する。   The optical system 10 includes a lens for condensing light from the subject on the image sensor 11, a drive mechanism for moving the lens to perform focusing and zooming, and light from the subject for a predetermined time by opening and closing operations. 11 includes a shutter mechanism that is incident on the lens 11 and an iris (aperture) mechanism that limits the direction and range of the light flux from the subject (both not shown). The driver 10a controls driving of each mechanism in the optical system 10 based on a control signal from the CPU 29 described later.

撮像素子11は、CCDやCMOSなどの光電変換効果を持つ各画素が2次元に配列され、被写体からの入射光を電気信号に変換する。受光側には例えばG市松RB色コーディング単板が配設されている。各色フィルタを通した入射光量に対応する信号電荷が各画素に蓄積され、各画素から読み出される3色の各信号電荷量からその画素位置における入射光の色を再現することができる。なお、撮像素子11から出力されるアナログ画像信号は、RGB各色の原色信号であるが、補色系の色信号であってもよい。   In the imaging device 11, pixels having a photoelectric conversion effect such as a CCD and a CMOS are two-dimensionally arranged to convert incident light from a subject into an electrical signal. For example, a G checkered RB color coding veneer is disposed on the light receiving side. Signal charges corresponding to the amount of incident light that has passed through each color filter are accumulated in each pixel, and the color of incident light at that pixel position can be reproduced from each signal charge amount of three colors read from each pixel. The analog image signal output from the image sensor 11 is a primary color signal for each of RGB colors, but may be a complementary color system color signal.

AFE(Analog Front End)部12は、CDS/AGC/ADCブロック13と、タイミング・ジェネレータ14と、Vドライバ15を備え、例えば1つのIC(Integrated Circuit)チップとして構成される。   An AFE (Analog Front End) unit 12 includes a CDS / AGC / ADC block 13, a timing generator 14, and a V driver 15. For example, the AFE (Analog Front End) unit 12 is configured as one IC (Integrated Circuit) chip.

CDS/AGC/ADCブロック13では、画素信号中の撮像素子211から受ける信号の低雑音を高精度に抑圧した後(Correlated Double Sampling(相関二重サンプリング):CDS)、サンプル・ホールドを行ない、さらにAGC(Automatic Gain Control:自動利得制御回路)により適正なゲイン・コントロールをかけて、AD変換を施してデジタル画像信号を出力する。   In the CDS / AGC / ADC block 13, after the low noise of the signal received from the image sensor 211 in the pixel signal is suppressed with high accuracy (Correlated Double Sampling (CDS)), the sample is held. Appropriate gain control is performed by an AGC (Automatic Gain Control: automatic gain control circuit), AD conversion is performed, and a digital image signal is output.

タイミング・ジェネレータ14は、撮像素子11を駆動するためのタイミング・パルス信号を生成する。そして、Vドライバ15は、このタイミング・パルス信号に従って、撮像素子11の各画素の電荷を垂直方向にライン単位で出力するための駆動信号を出力する。   The timing generator 14 generates a timing pulse signal for driving the image sensor 11. The V driver 15 outputs a drive signal for outputting the charge of each pixel of the image sensor 11 in the vertical direction in line units according to the timing pulse signal.

カメラDSP(Digital Signal Processor)部16は、カメラ信号処理部17と、解像度変換部18と、画像コーデック処理部19と、メモリ制御部20と、表示制御部21と、メディア制御部22を備え、例えば1つのICチップとして構成されている。   The camera DSP (Digital Signal Processor) unit 16 includes a camera signal processing unit 17, a resolution conversion unit 18, an image codec processing unit 19, a memory control unit 20, a display control unit 21, and a media control unit 22. For example, it is configured as one IC chip.

カメラ信号処理部17は、AFE部12から送られてくる画像信号に対して、欠陥画素補正やデジタル・クランプ、デジタル・ゲイン制御などの前処理を施した後、AWBによりホワイトバランス・ゲインを掛けるとともに、シャープネス・再度コントラスト調整などの画質補正処理を施して適正な色状態を再現し、さらにデモザイク処理によりRGB画面信号を作成する(画質調整には、フラッシュ調光や赤目軽減などの処理を含めることができる)。また、カメラ信号処理部17は、RGB画像信号に対してγ補正を施し、画像情報をモニタ出力、プリントアウト、又は画像記録する際に適した階調に変換する。また、カメラ信号処理部17では、AFE部13の出力画像信号を基に、輝度情報を検波し、所定範囲毎のヒストグラムを算出するヒストグラム検波、並びに所定範囲毎に色情報を検波する色検波が行なわれる。ヒストグラム検波並びに色検波の結果は、後述する制御部27に出力される。   The camera signal processing unit 17 performs preprocessing such as defective pixel correction, digital clamping, and digital gain control on the image signal sent from the AFE unit 12, and then multiplies the white balance and gain by AWB. At the same time, image quality correction processing such as sharpness and contrast adjustment is performed to reproduce the appropriate color state, and RGB screen signals are created by demosaic processing (including image processing such as flash dimming and red-eye reduction) be able to). Further, the camera signal processing unit 17 performs γ correction on the RGB image signal, and converts the image information into a gradation suitable for monitor output, printout, or image recording. Further, the camera signal processing unit 17 detects luminance information based on the output image signal of the AFE unit 13, calculates histograms for each predetermined range, and color detection for detecting color information for each predetermined range. Done. The results of histogram detection and color detection are output to the control unit 27 described later.

解像度変換部(Resolution Converter)18は、画像のサイズの変更を行なう。画像コーデック処理部19は、RGB画像信号を輝度信号と色差信号(Y/Cr/Cb)に色空間変換し、JPEG(Joint Picture Experts Group)圧縮やMPEG(Moving Picture Experts Group)などの符号化圧縮処理を行なう。   A resolution converter 18 changes the size of the image. The image codec processing unit 19 performs color space conversion of the RGB image signal into a luminance signal and a color difference signal (Y / Cr / Cb), and encodes compression such as JPEG (Joint Picture Experts Group) compression or MPEG (Moving Picture Experts Group). Perform processing.

メモリ制御部20は、撮影した画像情報などのデータを、SDRAM(Synchronous DRAM)などからなるメモリ装置24に対して書き込みや読み出しを行なうためのアクセス動作を制御する。   The memory control unit 20 controls an access operation for writing and reading data such as captured image information to and from a memory device 24 such as an SDRAM (Synchronous DRAM).

モニタ・ディスプレイ25は、例えばLCD(Liquid Crystal Display)やその他のタイプの薄型表示パネルなどで構成される。表示制御部21は、モニタ・ディスプレイ25の駆動を制御し、カメラ信号処理部17から出力された画像データ(スルー画像)や、メモリ装置24に保持されている画像データを、モニタ・ディスプレイ25に表示するための信号に変換して、モニタ・ディスプレイ25に出力する。   The monitor / display 25 is composed of, for example, an LCD (Liquid Crystal Display) or another type of thin display panel. The display control unit 21 controls the drive of the monitor / display 25, and the image data (through image) output from the camera signal processing unit 17 and the image data held in the memory device 24 are displayed on the monitor / display 25. The signal is converted into a signal for display and output to the monitor display 25.

また、モニタ・ディスプレイ25上には、スルー画像が表示される他、後述する制御部27からの要求に応じて、メニュー画面や各種設定画面や、各種警告情報などを合成して、OSD(On SCreen Display)として表示出力される。本実施形態では、モニタ・ディスプレイ25上にOSD表示される設定画面の1つとして、撮影者が任意に笑顔検出対象として指定した被写体を識別するための検出枠が含まれる。また、笑顔の検出対象となる被写体と非対象となる被写体とを区別して検出枠を表示することもできる。これらの詳細については後述に譲る。   In addition to displaying a through image on the monitor / display 25, a menu screen, various setting screens, various warning information, and the like are combined in response to a request from the control unit 27, which will be described later. Displayed as SCREEN Display). In the present embodiment, a detection frame for identifying a subject arbitrarily designated as a smile detection target by the photographer is included as one of the setting screens displayed on the monitor / display 25 by OSD. It is also possible to display a detection frame by distinguishing between a subject that is a smile detection target and a non-target subject. Details of these will be described later.

本実施形態では、モニタ・ディスプレイ25の表面にはタッチセンサが重畳されており、タッチパネルを兼ねている。タッチパネルが認識する座標と表示パネルに表示する座標は同一である。したがって、撮影者は、モニタ・ディスプレイの表示画面上で、笑顔の検出対象となる被写体や、その他のGUI部品などを直接指定することができる。   In the present embodiment, a touch sensor is superimposed on the surface of the monitor / display 25 and also serves as a touch panel. The coordinates recognized by the touch panel and the coordinates displayed on the display panel are the same. Therefore, the photographer can directly designate a subject to be detected as a smile, other GUI parts, and the like on the display screen of the monitor / display.

メディア制御部22は、メモリスティック(登録商標)などの着脱可能な記録メディア26を装填するためのスロットを備え、記録メディア26へのデータの書き込みや読み出しを行なう。メディア制御部22は、例えば、メモリ装置24に保持されている撮影画像ファイルを記録メディア26に記録する。   The media control unit 22 includes a slot for loading a removable recording medium 26 such as a Memory Stick (registered trademark), and writes and reads data to and from the recording medium 26. For example, the media control unit 22 records the captured image file held in the memory device 24 on the recording medium 26.

また、カメラDSP部16は、バス・インターフェース・ユニット(BIU)23を介して制御部27に接続されている。制御部27は、UI(User Interface)部28と、ユーザ操作に応じて当該装置全体の動作を統括的に制御するCPU(Central Processing Unit)29と、CPU29にとっての主記憶メモリであるRAM30と、プログラム・コードや装置情報などを不揮発的に保持するEEPROM(Electrically Erasable and Programmable ROM)31などで構成される。   The camera DSP unit 16 is connected to the control unit 27 via a bus interface unit (BIU) 23. The control unit 27 includes a UI (User Interface) unit 28, a CPU (Central Processing Unit) 29 that comprehensively controls the operation of the entire apparatus according to a user operation, a RAM 30 that is a main storage memory for the CPU 29, It consists of an EEPROM (Electrically Erasable and Programmable ROM) 31 that holds program codes, device information, and the like in a nonvolatile manner.

CPU29は、解像度変換部18により解像度変換した後の画像を用いて被写体の笑顔検出処理を行なう。また、CPU29は、モニタ・ディスプレイ25上にOSD表示するためのGUI処理を行なう。本実施形態では、このGUI処理には、撮影者が任意に笑顔検出対象として指定した被写体を識別するための検出枠の表示と、笑顔の検出対象となる被写体と非対象となる被写体とを区別して検出枠を表示することが含まれる。   The CPU 29 performs subject smile detection processing using the image whose resolution has been converted by the resolution converter 18. Further, the CPU 29 performs GUI processing for OSD display on the monitor / display 25. In the present embodiment, the GUI process includes a display of a detection frame for identifying a subject arbitrarily designated as a smile detection target by the photographer, and a subject that is a smile detection target and a non-target subject. Separately, a detection frame is displayed.

UI部28は、ユーザが指示入力を行なうための操作機能や、スピーカやLEDランプなどの出力機能を備えている。操作機能として、例えば、シャッタ・レリーズ・ボタンやフラッシュ発光のオン/オフなどの各種設定を行なうためのキーやダイヤルなどを備え、これらへのユーザ操作に応じた制御信号がCPU29に入力される。本実施形態では、UI部28は、操作機能として、図示のように上下左右キー、及びこれら4つのキーに囲まれた中央(決定キー)の5通りの入力が可能な操作キー(あるいは十字キー)を備えているものとする。   The UI unit 28 has an operation function for a user to input an instruction and an output function such as a speaker or an LED lamp. As operation functions, for example, a shutter release button, keys and dials for performing various settings such as on / off of flash emission, and the like, control signals corresponding to user operations on these are input to the CPU 29. In the present embodiment, the UI unit 28 has, as an operation function, up / down / left / right keys as shown in the figure, and operation keys (or cross keys) capable of five types of input (center key) surrounded by these four keys. ).

また、UI部28は、出力機能を用いて、アラームなどの音声出力や、LEDの点灯又は点滅によって、カメラ・ワークなどに関する情報をユーザにフィードバックすることができる。   Further, the UI unit 28 can feed back information related to the camera work, etc., to the user by using an output function, by outputting a sound such as an alarm, or by lighting or blinking the LED.

フラッシュ発光部32は、制御部27からのフラッシュ制御情報に従って、フラッシュを発光する。   The flash light emitting unit 32 emits a flash according to the flash control information from the control unit 27.

このデジタルスチルカメラ1では、撮像素子11によって受光されて光電変換された信号が、順次AFE部12に供給され、CDS処理やAFE処理が施された後、デジタル信号に変換される。カメラ信号処理部17は、AFE部12から供給されたデジタル画像信号を画質補正し、最終的に輝度信号(Y)と色差信号(R−Y、B−Y)に変換して出力する。   In the digital still camera 1, the signals received and photoelectrically converted by the image sensor 11 are sequentially supplied to the AFE unit 12, subjected to CDS processing and AFE processing, and then converted into digital signals. The camera signal processing unit 17 corrects the image quality of the digital image signal supplied from the AFE unit 12, and finally converts the digital image signal into a luminance signal (Y) and a color difference signal (RY, BY) and outputs the result.

カメラ信号処理部17から出力された画像データは、表示制御部21によって表示用の画像信号に変換され、モニタ・ディスプレイ25上でスルー画像が表示される。   The image data output from the camera signal processing unit 17 is converted into a display image signal by the display control unit 21, and a through image is displayed on the monitor / display 25.

図2には、カメラ画像をモニタ・ディスプレイ25上に表示する際のデータフローを模式的に示している。   FIG. 2 schematically shows a data flow when a camera image is displayed on the monitor display 25.

被写体の情報は光学系10、撮像素子11、及びAFE部12を通してデジタル信号に変換されカメラDSP部16へ送られる。カメラDSP部16では、画像信号処理により明るさ、色などの補正が行なわれ、パネルに表示するための画像の解像度変換がさらに行なわれ、その結果作成された画像がモニタ・ディスプレイ25上に表示される。このような画像出力処理の制御は、制御部27内のCPU29が所定のプログラム・コードを実行するという形態で実現される。実際には、制御の分担が細かく分かれているが、本発明の要旨に直接関連しないので、ここでは詳細な説明を省略する。   Information on the subject is converted into a digital signal through the optical system 10, the image sensor 11, and the AFE unit 12 and sent to the camera DSP unit 16. The camera DSP unit 16 corrects brightness, color, and the like by image signal processing, further converts the resolution of the image to be displayed on the panel, and displays the resulting image on the monitor display 25. Is done. Such control of the image output processing is realized in such a manner that the CPU 29 in the control unit 27 executes a predetermined program code. Actually, the sharing of control is finely divided, but since it is not directly related to the gist of the present invention, detailed description thereof is omitted here.

また、UI部28を介したユーザ操作などで制御部27に画像の記録が指示されると、カメラ信号処理部17からの画像データは画像コーデック処理部19に供給され、所定の圧縮符号化処理が施されて、メモリ制御部20を通じてメモリ装置24に保存され、あるいはメディア制御部22を通じて記録メディア26に保存される。静止画像の記録の際には、カメラ信号処理部17からは1フレーム分の画像データが画像コーデック処理部19に供給される。ちなみに、動画像の記録の際には、処理された画像データが画像コーデック処理部19に連続的に供給される。   When the control unit 27 is instructed to record an image by a user operation or the like via the UI unit 28, the image data from the camera signal processing unit 17 is supplied to the image codec processing unit 19, and a predetermined compression encoding process is performed. Is stored in the memory device 24 through the memory control unit 20 or stored in the recording medium 26 through the media control unit 22. When a still image is recorded, image data for one frame is supplied from the camera signal processing unit 17 to the image codec processing unit 19. Incidentally, when recording a moving image, processed image data is continuously supplied to the image codec processing unit 19.

図3には、デジタルスチルカメラ1が画像撮影処理する際のデータフローを模式的に示している。また、図4には、デジタルスチルカメラ1が画像撮影する際の処理手順をフローチャートの形式で示している。   FIG. 3 schematically shows a data flow when the digital still camera 1 performs image photographing processing. FIG. 4 shows a processing procedure when the digital still camera 1 captures an image in the form of a flowchart.

上記で図2を参照しながら説明したと同様に、被写体をモニタ・ディスプレイ25上に表示させている状態で、UI部28中のシャッターキーをユーザが押下すると(ステップS1)、UI部28はキー検出して、キー情報の信号をCPU29に送る。これに応答して、CPU29は、ドライバ10aに制御信号を出力し、撮影処理を実行する(ステップS2)。その際、適宜AF及びAEの処理が併せて行なわれる。   As described above with reference to FIG. 2, when the user presses the shutter key in the UI unit 28 with the subject displayed on the monitor / display 25 (step S <b> 1), the UI unit 28 The key is detected and a key information signal is sent to the CPU 29. In response to this, the CPU 29 outputs a control signal to the driver 10a and executes a photographing process (step S2). At that time, AF and AE processes are appropriately performed together.

ドライバ10aを通じて撮影処理の指示が行なわれると、上記と同様に、被写体の情報は光学系10、撮像素子11、及びAFE部12を通してデジタル信号に変換されカメラDSP部16へ送られる。カメラDSP部16では、画像信号処理により明るさ、色などの補正が行なわれ、撮影モードに応じた画像サイズとなるように解像度変換がさらに行なわれる(ステップS3)。その後、画像コーデック処理部19によって画像にJPEG圧縮処理が施された後(ステップS4)、メディア制御部22を通じて記録メディア26に記録される(ステップS5)。   When an instruction for photographing processing is given through the driver 10a, the subject information is converted into a digital signal through the optical system 10, the image sensor 11, and the AFE unit 12 and sent to the camera DSP unit 16 as described above. In the camera DSP unit 16, brightness, color, and the like are corrected by image signal processing, and resolution conversion is further performed to obtain an image size corresponding to the shooting mode (step S3). Thereafter, the image codec processing unit 19 performs JPEG compression processing on the image (step S4), and then records the image on the recording medium 26 through the media control unit 22 (step S5).

本実施形態に係るデジタルスチルカメラ1は、笑顔など被写体の画像から特定のパターンを認識したことを利用して撮影するタイミングを決めるオート・シャッタ機能を適用することができる。笑顔認識は、CPU29において所定の画像認識処理プログラムを実行するか、又は、制御部27内に画像認識処理用のエンジン(図示しない)を搭載することによって実現可能である。笑顔認識技術自体は周知のものでよいので、ここでは詳細な説明を省略する。   The digital still camera 1 according to the present embodiment can apply an auto-shutter function that determines the timing of shooting using the recognition of a specific pattern from an image of a subject such as a smile. Smile recognition can be realized by executing a predetermined image recognition processing program in the CPU 29 or mounting an engine for image recognition processing (not shown) in the control unit 27. Since the smile recognition technology itself may be known, detailed description thereof is omitted here.

なお、デジタルスチルカメラ1は、カメラが撮影処理を実施する際に、UI部28の出力機能を用いて、アラーム音の発生やランプの点灯若しくは点滅といったUI部28からの外部出力によって撮影するタイミングを被写体に通知するようにしてもよい。   Note that the digital still camera 1 uses the output function of the UI unit 28 when the camera performs a shooting process, and performs shooting using an external output from the UI unit 28 such as generation of an alarm sound or lighting or blinking of a lamp. May be notified to the subject.

本実施形態に係るデジタルスチルカメラ1は、被写体の笑顔検出に基づいて自動撮影処理を行なうことができる。図5には、デジタルスチルカメラ1が笑顔検出に基づいて自動撮影を行なうための処理手順をフローチャートの形式で示している。   The digital still camera 1 according to the present embodiment can perform automatic photographing processing based on detection of a smiling face of a subject. FIG. 5 shows a processing procedure for the digital still camera 1 to perform automatic photographing based on smile detection in the form of a flowchart.

まず、図2と同様のデータフローに従って、光学系10より入力されるカメラ画像をモニタ・ディスプレイ25上に表示させる(ステップS11)。このとき、表示される画像は、制御部27内にも供給される。   First, the camera image input from the optical system 10 is displayed on the monitor display 25 according to the same data flow as in FIG. 2 (step S11). At this time, the displayed image is also supplied to the control unit 27.

本実施形態では、撮影者は、笑顔を検出して笑顔を撮りたい被写体を自在に選択することができる(ステップS12)。具体的には、スルー画像を表示するモニタ・ディスプレイ25(タッチパネル)上で任意に笑顔検出対象の被写体を指定する。   In the present embodiment, the photographer can detect a smile and freely select a subject for which a smile is desired to be taken (step S12). Specifically, a subject for smile detection is arbitrarily designated on a monitor display 25 (touch panel) that displays a through image.

所定の画像認識処理プログラムを実行するCPU29(若しくは、図示しない画像認識エンジン)は、先行ステップS12において指定された被写体についての笑顔度レベルを検出する(ステップS13)。この指定操作に応じて、モニタ・ディスプレイ25上では、指定された指定した被写体を識別するための検出枠がOSD表示される。このとき、笑顔の検出対象となる被写体と非対象となる被写体とを区別して検出枠を表示するようにしてもよい。   The CPU 29 (or an image recognition engine (not shown)) that executes a predetermined image recognition processing program detects the smile level for the subject specified in the preceding step S12 (step S13). In response to this designation operation, a detection frame for identifying the designated designated subject is displayed on the monitor / display 25 by OSD. At this time, the detection frame may be displayed by distinguishing a subject that is a smile detection target and a non-target subject.

ここで、UI部28中のシャッターキーをユーザが押下すると、カメラ撮影処理が起動する(ステップS14)。具体的には、CPU29がドライバ10aを通じて撮影処理の指示を行ない、被写体の情報は光学系10、撮像素子11、及びAFE部12を通してデジタル信号に変換されカメラDSP部16へ送られる。カメラDSP部16では、画像信号処理により明るさ、色などの補正が行なわれる。ここで、笑顔検出に基づいて自動撮影機能がオンされているときには、シャッターキーの押下操作により即座にシャッタが切られるのではなく、被写体の笑顔度レベルがあらかじめ設定された笑顔検出レベルに達したときに、カメラ撮影処理が起動する。   Here, when the user presses the shutter key in the UI unit 28, the camera photographing process is started (step S14). Specifically, the CPU 29 instructs the photographing process through the driver 10 a, and the subject information is converted into a digital signal through the optical system 10, the image sensor 11, and the AFE unit 12 and sent to the camera DSP unit 16. The camera DSP unit 16 corrects brightness, color, and the like by image signal processing. Here, when the automatic shooting function is turned on based on smile detection, the shutter is not immediately released by pressing the shutter key, but the smile level of the subject reaches a preset smile detection level. When the camera shooting process starts.

このようにして、シャッターキーの押下操作又は笑顔検出結果に応じてカメラ撮影処理が実施された後、解像度変換部18によって撮影モードに応じた画像サイズに変換され(ステップS15)、さらに、画像コーデック処理部19によって画像にJPEG圧縮処理が施された後(ステップS16)、メディア制御部22を通じて記録メディア26に記録される(ステップS17)。   In this way, after the camera photographing process is performed according to the pressing operation of the shutter key or the smile detection result, the image is converted into the image size according to the photographing mode by the resolution conversion unit 18 (step S15), and further the image codec. After the image is subjected to JPEG compression processing by the processing unit 19 (step S16), it is recorded on the recording medium 26 through the media control unit 22 (step S17).

本実施形態に係るデジタルスチルカメラ1は、撮影者が任意に笑顔検出対象の被写体を指定することが可能であり、例えば2人以上の被写体を同時に笑顔検出の対象として指定することも許容されている。そして、笑顔の検出対象となる被写体と非対象となる被写体とを区別してスルー画像に表示するとともに、スルー画像から得られた被写体の笑顔度レベルが所定の撮影条件を満たすときには、撮影処理が自動的に起動する。以下では、笑顔検出に基づく撮影処理について説明する。なお、被写体の顔検出並びに検出顔の笑顔検出処理のために、制御部27内に画像認識用のエンジンを装備することも考えられるが、以下では便宜上、これらの処理をCPU29内で実施するものとする。   In the digital still camera 1 according to the present embodiment, a photographer can arbitrarily designate a subject for smile detection, and for example, it is allowed to designate two or more subjects as smile detection targets at the same time. Yes. Then, a subject that is a smile detection target and a non-target subject are distinguished and displayed on the through image, and when the smile level of the subject obtained from the through image satisfies a predetermined shooting condition, the shooting process is automatically performed. Start up automatically. Hereinafter, a photographing process based on smile detection will be described. Note that it is conceivable to equip the control unit 27 with an image recognition engine for subject face detection and detected face smile detection processing, but in the following, these processing will be performed in the CPU 29 for convenience. And

(1)顔検出処理
解像度変換部18によりスルー画像用に解像度変換された画像データは、所定の画像認識処理プログラムを実行するCPU29にも供給される。そして、例えば画像パターン検出により顔検出すなわち画像フレーム中から各被写体の顔領域の抽出を行なう。本発明の要旨は特定の顔検出処理に限定されるものではない。例えば、「ピクセル差分特徴を用いた実時間任意姿勢顔検出器の学習」(第10回画像センシングシンポジウム(SSII 2004))に記載されている顔検出処理アルゴリズムを適用することができる。
(1) Face Detection Processing The image data whose resolution has been converted for through images by the resolution conversion unit 18 is also supplied to a CPU 29 that executes a predetermined image recognition processing program. For example, face detection is performed by image pattern detection, that is, the face area of each subject is extracted from the image frame. The gist of the present invention is not limited to a specific face detection process. For example, the face detection processing algorithm described in “Learning a real-time arbitrary posture face detector using pixel difference features” (10th Image Sensing Symposium (SSII 2004)) can be applied.

顔検出に際し、解像度変換した後の画像全体にわたってスキャンを行なう。但し、画像内に多数の被写体が含まれる場合には、すべての検出顔を対象にして補正や笑顔検出の処理を行なうことは難しい。そこで、各検出顔に優先順位を付け、優先順位の高い検出顔を笑顔検出処理の対象に指定するようにしてもよい。   In face detection, the entire image after resolution conversion is scanned. However, when a large number of subjects are included in the image, it is difficult to perform correction and smile detection processing on all detected faces. Therefore, priorities may be assigned to the detected faces, and detected faces with higher priorities may be designated as smile detection processing targets.

なお、優先順位の設定方法として、例えば、画面の中央に近い、あるいは顔領域が大きいといった情報に基づいて被写体の重要度を表すスコアをつけ、スコアの大きい順に優先順位を高くするようにすればよい。   As a priority setting method, for example, a score indicating the importance of the subject is attached based on information such as the fact that the face is close to the center or the face area is large, and the priority is increased in descending order of score. Good.

現在顔検出している顔の中で笑顔検出の顔を撮影者が知るために、笑顔検出対象となっている被写体と、対象外の被写体とをスルー画像上で区別して表示することが好ましい。検出対象及び対象外の被写体を区別するために、例えば、検出対象の検出顔のみ枠を表示するという方法が考えられる。図6には、検出対象の検出顔のみ枠を表示したスルー画像の一例を示している。   In order for the photographer to know the smile detection face among the faces that are currently being detected, it is preferable that the subject that is the subject of smile detection and the subject that is not the target are displayed separately on the through image. In order to distinguish between a detection target and a non-target subject, for example, a method of displaying a frame only on the detection face of the detection target is conceivable. FIG. 6 shows an example of a through image in which a frame is displayed only on the detection face to be detected.

図7には、検出対象の検出顔に枠を表示するための処理手順をフローチャートの形式で示している。ここでは、N人までの被写体を笑顔検出の対象にできるものとする(但し、Nは正の整数)。   FIG. 7 shows a processing procedure for displaying a frame on the detection face to be detected in the form of a flowchart. Here, it is assumed that up to N subjects can be smile detection targets (where N is a positive integer).

まず、図2と同様のデータフローに従って、光学系10より入力されるカメラ画像をモニタ・ディスプレイ25上に表示させる(ステップS21)。このとき、表示されるスルー画像の情報は、制御部27内にも供給される。   First, the camera image input from the optical system 10 is displayed on the monitor display 25 according to the same data flow as in FIG. 2 (step S21). At this time, the displayed through image information is also supplied to the control unit 27.

制御部27内のCPU29は、所定の顔検出プログラムを実行中であり、スルー画像の情報から顔検出を行なう(ステップS22)。ここで、M人の顔が検出されたときには(但し、Mは正の整数で、M>Nとする)、検出顔毎の重要度を判別し、この判別結果に基づいて各検出顔に優先順位を付ける(ステップS23)。   The CPU 29 in the control unit 27 is executing a predetermined face detection program, and performs face detection from the information of the through image (step S22). Here, when M faces are detected (where M is a positive integer and M> N), the importance for each detected face is determined, and priority is given to each detected face based on the determination result. Ranking is given (step S23).

そして、優先順位が1〜Nまでの検出顔については、笑顔検出用のGUI処理、すなわち当該検出顔に枠をOSD表示する(ステップS24)。一方、優先順位がN+1〜Mまでの検出顔については、通常のGUI処理を行なう(ステップS25)。   For detected faces with priorities of 1 to N, a GUI process for smile detection, that is, a frame is OSD displayed on the detected face (step S24). On the other hand, a normal GUI process is performed for the detected faces with the priority orders N + 1 to M (step S25).

また、検出対象及び対象外の被写体を区別して表示する他の方法として、すべての検出顔に枠を表示するが、笑顔検出の対象として選択されている検出顔のみ枠の形態(色や太さ、線の種類などの線の属性)を変える(図8を参照のこと)、あるいは検出対象の検出顔の枠にアイコンを付加する(図9を参照のこと)といった方法なども挙げることができる。図8に示した例では、前列の左から2名の被写体が笑顔検出対象に選択されているが、これらの検出顔のみ太線の枠で囲い、それ以外の検出顔は細い点線の枠で囲っている。また、図9に示した例では、前列の左から2名の被写体が笑顔検出対象に選択されているが、これらの検出顔にのみ、選択されたことを示すアイコンが付加されている。   In addition, as another method for distinguishing and displaying a detection target and a non-target subject, a frame is displayed on all detected faces, but only the detection face selected as a smile detection target is displayed in the form (color and thickness). And a method of changing an attribute of a line such as a line type (see FIG. 8) or adding an icon to a frame of a detection face to be detected (see FIG. 9). . In the example shown in FIG. 8, two subjects from the left in the front row are selected as smile detection targets, but only these detection faces are surrounded by a thick line frame, and other detection faces are surrounded by a thin dotted line frame. ing. In the example shown in FIG. 9, two subjects from the left in the front row are selected as smile detection targets, but an icon indicating that they are selected is added only to these detected faces.

このように、枠の表示方法に関しては2通りの仕様が考えられる。1つは自動で選択される笑顔検出対象の人数分だけ、変更された優先順位で上位の人だけを選択して枠を表示するという方法である。もう1つは、領域で囲った顔すべてを新たな笑顔検出対象とする方法である。後者のようにすべての検出顔を枠で囲う場合には、ユーザ(撮影者)は、笑顔検出対象となっている検出顔を確認できるだけでなく、システムが入力画像から顔検出したすべての被写体を確認することもできる。   In this way, there are two possible specifications for the frame display method. One is a method of displaying a frame by selecting only the top person with the changed priority for the number of smile detection targets automatically selected. The other is a method in which all faces surrounded by a region are set as new smile detection targets. In the latter case, when all the detected faces are surrounded by a frame, the user (photographer) can not only check the detected faces that are the smile detection targets, but also all the subjects whose faces are detected by the system from the input image. It can also be confirmed.

(2)笑顔検出処理
笑顔検出の仕様については幾つかのケースが想定される。例えば、複数の検出顔についてそれぞれ笑顔検出を行ない、これら複数の検出結果を統計的に処理することもできる。ここでは説明の簡素化のため、上記で検出された検出顔のうち最も優先順位の高い顔1名(仮に、その被写体を「Aさん」とする)について着目し、その人が笑ったら自動的に撮影を行なう仕様に従って説明する。
(2) Smile detection processing There are several possible cases for smile detection specifications. For example, smile detection can be performed for a plurality of detected faces, and the plurality of detection results can be statistically processed. Here, for the sake of simplification of explanation, attention is paid to one face with the highest priority among the detected faces detected above (assuming that the subject is “Mr. A”), and automatically when the person laughs. The description will be given according to the specifications for shooting.

笑顔検出処理には、上記の顔検出処理と同じアルゴリズム、例えば、「ピクセル差分特徴を用いた実時間任意姿勢顔検出器の学習」(第10回画像センシングシンポジウム(SSII 2004))に記載されている顔検出処理アルゴリズムを適用することができる。但し、この場合は参照する画像の辞書が相違する。   The smile detection process is described in the same algorithm as the face detection process described above, for example, “Learning a real-time arbitrary posture face detector using pixel difference features” (10th Image Sensing Symposium (SSII 2004)). A face detection processing algorithm can be applied. However, in this case, the dictionary of the image to be referenced is different.

そして、着目する被写体の検出顔について笑顔が検出されると、入力画像についての撮影用の解像度変換、JPEG画像圧縮、符号化圧縮画像の記録メディアへの記録といった撮影処理が起動する。   When a smile is detected on the detected face of the subject of interest, shooting processing such as resolution conversion for shooting the input image, JPEG image compression, and recording of the encoded compressed image on a recording medium is started.

上述したように、入力画像からM人の顔が検出されたときには、優先順位付けによって、このうちN人が笑顔検出の対象として選択される(但し、MとNは正の整数で、M≧Nとする)(前述)。ここで、Nが2以上、すなわち笑顔検出の対象となる被写体が複数存在する場合には、少なくとも1人の笑顔が検出されたら撮影を自動的に行なう、あるいは、選択されたN人全員の笑顔が検出されたら撮影を自動的に行なう、というような仕様が考えられる。いずれにしても対象のN人が誰なのかは優先順位の決め方の中で決まっている   As described above, when M faces are detected from the input image, N persons are selected as smile detection targets by prioritization (provided that M and N are positive integers, and M ≧ N) (described above). Here, when N is 2 or more, that is, when there are a plurality of subjects for smile detection, shooting is automatically performed when at least one smile is detected, or the smiles of all selected N people are smiled. It is possible to consider a specification such that a picture is automatically taken when a camera is detected. In any case, who is the target N person is determined in the priority order.

なお、本明細書では、笑顔検出に基づいて撮影処理を起動する場合についてのみ説明するが、勿論、笑顔検出結果に基づいて撮影以外の処理を行なうことも考えられる。   In the present specification, only the case where the photographing process is activated based on smile detection will be described. Of course, it is also conceivable to perform processes other than photographing based on the smile detection result.

(3)被写体の選択
上記の説明では、撮像素子より入力された画像フレーム中に複数の被写体が含まれる場合には、システム側で笑顔検出の対象となる被写体を自動で選択するようになっている。各検出顔について重要度を判別し、判別結果に基づいて優先順位を付け、最も優先順位の高い検出顔を笑顔検出の対象に指定する。
(3) Selection of subject In the above description, when a plurality of subjects are included in the image frame input from the image sensor, the subject on which smile detection is performed is automatically selected on the system side. Yes. The degree of importance is determined for each detected face, priorities are assigned based on the determination results, and the detected face with the highest priority is designated as a smile detection target.

撮影者は、モニタ・ディスプレイ25に表示されたスルー画像を介して、笑顔の検出対象となる被写体を指定することができる。この指定方法として、タッチパネルとして構成されるモニタ・ディスプレイ25の表示画面上で指先やスタイラスを用いて直接被写体を指示する方法と、UI部28が備える十字キーを用いて選択する方法などが考えられる。以下では、各方法についてそれぞれ説明する。   The photographer can designate a subject as a smile detection target via the through image displayed on the monitor / display 25. As the designation method, there are a method of directly instructing a subject using a fingertip or a stylus on a display screen of a monitor display 25 configured as a touch panel, a method of selecting using a cross key provided in the UI unit 28, and the like. . Hereinafter, each method will be described.

ここで、図10に示す入力画像を例にとって、自動で選択された笑顔検出対象の顔を別の顔に変更する操作について説明する。同図では、画像中で前列略中央の枠で囲われた検出顔が優先順位に従って笑顔検出の対象として自動選択されているときに、前列の右隣の被写体を笑顔検出の対象に変更したいとする。   Here, the operation for changing the automatically selected smile detection target face to another face will be described using the input image shown in FIG. 10 as an example. In the same figure, when the detected face surrounded by the frame at the center of the front row in the image is automatically selected as the smile detection target according to the priority order, the subject on the right in the front row is to be changed to the smile detection target. To do.

図11に示すように、タッチパネルを構成するモニタ・ディスプレイ25の画面上で、変更したい顔の付近に対してタッチ操作を行なう。すると位置検出によりタッチされた座標を認識する。続いて、画像パターン検出によりその座標の近傍で顔検出を行なう。   As shown in FIG. 11, a touch operation is performed on the vicinity of the face to be changed on the screen of the monitor display 25 constituting the touch panel. Then, the touched coordinates are recognized by position detection. Subsequently, face detection is performed in the vicinity of the coordinates by image pattern detection.

このとき、顔検出ができたならば、その検出顔の優先順位を最高位に変更する。これに伴い、当該検出顔より優先順位が高位であったその他の検出顔の優先順位をそれぞれ1つずつ繰り下げる。   At this time, if the face is detected, the priority of the detected face is changed to the highest. Accordingly, the priorities of the other detected faces having higher priority than the detected face are lowered by one each.

そして、OSD表示処理する際に、この新しい優先順位変更の情報に基づいて、優先順位が最高位に変更された顔に対して枠作成の処理を行ない、モニタ・ディスプレイ25上に枠を表示させる。   Then, when the OSD display process is performed, a frame creation process is performed on the face whose priority has been changed to the highest level based on the new priority change information, and the frame is displayed on the monitor display 25. .

なお、上記ではタッチすることにより顔検出が成功した場合で説明したが、タッチした位置で顔検出ができなかった場合は、変更の処理を実施しない。   In the above description, the case where face detection is successful by touching has been described. However, when face detection cannot be performed at the touched position, change processing is not performed.

また、タッチパネルではなく、UI部28に装備された上下左右キーを用いて、笑顔検出の対象となる被写体を選択するという操作方法も考えられる。以下では、このような操作方法について説明する。   In addition, an operation method of selecting a subject for smile detection using the up / down / left / right keys provided on the UI unit 28 instead of the touch panel is also conceivable. Hereinafter, such an operation method will be described.

この場合、顔検出処理が終了した時点で、各検出顔に対しキー操作のための操作順を割り振る。図12にはその様子を図解している。図示の例では、画像を上から下に向かって水平スキャンを繰り返していき、左から右、そして上から下に、各検出顔に操作順を付けていく。   In this case, when the face detection process ends, an operation order for key operation is assigned to each detected face. FIG. 12 illustrates this state. In the example shown in the figure, the horizontal scanning of the image is repeated from top to bottom, and the operation order is assigned to each detected face from left to right and from top to bottom.

そして、ユーザによる上下左右キーのキー操作が行なわれると、現在選択されている検出顔から、キー操作に応じた分だけ操作順を前後させて、処理対象となる検出顔を変更する。   When the user operates the up / down / left / right key, the detected face to be processed is changed by moving the operation order back and forth in accordance with the key operation from the currently selected detected face.

図13には、上下左右キーのキー操作に応じて処理対象の検出顔を変更するときの画面遷移例を示している。同図において、操作したキーを斜線で示しておく。各検出顔に操作順が割り振られた後に、中央の決定キーを押下すると顔を変更するモードに入る。そして、左キーで操作順を1だけ増分するように顔選択を移動させ、また、右キーで操作順を1だけ減分するように顔選択を移動させる。移動が終わったら、再び決定キーで笑顔検出対象の顔を決定する。   FIG. 13 shows a screen transition example when the detection face to be processed is changed according to the key operation of the up / down / left / right keys. In the figure, the operated keys are indicated by diagonal lines. After the operation order is assigned to each detected face, a mode for changing the face is entered when the center determination key is pressed. Then, the face selection is moved so that the operation order is incremented by 1 with the left key, and the face selection is moved so that the operation order is decremented by 1 with the right key. When the movement is finished, the smile detection target face is determined again with the enter key.

(4)笑顔検出対象の検出顔が複数存在する場合の処理
ここまでの説明では、笑顔検出の対象となる検出顔を1名だけに限定していたが、複数の検出顔を笑顔検出の対象とすることができる。
(4) Processing when there are a plurality of smile detection target faces In the description so far, the detection face to be a smile detection target is limited to only one person, but a plurality of detection faces are smile detection targets. It can be.

図14には、笑顔検出の対象となる検出顔を3名としたときに、笑顔検出対象の検出顔を変更するときの画面遷移例を示している。   FIG. 14 shows an example of screen transition when changing the detected face of the smile detection target when the number of detected faces to be the smile detection target is three.

まず、顔検出を行なった後、例えば、画面の中央に近い、あるいは顔領域が大きいといった情報に基づいて被写体の重要度を表すスコアをつけるといったアルゴリズムに従って優先順位の設定を行ない、優先順位が上位3名までの被写体が検出対象に選択され、同図左に示すようにモニタ・ディスプレイ25上の画面においてこれらの検出顔が枠で囲われる。   First, after performing face detection, priorities are set according to an algorithm such as assigning a score representing the importance level of the subject based on information such as the fact that the face area is close to the center or the face area is large. Up to three subjects are selected as detection targets, and these detection faces are surrounded by a frame on the screen on the monitor display 25 as shown on the left side of the figure.

このとき、同図中央に示すように、ユーザ(撮影者)が、検出対象に選ばれていないが検出対象にしたいと考えている被写体の顔の付近をタッチパネルで指示する。   At this time, as shown in the center of the figure, the user (photographer) instructs the vicinity of the face of the subject that is not selected as the detection target but wants to be the detection target.

このような指示操作に応答して、ユーザが希望する被写体の優先順位を最上位に変更し、それまでは当該被写体よりも優先順位が上位であった各被写体の優先順位をそれぞれ1ずつ減分する。この結果、優先順位が3位であった被写体は4位に繰り下がり、笑顔の検出対象から外れることになる。   In response to such an instruction operation, the priority order of the subject desired by the user is changed to the highest priority, and the priority order of each subject that has been higher in priority than the subject is decremented by one each. To do. As a result, the subject having the third priority moves down to the fourth position and is excluded from the smile detection target.

そして、新しい優先順位が上位3名までの被写体が検出対象に選択され、同図右に示すようにモニタ・ディスプレイ25上の画面においてこれらの検出顔が枠で囲われる。同図左と比較すると、後列の最左端の被写体がユーザのタッチ操作に従って優先順位が最上位となったことに伴い、後列略中央の被写体が検出対象から外され、この検出顔を囲っていた枠が消失している。   Then, subjects with the top three new priorities are selected as detection targets, and these detection faces are surrounded by a frame on the screen on the monitor display 25 as shown on the right side of the figure. Compared with the left side of the figure, the leftmost subject in the rear row has been ranked as the highest priority according to the user's touch operation, and the subject in the middle of the rear row has been removed from the detection target and surrounded the detection face. The frame has disappeared.

(5)被写体の選択方法
上記の説明では、タッチパネル又は左右キー操作によって被写体を1つずつ選択する例について説明したが、タッチパネル上で複数の検出顔を囲うようなタッチ操作によって同時に複数の検出顔を指定することもできる。
(5) Subject selection method In the above description, an example in which a subject is selected one by one by touch panel or left / right key operation has been described. Can also be specified.

図15には、このような場合の画面遷移例を示している。ここでは、笑顔検出の対象となる検出顔を2名とし、自動で選択される笑顔検出対象の人数分だけ枠表示するものとする。   FIG. 15 shows an example of screen transition in such a case. Here, it is assumed that two faces are detected as smile detection targets, and frames are displayed for the number of smile detection targets that are automatically selected.

ユーザ(撮影者)は、タッチパネルを介して、検出対象として指定したい顔を囲うようなタッチパネル操作を行なう。すると、位置検出によりタッチ座標から囲われた領域を認識すると、続いて画像パターン検出によりその領域内で顔検出を行なう。   A user (photographer) performs a touch panel operation that surrounds a face to be specified as a detection target via the touch panel. Then, when an area surrounded by touch coordinates is recognized by position detection, face detection is subsequently performed in the area by image pattern detection.

ここで、タッチ操作された領域内から顔画像を検出ができたら、その検出顔に対して顔の優先順位を最高位に変更する。このとき、同領域内から検出した顔が1人であればその人を1番目の優先順位にする。また、検出顔が複数あるときには、これらの中での所定のアルゴリズムにより優先順位を割り振る。検出顔が2名を超えるときには(図示の例では4名)、同領域内での優先順位が2番目までの検出顔について優先順位の繰り上げを行なうが、3番目以降の検出顔は繰り上げを行なわない。また、この優先順位の繰り上げに伴い、これらの被写体よりも優先順位が上位であった各被写体の優先順位を繰り下げる。   If a face image can be detected from the touched area, the priority order of the face is changed to the highest level for the detected face. At this time, if there is one face detected from the same area, that person is given the first priority. Further, when there are a plurality of detected faces, priority is assigned by a predetermined algorithm among them. When the number of detected faces exceeds two (four in the example shown in the figure), the priority is increased for the detected faces with the second highest priority in the same area, but the third and subsequent detected faces are increased. Absent. As the priority is raised, the priority of each subject that has a higher priority than those subjects is lowered.

そして、OSD表示処理する際に、この新しい優先順位変更の情報に基づいて、笑顔検出の対象に変更された顔に対して枠作成の処理を行ない、モニタ・ディスプレイ25のスルー画像上に枠を表示させる。   Then, when the OSD display process is performed, a frame creation process is performed on the face that has been changed to the smile detection target based on the new priority change information, and a frame is formed on the through image on the monitor display 25. Display.

図15Aに示した例では、最前列の左から2名までの被写体が笑顔の検出対象に選択されている。   In the example shown in FIG. 15A, two subjects from the left in the front row are selected as smile detection targets.

このとき、図15Bに示すように、ユーザ(撮影者)は、タッチパネルを介して後列の左から4名の顔を囲うような操作を行なう。   At this time, as shown in FIG. 15B, the user (photographer) performs an operation to surround four faces from the left in the back row via the touch panel.

領域で囲った顔すべてを新たな笑顔検出対象とする場合には、図15Cに示すように、最前列の左から2名までの被写体から後列の左から4名の検出顔に、笑顔検出対象が切り替わる。これに伴って、後列の左から4名の検出顔をそれぞれ囲う枠が表示されるとともに、最前列の左から2名の検出顔を囲っていた枠が消失する。   When all the faces surrounded by the region are set as new smile detection targets, as shown in FIG. 15C, the smile detection targets are changed from the left to the left two subjects in the front row to the four detection faces from the left in the back row. Switches. Along with this, a frame surrounding each of the four detected faces from the left in the rear row is displayed, and a frame surrounding the two detected faces from the left in the front row disappears.

また、笑顔検出対象の人数分すなわち2名だけを笑顔検出対象を切り替える場合には、図15Dに示すように、タッチパネル操作により囲われた4名の中から所定のアルゴリズムにより優先順位が上位とされた後列の左から3番目及び4番目の2名のみが笑顔検出対象に選択され、後列の左から3番目及び4番目の検出顔を囲う枠が表示される。これに伴い、最前列の左から2名の検出顔を囲っていた枠が消失する。   Further, when switching smile detection targets for the number of smile detection targets, that is, only two people, as shown in FIG. 15D, the priority is set higher by a predetermined algorithm from the four people surrounded by the touch panel operation. Only the third and fourth names from the left in the back row are selected as smile detection targets, and a frame surrounding the third and fourth detection faces from the left in the back row is displayed. As a result, the frame surrounding the two detected faces from the left in the front row disappears.

図16には、ユーザのタッチパネル操作に応じて笑顔検出対象となる検出顔を切り替えるための処理手順をフローチャートの形式で示している。   FIG. 16 shows a processing procedure for switching a detection face to be a smile detection target according to a user's touch panel operation in the form of a flowchart.

まず、システム側で入力画像に対して顔検出処理を行ない、さらに各検出顔の重要度を判別して優先順位を付け、上位から所定人数を笑顔検出対象に自動選択する(ステップS31)。   First, face detection processing is performed on the input image on the system side, the importance level of each detected face is determined and prioritized, and a predetermined number of people from the top are automatically selected as smile detection targets (step S31).

選択された各検出顔は、スルー画像上で枠が付けられる。ユーザ(撮影者)は、モニタ・ディスプレイ25上で、笑顔検出の対象となっている被写体を確認する。ここで、笑顔対象を変更したいときには、検出対象として指定したい顔を囲うようなタッチパネル操作を行なう(ステップS32)。   Each selected detection face is framed on the through image. The user (photographer) confirms the subject on which the smile is detected on the monitor / display 25. Here, when it is desired to change the smile target, a touch panel operation is performed so as to surround the face to be designated as the detection target (step S32).

すると、位置検出によりタッチ座標から囲われた領域を認識すると、続いて画像パターン検出によりその領域内で顔検出を行なう(ステップS33)。ここで、タッチ操作された領域内から顔画像を検出ができたら、その検出顔に対して顔の優先順位を繰り上げる(ステップS34)。また、この優先順位の繰り上げに伴い、これらの被写体よりも優先順位が上位であった各被写体の優先順位を繰り下げる。   Then, when a region surrounded by touch coordinates is recognized by position detection, face detection is subsequently performed in the region by image pattern detection (step S33). Here, if a face image can be detected from the touch-operated area, the priority of the face is raised with respect to the detected face (step S34). As the priority is raised, the priority of each subject that has a higher priority than those subjects is lowered.

そして、OSD表示処理する際に、この新しい優先順位変更の情報に基づいて、優先順位が最高位に変更された顔に対して枠作成の処理を行ない、モニタ・ディスプレイ25のスルー画像上に枠を表示させる(ステップS35)。   Then, when the OSD display process is performed, a frame creation process is performed on the face whose priority has been changed to the highest level based on the new priority change information, and a frame is displayed on the through image on the monitor display 25. Is displayed (step S35).

このように、本実施形態に係るデジタルスチルカメラ1によれば、撮影者が笑顔を検出して笑顔を撮りたい被写体を自在に選択することができる。例えばスルー画像を表示するタッチパネル上で任意に笑顔検出対象の被写体を指定することが可能であり、笑顔の検出対象となる被写体と非対象となる被写体とを区別してスルー画像に表示することもできる。したがって、例えばパーティーなどの風景を撮影する際に比較的大人数を画角に含めた場合などに、2人以上のメンバーが同時に笑っていることを撮影条件にして、笑顔検出に基づく自動撮影を好適に行なうことができる。   As described above, according to the digital still camera 1 according to this embodiment, the photographer can freely select a subject for which a smile is detected and a smile is desired to be taken. For example, a smile detection target subject can be arbitrarily designated on a touch panel that displays a through image, and a subject that is a smile detection target and a non-target subject can be distinguished and displayed on the through image. . Therefore, for example, when shooting a scene such as a party, when a relatively large number of people is included in the angle of view, automatic shooting based on smile detection is performed under the condition that two or more members are laughing at the same time. It can be suitably performed.

以上、特定の実施形態を参照しながら、本発明について詳解してきた。しかしながら、本発明の要旨を逸脱しない範囲で当業者が該実施形態の修正や代用を成し得ることは自明である。   The present invention has been described in detail above with reference to specific embodiments. However, it is obvious that those skilled in the art can make modifications and substitutions of the embodiment without departing from the gist of the present invention.

本明細書では、デジタルスチルカメラに適用した実施形態を中心に説明してきたが、本発明の要旨はこれに限定されるものではない。例えば、携帯電話機やPDA(Personal Digital Assistant)、あるいはその他のカメラ機能を備えたさまざまな情報機器に対して本発明を同様に適用することができる。   In this specification, the embodiment applied to the digital still camera has been mainly described, but the gist of the present invention is not limited to this. For example, the present invention can be similarly applied to various information devices having a mobile phone, a PDA (Personal Digital Assistant), or other camera functions.

また、本明細書では、笑顔検出に基づいて撮影処理を起動する場合についてのみ説明したが、勿論、笑顔検出結果に基づいて撮影以外の処理を行なうことも考えられる。   In this specification, only the case where the photographing process is started based on smile detection has been described. Of course, it is also conceivable to perform processes other than photographing based on the smile detection result.

要するに、例示という形態で本発明を開示してきたのであり、本明細書の記載内容を限定的に解釈するべきではない。本発明の要旨を判断するためには、特許請求の範囲を参酌すべきである。   In short, the present invention has been disclosed in the form of exemplification, and the description of the present specification should not be interpreted in a limited manner. In order to determine the gist of the present invention, the claims should be taken into consideration.

1…デジタルスチルカメラ
10…光学系
10a…ドライバ
11…撮像素子
12…AFE部
13…CDS/AGC/ADCブロック
14…タイミング・ジェネレータ
15…Vドライバ
16…カメラDSP部
17…カメラ信号処理部
18…解像度変換部
19…画像コーデック処理部
20…メモリ制御部
21…表示制御部
22…メディア制御部
23…バス・インターフェース・ユニット
24…メモリ装置
25…モニタ・ディスプレイ
26…記録メディア
27…制御部
28…UI部
29…CPU
30…RAM
31…EEPROM
32…フラッシュ発光部
DESCRIPTION OF SYMBOLS 1 ... Digital still camera 10 ... Optical system 10a ... Driver 11 ... Image sensor 12 ... AFE part 13 ... CDS / AGC / ADC block 14 ... Timing generator 15 ... V driver 16 ... Camera DSP part 17 ... Camera signal processing part 18 ... Resolution conversion unit 19 ... Image codec processing unit 20 ... Memory control unit 21 ... Display control unit 22 ... Media control unit 23 ... Bus interface unit 24 ... Memory device 25 ... Monitor / display 26 ... Recording media 27 ... Control unit 28 ... UI unit 29 ... CPU
30 ... RAM
31 ... EEPROM
32 ... Flash light emitting part

Claims (11)

被写体を結像した画像を入力する画像入力手段と、
入力される前記画像を信号処理する信号処理手段と、
前記信号処理手段が信号処理した前記画像を画面表示する、表示画面がタッチパネルを兼ね備えた表示手段と、
前記信号処理手段が信号処理した前記画像から被写体の顔を検出する検出手段と、
前記検出手段が検出した検出顔のうち顔の特定のパターンを検出する検出対象を設定する設定手段と、
前記タッチパネル上でユーザにタッチされた座標近傍で検出された検出顔を前記パターンの検出対象に変更する制御手段と、
を具備し、
前記検出手段が入力画像から複数の被写体の顔を検出したときに、前記設定手段は、画像内の各検出顔の位置又はその他の情報に基づいて検出顔毎の重要度を判別し、該重要度に応じて各検出顔に優先順位を割り振り、優先順位の高い方から所定数の検出顔を前記パターンの検出対象に設定する、
ことを特徴とする画像処理装置。
Image input means for inputting an image formed by imaging a subject;
Signal processing means for performing signal processing on the input image;
Display means for displaying the image signal-processed by the signal processing means, and a display screen having a touch panel;
Detecting means for detecting a face of a subject from the image signal-processed by the signal processing means;
Setting means for setting a detection target for detecting a specific pattern of the face among the detection faces detected by the detection means;
Control means for changing a detection face detected in the vicinity of coordinates touched by the user on the touch panel to a detection target of the pattern;
Equipped with,
When the detecting means detects faces of a plurality of subjects from the input image, the setting means determines the importance for each detected face based on the position of each detected face in the image or other information, and the importance A priority is assigned to each detected face according to the degree, and a predetermined number of detected faces from the higher priority are set as detection targets of the pattern,
An image processing apparatus.
被写体を結像した画像を入力する画像入力手段と、
入力される前記画像を信号処理する信号処理手段と、
前記信号処理手段が信号処理した前記画像を画面表示する、表示画面がタッチパネルを兼ね備えた表示手段と、
前記信号処理手段が信号処理した前記画像から被写体の顔を検出する検出手段と、
前記検出手段が検出した検出顔のうち顔の特定のパターンを検出する検出対象を設定する設定手段と、
前記タッチパネル上でユーザにタッチされた座標近傍で検出された検出顔を前記パターンの検出対象に変更する制御手段と、
前記表示画面上で方向を指示する方向操作キーと、
を具備し、
前記制御手段は、前記画像から検出された複数の検出顔にそれぞれ操作順を付与し、各検出顔の重要度に基づいて優先順位を割り振り、優先順位の高い方から所定数を前記パターンの検出対象に設定させた後、前記方向操作キーに対するユーザの操作順に応じて特定される検出顔の優先順位を繰り上げて前記パターンの検出対象に変更させる、
ことを特徴とする画像処理装置。
Image input means for inputting an image formed by imaging a subject;
Signal processing means for performing signal processing on the input image;
Display means for displaying the image signal-processed by the signal processing means, and a display screen having a touch panel;
Detecting means for detecting a face of a subject from the image signal-processed by the signal processing means;
Setting means for setting a detection target for detecting a specific pattern of the face among the detection faces detected by the detection means;
Control means for changing a detection face detected in the vicinity of coordinates touched by the user on the touch panel to a detection target of the pattern;
A direction operation key for instructing a direction on the display screen;
Comprising
The control means assigns an operation order to each of a plurality of detected faces detected from the image, assigns priorities based on the importance of each detected face, and detects a predetermined number from the higher priority order. After setting the target, the priority of the detection face specified in accordance with the user operation order with respect to the direction operation key is raised and changed to the detection target of the pattern.
An image processing apparatus.
被写体を結像した画像を入力する画像入力手段と、
入力される前記画像を信号処理する信号処理手段と、
前記信号処理手段が信号処理した前記画像を画面表示する、表示画面がタッチパネルを兼ね備えた表示手段と、
前記信号処理手段が信号処理した前記画像から被写体の顔を検出する検出手段と、
前記検出手段が検出した検出顔のうち顔の特定のパターンを検出する検出対象を設定する設定手段と、
前記タッチパネル上でユーザにタッチされた座標近傍で検出された検出顔を前記パターンの検出対象に変更する制御手段と、
を具備し、
前記制御手段は、前記画像から検出された複数の検出顔のそれぞれの重要度に基づいて優先順位を割り振り、優先順位の高い方から所定数を前記パターンの検出対象に設定させた後、前記タッチパネルを介してユーザが指定した検出顔の優先順位を繰り上げて前記パターンの検出対象を変更させる、
ことを特徴とする画像処理装置。
Image input means for inputting an image formed by imaging a subject;
Signal processing means for performing signal processing on the input image;
Display means for displaying the image signal-processed by the signal processing means, and a display screen having a touch panel;
Detecting means for detecting a face of a subject from the image signal-processed by the signal processing means;
Setting means for setting a detection target for detecting a specific pattern of the face among the detection faces detected by the detection means;
Control means for changing a detection face detected in the vicinity of coordinates touched by the user on the touch panel to a detection target of the pattern;
Comprising
The control means assigns a priority based on the importance of each of the plurality of detected faces detected from the image, and after setting a predetermined number as a detection target of the pattern from the higher priority, the touch panel The detection target of the pattern is changed by raising the priority of the detection face specified by the user via
An image processing apparatus.
被写体を結像した画像を入力する画像入力手段と、
入力される前記画像を信号処理する信号処理手段と、
前記信号処理手段が信号処理した前記画像を画面表示する、表示画面がタッチパネルを兼ね備えた表示手段と、
前記信号処理手段が信号処理した前記画像から被写体の顔を検出する検出手段と、
前記検出手段が検出した検出顔のうち顔の特定のパターンを検出する検出対象を設定する設定手段と、
前記タッチパネル上でユーザにタッチされた座標近傍で検出された検出顔を前記パターンの検出対象に変更する制御手段と、
を具備し、
前記制御手段は、前記画像から検出された複数の検出顔のそれぞれの重要度に基づいて優先順位を割り振り、優先順位の高い方から所定数を前記パターンの検出対象に設定させた後、前記タッチパネルを介して前記画面上でユーザが指定した領域内の検出顔の優先順位を繰り上げて前記パターンの検出対象に変更する、
ことを特徴とする画像処理装置。
Image input means for inputting an image formed by imaging a subject;
Signal processing means for performing signal processing on the input image;
Display means for displaying the image signal-processed by the signal processing means, and a display screen having a touch panel;
Detecting means for detecting a face of a subject from the image signal-processed by the signal processing means;
Setting means for setting a detection target for detecting a specific pattern of the face among the detection faces detected by the detection means;
Control means for changing a detection face detected in the vicinity of coordinates touched by the user on the touch panel to a detection target of the pattern;
Comprising
The control means assigns a priority based on the importance of each of the plurality of detected faces detected from the image, and after setting a predetermined number as a detection target of the pattern from the higher priority, the touch panel The priority of the detected face in the area designated by the user on the screen is raised to change the detection target of the pattern,
An image processing apparatus.
前記パターンの検出対象となった検出顔のパターン度レベルを検出するパターン度レベル検出手段と、
前記パターン度レベル検出手段により検出されたパターン度レベルがパターン検出レベルに到達したことに応じて撮影処理を制御する撮影制御手段と、
をさらに備えることを特徴とする請求項1乃至4のいずれかに記載の画像処理装置。
Pattern degree level detecting means for detecting a pattern degree level of a detected face which is a detection target of the pattern;
Shooting control means for controlling the shooting process in response to the pattern level detected by the pattern level detection means reaching the pattern detection level;
The image processing apparatus according to any one of claims 1 to 4, further comprising a.
前記制御手段は、前記パターンの検出対象となった検出顔に枠を付けてスルー画像を表示する、
ことを特徴とする請求項1乃至4のいずれかに記載の画像処理装置。
The control means displays a through image with a frame on the detection face which is the detection target of the pattern;
The image processing apparatus according to claim 1 , wherein the image processing apparatus is an image processing apparatus.
前記制御手段は、前記検出手段によって検出されたすべての検出顔に枠を付けるとともに、前記パターンの検出対象となった検出顔についての枠の表示形式を変え又は所定のアイコンを付けてスルー画像を表示させる、
ことを特徴とする請求項1乃至4のいずれかに記載の画像処理装置。
The control means attaches a frame to all detected faces detected by the detecting means, and changes the display format of the frame for the detected face that is the detection target of the pattern or attaches a predetermined icon to display a through image. Display,
The image processing apparatus according to any one of claims 1 to 4, characterized in that.
2以上の検出顔を前記パターンの検出対象とした場合において、前記撮影制御手段は、少なくとも1人の笑顔が検出されたら撮影を自動的に行なう、あるいは、選択された全員の笑顔が検出されたら撮影を自動的に行なう、
ことを特徴とする請求項5に記載の画像処理装置。
In the case where two or more detected faces are the detection targets of the pattern, the photographing control means automatically performs photographing when at least one smiling face is detected, or when the smiling faces of all selected persons are detected. Shooting automatically,
The image processing apparatus according to claim 5.
前記制御手段は、前記パターンの検出対象とすることができる被写体の人数をN人に制限し、前記領域内にN人を超える検出顔が含まれているときには、前記領域内の各検出顔の重要度に基づいて優先順位を割り振り、優先順位の高い方からのN人分の検出顔を前記パターンの検出対象に設定する、
ことを特徴とする請求項に記載の画像処理装置。
The control means limits the number of subjects that can be the detection target of the pattern to N, and when the detection area includes more than N detection faces, each of the detection faces in the area is detected. Priority is assigned based on importance, and detection faces for N people from the higher priority are set as detection targets of the pattern,
The image processing apparatus according to claim 4 .
被写体を結像した画像を入力する画像入力ステップと、An image input step for inputting an image formed by imaging a subject;
入力される前記画像を信号処理する信号処理ステップと、A signal processing step for signal processing the input image;
前記信号処理ステップにおいて信号処理した前記画像を、タッチパネルを兼ね備えた表示画面上に画面表示するステップと、Displaying the image signal-processed in the signal processing step on a display screen having a touch panel; and
前記信号処理ステップにおいて信号処理した前記画像から被写体の顔を検出する検出ステップと、A detection step of detecting a face of a subject from the image signal-processed in the signal processing step;
前記検出ステップにおいて検出した検出顔のうち顔の特定のパターンを検出する検出対象を設定する設定ステップと、A setting step of setting a detection target for detecting a specific pattern of the face among the detection faces detected in the detection step;
前記タッチパネル上でユーザにタッチされた座標近傍で検出された検出顔を前記パターンの検出対象に変更する制御ステップと、A control step of changing a detected face detected in the vicinity of coordinates touched by the user on the touch panel to a detection target of the pattern;
を有し、Have
前記検出ステップで入力画像から複数の被写体の顔を検出したときに、前記設定ステップでは、画像内の各検出顔の位置又はその他の情報に基づいて検出顔毎の重要度を判別し、該重要度に応じて各検出顔に優先順位を割り振り、優先順位の高い方から所定数の検出顔を前記パターンの検出対象に設定する、When detecting the faces of a plurality of subjects from the input image in the detection step, the setting step determines the importance for each detected face based on the position of each detected face in the image or other information. A priority is assigned to each detected face according to the degree, and a predetermined number of detected faces from the higher priority are set as detection targets of the pattern,
ことを特徴とする画像処理方法。An image processing method.
被写体を結像した入力画像の処理を、表示画面がタッチパネルを兼ね備えた表示手段を備えたコンピュータ上で実行するようにコンピュータ可読形式で記述されたコンピュータ・プログラムであって、前記コンピュータを、A computer program written in a computer-readable format so as to execute processing of an input image formed by imaging a subject on a computer having a display means whose display screen also has a touch panel.
前記入力画像を信号処理する画像信号処理手段、Image signal processing means for performing signal processing on the input image;
前記画像信号処理手段による信号処理後の前記入力画像から被写体の顔を検出する検出手段、Detecting means for detecting a face of a subject from the input image after signal processing by the image signal processing means;
前記検出手段が検出した検出顔のうち顔の特定のパターンを検出する検出対象を設定する設定手段、Setting means for setting a detection target for detecting a specific face pattern among the detected faces detected by the detection means;
前記タッチパネル上でユーザにタッチされた座標近傍で検出された検出顔を前記パターンの検出対象に変更する制御手段、Control means for changing a detected face detected in the vicinity of coordinates touched by the user on the touch panel to a detection target of the pattern;
として機能させ、Function as
前記検出手段が入力画像から複数の被写体の顔を検出したときに、前記設定手段は、画像内の各検出顔の位置又はその他の情報に基づいて検出顔毎の重要度を判別し、該重要度に応じて各検出顔に優先順位を割り振り、優先順位の高い方から所定数の検出顔を前記パターンの検出対象に設定する、When the detecting means detects faces of a plurality of subjects from the input image, the setting means determines the importance for each detected face based on the position of each detected face in the image or other information, and the importance A priority is assigned to each detected face according to the degree, and a predetermined number of detected faces from the higher priority are set as detection targets of the pattern,
コンピュータ・プログラム。Computer program.
JP2009223762A 2009-09-29 2009-09-29 Image processing apparatus, image processing method, and computer program Expired - Fee Related JP4849163B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009223762A JP4849163B2 (en) 2009-09-29 2009-09-29 Image processing apparatus, image processing method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009223762A JP4849163B2 (en) 2009-09-29 2009-09-29 Image processing apparatus, image processing method, and computer program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007156066A Division JP4453721B2 (en) 2007-06-13 2007-06-13 Image photographing apparatus, image photographing method, and computer program

Publications (2)

Publication Number Publication Date
JP2010016878A JP2010016878A (en) 2010-01-21
JP4849163B2 true JP4849163B2 (en) 2012-01-11

Family

ID=41702445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009223762A Expired - Fee Related JP4849163B2 (en) 2009-09-29 2009-09-29 Image processing apparatus, image processing method, and computer program

Country Status (1)

Country Link
JP (1) JP4849163B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012165407A (en) * 2007-12-28 2012-08-30 Casio Comput Co Ltd Imaging apparatus and program
TWI562398B (en) 2009-09-15 2016-12-11 Showa Denko Kk Light-emitting diode, light-emitting diode lamp and lighting apparatus
CN102906790B (en) 2010-05-26 2015-10-07 松下电器(美国)知识产权公司 Image information processing device
EP3447728A4 (en) * 2016-04-22 2019-05-01 Panasonic Intellectual Property Management Co., Ltd. Motion video segmenting method, motion video segmenting device, and motion video processing system
CN109074656B (en) * 2016-04-28 2022-08-23 松下知识产权经营株式会社 Motion video segmentation method, motion video segmentation device and motion video processing system
US20230396873A1 (en) * 2020-10-29 2023-12-07 Sony Group Corporation Information processing device, information processing method, and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000347278A (en) * 1999-06-04 2000-12-15 Fuji Photo Film Co Ltd Camera and photographing method
JP2004294498A (en) * 2003-03-25 2004-10-21 Fuji Photo Film Co Ltd Automatic photographing system
JP4489608B2 (en) * 2004-03-31 2010-06-23 富士フイルム株式会社 DIGITAL STILL CAMERA, IMAGE REPRODUCTION DEVICE, FACE IMAGE DISPLAY DEVICE, AND CONTROL METHOD THEREOF
JP4742296B2 (en) * 2004-09-22 2011-08-10 カシオ計算機株式会社 Imaging apparatus, composite image creation method, and program
JP2006201531A (en) * 2005-01-21 2006-08-03 Konica Minolta Holdings Inc Imaging device
JP2006237803A (en) * 2005-02-23 2006-09-07 Konica Minolta Photo Imaging Inc Imaging system, photographic studio, and control method of imaging system
JP2006253805A (en) * 2005-03-08 2006-09-21 Olympus Corp Photographing apparatus and method
US8488847B2 (en) * 2005-11-25 2013-07-16 Nikon Corporation Electronic camera and image processing device

Also Published As

Publication number Publication date
JP2010016878A (en) 2010-01-21

Similar Documents

Publication Publication Date Title
JP4453721B2 (en) Image photographing apparatus, image photographing method, and computer program
JP4600435B2 (en) Image photographing apparatus, image photographing method, and computer program
JP4356778B2 (en) Image photographing apparatus, image photographing method, and computer program
US8164643B2 (en) Composition determining apparatus, composition determining method, and program
US8823864B2 (en) Image capturing apparatus and associated methodology for auto-focus and facial detection
US8624988B2 (en) Image pickup apparatus, image pickup method, and program thereof
TW200808044A (en) Imaging apparatus and computer readable recording medium
JP4849163B2 (en) Image processing apparatus, image processing method, and computer program
JP2006087083A (en) Imaging device, and control method of imaging device
JP5180349B2 (en) Imaging apparatus, method, and program
JPWO2010007865A1 (en) Imaging apparatus, imaging method, and program
JP2009094946A (en) Image pickup device and portrait right protection method in the same device
JP2009033544A (en) Photographic device and control method of photographic device, and program
JP5332369B2 (en) Image processing apparatus, image processing method, and computer program
KR20110090610A (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable medium
JP5077294B2 (en) Image photographing apparatus, image photographing method, and computer program
JP2007208355A (en) Photographing device, method, and program
JP2006128793A (en) Image pickup device and control method thereof
JP5157528B2 (en) Imaging device
JP2007114411A (en) Imaging apparatus
JP4862755B2 (en) Image capturing control device, image capturing control method, and computer program
KR101533279B1 (en) Method of controlling digital image signal processing apparatus for derterming image blurring, medium of recording the method, digital image signal processing apparatus of applying the method
JP2011097525A (en) Image data recording apparatus and image data recording program
JP2006253761A (en) Imaging device and program
JP2011250277A (en) Imaging apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110704

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110920

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111003

R151 Written notification of patent or utility model registration

Ref document number: 4849163

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141028

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees