[go: up one dir, main page]

JP2008098739A - Imaging apparatus, image processing method used for imaging apparatus, and program for causing computer to execute the image processing method - Google Patents

Imaging apparatus, image processing method used for imaging apparatus, and program for causing computer to execute the image processing method Download PDF

Info

Publication number
JP2008098739A
JP2008098739A JP2006275102A JP2006275102A JP2008098739A JP 2008098739 A JP2008098739 A JP 2008098739A JP 2006275102 A JP2006275102 A JP 2006275102A JP 2006275102 A JP2006275102 A JP 2006275102A JP 2008098739 A JP2008098739 A JP 2008098739A
Authority
JP
Japan
Prior art keywords
face
image
focal length
display
face image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006275102A
Other languages
Japanese (ja)
Inventor
Mamoru Sugiura
守 杉浦
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 JP2006275102A priority Critical patent/JP2008098739A/en
Publication of JP2008098739A publication Critical patent/JP2008098739A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Exposure Control For Cameras (AREA)
  • Lens Barrels (AREA)

Abstract

【課題】人間の顔を撮影する場合に、撮影者の好みに応じた適切な撮影を迅速に行うことができることを目的とする。
【解決手段】撮像素子120により撮像された画像を表示する表示部300を具備する撮像装置100において、撮像された画像に含まれる人間の顔を検出する顔検出回路134と、検出された顔に対応する顔画像を撮像素子120により撮像された画像から取り出すHI制御回路180と、前記顔画像取出手段により取り出された顔画像を表示部300に表示させるHI制御回路180とを具備する。また、表示部300に表示されている顔画像を選択するスイッチ211を具備し、選択された顔画像に対応する被写体の顔が撮像素子120により撮像される画像において所定の構成比率となる焦点距離である適正な焦点距離を算出し、算出された適正な焦点距離を表示部300に表示させる。
【選択図】図1
An object of the present invention is to quickly perform appropriate photographing according to a photographer's preference when photographing a human face.
In an imaging apparatus including a display unit that displays an image captured by an imaging element, a face detection circuit that detects a human face included in the captured image, and a detected face. An HI control circuit 180 that extracts a corresponding face image from an image captured by the image sensor 120 and an HI control circuit 180 that displays the face image extracted by the face image extraction unit on the display unit 300 are provided. In addition, a switch 211 that selects a face image displayed on the display unit 300 is provided, and a focal length that has a predetermined composition ratio in an image in which the face of the subject corresponding to the selected face image is captured by the image sensor 120. The appropriate focal length is calculated, and the calculated appropriate focal length is displayed on the display unit 300.
[Selection] Figure 1

Description

本発明は、デジタルスチルカメラ等の撮像装置に関し、特に、被写体となる人物の顔の撮影に適した撮像装置、および、撮像方法、これらにおける処理方法ならびに当該方法をコンピュータに実行させるプログラムに関する。   The present invention relates to an imaging apparatus such as a digital still camera, and more particularly to an imaging apparatus suitable for photographing a person's face as a subject, an imaging method, a processing method therefor, and a program for causing a computer to execute the method.

従来、被写体となる人物の顔を撮影する撮像装置として、CCD(Charge Coupled Devices)等の撮像素子を用いて撮影した画像を電気信号に変換し、変換された電気信号をデジタルデータとして記憶媒体に記憶するデジタルスチルカメラが存在する。   2. Description of the Related Art Conventionally, as an imaging device that captures a person's face as a subject, an image captured using an imaging element such as a CCD (Charge Coupled Devices) is converted into an electrical signal, and the converted electrical signal is stored as digital data in a storage medium. There is a digital still camera to memorize.

デジタルスチルカメラについては、ハードウェアの処理能力が向上するとともに、撮影された画像(撮影画像)に対応するデジタルデータから所定の画像部分を検出する技術が多数提案されている。また、撮影画像に対応するデジタルデータから人物の顔部分を正確に検出する各種の技術が提案され、さらに、撮影画像に対応するデジタルデータから複数の顔部分を検出する技術が提案されている。   As for the digital still camera, many techniques have been proposed for detecting a predetermined image portion from digital data corresponding to a captured image (captured image) while improving the processing capability of hardware. In addition, various techniques for accurately detecting a human face portion from digital data corresponding to a photographed image have been proposed, and a technique for detecting a plurality of face portions from digital data corresponding to a photographed image has been proposed.

例えば、入力された画像に含まれる肌色部分や顔の特徴量に基づいて、入力された画像に含まれる人間の顔部分の大きさおよび位置を求め、この顔部分の大きさおよび位置に従って、顔の領域がバストショットのサイズになるように、ズームレンズを制御する撮像装置が提案されている(例えば、特許文献1参照。)。なお、バストショットとは、人物を撮影する場合において人物の胸から上の部分(顔を含む)を撮影することである。
特開平06−217187号公報(図4)
For example, the size and position of a human face part included in the input image are obtained based on the skin color part and the facial feature amount included in the input image, and the face is determined according to the size and position of the face part. There has been proposed an imaging apparatus that controls the zoom lens so that the size of the area becomes the size of a bust shot (for example, see Patent Document 1). Note that the bust shot is to photograph a portion (including a face) above the person's chest when photographing a person.
Japanese Patent Laid-Open No. 06-217187 (FIG. 4)

上述の従来技術では、デジタルスチルカメラの液晶ディスプレイ(LCD)に表示される撮影範囲に含まれる人間の顔部分を撮影する場合において、その顔部分に対して適切なズームを行うことができるため、適正なバストショットを行うことができる。   In the above-described conventional technology, when photographing a human face part included in the photographing range displayed on the liquid crystal display (LCD) of the digital still camera, an appropriate zoom can be performed on the face part. Appropriate bust shot can be performed.

ところで、デジタルスチルカメラで複数の人物を撮影する場合、この複数の人物が撮影範囲に入るようにズームレンズを調整して撮影する。例えば、この撮影後に、複数の人物の中から各人の撮影をするような場合には、上述の従来技術を用いて適正なバストショットを行うことができる。   By the way, when a plurality of persons are photographed with a digital still camera, the zoom lens is adjusted so that the plurality of persons fall within the photographing range. For example, when each person is photographed from a plurality of persons after the photographing, an appropriate bust shot can be performed using the above-described conventional technique.

しかしながら、人間の顔を撮影する場合には、撮影対象となる人の顔の向きや背景等に応じてバストショットに適した構図と適さない構図とがある。例えば、上述の撮影後に、複数の人物の中から撮影者の好みの構図となる個人を選び撮影する場合には、ズーム機能等を用いて各人について撮影範囲をバストショットのサイズとして構図を確認する必要がある。このため、撮影時間が長くなり、撮影者の好みに応じた適切な撮影を迅速に行うことができなかった。   However, when photographing a human face, there are a composition suitable for a bust shot and a composition unsuitable for a bust shot depending on the orientation and background of the face of the person to be photographed. For example, after shooting as described above, when selecting and shooting an individual with a photographer's favorite composition from multiple persons, use the zoom function to check the composition with the shooting range as the size of the bust shot. There is a need to. For this reason, the photographing time becomes long, and appropriate photographing according to the photographer's preference cannot be performed quickly.

つまり、撮影範囲に含まれる複数の人物の中から撮影者の好みの構図となっている個人を選び撮影する場合において、撮影者の好みに応じた適切な撮影を迅速に行うことができないという問題があった。   In other words, it is not possible to quickly perform appropriate shooting according to the photographer's preference when shooting an individual with a photographer's favorite composition from a plurality of persons included in the shooting range. was there.

そこで、本発明は、人間の顔を撮影する場合に、撮影者の好みに応じた適切な撮影を迅速に行うことができることを目的とする。   Therefore, an object of the present invention is to quickly perform appropriate photographing according to a photographer's preference when photographing a human face.

本発明は、上記課題を解決するためになされたものであり、その第1の側面は、撮像手段により撮像された画像を表示する表示手段を具備する撮像装置において、上記撮像手段により撮像された画像に含まれる人間の顔を検出する顔検出手段と、上記顔検出手段により検出された顔に対応する顔画像を上記撮像手段により撮像された画像から取り出す顔画像取出手段と、上記顔画像取出手段により取り出された顔画像を上記表示手段に表示させる表示制御手段とを具備することを特徴とする撮像装置、撮像装置に用いられる画像処理方法および当該画像処理方法をコンピュータに実行させるプログラムである。これにより、撮像手段により撮像された画像を表示部に表示するとともに、撮像手段により撮像された画像に人間の顔が含まれている場合には、その顔に対応する顔画像を撮像手段により撮像された画像から取り出して表示手段に表示させるという作用をもたらす。   The present invention has been made to solve the above problems, and a first aspect of the present invention is an image pickup apparatus including a display means for displaying an image picked up by the image pickup means, and is picked up by the image pickup means. Face detection means for detecting a human face included in the image, face image extraction means for extracting a face image corresponding to the face detected by the face detection means from the image captured by the imaging means, and the face image extraction An image pickup apparatus, a display control means for displaying the face image extracted by the means on the display means, an image processing method used in the image pickup apparatus, and a program for causing a computer to execute the image processing method . As a result, the image captured by the imaging unit is displayed on the display unit, and when a human face is included in the image captured by the imaging unit, a face image corresponding to the face is captured by the imaging unit. This brings about the effect that the image is taken out and displayed on the display means.

また、この第1の側面において、上記表示手段の少なくとも一部には撮影画像表示領域と顔画像表示領域とが設けられ、上記表示制御手段は、上記撮像手段により撮像された画像を上記撮影画像表示領域に表示させるとともに上記顔画像取出手段により取り出された顔画像を上記顔画像表示領域に表示させることができる。これにより、撮像手段により撮像された画像と顔画像取出手段により取り出された顔画像とを表示手段の所定の領域に表示させることができるという作用をもたらす。   In the first aspect, at least a part of the display unit includes a captured image display area and a face image display area, and the display control unit converts the image captured by the imaging unit into the captured image. While displaying in the display area, the face image extracted by the face image extracting means can be displayed in the face image display area. Thereby, the effect | action that the image imaged by the imaging means and the face image taken out by the face image extraction means can be displayed on the predetermined area | region of a display means is brought about.

また、この第1の側面において、上記表示手段に表示されている顔画像を選択する顔画像選択手段をさらに具備し、上記表示制御手段は、上記顔画像選択手段により顔画像が選択された旨を上記表示手段に表示させることができる。これにより、顔画像選択手段により選択された顔画像を認識し易くするために、顔画像が選択された旨を表示手段に表示させることができるという作用をもたらす。   In the first aspect, the image processing apparatus further includes a face image selection unit that selects a face image displayed on the display unit, and the display control unit indicates that the face image is selected by the face image selection unit. Can be displayed on the display means. Thereby, in order to make it easy to recognize the face image selected by the face image selection means, the effect that the face image is selected can be displayed on the display means.

また、この第1の側面において、上記顔画像選択手段により選択された顔画像に対応する被写体の顔に対する撮影条件を上記顔画像取出手段により取り出された顔画像に基づいて設定する撮影条件設定手段を具備することができる。これにより、顔画像選択手段により選択された顔画像に対応する被写体の顔を撮影する場合に、その撮影条件を容易に設定することができるという作用をもたらす。   In the first aspect, the photographing condition setting means for setting photographing conditions for the face of the subject corresponding to the face image selected by the face image selecting means based on the face image extracted by the face image extracting means. Can be provided. Thereby, when photographing the face of the subject corresponding to the face image selected by the face image selecting means, the photographing condition can be easily set.

また、この第1の側面において、上記表示制御手段は、上記顔画像取出手段により取り出された顔画像を所定のサイズに変換して上記表示手段に表示させることができる。これにより、顔画像取出手段により取り出された顔画像を所定のサイズで表示手段に表示させるという作用をもたらす。   In the first aspect, the display control unit can convert the face image extracted by the face image extraction unit into a predetermined size and display the converted image on the display unit. This brings about the effect that the face image extracted by the face image extracting means is displayed on the display means with a predetermined size.

また、この第1の側面において、上記顔画像取出手段は、上記顔検出手段により複数の顔が検出された場合には上記検出された複数の顔に対応する複数の顔画像を上記撮像手段により撮像された画像から取り出し、上記表示制御手段は、上記顔画像取出手段により取り出された複数の顔画像を上記表示手段に表示させることができる。これにより、撮像手段により撮像された画像に複数の人間の顔が含まれている場合には、その複数の顔に対応する顔画像を表示手段に表示させることができるという作用をもたらす。   In the first aspect, when the face detection unit detects a plurality of faces by the face detection unit, the face detection unit extracts a plurality of face images corresponding to the plurality of detected faces by the imaging unit. Taking out from the captured image, the display control means can cause the display means to display a plurality of face images taken out by the face image taking means. Thereby, when a plurality of human faces are included in the image picked up by the image pickup means, the face image corresponding to the plurality of faces can be displayed on the display means.

また、この第1の側面において、上記表示手段の少なくとも一部には顔画像表示領域が設けられ、上記表示制御手段は、上記顔画像取出手段により取り出された複数の顔画像を所定の条件に従って上記顔画像表示領域に並べて一覧表示させることができる。これにより、撮像手段により撮像された画像に複数の人間の顔が含まれている場合には、その複数の顔に対応する顔画像を所定の条件に従って記顔画像表示領域に並べて一覧表示させることができるという作用をもたらす。   In the first aspect, at least a part of the display means is provided with a face image display area, and the display control means outputs a plurality of face images extracted by the face image extraction means according to a predetermined condition. A list can be displayed side by side in the face image display area. Thus, when a plurality of human faces are included in the image captured by the imaging unit, the face images corresponding to the plurality of faces are displayed in a list in a face image display area according to a predetermined condition. It brings about the effect of being able to

また、本発明の第2の側面は、撮像手段により撮像された画像を表示する表示手段を具備する撮像装置において、上記撮像手段により撮像された画像に含まれる人間の顔を検出する顔検出手段と、上記顔検出手段により検出された顔に対応する顔画像を上記撮像手段により撮像された画像から取り出す顔画像取出手段と、上記顔画像取出手段により取り出された顔画像を上記表示手段に表示させる顔画像表示制御手段と、上記表示手段に表示されている顔画像を選択する顔画像選択手段と、上記顔画像選択手段により選択された顔画像に対応する被写体の顔が上記撮像手段により撮像される画像において所定の構成比率となる焦点距離である適正な焦点距離を現在の焦点距離と上記顔画像取出手段により取り出された顔画像の大きさとに基づいて算出する焦点距離算出手段と、上記焦点距離算出手段により算出された適正な焦点距離を上記表示手段に表示させる焦点距離表示制御手段とを具備することを特徴とする撮像装置、撮像装置に用いられる画像処理方法および当該画像処理方法をコンピュータに実行させるプログラムである。これにより、撮像手段により撮像された画像に人間の顔が含まれている場合において、その顔に対応する顔画像を撮像手段により撮像された画像から取り出して表示させ、表示されている顔画像が選択された場合には、選択された顔画像に対応する被写体の顔が撮像手段により撮像される画像において所定の構成比率となる焦点距離である適正な焦点距離を算出し、算出された適正な焦点距離を表示させることができるという作用をもたらす。   According to a second aspect of the present invention, there is provided an image pickup apparatus comprising a display means for displaying an image picked up by the image pickup means, and a face detection means for detecting a human face included in the image picked up by the image pickup means. A face image extracting unit that extracts a face image corresponding to the face detected by the face detecting unit from an image captured by the imaging unit, and a face image extracted by the face image extracting unit is displayed on the display unit. A face image display control means to be operated, a face image selection means for selecting a face image displayed on the display means, and a face of a subject corresponding to the face image selected by the face image selection means is imaged by the imaging means. An appropriate focal length, which is a focal length having a predetermined composition ratio in the obtained image, is based on the current focal length and the size of the face image extracted by the face image extracting means. And a focal length display control means for displaying on the display means an appropriate focal length calculated by the focal distance calculation means. And a program for causing a computer to execute the image processing method. Thus, when a human face is included in the image captured by the imaging unit, the face image corresponding to the face is extracted from the image captured by the imaging unit and displayed, and the displayed face image is displayed. When selected, an appropriate focal length, which is a focal length having a predetermined composition ratio in an image captured by the imaging unit, of the subject corresponding to the selected face image is calculated, and the calculated appropriate This brings about an effect that the focal length can be displayed.

また、この第2の側面において、上記表示手段の少なくとも一部には現在の焦点距離を表示する焦点距離表示領域が設けられ、上記焦点距離表示制御手段は、上記焦点距離算出手段により算出された適正な焦点距離を上記焦点距離表示領域内に表示させることができる。これにより、算出された適正な焦点距離を焦点距離表示領域内に表示させることができるという作用をもたらす。   In the second aspect, at least a part of the display unit is provided with a focal length display area for displaying a current focal length, and the focal length display control unit is calculated by the focal length calculation unit. An appropriate focal length can be displayed in the focal length display area. This brings about the effect that the calculated proper focal length can be displayed in the focal length display area.

また、この第2の側面において、上記焦点距離算出手段は、上記顔画像選択手段により選択された顔画像に対応する被写体の顔が上記撮像手段により撮像される画像において所定の構成比率となる焦点距離の一定の範囲を示す焦点距離範囲を上記算出された適正な焦点距離に基づいて算出し、上記焦点距離表示制御手段は、上記焦点距離算出手段により算出された焦点距離範囲を上記焦点距離表示領域内に表示させることができる。これにより、選択された顔画像に対応する被写体の顔が撮像手段により撮像される画像において所定の構成比率となる焦点距離の一定の範囲を示す焦点距離範囲を算出された適正な焦点距離に基づいて算出し、算出された焦点距離範囲を焦点距離表示領域内に表示させることができるという作用をもたらす。   Further, in this second aspect, the focal length calculation means has a focal point that has a predetermined composition ratio in the image of the face of the subject corresponding to the face image selected by the face image selection means. A focal length range indicating a certain range of distance is calculated based on the calculated appropriate focal length, and the focal length display control means displays the focal length range calculated by the focal length calculation means as the focal length display. It can be displayed in the area. As a result, based on the appropriate focal length, the focal length range indicating the fixed range of the focal length that has a predetermined composition ratio in the image captured by the imaging unit of the face of the subject corresponding to the selected face image is calculated. And the calculated focal length range can be displayed in the focal length display area.

また、この第2の側面において、上記焦点距離表示領域は、一の端部が望遠側を示し他の端部が広角側を示す棒状の領域であり、上記焦点距離表示制御手段は、上記焦点距離表示領域内において上記現在の焦点距離の値に応じた位置を他の部分と異なる色で表示させることによって当該現在の焦点距離を表示させるとともに上記焦点距離算出手段により算出された焦点距離範囲の値に応じた部分を他の部分と異なる色で表示させることによって当該焦点距離範囲を表示させることができる。これにより、一の端部が望遠側を示し他の端部が広角側を示す棒状の領域である焦点距離表示領域内において、現在の焦点距離の値に応じた位置を他の部分と異なる色で表示させることによって当該現在の焦点距離を表示させ、算出された焦点距離範囲の値に応じた部分を他の部分と異なる色で表示させることによって当該焦点距離範囲を表示させることができるという作用をもたらす。   In the second aspect, the focal length display region is a rod-shaped region in which one end portion indicates the telephoto side and the other end portion indicates the wide-angle side. In the distance display area, the current focal length is displayed by displaying the position according to the current focal length value in a color different from that of other portions, and the focal length range calculated by the focal length calculation means is displayed. The focal length range can be displayed by displaying a portion corresponding to the value in a color different from that of the other portions. As a result, in the focal length display area, which is a rod-shaped area where one end indicates the telephoto side and the other end indicates the wide-angle side, the position corresponding to the current focal length value is a different color from the other parts. The current focal length can be displayed by displaying the current focal length, and the focal length range can be displayed by displaying the portion corresponding to the calculated focal length range value in a different color from the other portions. Bring.

また、この第2の側面において、上記顔検出手段により検出された顔に対応する顔画像に基づいて当該顔に係る人物の性別を判別する性別判別手段をさらに具備し、上記焦点距離算出手段は、上記判別された性別に応じて上記算出された適正な焦点距離を補正することができる。これにより、検出された顔に対応する顔画像に基づいて判別された性別に応じて適正な焦点距離を補正することができるという作用をもたらす。   Further, in the second aspect, the apparatus further comprises gender discrimination means for discriminating the gender of the person related to the face based on the face image corresponding to the face detected by the face detection means, and the focal length calculation means includes The proper focal length calculated above can be corrected according to the determined gender. This brings about an effect that an appropriate focal length can be corrected according to the sex determined based on the face image corresponding to the detected face.

また、この第2の側面において、被写体を撮影するための撮影条件である撮影モードを設定する撮影モード設定手段をさらに具備し、上記焦点距離算出手段は、上記設定された撮影モードに応じて上記算出された適正な焦点距離を補正することができる。これにより、設定された撮影モードに応じて適正な焦点距離を補正することができるという作用をもたらす。   In addition, in the second aspect, the camera further includes a shooting mode setting unit that sets a shooting mode that is a shooting condition for shooting the subject, and the focal length calculation unit is configured to perform the above-described shooting mode according to the set shooting mode. The calculated proper focal length can be corrected. This brings about an effect that an appropriate focal length can be corrected according to the set photographing mode.

また、本発明の第3の側面は、撮像手段により撮像された画像を表示する表示手段とズームレンズとを具備する撮像装置において、上記撮像手段により撮像された画像に含まれる人間の顔を検出する顔検出手段と、上記顔検出手段により検出された顔に対応する顔画像を上記撮像手段により撮像された画像から取り出す顔画像取出手段と、上記顔画像取出手段により取り出された顔画像を上記表示手段に表示させる顔画像表示制御手段と、上記表示領域に表示されている顔画像を選択する顔画像選択手段と、上記顔画像選択手段により選択された顔画像に対応する被写体の顔が上記撮像手段により撮像される画像において所定の構成比率となる焦点距離である適正な焦点距離を現在の焦点距離と上記顔画像取出手段により取り出された顔画像の大きさとに基づいて算出する焦点距離算出手段と、上記焦点距離算出手段により算出された適正な焦点距離に基づいて上記ズームレンズを制御するズームレンズ制御手段とを具備することを特徴とする撮像装置、撮像装置に用いられる画像処理方法および当該画像処理方法をコンピュータに実行させるプログラムである。これにより、撮像手段により撮像された画像に人間の顔が含まれている場合において、その顔に対応する顔画像を撮像手段により撮像された画像から取り出して表示させ、表示されている顔画像が選択された場合には、選択された顔画像に対応する被写体の顔が撮像手段により撮像される画像において所定の構成比率となる焦点距離である適正な焦点距離を算出し、算出された適正な焦点距離に基づいてズームレンズを制御することができるという作用をもたらす。   According to a third aspect of the present invention, a human face included in an image captured by the imaging unit is detected in an imaging apparatus including a display unit that displays an image captured by the imaging unit and a zoom lens. A face detection means for extracting the face image corresponding to the face detected by the face detection means from the image captured by the imaging means, and the face image extracted by the face image extraction means described above. The face image display control means to be displayed on the display means, the face image selection means for selecting the face image displayed in the display area, and the face of the subject corresponding to the face image selected by the face image selection means An appropriate focal length, which is a focal length having a predetermined composition ratio in an image picked up by the image pickup means, is a current focal length and a face image extracted by the face image extraction means. An imaging apparatus comprising: a focal length calculation unit that calculates based on a size; and a zoom lens control unit that controls the zoom lens based on an appropriate focal length calculated by the focal length calculation unit. An image processing method used in an imaging apparatus and a program for causing a computer to execute the image processing method. Thus, when a human face is included in the image captured by the imaging unit, the face image corresponding to the face is extracted from the image captured by the imaging unit and displayed, and the displayed face image is displayed. When selected, an appropriate focal length, which is a focal length having a predetermined composition ratio in an image captured by the imaging unit, of the subject corresponding to the selected face image is calculated, and the calculated appropriate The zoom lens can be controlled based on the focal length.

また、この第3の側面において、上記顔画像取出手段は、上記顔検出手段により複数の顔が検出された場合には上記検出された複数の顔に対応する複数の顔画像を上記撮像手段により撮像された画像から取り出し、上記顔画像取出手段により取り出された複数の顔画像を上記表示手段に表示させるとともに上記表示手段に表示されている複数の顔画像に対応する複数の顔のうちで上記ズームレンズ制御手段により制御された上記ズームレンズのピント位置と同一の被写界深度内にある顔に対応する顔画像についてはピントが合っている旨を上記表示手段に表示させる表示制御手段を具備することができる。これにより、複数の顔が検出された場合には、撮像手段により撮像された画像から取り出された複数の顔画像を表示させるとともに、表示されている複数の顔画像に対応する複数の顔のうちで制御されたズームレンズのピント位置と同一の被写界深度内にある顔に対応する顔画像についてはピントが合っている旨を表示させるという作用をもたらす。   In the third aspect, when the face detecting unit detects a plurality of faces by the face detecting unit, the face detecting unit extracts a plurality of face images corresponding to the detected plurality of faces by the imaging unit. The plurality of face images extracted from the captured image and displayed by the face image extraction unit are displayed on the display unit, and among the plurality of faces corresponding to the plurality of face images displayed on the display unit Display control means for displaying on the display means that a face image corresponding to a face within the same depth of field as the focus position of the zoom lens controlled by the zoom lens control means is in focus. can do. Thereby, when a plurality of faces are detected, a plurality of face images extracted from the image captured by the imaging unit are displayed, and among the plurality of faces corresponding to the plurality of displayed face images For the face image corresponding to the face within the same depth of field as the focus position of the zoom lens controlled in step (b), it is displayed that the in-focus state is displayed.

本発明によれば、人間の顔を撮影する場合に、撮影状況や撮影者の好みに応じた適切な撮影を迅速に行うことができるという優れた効果を奏し得る。   According to the present invention, when photographing a human face, it is possible to achieve an excellent effect that it is possible to quickly perform appropriate photographing according to the photographing situation and the photographer's preference.

次に本発明の実施の形態について図面を参照して詳細に説明する。   Next, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施の形態における撮像装置100の機能構成例を示すブロック図である。   FIG. 1 is a block diagram illustrating a functional configuration example of an imaging apparatus 100 according to an embodiment of the present invention.

撮像装置100は、光学系110と、撮像素子120と、カメラ信号処理回路130と、バッファメモリ140と、画像処理回路150と、カメラ制御回路160と、レンズドライバ170と、HI制御回路180と、モータ190および191と、露出駆動部分200と、操作部210と、表示部300とを備える。撮像装置100は、例えば、静止画を記録するデジタルスチルカメラや動画を記録するデジタルビデオカメラである。   The imaging apparatus 100 includes an optical system 110, an imaging element 120, a camera signal processing circuit 130, a buffer memory 140, an image processing circuit 150, a camera control circuit 160, a lens driver 170, an HI control circuit 180, Motors 190 and 191, an exposure driving part 200, an operation unit 210, and a display unit 300 are provided. The imaging apparatus 100 is, for example, a digital still camera that records still images or a digital video camera that records moving images.

なお、撮像装置100には複数の撮影モードが備えられている。撮影モードとは、被写体を撮影する場合における撮影条件である。撮影モードとして、例えば、通常の撮影を行う場合に使用する通常モード、人物を被写体とする場合に使用するポートレートモード、風景を撮影する場合に使用する風景モード、暗い場所を撮影する場合に使用する夜景モード等がある。本実施の形態では、顔検出モードについて詳細に説明する。なお、撮像装置100においては、顔検出モードと他の撮影モードとを同時に設定することができる。   Note that the imaging apparatus 100 is provided with a plurality of shooting modes. The shooting mode is a shooting condition when shooting a subject. Shooting modes include, for example, a normal mode used for normal shooting, a portrait mode used for taking a person as a subject, a landscape mode used for shooting a landscape, and a dark place. There is a night view mode. In the present embodiment, the face detection mode will be described in detail. In the imaging apparatus 100, the face detection mode and other shooting modes can be set simultaneously.

光学系110は、ズームレンズおよびフォーカスレンズを含む複数のレンズ等からなる撮像装置100の光学系である。   The optical system 110 is an optical system of the imaging apparatus 100 including a plurality of lenses including a zoom lens and a focus lens.

撮像素子120は、光学系110を通して撮影された画像を画像信号(電気信号)に光電変換し、光電変換された画像信号をカメラ信号処理回路130に出力するものである。撮像素子120としては、例えば、所定の被写体の画像を撮像するCCD(Charge Coupled Device)がある。   The image sensor 120 photoelectrically converts an image photographed through the optical system 110 into an image signal (electric signal) and outputs the photoelectrically converted image signal to the camera signal processing circuit 130. As the imaging element 120, for example, there is a CCD (Charge Coupled Device) that captures an image of a predetermined subject.

カメラ信号処理回路130は、撮像素子120により光電変換された画像信号に対して適正な信号処理を施してバッファメモリ140に出力するものである。また、カメラ信号処理回路130は、カメラ制御回路160との間でカメラ制御に必要な信号通信を行う。   The camera signal processing circuit 130 performs appropriate signal processing on the image signal photoelectrically converted by the image sensor 120 and outputs the image signal to the buffer memory 140. The camera signal processing circuit 130 performs signal communication necessary for camera control with the camera control circuit 160.

バッファメモリ140は、カメラ信号処理回路130が出力した画像信号を一時的に記憶するとともに、記憶された画像信号を画像処理回路150に出力するバッファメモリである。   The buffer memory 140 is a buffer memory that temporarily stores the image signal output from the camera signal processing circuit 130 and outputs the stored image signal to the image processing circuit 150.

画像処理回路150は、バッファメモリ140を介してカメラ信号処理回路130から入力された画像信号について、表示部300または外部装置に出力するための変換を行うものである。   The image processing circuit 150 performs conversion for outputting an image signal input from the camera signal processing circuit 130 via the buffer memory 140 to the display unit 300 or an external device.

カメラ制御回路160は、撮像装置100全体を制御する制御回路である。また、カメラ制御回路160は、光学系110を構成する各レンズを制御するため、レンズドライバ170との間で信号通信を行うとともに、露出駆動部分200を制御する。   The camera control circuit 160 is a control circuit that controls the entire imaging apparatus 100. In addition, the camera control circuit 160 performs signal communication with the lens driver 170 and controls the exposure driving part 200 in order to control each lens constituting the optical system 110.

レンズドライバ170は、カメラ制御回路160の指示に従って、光学系110を構成する所定のレンズに取り付けられたモータ190および191を制御するレンズドライバである。   The lens driver 170 is a lens driver that controls motors 190 and 191 attached to a predetermined lens constituting the optical system 110 in accordance with an instruction from the camera control circuit 160.

HI(Human Interface)制御回路180は、操作部210から入力された操作情報と、カメラ制御回路160から入力された各種情報とに基づいて画像処理回路150を制御するものである。   A HI (Human Interface) control circuit 180 controls the image processing circuit 150 based on operation information input from the operation unit 210 and various information input from the camera control circuit 160.

モータ190および191は、光学系110を構成する所定のレンズに取り付けられ、レンズドライバ170の制御に基づいて、各レンズの位置を移動させるモータである。   Motors 190 and 191 are motors that are attached to predetermined lenses constituting the optical system 110 and move the position of each lens based on the control of the lens driver 170.

露出駆動部分200は、カメラ制御回路160の制御に基づいて、撮像素子120に入る光の総量を制御する部分である。   The exposure driving part 200 is a part that controls the total amount of light entering the image sensor 120 based on the control of the camera control circuit 160.

操作部210は、ユーザからの各種操作情報を入力する操作部であり、入力された操作情報をHI制御回路180に出力する。なお、操作部210には、顔選択のためのスイッチ211が設けられている。スイッチ211としては、例えば、上下の矢印キーや上下左右の十字キーが考えられる。   The operation unit 210 is an operation unit that inputs various types of operation information from the user, and outputs the input operation information to the HI control circuit 180. The operation unit 210 is provided with a switch 211 for face selection. As the switch 211, for example, up / down arrow keys and up / down / left / right cross keys are conceivable.

図2は、表示部300に表示される画像表示の一例を示す図である。   FIG. 2 is a diagram illustrating an example of an image display displayed on the display unit 300.

表示部300は、HI制御回路180の制御に基づいて、画像処理回路150が出力した各種画像情報を表示する表示部である。表示部として、例えば、液晶ディスプレイ(LCD)や電子ビューファインダ(EVF)が用いられる。なお、通常の撮影モードにおいて、表示部300には撮像素子120が撮影した画像がそのまま表示される。一方、顔検出モードが設定されている場合において、表示部300には、図2に示すように、撮影画像表示領域310と顔選択表示領域320とが設けられる。   The display unit 300 is a display unit that displays various image information output from the image processing circuit 150 based on the control of the HI control circuit 180. For example, a liquid crystal display (LCD) or an electronic viewfinder (EVF) is used as the display unit. In the normal shooting mode, the image captured by the image sensor 120 is displayed on the display unit 300 as it is. On the other hand, when the face detection mode is set, the display unit 300 is provided with a captured image display area 310 and a face selection display area 320 as shown in FIG.

撮影画像表示領域310には、焦点距離表示バー311が表示される。また、焦点距離表示バー311内には、現在の焦点距離312と適正な焦点距離313とが表示される。焦点距離表示バー311は、ズームレンズを操作する際に使用するズームバーであり、撮像装置100が撮影可能な焦点距離の範囲を示すものである。現在の焦点距離312は、現在の焦点距離を示す表示である。適正な焦点距離313は、顔検出モードが設定されている場合において、選択された顔を撮影する場合における適正な焦点距離の範囲を示す表示である。   A focal length display bar 311 is displayed in the captured image display area 310. In the focal length display bar 311, the current focal length 312 and the appropriate focal length 313 are displayed. The focal length display bar 311 is a zoom bar used when operating the zoom lens, and indicates the range of the focal length that the imaging apparatus 100 can shoot. The current focal length 312 is a display showing the current focal length. The proper focal length 313 is a display indicating the range of the proper focal length when the selected face is photographed when the face detection mode is set.

つまり、焦点距離表示バー311は、一の端部が望遠側を示し他の端部が広角側を示す棒状の焦点距離表示領域である。また、焦点距離表示バー311内において現在の焦点距離の値に応じた位置が他の部分と異なる色で表示されることによって現在の焦点距離312が表示される。さらに、適正な焦点距離の範囲の値に応じた部分が他の部分と異なる色で表示されることによって適正な焦点距離313が表示される。ただし、図2および図4および図5では、適正な焦点距離313を斜線で示す。なお、焦点距離とは、光学系110を構成するレンズ全体から撮像素子120までの距離を示す値である。   That is, the focal length display bar 311 is a rod-like focal length display region in which one end portion indicates the telephoto side and the other end portion indicates the wide angle side. In addition, the current focal length 312 is displayed by displaying the position corresponding to the current focal length value in the focal length display bar 311 in a different color from the other portions. Further, the appropriate focal length 313 is displayed by displaying the portion corresponding to the value of the appropriate focal length range in a different color from the other portions. However, in FIGS. 2, 4, and 5, the appropriate focal length 313 is indicated by hatching. The focal length is a value indicating the distance from the entire lens constituting the optical system 110 to the image sensor 120.

顔選択表示領域320には、撮影画像表示領域310に含まれる人の顔の画像が所定サイズで並べて表示される。   In the face selection display area 320, human face images included in the captured image display area 310 are displayed side by side in a predetermined size.

例えば、図2には、弟H1と父H2と母H3と姉H4との家族4人で撮影する場合において、撮影画像表示領域310に各人物の顔が表示されている例を示す。この場合において、第一表示領域321には弟H1の顔画像H1aが表示され、第二表示領域322には父H2の顔画像H2aが表示され、第三表示領域323には母H3の顔画像H3aが表示され、第四表示領域324には姉H4の顔画像H4aが表示される。この並び順は、検出された顔の大きさに基づいてもよく、また、検出された顔画像の確度順に並べるようにしてもよい。   For example, FIG. 2 shows an example in which each person's face is displayed in the photographed image display area 310 in the case of photographing with four family members of a younger brother H1, a father H2, a mother H3, and an older sister H4. In this case, the face image H1a of the younger brother H1 is displayed in the first display area 321, the face image H2a of the father H2 is displayed in the second display area 322, and the face image of the mother H3 is displayed in the third display area 323. H3a is displayed, and the face image H4a of the sister H4 is displayed in the fourth display area 324. This arrangement order may be based on the size of the detected face, or may be arranged in the order of accuracy of the detected face image.

次に、カメラ信号処理回路130についてさらに詳細に説明する。   Next, the camera signal processing circuit 130 will be described in more detail.

図3は、カメラ信号処理回路130の機能構成例を示すブロック図である。   FIG. 3 is a block diagram illustrating a functional configuration example of the camera signal processing circuit 130.

カメラ信号処理回路130は、I/F(インターフェース)回路131と、検波回路132と、カメラ画像信号処理回路133と、顔検出回路134と、メモリI/F回路135と、I/F回路136と、バス137と、バス138とを備える。   The camera signal processing circuit 130 includes an I / F (interface) circuit 131, a detection circuit 132, a camera image signal processing circuit 133, a face detection circuit 134, a memory I / F circuit 135, and an I / F circuit 136. A bus 137 and a bus 138.

I/F回路131は、撮像素子120により変換された画像信号を入力すると、入力された画像信号をメモリI/F回路135にバス137を介して出力するI/F回路である。   The I / F circuit 131 is an I / F circuit that, when an image signal converted by the image sensor 120 is input, outputs the input image signal to the memory I / F circuit 135 via the bus 137.

検波回路132は、メモリI/F回路135に入力された画像信号から、カメラ制御に必要な各種情報を取得する検波処理を行い、取得した各種情報をカメラ制御回路160にI/F回路136を介して出力する検波回路である。なお、検波回路132が取得する情報は、画像の明るさ、コンストラスト情報、色の判別等の情報や、ホワイトバランス、色相合わせ、AE、AF等の制御に必要な情報である。   The detection circuit 132 performs detection processing for acquiring various types of information necessary for camera control from the image signal input to the memory I / F circuit 135, and sends the acquired various types of information to the camera control circuit 160 using the I / F circuit 136. It is a detection circuit which outputs via. The information acquired by the detection circuit 132 is information necessary for control of image brightness, contrast information, color discrimination, etc., and white balance, hue matching, AE, AF, and the like.

カメラ画像信号処理回路133は、メモリI/F回路135に入力された画像信号について、リニアマトリクス処理、ホワイトバランス処理、γ補正処理等のカメラ画像処理を行うものである。   The camera image signal processing circuit 133 performs camera image processing such as linear matrix processing, white balance processing, and γ correction processing on the image signal input to the memory I / F circuit 135.

なお、図1で示すカメラ制御回路160は、検波回路132の検波処理により取得した各種情報に基づいてカメラ制御演算処理を行い、このカメラ制御演算処理により決定された制御パラメータをI/F回路136を介してカメラ画像信号処理回路133に出力する。また、カメラ画像信号処理回路133は、カメラ制御回路160が出力した制御パラメータに基づいてカメラ画像処理を行う。   The camera control circuit 160 shown in FIG. 1 performs camera control calculation processing based on various information acquired by the detection processing of the detection circuit 132, and sets the control parameters determined by this camera control calculation processing to the I / F circuit 136. To the camera image signal processing circuit 133. The camera image signal processing circuit 133 performs camera image processing based on the control parameters output from the camera control circuit 160.

顔検出回路134は、カメラ画像信号処理回路133がカメラ画像処理を施した画像信号に含まれている人間の顔を検出する顔検出回路である。そして、人間の顔を検出した場合には、人間の顔を検出した旨を示す情報である顔検出情報をI/F回路136を介してカメラ制御回路160へ出力する。顔検出の例としては、撮影画像に含まれる肌色の部分や人間の顔の特徴量等に基づいた顔検出がある。また、顔検出情報には、検出された顔画像の領域の座標位置、検出された顔画像の領域情報(顔画像の中心座標、顔画像の水平方向および垂直方向の大きさ等)、顔の向き、顔の大きさ、検出した顔画像の確度を示す数値等が含まれる。   The face detection circuit 134 is a face detection circuit that detects a human face included in an image signal subjected to camera image processing by the camera image signal processing circuit 133. If a human face is detected, face detection information, which is information indicating that a human face has been detected, is output to the camera control circuit 160 via the I / F circuit 136. As an example of face detection, there is face detection based on a skin color portion included in a photographed image, a feature amount of a human face, or the like. The face detection information includes the coordinate position of the detected face image area, the area information of the detected face image (the center coordinates of the face image, the size of the face image in the horizontal and vertical directions, etc.), A numerical value indicating the orientation, the size of the face, the accuracy of the detected face image, and the like are included.

メモリI/F回路135は、撮像素子120により変換された画像信号をI/F回路131を介して入力すると、入力された画像信号を検波回路132とカメラ画像信号処理回路133と顔検出回路134とに同時にバス137を介して出力するメモリI/F回路である。また、カメラ画像信号処理回路133がカメラ画像処理を施した画像信号を、バッファメモリ140に出力する。   When the image signal converted by the image sensor 120 is input via the I / F circuit 131, the memory I / F circuit 135 receives the input image signal as a detection circuit 132, a camera image signal processing circuit 133, and a face detection circuit 134. And a memory I / F circuit that outputs data via the bus 137 at the same time. Also, the camera image signal processing circuit 133 outputs an image signal subjected to camera image processing to the buffer memory 140.

I/F回路136は、カメラ制御回路160との間で各種情報を送受信するためのI/F回路である。   The I / F circuit 136 is an I / F circuit for transmitting / receiving various types of information to / from the camera control circuit 160.

次に、表示部300の撮影画像表示領域310に表示されている撮影画像に含まれる人間の顔画像を、顔選択表示領域320の各表示領域321〜324に表示する方法について説明する。   Next, a method for displaying a human face image included in a captured image displayed in the captured image display area 310 of the display unit 300 in each of the display areas 321 to 324 of the face selection display area 320 will be described.

図4(a)は、図2と同様に、表示部300の撮影画像表示領域310および顔選択表示領域320に表示される画像表示の一例を示す図であり、図4(b)は、撮影画像表示領域310に含まれる父H2の顔画像を示す図である。   4A is a diagram illustrating an example of image display displayed in the captured image display area 310 and the face selection display area 320 of the display unit 300, as in FIG. 2, and FIG. It is a figure which shows the face image of father H2 contained in the image display area 310. FIG.

ここでは、図4(b)に示すように、表示部300の撮影画像表示領域310に表示されている父H2の顔画像を取り出し、取り出した父H2の顔画像について、顔選択表示領域320の第二表示領域322に表示する顔画像H2aを生成する場合について説明する。   Here, as shown in FIG. 4B, the face image of the father H2 displayed in the captured image display area 310 of the display unit 300 is extracted, and the extracted face image of the father H2 is displayed in the face selection display area 320. A case where the face image H2a to be displayed in the second display area 322 is generated will be described.

撮影画像表示領域310に表示されている人間の顔画像を取り出す場合には、顔検出回路134が出力した顔検出情報が参照される。ここでは、顔検出情報に含まれる顔画像の領域情報が用いられる。   When a human face image displayed in the captured image display area 310 is extracted, the face detection information output by the face detection circuit 134 is referred to. Here, the area information of the face image included in the face detection information is used.

最初に、顔検出情報に含まれる領域情報に基づいて、撮影画像表示領域310に表示されている父H2の顔画像を取り出すための領域計算を行う。具体的には、図4(b)に示すように、父H2の顔画像の中心座標401(Xo、Yo)と、顔画像の水平方向の大きさを示す値X1および垂直方向の大きさを示す値Y1とを用いる。   First, based on the area information included in the face detection information, area calculation is performed to extract the face image of father H2 displayed in the captured image display area 310. Specifically, as shown in FIG. 4B, the center coordinates 401 (Xo, Yo) of the face image of the father H2, the value X1 indicating the size of the face image in the horizontal direction, and the size in the vertical direction are set. The indicated value Y1 is used.

なお、X1×Y1が示す顔画像の領域H2bは、図4(a)および(b)に示すように、顔画像の大部分が含まれる程度の矩形状の領域である。しかし、顔選択表示領域320に顔全体を表示するためには、取り出す顔画像の領域は、顔全体を含む領域とする必要がある。つまり、取り出す顔画像の領域H2cは、顔画像の領域情報に含まれる顔画像の領域H2bよりも大きい領域である。   The face image area H2b indicated by X1 × Y1 is a rectangular area to the extent that most of the face image is included, as shown in FIGS. 4 (a) and 4 (b). However, in order to display the entire face in the face selection display area 320, the face image area to be extracted needs to be an area including the entire face. That is, the extracted face image area H2c is larger than the face image area H2b included in the face image area information.

このように取り出す顔画像の領域H2cについては、顔全体を含む領域とするため、顔画像の領域情報に含まれる顔画像の領域H2b(X1×Y1)に基づいて領域計算を行う。この計算の一例として、所定の比Bを設定しておき、以下に示す(式1)を用いて、取り出す領域の水平方向の大きさを示す値X1を求める計算について説明する。また、取り出す領域の垂直方向の大きさを示す値Y1については、以下に示す(式2)を用いて同様に計算をして求める。
X1=B・X1……(式1)
Y1=B・Y1……(式2)
Since the face image area H2c extracted in this manner is an area including the entire face, the area calculation is performed based on the face image area H2b (X1 × Y1) included in the face image area information. An example of this calculation, may be set a predetermined ratio B, and using (Equation 1) below, calculation will be described for obtaining the value X1 1 showing the horizontal size of the area taken. Further, for the values Y1 1 showing the vertical size of the area to take out, then ask the similarly calculated using the following (Equation 2).
X1 1 = B · X1 (Formula 1)
Y1 1 = B · Y1 (Formula 2)

(式1)および(式2)を用いて求めた値X1×Y1の画像領域H2cとなるように、座標401(Xo、Yo)を中心として父H2の顔画像を、撮影画像表示領域310に表示されている画像から取り出す。 The face image of the father H2 with the coordinates 401 (Xo, Yo) as the center is taken as the captured image display area so as to be the image area H2c of the value X1 1 × Y1 1 obtained using (Expression 1) and (Expression 2). The image is extracted from the image displayed at 310.

続いて、取り出した父H2の顔画像(画像領域H2c)について、水平方向の大きさを示す値がXs以内となり、垂直方向の大きさを示す値がYs以内となるようにサイズ変更する。具体的には、水平方向の大きさについては、(式3)を用いて、取り出した父H2の顔画像の値X1と顔選択表示領域320の表示領域の水平方向の大きさを示す値Xsとの比であるC1を計算して求め、垂直方向の大きさについては、(式4)を用いて、取り出した父H2の顔画像の値Y1と顔選択表示領域320の表示領域の垂直方向の大きさを示す値Ysとの比であるC2を計算して求める。
X1/Xs=C1……(式3)
Y1/Ys=C2……(式4)
Subsequently, the extracted face image of the father H2 (image region H2c) is resized so that the value indicating the horizontal size is within Xs and the value indicating the vertical size is within Ys. Specifically, as for the horizontal size, the value indicating the horizontal size of the display area of the face image display area 320 and the face image value X11 1 of the father H2 extracted using (Equation 3). C1 which is a ratio to Xs is calculated and the vertical size is obtained by using (Equation 4), the value Y11 1 of the extracted face image of the father H2 and the display area of the face selection display area 320 C2 which is a ratio with the value Ys indicating the size in the vertical direction is calculated.
X1 1 / Xs = C1 (Formula 3)
Y1 1 / Ys = C2 (Formula 4)

続いて、(式3)および(式4)を用いて求めた値C1と値C2とを比較し、値C1または値C2のうちで大きい値をC3として決定する。続いて、決定されたC3および以下の(式5)を用いて、顔選択表示領域320の表示領域に表示する顔画像の表示領域の水平方向の大きさを示す値Xs1を算出する。
Xs1=1/C3×X1……(式5)
Subsequently, the value C1 obtained by using (Expression 3) and (Expression 4) is compared with the value C2, and the larger value among the values C1 and C2 is determined as C3. Subsequently, using the determined C3 and the following (Equation 5), a value Xs1 indicating the horizontal size of the display area of the face image displayed in the display area of the face selection display area 320 is calculated.
Xs1 = 1 / C3 × X1 1 (Formula 5)

また、決定されたC3および以下の(式6)を用いて、顔選択表示領域320の表示領域に表示する顔画像の表示領域の垂直方向の大きさを示す値Ys1を算出する。
Ys1=1/C3×Y1……(式6)
Also, using the determined C3 and the following (Equation 6), a value Ys1 indicating the vertical size of the display area of the face image displayed in the display area of the face selection display area 320 is calculated.
Ys1 = 1 / C3 × Y1 1 (Formula 6)

例えば、取り出した顔画像の値X1がXsよりも大きい場合、または、Y1がYsよりも大きい場合には、X1×Y1の画像領域H2cがXs×Ys以内となるように取り出した顔画像を縮小する。一方、取り出した顔画像の値X1がXsよりも小さく、かつ、Y1がYsよりも小さい場合には、取り出した顔画像のサイズをそのまま使用するようにしてもよく、X1×Y1の画像領域H2cがXs×Ysの範囲内になるように拡大するようにしてもよい。 For example, when the extracted face image value X1 1 is larger than Xs, or when Y1 1 is larger than Ys, the image area H2c of X1 1 × Y1 1 is extracted so as to be within Xs × Ys. Reduce the face image. On the other hand, smaller than the value X1 1 of the extracted face image is Xs, and, if Y1 1 is smaller than Ys may be used as the size of the extracted face image, X1 1 × Y1 1 The image area H2c may be enlarged so as to be within the range of Xs × Ys.

なお、取り出した画像領域(例えば、X1×Y1)の一部には、他人の顔画像の一部が含まれることがあるが、本実施の形態では、取り出した画像領域に含まれる他人の顔画像の一部の表示を省略している。また、顔部分の画像のみを取り出せる場合には、顔部分の画像のみを取り出し、取り出した顔部分の画像を使用するようにしてもよい。 A part of the extracted image area (for example, X1 1 × Y1 1 ) may include a part of another person's face image, but in this embodiment, another person included in the extracted image area. The display of a part of the face image of is omitted. When only the face part image can be extracted, only the face part image may be extracted and the extracted face part image may be used.

続いて、Xs×Ysの表示領域の範囲内に収まるように、縮小等された顔画像を顔選択表示領域320の各表示領域321〜324のいずれかの領域に表示する。顔選択表示領域320の各表示領域321〜324に複数の顔画像を表示する場合における表示位置については、顔検出情報に含まれる顔の大きさ、顔画像の確度等に基づいて決定するようにしてもよく、処理順に並べるようにしてもよい。   Subsequently, the face image reduced or the like is displayed in any one of the display areas 321 to 324 of the face selection display area 320 so as to be within the range of the display area of Xs × Ys. The display position when a plurality of face images are displayed in the display areas 321 to 324 of the face selection display area 320 is determined based on the size of the face included in the face detection information, the accuracy of the face image, and the like. Alternatively, they may be arranged in the order of processing.

これらの各処理を検出された複数の顔画像に対して行う。   Each of these processes is performed on a plurality of detected face images.

検出された複数の顔画像の全ての顔画像について、顔選択表示領域320の各表示領域321〜324への表示が終了した後に、顔選択表示領域320の第五表示領域330に不選択ボタン331を表示する。   After all the face images of the plurality of detected face images have been displayed in the display areas 321 to 324 of the face selection display area 320, the non-select button 331 is displayed in the fifth display area 330 of the face selection display area 320. Is displayed.

なお、顔選択表示領域320の各表示領域の数および大きさについては、検出された顔画像の数に応じて変形するようにしてもよい。また、顔選択表示領域320の各表示領域の数を固定とし、この数よりも多く顔画像が検出された場合には、各表示領域に所定の順番で顔画像を並べ、表示することができない顔画像についてはスクロール操作によって表示させるようにしてもよい。また、表示される顔画像が少ない場合には、顔画像が表示されない表示領域に不選択ボタン331を順次表示するようにしてもよい。   Note that the number and size of each display area of the face selection display area 320 may be modified according to the number of detected face images. Also, when the number of display areas in the face selection display area 320 is fixed and more face images are detected, the face images cannot be arranged and displayed in a predetermined order in each display area. You may make it display a face image by scroll operation. Further, when the number of face images to be displayed is small, the non-selection button 331 may be sequentially displayed in a display area where no face image is displayed.

次に、表示部300に図2に示す各画像が表示されている場合において、撮影画像表示領域310に表示されている弟H1と父H2と母H3と姉H4との各顔の中から、撮影の対象となる被写体の人物の顔を選択する場合について説明する。   Next, when each image shown in FIG. 2 is displayed on the display unit 300, from among the faces of the younger brother H1, father H2, mother H3, and sister H4 displayed in the captured image display area 310, A case where the face of a person who is a subject to be photographed is selected will be described.

図2に示すように、撮影画像表示領域310に表示されている弟H1と父H2と母H3と姉H4との各顔については、顔選択表示領域320の各表示領域321〜324に表示されている。このように表示されている状態で、ユーザが操作部210のスイッチ211を使用して、顔選択表示領域320の各表示領域321〜324に表示されている顔のいずれかを選択する。   As shown in FIG. 2, the faces of the younger brother H1, the father H2, the mother H3, and the older sister H4 displayed in the captured image display area 310 are displayed in the display areas 321 to 324 in the face selection display area 320. ing. In such a state, the user uses the switch 211 of the operation unit 210 to select any of the faces displayed in the display areas 321 to 324 of the face selection display area 320.

例えば、父H2の顔画像を選択する場合には、父H2の顔画像H2aが表示されている第二表示領域322に網掛表示がされる。なお、本実施の形態では、図2に示すように、選択された顔画像(選択顔画像)が表示された領域を斜線で表示するが、他の領域と選択された領域とを異なる色で表示するようにするようにしてもよく、所定の大きさ(例えば、1.5倍)になるように選択顔画像を拡大表示し、選択顔画像を見易くするとともに、他の領域と識別できるようにしてもよい。また、他の領域と選択された領域とを他の表示方法で識別できるようにしてもよい。さらに、選択された顔画像が識別できるように表示するとともに、撮影画像表示領域310に表示されている画像の中で、選択された顔画像に対応する画像部分を網掛表示等により識別できるようにしてもよい。   For example, when the face image of the father H2 is selected, the display is shaded in the second display area 322 in which the face image H2a of the father H2 is displayed. In the present embodiment, as shown in FIG. 2, the area where the selected face image (selected face image) is displayed is displayed with diagonal lines, but the other area and the selected area are displayed in different colors. The selected face image may be enlarged so as to be a predetermined size (for example, 1.5 times) so that the selected face image can be easily seen and can be distinguished from other regions. It may be. Moreover, you may enable it to identify another area | region and the selected area | region with another display method. Further, the selected face image is displayed so that it can be identified, and the image portion corresponding to the selected face image among the images displayed in the captured image display area 310 can be identified by shading display or the like. May be.

顔選択表示領域320に表示されている顔が選択された場合には、選択された顔を撮影する場合における適正な焦点距離の範囲を示す適正な焦点距離313が、撮影画像表示領域310の焦点距離表示バー311に表示される。つまり、焦点距離表示バー311に表示される適正な焦点距離313は、選択された顔画像に対応する被写体の顔が撮像素子120により撮像される画像において所定の構成比率となる焦点距離の一定の範囲を示すものである。   When a face displayed in the face selection display area 320 is selected, an appropriate focal length 313 indicating an appropriate focal length range when the selected face is imaged is a focal point of the captured image display area 310. It is displayed on the distance display bar 311. That is, the appropriate focal length 313 displayed on the focal length display bar 311 is a constant focal length that is a predetermined component ratio in an image of the face of the subject corresponding to the selected face image captured by the image sensor 120. Indicates the range.

現在の焦点距離312が、焦点距離表示バー311に表示された適正な焦点距離313の範囲内になるように、操作部210のズームボタン(図示せず)等を操作すると、選択された顔が適正な大きさとなるように撮影をすることができる。   When the zoom button (not shown) or the like of the operation unit 210 is operated so that the current focal length 312 falls within the range of the appropriate focal length 313 displayed on the focal length display bar 311, the selected face is displayed. It is possible to take a picture so as to have an appropriate size.

次に、図4を参照して、焦点距離表示バー311に適正な焦点距離313を表示するための焦点距離の算出方法について説明する。なお、以下に示す計算方法は、焦点距離と撮影画像表示領域310に表示される表示サイズとは比例する、という性質を利用した計算方法である。   Next, a focal length calculation method for displaying an appropriate focal length 313 on the focal length display bar 311 will be described with reference to FIG. Note that the calculation method described below is a calculation method using the property that the focal length and the display size displayed in the captured image display area 310 are proportional.

最初に、撮影画像表示領域310に対して水平方向の適正な顔の大きさを示す値をXとし、撮影画像表示領域310の水平方向の大きさを示す値をXaとした場合において、以下に示す(式7)を用いて、適正比率Aを求める。
X/Xa=A……(式7)
First, when a value indicating an appropriate face size in the horizontal direction with respect to the captured image display area 310 is X and a value indicating the horizontal size of the captured image display area 310 is Xa, The appropriate ratio A is obtained using (Expression 7) shown.
X / Xa = A (Formula 7)

続いて、顔検出情報に含まれる画像領域の大きさを示す値X1と、撮影画像表示領域310の水平方向の大きさを示す値をXaとに基づいて、以下に示す(式8)を用いて、現在の比率A1を求める。
X1/Xa=A1……(式8)
Subsequently, based on the value X1 indicating the size of the image area included in the face detection information and the value indicating the horizontal size of the captured image display area 310 based on Xa, the following (Equation 8) is used. The current ratio A1 is obtained.
X1 / Xa = A1 (Formula 8)

続いて、現在の焦点距離を示す値をZ1とした場合に、上記で求めた適正比率Aと、現在の比率A1とに基づいて、以下に示す(式9)を用いて、適正な焦点距離Zを求める。
Z=Z1×A/A1……(式9)
Subsequently, when the value indicating the current focal length is set to Z1, based on the appropriate ratio A obtained above and the current ratio A1, an appropriate focal length is obtained using (Equation 9) shown below. Find Z.
Z = Z1 × A / A1 (Formula 9)

なお、上記で求めた適正な焦点距離Zについては、撮影者の好みに応じた撮影ができるように、焦点距離情報として所定の幅を持たせるようにする。たとえば、所定の幅の値を水平方向および垂直方向について各0.5倍と設定した場合において、適正な焦点距離Zの値が2.0の場合には、適正な焦点距離として、1.75〜2.25の値が適正な焦点距離の範囲(焦点距離範囲)となる。また、所定の幅を2割の幅と設定した場合において、適正な焦点距離Zの値が2.0の場合には、適正な焦点距離として、1.8〜2.2の値が適正な焦点距離の範囲となる。   Note that the appropriate focal length Z obtained above is given a predetermined width as the focal length information so that photographing according to the photographer's preference can be performed. For example, when the value of the predetermined width is set to 0.5 times in the horizontal direction and the vertical direction, and the appropriate focal length Z is 2.0, the proper focal length is 1.75. A value of ˜2.25 is an appropriate focal length range (focal length range). In addition, when the predetermined width is set to 20% and the appropriate focal length Z is 2.0, a value of 1.8 to 2.2 is appropriate as an appropriate focal length. This is the focal length range.

続いて、求めた焦点距離範囲を適正な焦点距離313として焦点距離表示バー311に表示する。なお、図2および図4および図5では、適正な焦点距離313を斜線で示す。   Subsequently, the obtained focal length range is displayed on the focal length display bar 311 as an appropriate focal length 313. In FIGS. 2, 4, and 5, an appropriate focal length 313 is indicated by hatching.

図5(a)は、焦点距離表示バー311に表示されている適正な焦点距離313が示す範囲の最低値(ワイド端側)に現在の焦点距離312を合わせた場合における撮影画像表示領域310の表示例を示す図である。   FIG. 5A shows the captured image display area 310 when the current focal length 312 is set to the lowest value (wide end side) of the range indicated by the appropriate focal length 313 displayed on the focal length display bar 311. It is a figure which shows the example of a display.

図5(b)は、焦点距離表示バー311に表示されている適正な焦点距離313が示す範囲の最高値(テレ端側)に現在の焦点距離312を合わせた場合における撮影画像表示領域310の表示例を示す図である。   FIG. 5B shows the captured image display area 310 when the current focal length 312 is adjusted to the maximum value (tele end side) of the range indicated by the appropriate focal length 313 displayed on the focal length display bar 311. It is a figure which shows the example of a display.

図5に示すように、焦点距離表示バー311に表示されている適正な焦点距離313の範囲内に現在の焦点距離312を合わせた場合には、選択された人間の顔を適正な大きさで表示することができる。これによって、選択された人間の顔を適正な大きさで撮影することができる。   As shown in FIG. 5, when the current focal length 312 is set within the range of the appropriate focal length 313 displayed on the focal length display bar 311, the selected human face is set to an appropriate size. Can be displayed. As a result, the selected human face can be photographed with an appropriate size.

なお、焦点距離表示バー311の適正な焦点距離313については、所定の時間が経過するまでの間、または、所定の操作が行われるまでの間、表示を継続する。   The appropriate focal length 313 of the focal length display bar 311 is continuously displayed until a predetermined time elapses or until a predetermined operation is performed.

また、顔選択表示領域320の各表示領域には、表示部300の撮影画像表示領域310に表示されている画像の中から検出された人間の顔を順次表示する。ただし、このように検出された人間の顔を順次表示する代わりに、顔選択表示領域320の各表示領域に表示された各顔について、所定の時間が経過するまでの間、または、所定の操作が行われるまでの間、表示しておくようにしてもよい。   In each display area of the face selection display area 320, human faces detected from images displayed in the captured image display area 310 of the display unit 300 are sequentially displayed. However, instead of sequentially displaying the human faces detected in this way, each face displayed in each display area of the face selection display area 320 until a predetermined time elapses or a predetermined operation is performed. You may make it display until it is performed.

次に、本発明の実施の形態における撮像装置100の動作について図面を参照して説明する。以下に示す各動作は、撮像装置100において顔検出モードが設定されている場合に実行される動作である。   Next, the operation of the imaging apparatus 100 according to the embodiment of the present invention will be described with reference to the drawings. Each operation shown below is an operation executed when the face detection mode is set in the imaging apparatus 100.

なお、撮像装置100を顔検出モードに設定するための手法としては様々なものが考えられる。例えば、操作部210に設けられた顔検出ボタン(図示せず)を押下することにより顔検出モードに移行するようにしてもよい。また、表示部300におけるメニュー表示から顔検出モードを設定するようにしてもよく、撮像された画像に人間の顔が含まれている場合に顔検出モードを自動的に設定するようにしてもよい。   Various methods for setting the imaging apparatus 100 to the face detection mode are conceivable. For example, the face detection mode may be entered by pressing a face detection button (not shown) provided on the operation unit 210. Further, the face detection mode may be set from the menu display on the display unit 300, or the face detection mode may be automatically set when a human face is included in the captured image. .

図6は、HI制御回路180による検出された顔画像表示の処理手順を示すフローチャートである。   FIG. 6 is a flowchart showing a processing procedure for displaying the detected face image by the HI control circuit 180.

最初に、カメラ制御回路160から顔検出情報が入力されたか否かが判断される(ステップS900)。   First, it is determined whether face detection information is input from the camera control circuit 160 (step S900).

カメラ制御回路160から顔検出情報が入力されていなければ(ステップS900)、表示部300に顔が検出されていない旨の表示がされるように画像処理回路150が制御される。例えば、撮影画像表示領域310の顔選択表示領域320の各表示領域に不選択ボタン331が表示される(ステップS904)。   If face detection information is not input from the camera control circuit 160 (step S900), the image processing circuit 150 is controlled so that the display unit 300 displays that no face is detected. For example, the non-selection button 331 is displayed in each display area of the face selection display area 320 of the photographed image display area 310 (step S904).

一方、図2に示すように、撮影画像表示領域310に表示される画像に顔が含まれている場合には、カメラ制御回路160から顔検出情報が入力される(ステップS900)。   On the other hand, as shown in FIG. 2, when a face is included in the image displayed in the captured image display area 310, face detection information is input from the camera control circuit 160 (step S900).

カメラ制御回路160から顔検出情報が入力された場合には(ステップS900)、(式1)および(式2)を用いて、撮影画像表示領域310に表示される画像から取り出される顔画像の領域が計算により求められる(ステップS901)。   When face detection information is input from the camera control circuit 160 (step S900), using (Equation 1) and (Equation 2), a face image area extracted from an image displayed in the captured image display area 310 Is obtained by calculation (step S901).

続いて、撮影画像表示領域310に表示されている画像から、ステップS901で計算して求められた領域の顔画像が取り出され、取り出された顔画像のサイズが、顔選択表示領域320の表示領域の範囲内になるように、(式3)〜(式6)を用いて、取り出された顔画像について縮小等の画像処理が実行される(ステップS902)。   Subsequently, the face image of the area calculated in step S901 is extracted from the image displayed in the captured image display area 310, and the size of the extracted face image is the display area of the face selection display area 320. Image processing such as reduction is performed on the extracted face image using (Equation 3) to (Equation 6) so as to fall within the range (step S902).

続いて、ステップS902で縮小等の画像処理が施された顔画像が顔選択表示領域320の各表示領域321〜324のいずれかの領域に表示される(ステップS903)。   Subsequently, the face image subjected to image processing such as reduction in step S902 is displayed in any one of the display areas 321 to 324 in the face selection display area 320 (step S903).

続いて、検出された複数の顔画像の全ての顔画像について、顔選択表示領域320の各表示領域321〜324への表示が終了した後に、顔画像が表示されていない顔選択表示領域320の表示領域に不選択ボタン331が表示される(ステップS904)。   Subsequently, for all face images of the plurality of detected face images, after the display in the display areas 321 to 324 of the face selection display area 320 is completed, the face selection display area 320 in which no face image is displayed is displayed. A non-selection button 331 is displayed in the display area (step S904).

図7は、HI制御回路180による顔選択の処理手順を示すフローチャートである。   FIG. 7 is a flowchart showing a face selection processing procedure by the HI control circuit 180.

最初に、顔選択表示領域320の各表示領域321〜324に顔画像が表示されているか否かが判断される(ステップS910)。   First, it is determined whether or not a face image is displayed in each of the display areas 321 to 324 of the face selection display area 320 (step S910).

顔選択表示領域320の各表示領域321〜324に顔画像が表示されていなければ(ステップS910)、顔選択の処理を終了する。   If no face image is displayed in each of the display areas 321 to 324 of the face selection display area 320 (step S910), the face selection process ends.

一方、顔選択表示領域320の各表示領域321〜324に顔画像が表示されていれば(ステップS910)、操作部210からの操作情報に基づいて、スイッチ211が押下され、顔選択表示領域320の各表示領域321〜324に表示されている顔のいずれかが選択されたか否かが判断される(ステップS911)。   On the other hand, if a face image is displayed in each of the display areas 321 to 324 of the face selection display area 320 (step S910), the switch 211 is pressed based on the operation information from the operation unit 210, and the face selection display area 320 is displayed. It is determined whether any of the faces displayed in the display areas 321 to 324 has been selected (step S911).

顔選択表示領域320の各表示領域321〜324に表示されている顔のいずれも選択されていなければ(ステップS911)、顔選択の処理を終了する。   If none of the faces displayed in the display areas 321 to 324 of the face selection display area 320 has been selected (step S911), the face selection process ends.

顔選択表示領域320の各表示領域321〜324に表示されている顔のいずれかが選択されていれば(ステップS911)、例えば、選択された顔画像が表示されている表示領域が、例えば網掛表示される(ステップS912)。   If any of the faces displayed in the display areas 321 to 324 of the face selection display area 320 is selected (step S911), for example, the display area where the selected face image is displayed is, for example, shaded. It is displayed (step S912).

続いて、選択された顔画像に関する情報である選択顔情報がカメラ制御回路160に出力される(ステップS913)。   Subsequently, selected face information that is information relating to the selected face image is output to the camera control circuit 160 (step S913).

なお、ステップS911で顔選択表示領域320の不選択ボタン331が選択された場合には、例えば、不選択ボタン331が表示されている表示領域が、例えば網掛表示され(ステップS912)、不選択ボタン331が選択された旨を示す情報である不選択情報をカメラ制御回路160に出力する(ステップS913)。   When the non-selection button 331 of the face selection display area 320 is selected in step S911, for example, the display area where the non-selection button 331 is displayed is shaded, for example (step S912), and the non-selection button Non-selection information, which is information indicating that 331 has been selected, is output to the camera control circuit 160 (step S913).

図8は、カメラ制御回路160による顔検出の処理手順を示すフローチャートである。   FIG. 8 is a flowchart showing a face detection processing procedure performed by the camera control circuit 160.

顔検出回路134から顔検出情報が入力されたか否かが判断される(ステップS920)。顔検出回路134から顔検出情報が入力されていなければ、ステップS922に進む。   It is determined whether face detection information is input from the face detection circuit 134 (step S920). If face detection information is not input from the face detection circuit 134, the process proceeds to step S922.

一方、顔検出回路134から顔検出情報が入力されれば(ステップS920)、入力された顔検出情報に基づく顔検出情報がHI制御回路180に出力される(ステップS921)。   On the other hand, if face detection information is input from the face detection circuit 134 (step S920), face detection information based on the input face detection information is output to the HI control circuit 180 (step S921).

続いて、選択された顔情報がHI制御回路180から入力されたか否かが判断される(ステップS922)。選択された顔情報がHI制御回路180から入力されていなければ、顔検出の処理を終了する。   Subsequently, it is determined whether or not the selected face information is input from the HI control circuit 180 (step S922). If the selected face information is not input from the HI control circuit 180, the face detection process ends.

一方、選択された顔情報がHI制御回路180から入力されていれば(ステップS922)、入力された選択された顔情報に対応する顔画像について、(式7)〜(式9)を用いて、適正な焦点距離Zが計算され、さらに、計算された適正な焦点距離Zに基づく所定の範囲の値が求められる(ステップS923)。   On the other hand, if the selected face information is input from the HI control circuit 180 (step S922), the face image corresponding to the selected selected face information is used using (Expression 7) to (Expression 9). An appropriate focal length Z is calculated, and a predetermined range of values based on the calculated appropriate focal length Z is obtained (step S923).

続いて、ステップS923で求められた適正な焦点距離Zと所定の範囲の値を含む情報である焦点距離情報がHI制御回路180に出力される(ステップS924)。   Subsequently, focal length information, which is information including the appropriate focal length Z obtained in step S923 and a predetermined range of values, is output to the HI control circuit 180 (step S924).

図9は、HI制御回路180による適正な焦点距離表示の処理手順を示すフローチャートである。   FIG. 9 is a flowchart showing a processing procedure for displaying an appropriate focal length by the HI control circuit 180.

顔選択表示領域320の各表示領域321〜324に表示されている顔のいずれかが選択されているか否かが判断され(ステップS930)、各表示領域321〜324に表示されている顔のいずれも選択されていなければ、適正な焦点距離表示の処理を終了する。   It is determined whether any of the faces displayed in the display areas 321 to 324 of the face selection display area 320 is selected (step S930), and any of the faces displayed in the display areas 321 to 324 is determined. If NO is selected, the process of displaying an appropriate focal length is terminated.

一方、各表示領域321〜324に表示されている顔のいずれかが選択されていれば(ステップS930)、焦点距離情報がカメラ制御回路160から入力されたか否かが判断される(ステップS931)。   On the other hand, if any of the faces displayed in the display areas 321 to 324 is selected (step S930), it is determined whether focal length information is input from the camera control circuit 160 (step S931). .

焦点距離情報がカメラ制御回路160から入力されていなければ(ステップS931)、適正な焦点距離表示の処理を終了する。   If the focal length information is not input from the camera control circuit 160 (step S931), the proper focal length display processing is terminated.

焦点距離情報がカメラ制御回路160から入力されていれば(ステップS931)、入力された焦点距離情報に含まれる範囲を適正な焦点距離313として焦点距離表示バー311に表示する(ステップS932)。   If the focal length information is input from the camera control circuit 160 (step S931), the range included in the input focal length information is displayed on the focal length display bar 311 as an appropriate focal length 313 (step S932).

図10は、カメラ制御回路160によるズームアップの処理手順を示すフローチャートである。   FIG. 10 is a flowchart showing a zoom-up processing procedure by the camera control circuit 160.

ステップS940〜ステップS944に示す各処理手順は、図8に示すステップS920〜ステップS924の各処理手順と同様であるため、ここでの説明を省略する。   Each processing procedure shown in steps S940 to S944 is the same as each processing procedure in steps S920 to S924 shown in FIG.

ステップS944で、焦点距離情報がHI制御回路180に出力された後に、焦点距離情報がレンズドライバ170に出力される(ステップS945)。   In step S944, after the focal length information is output to the HI control circuit 180, the focal length information is output to the lens driver 170 (step S945).

焦点距離情報がレンズドライバ170に入力されると、入力された焦点距離情報に基づいてレンズドライバ170が焦点距離情報に含まれる適正な焦点距離となるように、光学系110を構成する所定のレンズに取り付けられたモータ190および191を制御する。   When the focal length information is input to the lens driver 170, a predetermined lens that configures the optical system 110 so that the lens driver 170 has an appropriate focal length included in the focal length information based on the input focal length information. The motors 190 and 191 attached to the are controlled.

なお、ステップS945において焦点距離情報がレンズドライバ170に出力された後に、選択された顔画像に対応する被写体の顔を撮影するため、「選択した人物の顔が画面の中心にくるようにカメラ位置を変更して下さい。」とメッセージを表示部300に表示し、その人物の顔が画面の中心になった後に、モータ190および191の制御を開始するようにしてもよい。   Note that, after the focal length information is output to the lens driver 170 in step S945, the camera position is set so that the face of the subject corresponding to the selected face image is “centered on the screen. May be displayed on the display unit 300, and the control of the motors 190 and 191 may be started after the person's face becomes the center of the screen.

なお、本実施の形態において、現在の焦点距離312が、焦点距離表示バー311に表示された適正な焦点距離313の範囲内になった場合に、選択された顔画像に対応する被写体の顔を適正に撮影することができる撮影条件になるようにカメラ制御処理を実行し、当該撮影条件を設定するようにしてもよい。このカメラ制御処理としては、選択された顔画像に対応する被写体の顔が適切な条件で撮像することができるようにする制御処理であり、当該顔に対して適正な露出状態となるようにするための露出制御処理、その顔にピントが合うようにレンズを制御するレンズ制御処理、その顔が適正な肌色となるようするためのホワイトバランス処理、色相等を制御する色制御処理、フォーカス制御、焦点距離制御等の処理がある。これらの制御処理は、顔検出回路134が検出した顔検出情報に基づいて実行し、設定することができる。   In the present embodiment, when the current focal length 312 falls within the proper focal length 313 displayed on the focal length display bar 311, the face of the subject corresponding to the selected face image is displayed. The camera control process may be executed so as to obtain a photographing condition that allows proper photographing, and the photographing condition may be set. This camera control process is a control process that enables the face of the subject corresponding to the selected face image to be imaged under appropriate conditions, so that an appropriate exposure state for the face is obtained. Exposure control processing, lens control processing to control the lens so that the face is in focus, white balance processing to make the face have an appropriate skin color, color control processing to control hue, focus control, There are processes such as focal length control. These control processes can be executed and set based on the face detection information detected by the face detection circuit 134.

また、顔検出回路134が検出した顔検出情報に基づいて、顔検出回路134が検出した顔に対応する人物と撮像装置100との距離を推定することができる。   Further, based on the face detection information detected by the face detection circuit 134, the distance between the person corresponding to the face detected by the face detection circuit 134 and the imaging apparatus 100 can be estimated.

さらに、推定した距離に基づいて、表示部300に表示されている複数の顔画像に対応する複数の顔のうちで、適正な焦点距離となるように制御されたズームレンズのピント位置と同一の被写界深度内にある顔に対応する顔画像についてはピントが合っている旨を表示部300に表示させるようにしてもよい。例えば、撮影画像表示領域310に表示されている顔画像のうちで、適正な焦点距離となるように制御されたズームレンズのピント位置と同一の被写界深度内にある顔に対応する顔画像については網掛表示する。   Furthermore, based on the estimated distance, among the plurality of faces corresponding to the plurality of face images displayed on the display unit 300, the same focus position of the zoom lens controlled to have an appropriate focal length The face 300 corresponding to the face within the depth of field may be displayed on the display unit 300 as being in focus. For example, among the face images displayed in the captured image display area 310, a face image corresponding to a face within the same depth of field as the focus position of the zoom lens controlled to have an appropriate focal length. Is shaded.

次に、性別に応じて適正な焦点距離の範囲を補正する例について説明する。   Next, an example of correcting an appropriate focal length range according to sex will be described.

カメラ画像信号処理回路133がカメラ画像処理を施した画像信号に含まれている人間の顔を顔検出回路134が検出する場合において、検出した顔の特徴を抽出し、抽出した顔の特徴に基づいて性別を判別する。そして、判別した性別を含めた顔検出情報を顔検出回路134がカメラ制御回路160に出力する。   When the face detection circuit 134 detects a human face included in an image signal subjected to camera image processing by the camera image signal processing circuit 133, the detected face feature is extracted and based on the extracted face feature To determine gender. Then, the face detection circuit 134 outputs face detection information including the determined gender to the camera control circuit 160.

カメラ制御回路160は、適正な焦点距離Zを計算する場合、顔検出回路134からの顔検出情報に含まれる性別に基づいて、(式7)を用いて求めた適正比率Aを性別に応じて補正する。例えば、女性を写真撮影する場合には、顔が比較的小さくなるように撮影すると綺麗に撮影することができると考えられている。このため、適正比率Aの値よりも大きな値とした値A2を適正比率の値として使用する。   When calculating the appropriate focal length Z, the camera control circuit 160 determines the appropriate ratio A obtained by using (Equation 7) based on the gender included in the face detection information from the face detection circuit 134 according to the gender. to correct. For example, when taking a picture of a woman, it is considered that a beautiful picture can be taken if the face is taken to be relatively small. For this reason, a value A2 that is larger than the value of the appropriate ratio A is used as the value of the appropriate ratio.

次に、撮影モードに応じて適正な焦点距離を補正する例について説明する。   Next, an example of correcting an appropriate focal length according to the shooting mode will be described.

例えば、撮像装置100において風景&人物モードが設定されている場合には、人物とともに背景も撮影したい場合が多いため、顔の画面比率(構成比率)を通常よりも小さくなるように設定することが望ましい。   For example, when the landscape & portrait mode is set in the image capturing apparatus 100, it is often desirable to capture the background as well as the person. Therefore, the face screen ratio (composition ratio) may be set to be smaller than normal. desirable.

そこで、カメラ制御回路160は、適正な焦点距離Zを計算する場合、女性を撮影する場合と同様に、適正比率Aの値よりも大きな値とした値A3を適正比率の値として使用する。また、適正な焦点距離の範囲については、撮影者の選択の幅を広げるため、例えば、通常よりも大きな値である1.0倍程度の幅を使用するようにしてもよい。   Therefore, when calculating the appropriate focal length Z, the camera control circuit 160 uses a value A3 that is larger than the value of the appropriate ratio A as the value of the appropriate ratio, as in the case of photographing a woman. In addition, for an appropriate focal length range, for example, a width of about 1.0 times that is a larger value than usual may be used in order to widen the range of selection by the photographer.

このように、本発明の実施の形態によれば、顔検出モードに設定して人間の顔を撮影する場合、表示部300の撮影画像表示領域310に含まれる人の顔の画像が、顔選択表示領域320に所定サイズで並べて表示されるため、撮影者が撮影したい人物のバストショットのサイズ等を撮影前に容易に確認することができる。これにより、撮影状況と撮影者の好みに応じた適切な撮影を迅速に行うことができる。また、撮影者が意図する顔の撮影を効率的に行うことができる。さらに、撮影者が撮影したい人物のバストショットのサイズ等を撮影前に容易に確認することができるため、撮影者が意図しない撮影を防止することができ、デジタルデータを格納する記憶領域を有効に活用することができる。   As described above, according to the embodiment of the present invention, when a human face is photographed in the face detection mode, the human face image included in the photographed image display area 310 of the display unit 300 is selected as the face selection mode. Since they are displayed side by side in a predetermined size in the display area 320, the size of the bust shot of the person the photographer wants to photograph can be easily confirmed before photographing. Thereby, it is possible to quickly perform appropriate photographing according to the photographing situation and the photographer's preference. Further, it is possible to efficiently capture the face intended by the photographer. In addition, since the photographer can easily check the size of the bust shot of the person he wants to shoot before shooting, it is possible to prevent unintentional shooting by the photographer and to effectively use a storage area for storing digital data. Can be used.

また、表示部300の撮影画像表示領域310に含まれる人の顔が複数ある場合には、顔選択表示領域320に複数の顔画像が所定サイズで並べて表示されるため、撮影者が撮影したい人物の顔を撮影前に容易に確認することができる。これにより、表示部300の撮影画像表示領域310に含まれる画像の中から撮影対象となる人の顔を探す場合に、撮影対象となる人の顔を顔選択表示領域320を参照して迅速に探すことができるため、撮影を迅速に行うことができる。   In addition, when there are a plurality of human faces included in the captured image display area 310 of the display unit 300, a plurality of face images are displayed side by side in a predetermined size in the face selection display area 320. Can be easily confirmed before shooting. As a result, when searching for the face of the person to be imaged from the images included in the captured image display area 310 of the display unit 300, the face of the person to be imaged is quickly referred to the face selection display area 320. Since it is possible to search, shooting can be performed quickly.

なお、顔検出モードに設定して人間の顔を撮影する場合において、顔選択表示領域320に所定サイズで並べて表示される顔画像の中に、撮影者が撮影したい構図がないような場合には、不選択ボタン331を用いて顔画像を選択しないようにすることができる。これにより、撮影状況と撮影者の好みに応じた適切な撮影を迅速に行うことができる。   When shooting a human face with the face detection mode set, if there is no composition that the photographer wants to shoot in the face images displayed in a predetermined size in the face selection display area 320 The face image is not selected using the non-select button 331. Thereby, it is possible to quickly perform appropriate photographing according to the photographing situation and the photographer's preference.

また、顔選択表示領域320に表示されている顔画像の中で選択された顔画像の領域を、他の領域と識別することができるようにするため、撮影者が撮影したい人物を顔選択表示領域320の選択顔画像で確認しながら撮影を行うことができる。これにより、撮影を迅速に行うことができる。   In addition, in order to be able to distinguish the area of the face image selected from the face images displayed in the face selection display area 320 from other areas, the person who the photographer wants to shoot is displayed with face selection. Shooting can be performed while confirming the selected face image in the region 320. Thereby, imaging can be performed quickly.

ところで、人間の顔を撮影する場合には、撮影者の好みや背景に応じて構図を変更する場合が多い。例えば、有名な観光名所で撮影するような場合には、その場所の背景を比較的多く取り入れて撮影する場合が多い。   By the way, when photographing a human face, the composition is often changed according to the photographer's preference and background. For example, when shooting at a famous tourist attraction, it is often the case that a relatively large number of backgrounds are taken in.

しかしながら、上述の従来技術では、撮像装置の表示部に表示される撮影範囲に含まれる人間の顔部分を撮影する場合において、その顔部分に対して適切なズームを行い、その顔部分が定められた大きさとなるように制御することができるものの、撮影者の好みや背景に応じた変更を適切かつ迅速に行うことができなかった。   However, in the above-described conventional technology, when photographing a human face part included in the photographing range displayed on the display unit of the imaging device, the face part is appropriately zoomed to determine the face part. However, it was not possible to make changes appropriately and quickly according to the photographer's preference and background.

つまり、撮影範囲に含まれる人物の中を撮影する場合において、撮影者の好みや背景に応じた適切な撮影を迅速に行うことができないという問題があった。   That is, when photographing a person included in the photographing range, there has been a problem that appropriate photographing according to the photographer's preference and background cannot be performed quickly.

これに対して、本実施の形態によれば、選択された顔画像に対応する被写体の人物の顔を適正な大きさで撮影することができる焦点距離の範囲が、適正な焦点距離313として焦点距離表示バー311に表示されるため、その焦点距離の範囲を撮影者が視覚的に容易に確認することができる。これにより、撮影者の好みに応じた適切な撮影を迅速かつ容易に行うことができる。   On the other hand, according to the present embodiment, the focal length range in which the face of the subject person corresponding to the selected face image can be photographed with an appropriate size is set as the appropriate focal length 313. Since it is displayed on the distance display bar 311, the photographer can easily visually confirm the range of the focal length. This makes it possible to quickly and easily perform appropriate shooting according to the photographer's preference.

なお、本発明の実施の形態は本発明を具現化するための一例を示したものであり、以下に示すように特許請求の範囲における発明特定事項とそれぞれ対応関係を有するが、これに限定されるものではなく本発明の要旨を逸脱しない範囲において種々の変形を施すことができる。   The embodiment of the present invention is an example for embodying the present invention and has a corresponding relationship with the invention-specific matters in the claims as shown below, but is not limited thereto. However, various modifications can be made without departing from the scope of the present invention.

すなわち、請求項1、8または14において、撮像手段は、例えば撮像素子120に対応する。また、表示手段は、例えば表示部300に対応する。また、顔検出手段は、例えば顔検出回路134に対応する。   That is, in claim 1, 8 or 14, the imaging means corresponds to the imaging element 120, for example. A display unit corresponds to the display unit 300, for example. A face detection unit corresponds to the face detection circuit 134, for example.

請求項1、6、8、14または15において、顔画像取出手段は、例えばHI制御回路180に対応する。   In claim 1, 6, 8, 14 or 15, the face image extracting means corresponds to the HI control circuit 180, for example.

請求項1乃至3、5乃至8、14または15において、表示制御手段は、例えばHI制御回路180に対応する。   In Claims 1 to 3, 5 to 8, 14 or 15, the display control means corresponds to the HI control circuit 180, for example.

請求項2または7において、撮影画像表示領域は、例えば撮影画像表示領域310に対応する。   The photographed image display area corresponds to the photographed image display area 310, for example.

請求項2または14において、顔画像表示領域は、例えば顔選択表示領域320に対応する。   In claim 2 or 14, the face image display area corresponds to, for example, the face selection display area 320.

請求項3または8において、顔画像選択手段は、例えばスイッチ211に対応する。   In Claim 3 or 8, the face image selection means corresponds to the switch 211, for example.

請求項4において、撮影条件設定手段は、例えばカメラ制御回路160に対応する。   In claim 4, the photographing condition setting means corresponds to the camera control circuit 160, for example.

請求項8または10、12乃至14において、焦点距離算出手段は、例えばカメラ制御回路160に対応する。   The focal length calculation means corresponds to the camera control circuit 160, for example.

請求項8乃至11において、焦点距離表示制御手段は、例えばHI制御回路180に対応する。   In claims 8 to 11, the focal length display control means corresponds to the HI control circuit 180, for example.

請求項9または11において、焦点距離表示領域は、例えば焦点距離表示バー311に対応する。   In claim 9 or 11, the focal length display area corresponds to, for example, the focal length display bar 311.

請求項12において、性別判別手段は、例えばカメラ制御回路160に対応する。   In claim 12, the gender determining means corresponds to the camera control circuit 160, for example.

請求項13において、撮影モード設定手段は、例えば操作部210に対応する。   In claim 13, the photographing mode setting means corresponds to the operation unit 210, for example.

請求項14において、ズームレンズは、例えば光学系110を構成するズームレンズに対応する。ズームレンズ制御手段は、例えばレンズドライバ170に対応する。   In claim 14, the zoom lens corresponds to, for example, a zoom lens constituting the optical system 110. The zoom lens control means corresponds to the lens driver 170, for example.

請求項16または請求項17において、顔検出手順は、例えばステップS920に対応する。また、顔画像取出手順は、例えばステップS902に対応する。また、表示制御手順は、例えばステップS903に対応する。   In claim 16 or claim 17, the face detection procedure corresponds to, for example, step S920. The face image extraction procedure corresponds to, for example, step S902. The display control procedure corresponds to step S903, for example.

なお、本発明の実施の形態において説明した処理手順は、これら一連の手順を有する方法として捉えてもよく、また、これら一連の手順をコンピュータに実行させるためのプログラム乃至そのプログラムを記憶する記録媒体として捉えてもよい。   The processing procedure described in the embodiment of the present invention may be regarded as a method having a series of these procedures, and a program for causing a computer to execute these series of procedures or a recording medium storing the program May be taken as

本発明の実施の形態における撮像装置100の機能構成例を示すブロック図である。It is a block diagram which shows the function structural example of the imaging device 100 in embodiment of this invention. 表示部300に表示される画像表示の一例を示す図である。6 is a diagram showing an example of image display displayed on the display unit 300. FIG. カメラ信号処理回路130の機能構成例を示すブロック図である。3 is a block diagram illustrating a functional configuration example of a camera signal processing circuit 130. FIG. 表示部300の撮影画像表示領域310および顔選択表示領域320に表示される画像表示と、撮影画像表示領域310に含まれる父H2の顔画像を示す図である。FIG. 6 is a diagram showing an image display displayed in a captured image display area 310 and a face selection display area 320 of the display unit 300 and a face image of father H2 included in the captured image display area 310. 焦点距離表示バー311に表示されている適正な焦点距離313が示す範囲のワイド端側またはテレ端側に現在の焦点距離312を合わせた場合における撮影画像表示領域310の表示例を示す図である。It is a figure which shows the example of a display of the picked-up image display area 310 at the time of aligning the present focal distance 312 to the wide end side or tele end side of the range which the appropriate focal distance 313 displayed on the focal distance display bar 311 shows. . HI制御回路180による検出された顔画像表示の処理手順を示すフローチャートである。6 is a flowchart showing a processing procedure for displaying a detected face image by an HI control circuit 180. HI制御回路180による顔選択の処理手順を示すフローチャートである。7 is a flowchart showing a face selection processing procedure by the HI control circuit 180. カメラ制御回路160による顔検出の処理手順を示すフローチャートである。6 is a flowchart illustrating a face detection processing procedure performed by a camera control circuit 160; HI制御回路180による適正な焦点距離表示の処理手順を示すフローチャートである。5 is a flowchart showing a processing procedure of an appropriate focal length display by an HI control circuit 180. カメラ制御回路160によるズームアップの処理手順を示すフローチャートである。5 is a flowchart showing a zoom-up processing procedure performed by a camera control circuit 160.

符号の説明Explanation of symbols

100 撮像装置
110 光学系
120 撮像素子
130 カメラ信号処理回路
131 I/F回路
132 検波回路
133 カメラ画像信号処理回路
134 顔検出回路
135 メモリI/F回路
136 I/F回路
137、138 バス
140 バッファメモリ
150 画像処理回路
160 カメラ制御回路
170 レンズドライバ
180 HI制御回路
190、191 モータ
200 露出駆動部分
210 操作部
211 スイッチ
300 表示部
310 撮影画像表示領域
311 焦点距離表示バー
312 現在の焦点距離
313 適正な焦点距離
320 顔選択表示領域
331 不選択ボタン
DESCRIPTION OF SYMBOLS 100 Image pick-up device 110 Optical system 120 Image pick-up element 130 Camera signal processing circuit 131 I / F circuit 132 Detection circuit 133 Camera image signal processing circuit 134 Face detection circuit 135 Memory I / F circuit 136 I / F circuit 137, 138 Bus 140 Buffer memory 150 Image processing circuit 160 Camera control circuit 170 Lens driver 180 HI control circuit 190, 191 Motor 200 Exposure drive part 210 Operation part 211 Switch 300 Display part 310 Photographed image display area 311 Focal length display bar 312 Current focal length 313 Appropriate focal point Distance 320 Face selection display area 331 Non-selection button

Claims (17)

撮像手段により撮像された画像を表示する表示手段を具備する撮像装置において、
前記撮像手段により撮像された画像に含まれる人間の顔を検出する顔検出手段と、
前記顔検出手段により検出された顔に対応する顔画像を前記撮像手段により撮像された画像から取り出す顔画像取出手段と、
前記顔画像取出手段により取り出された顔画像を前記表示手段に表示させる表示制御手段と
を具備することを特徴とする撮像装置。
In an imaging apparatus including a display unit that displays an image captured by the imaging unit,
Face detection means for detecting a human face included in the image picked up by the image pickup means;
A face image extracting unit that extracts a face image corresponding to the face detected by the face detecting unit from an image captured by the imaging unit;
An image pickup apparatus comprising: a display control unit that causes the display unit to display the face image extracted by the face image extraction unit.
前記表示手段の少なくとも一部には撮影画像表示領域と顔画像表示領域とが設けられ、
前記表示制御手段は、前記撮像手段により撮像された画像を前記撮影画像表示領域に表示させるとともに前記顔画像取出手段により取り出された顔画像を前記顔画像表示領域に表示させることを特徴とする請求項1記載の撮像装置。
At least a part of the display means is provided with a captured image display area and a face image display area,
The display control means displays an image picked up by the image pickup means in the photographed image display area and displays a face image extracted by the face image extraction means in the face image display area. Item 2. The imaging device according to Item 1.
前記表示手段に表示されている顔画像を選択する顔画像選択手段をさらに具備し、
前記表示制御手段は、前記顔画像選択手段により顔画像が選択された旨を前記表示手段に表示させることを特徴とする請求項1記載の撮像装置。
A face image selecting means for selecting the face image displayed on the display means;
The imaging apparatus according to claim 1, wherein the display control unit causes the display unit to display that the face image is selected by the face image selection unit.
前記顔画像選択手段により選択された顔画像に対応する被写体の顔に対する撮影条件を前記顔画像取出手段により取り出された顔画像に基づいて設定する撮影条件設定手段を具備することを特徴とする請求項3記載の撮像装置。   The photographing condition setting means for setting the photographing condition for the face of the subject corresponding to the face image selected by the face image selecting means based on the face image extracted by the face image extracting means. Item 4. The imaging device according to Item 3. 前記表示制御手段は、前記顔画像取出手段により取り出された顔画像を所定のサイズに変換して前記表示手段に表示させることを特徴とする請求項1記載の撮像装置。   The imaging apparatus according to claim 1, wherein the display control unit converts the face image extracted by the face image extraction unit into a predetermined size and displays the converted image on the display unit. 前記顔画像取出手段は、前記顔検出手段により複数の顔が検出された場合には前記検出された複数の顔に対応する複数の顔画像を前記撮像手段により撮像された画像から取り出し、
前記表示制御手段は、前記顔画像取出手段により取り出された複数の顔画像を前記表示手段に表示させることを特徴とする請求項5記載の撮像装置。
The face image extraction means, when a plurality of faces are detected by the face detection means, extracts a plurality of face images corresponding to the detected plurality of faces from the image captured by the imaging means,
The imaging apparatus according to claim 5, wherein the display control unit causes the display unit to display a plurality of face images extracted by the face image extraction unit.
前記表示手段の少なくとも一部には顔画像表示領域が設けられ、
前記表示制御手段は、前記顔画像取出手段により取り出された複数の顔画像を所定の条件に従って前記顔画像表示領域に並べて一覧表示させることを特徴とする請求項6記載の撮像装置。
At least a part of the display means is provided with a face image display area,
The imaging apparatus according to claim 6, wherein the display control unit displays a plurality of face images extracted by the face image extraction unit in a list in the face image display area according to a predetermined condition.
撮像手段により撮像された画像を表示する表示手段を具備する撮像装置において、
前記撮像手段により撮像された画像に含まれる人間の顔を検出する顔検出手段と、
前記顔検出手段により検出された顔に対応する顔画像を前記撮像手段により撮像された画像から取り出す顔画像取出手段と、
前記顔画像取出手段により取り出された顔画像を前記表示手段に表示させる顔画像表示制御手段と、
前記表示手段に表示されている顔画像を選択する顔画像選択手段と、
前記顔画像選択手段により選択された顔画像に対応する被写体の顔が前記撮像手段により撮像される画像において所定の構成比率となる焦点距離である適正な焦点距離を現在の焦点距離と前記顔画像取出手段により取り出された顔画像の大きさとに基づいて算出する焦点距離算出手段と、
前記焦点距離算出手段により算出された適正な焦点距離を前記表示手段に表示させる焦点距離表示制御手段と
を具備することを特徴とする撮像装置。
In an imaging apparatus including a display unit that displays an image captured by the imaging unit,
Face detection means for detecting a human face included in the image picked up by the image pickup means;
A face image extracting unit that extracts a face image corresponding to the face detected by the face detecting unit from an image captured by the imaging unit;
Face image display control means for causing the display means to display the face image extracted by the face image extraction means;
Face image selection means for selecting a face image displayed on the display means;
An appropriate focal length, which is a focal length at which a face of a subject corresponding to the face image selected by the face image selection unit is captured by the imaging unit, has a predetermined composition ratio is set to a current focal length and the face image. A focal length calculating means for calculating based on the size of the face image extracted by the extracting means;
An imaging apparatus comprising: a focal length display control unit configured to display an appropriate focal length calculated by the focal length calculation unit on the display unit.
前記表示手段の少なくとも一部には現在の焦点距離を表示する焦点距離表示領域が設けられ、
前記焦点距離表示制御手段は、前記焦点距離算出手段により算出された適正な焦点距離を前記焦点距離表示領域内に表示させることを特徴とする請求項8記載の撮像装置。
At least a part of the display means is provided with a focal length display area for displaying the current focal length,
9. The imaging apparatus according to claim 8, wherein the focal distance display control means displays an appropriate focal distance calculated by the focal distance calculation means in the focal distance display area.
前記焦点距離算出手段は、前記顔画像選択手段により選択された顔画像に対応する被写体の顔が前記撮像手段により撮像される画像において所定の構成比率となる焦点距離の一定の範囲を示す焦点距離範囲を前記算出された適正な焦点距離に基づいて算出し、
前記焦点距離表示制御手段は、前記焦点距離算出手段により算出された焦点距離範囲を前記焦点距離表示領域内に表示させることを特徴とする請求項9記載の撮像装置。
The focal length calculation unit is a focal length indicating a certain range of a focal length in which an image of the face of the subject corresponding to the face image selected by the face image selection unit is captured by the imaging unit and having a predetermined composition ratio. A range is calculated based on the calculated appropriate focal length,
The imaging apparatus according to claim 9, wherein the focal length display control unit displays the focal length range calculated by the focal length calculation unit in the focal length display area.
前記焦点距離表示領域は、一の端部が望遠側を示し他の端部が広角側を示す棒状の領域であり、
前記焦点距離表示制御手段は、前記焦点距離表示領域内において前記現在の焦点距離の値に応じた位置を他の部分と異なる色で表示させることによって当該現在の焦点距離を表示させるとともに前記焦点距離算出手段により算出された焦点距離範囲の値に応じた部分を他の部分と異なる色で表示させることによって当該焦点距離範囲を表示させることを特徴とする請求項10記載の撮像装置。
The focal length display area is a rod-shaped area where one end indicates the telephoto side and the other end indicates the wide-angle side,
The focal length display control means displays the current focal length by displaying a position corresponding to the value of the current focal length in a color different from other parts in the focal length display area and the focal length. 11. The imaging apparatus according to claim 10, wherein the focal length range is displayed by displaying a portion corresponding to the value of the focal length range calculated by the calculation means in a color different from that of the other portions.
前記顔検出手段により検出された顔に対応する顔画像に基づいて当該顔に係る人物の性別を判別する性別判別手段をさらに具備し、
前記焦点距離算出手段は、前記判別された性別に応じて前記算出された適正な焦点距離を補正することを特徴とする請求項8記載の撮像装置。
Gender discrimination means for discriminating the gender of a person related to the face based on a face image corresponding to the face detected by the face detection means;
The imaging apparatus according to claim 8, wherein the focal length calculation unit corrects the calculated proper focal length according to the determined gender.
被写体を撮影するための撮影条件である撮影モードを設定する撮影モード設定手段をさらに具備し、
前記焦点距離算出手段は、前記設定された撮影モードに応じて前記算出された適正な焦点距離を補正することを特徴とする請求項8記載の撮像装置。
It further comprises a shooting mode setting means for setting a shooting mode which is a shooting condition for shooting the subject,
9. The imaging apparatus according to claim 8, wherein the focal length calculation unit corrects the calculated proper focal length in accordance with the set shooting mode.
撮像手段により撮像された画像を表示する表示手段とズームレンズとを具備する撮像装置において、
前記撮像手段により撮像された画像に含まれる人間の顔を検出する顔検出手段と、
前記顔検出手段により検出された顔に対応する顔画像を前記撮像手段により撮像された画像から取り出す顔画像取出手段と、
前記顔画像取出手段により取り出された顔画像を前記表示手段に表示させる顔画像表示制御手段と、
前記表示領域に表示されている顔画像を選択する顔画像選択手段と、
前記顔画像選択手段により選択された顔画像に対応する被写体の顔が前記撮像手段により撮像される画像において所定の構成比率となる焦点距離である適正な焦点距離を現在の焦点距離と前記顔画像取出手段により取り出された顔画像の大きさとに基づいて算出する焦点距離算出手段と、
前記焦点距離算出手段により算出された適正な焦点距離に基づいて前記ズームレンズを制御するズームレンズ制御手段と
を具備することを特徴とする撮像装置。
In an imaging apparatus including a display unit that displays an image captured by the imaging unit and a zoom lens,
Face detection means for detecting a human face included in the image picked up by the image pickup means;
A face image extracting unit that extracts a face image corresponding to the face detected by the face detecting unit from an image captured by the imaging unit;
Face image display control means for causing the display means to display the face image extracted by the face image extraction means;
Face image selection means for selecting a face image displayed in the display area;
An appropriate focal length, which is a focal length at which a face of a subject corresponding to the face image selected by the face image selection unit is captured by the imaging unit, has a predetermined composition ratio is set to a current focal length and the face image. A focal length calculating means for calculating based on the size of the face image extracted by the extracting means;
An image pickup apparatus comprising: a zoom lens control unit that controls the zoom lens based on an appropriate focal length calculated by the focal length calculation unit.
前記顔画像取出手段は、前記顔検出手段により複数の顔が検出された場合には前記検出された複数の顔に対応する複数の顔画像を前記撮像手段により撮像された画像から取り出し、
前記顔画像取出手段により取り出された複数の顔画像を前記表示手段に表示させるとともに前記表示手段に表示されている複数の顔画像に対応する複数の顔のうちで前記ズームレンズ制御手段により制御された前記ズームレンズのピント位置と同一の被写界深度内にある顔に対応する顔画像についてはピントが合っている旨を前記表示手段に表示させる表示制御手段を具備することを特徴とする請求項14記載の撮像装置。
The face image extraction means, when a plurality of faces are detected by the face detection means, extracts a plurality of face images corresponding to the detected plurality of faces from the image captured by the imaging means,
A plurality of face images extracted by the face image extracting means are displayed on the display means and controlled by the zoom lens control means among a plurality of faces corresponding to the plurality of face images displayed on the display means. And a display control means for displaying on the display means that the face image corresponding to the face within the same depth of field as the focus position of the zoom lens is in focus. The imaging device according to claim 14.
撮像手段により撮像された画像を表示する表示手段を具備する撮像装置に用いられる画像処理方法において、
前記撮像手段により撮像された画像に含まれる人間の顔を検出する顔検出手順と、
前記顔検出手順で検出された顔に対応する顔画像を前記撮像手段により撮像された画像から取り出す顔画像取出手順と、
前記顔画像取出手順で取り出された顔画像を前記表示手段に表示させる表示制御手順と
を具備することを特徴とする画像処理方法。
In an image processing method used for an imaging apparatus including a display unit that displays an image captured by an imaging unit,
A face detection procedure for detecting a human face included in an image captured by the imaging means;
A face image extraction procedure for extracting a face image corresponding to the face detected in the face detection procedure from an image captured by the imaging means;
A display control procedure for causing the display means to display the face image extracted in the face image extraction procedure.
撮像手段により撮像された画像を表示する表示手段を具備する撮像装置において、
前記撮像手段により撮像された画像に含まれる人間の顔を検出する顔検出手順と、
前記顔検出手順で検出された顔に対応する顔画像を前記撮像手段により撮像された画像から取り出す顔画像取出手順と、
前記顔画像取出手順で取り出された顔画像を前記表示手段に表示させる表示制御手順と
をコンピュータに実行させることを特徴とするプログラム。
In an imaging apparatus including a display unit that displays an image captured by the imaging unit,
A face detection procedure for detecting a human face included in an image captured by the imaging means;
A face image extraction procedure for extracting a face image corresponding to the face detected in the face detection procedure from an image captured by the imaging means;
A program for causing a computer to execute a display control procedure for causing the display means to display the face image extracted in the face image extraction procedure.
JP2006275102A 2006-10-06 2006-10-06 Imaging apparatus, image processing method used for imaging apparatus, and program for causing computer to execute the image processing method Pending JP2008098739A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006275102A JP2008098739A (en) 2006-10-06 2006-10-06 Imaging apparatus, image processing method used for imaging apparatus, and program for causing computer to execute the image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006275102A JP2008098739A (en) 2006-10-06 2006-10-06 Imaging apparatus, image processing method used for imaging apparatus, and program for causing computer to execute the image processing method

Publications (1)

Publication Number Publication Date
JP2008098739A true JP2008098739A (en) 2008-04-24

Family

ID=39381172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006275102A Pending JP2008098739A (en) 2006-10-06 2006-10-06 Imaging apparatus, image processing method used for imaging apparatus, and program for causing computer to execute the image processing method

Country Status (1)

Country Link
JP (1) JP2008098739A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009246558A (en) * 2008-03-28 2009-10-22 Canon Inc Imaging apparatus, and method for controlling the same
US20120229675A1 (en) * 2011-03-07 2012-09-13 Katsuya Yamamoto Imaging apparatus, imaging method and imaging program
WO2014132548A1 (en) * 2013-02-28 2014-09-04 Sony Corporation Image processing apparatus, image processing method, and program
CN114584705A (en) * 2014-12-24 2022-06-03 佳能株式会社 Zoom control device, control method of zoom control device, and recording medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150124144A1 (en) * 2008-03-28 2015-05-07 Canon Kabushiki Kaisha Display control apparatus and method for controlling the display control apparatus
US8184192B2 (en) 2008-03-28 2012-05-22 Canon Kabushiki Kaisha Imaging apparatus that performs an object region detection processing and method for controlling the imaging apparatus
US9894280B2 (en) 2008-03-28 2018-02-13 Canon Kabushiki Kaisha Imaging apparatus for displaying selected face in in-focus state and method for controlling imaging apparatus
JP2009246558A (en) * 2008-03-28 2009-10-22 Canon Inc Imaging apparatus, and method for controlling the same
US8767116B2 (en) * 2011-03-07 2014-07-01 Ricoh Company, Ltd. Imaging apparatus, imaging method and imaging program for displaying an enlarged area of subject image
US20120229675A1 (en) * 2011-03-07 2012-09-13 Katsuya Yamamoto Imaging apparatus, imaging method and imaging program
JP2014168126A (en) * 2013-02-28 2014-09-11 Sony Corp Image processor, image processing method and program
WO2014132548A1 (en) * 2013-02-28 2014-09-04 Sony Corporation Image processing apparatus, image processing method, and program
CN105075237A (en) * 2013-02-28 2015-11-18 索尼公司 Image processing apparatus, image processing method, and program
US20150373414A1 (en) * 2013-02-28 2015-12-24 Sony Corporation Image processing apparatus, image processing method, and program
US9591364B2 (en) 2013-02-28 2017-03-07 Sony Corporation Image processing apparatus, image processing method, and program
CN105075237B (en) * 2013-02-28 2018-07-24 索尼公司 Image processing equipment, image processing method and program
CN114584705A (en) * 2014-12-24 2022-06-03 佳能株式会社 Zoom control device, control method of zoom control device, and recording medium

Similar Documents

Publication Publication Date Title
US7826730B2 (en) Image capturing device having a hand shake correction function, hand shake correction method, and storage medium storing a hand shake correction process program
JP4818987B2 (en) Imaging apparatus, display method, and program
CN103297670B (en) Subject determination apparatus and subject determination method
KR20140007529A (en) Apparatus and method for taking a picture in camera device and wireless terminal having a camera device
JP5467992B2 (en) Imaging device
US20110069156A1 (en) Three-dimensional image pickup apparatus and method
JP6389342B2 (en) Imaging apparatus and control method thereof
US20100188520A1 (en) Imaging device and storage medium storing program
CN103312958A (en) Client terminal, server, and program
JP2009010616A (en) Imaging apparatus and image output control method
JP4577252B2 (en) Camera, best shot shooting method, program
JP2011217103A (en) Compound eye photographing method and apparatus
US20180077298A1 (en) Image-capturing assistance device and image-capturing device
US8571404B2 (en) Digital photographing apparatus, method of controlling the same, and a computer-readable medium storing program to execute the method
JP5168320B2 (en) Camera, best shot shooting method, program
JP2011193066A (en) Image sensing device
US9143684B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable storage medium
JP5217843B2 (en) Composition selection apparatus, composition selection method and program
JP5125774B2 (en) camera
JP2008098739A (en) Imaging apparatus, image processing method used for imaging apparatus, and program for causing computer to execute the image processing method
JP5181806B2 (en) Imaging device
JP6024135B2 (en) Subject tracking display control device, subject tracking display control method and program
JP2009077066A (en) Image capturing method of imaging apparatus and imaging apparatus using the method
JP5181935B2 (en) Image processing apparatus, program, and subject detection method
JP2008054031A (en) Digital camera and display control method