JP4135100B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP4135100B2
JP4135100B2 JP2004083062A JP2004083062A JP4135100B2 JP 4135100 B2 JP4135100 B2 JP 4135100B2 JP 2004083062 A JP2004083062 A JP 2004083062A JP 2004083062 A JP2004083062 A JP 2004083062A JP 4135100 B2 JP4135100 B2 JP 4135100B2
Authority
JP
Japan
Prior art keywords
face
image
person
imaging
image obtained
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2004083062A
Other languages
Japanese (ja)
Other versions
JP2005269562A (en
Inventor
健一郎 綾木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2004083062A priority Critical patent/JP4135100B2/en
Publication of JP2005269562A publication Critical patent/JP2005269562A/en
Application granted granted Critical
Publication of JP4135100B2 publication Critical patent/JP4135100B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Description

本発明は撮影装置に係り、特に撮像素子から得た画像をデジタル処理し、デジタルデータとして記録メディアに記録する撮影装置に関する。   The present invention relates to a photographing apparatus, and more particularly, to a photographing apparatus that digitally processes an image obtained from an image sensor and records the digital data on a recording medium.

近年、カメラは自動化が進み、写真撮影に慣れていない者であっても、比較的失敗の少ない写真が撮影できるようになってきている。このような現状において、撮影に慣れていない者と写真撮影に習熟した者との差は、構図やアングル、フレーミングによるものが大きいと考えられる。   In recent years, cameras have become more automated, and even those who are not used to taking photographs can take pictures with relatively few failures. Under such circumstances, the difference between those who are not familiar with photography and those who are familiar with photography is considered to be largely due to composition, angle, and framing.

そこで、撮影に習熟していない者であっても、簡単に良好な構図、フレーミングの撮影ができるようにするため、特許文献1には、フレーミング手法や撮影手法に関するガイド情報を撮影装置に格納しておき、そのガイド情報を撮影時にモニタに表示することが提案されている。   Therefore, in order to enable even a person who is not proficient in photographing to easily photograph a good composition and framing, Patent Document 1 stores guide information regarding the framing technique and the photographing technique in the photographing apparatus. It has been proposed to display the guide information on a monitor at the time of photographing.

また、特許文献2には、撮影時のフレーミングをガイドするグリッドをスルー画像に重ねて表示することが提案されている。   Patent Document 2 proposes to display a grid that guides framing during shooting so as to overlap the through image.

さらに、特許文献3、4には、撮影モードに応じて最適な位置に被写体が配置されるようにガイドする人型の枠線画像をモニタに表示することが提案されている。   Further, Patent Documents 3 and 4 propose that a human-type frame line image that guides a subject to be placed at an optimal position according to a shooting mode is displayed on a monitor.

また、特許文献5には、撮像素子から得られる画像から被写体の目を検出し、目に焦点が合うように、自動でピント合わせすることが提案されている。
特開2002−281356号公報 特開2002−290780号公報 特開2002−094838号公報 特開2002−232753号公報 特開2001−215403号公報
Japanese Patent Application Laid-Open No. 2004-228561 proposes detecting the subject's eyes from an image obtained from an image sensor and automatically focusing the eyes so that the eyes are in focus.
JP 2002-281356 A JP 2002-290780 A JP 2002-094838 A JP 2002-232753 A JP 2001-215403 A

しかしながら、特許文献1の撮影装置は、ガイド情報を参照して最適な構図を定める方式のため、面倒であるという欠点がある。   However, the photographing apparatus of Patent Document 1 has a drawback that it is troublesome because it is a method for determining an optimal composition with reference to guide information.

また、特許文献2の撮影装置は、単にグリッドが表示されるだけの構成であるため、撮影に慣れていない者にとっては、利用方法が分からず、有効に活用できないという欠点がある。   In addition, since the photographing apparatus of Patent Document 2 has a configuration in which only a grid is displayed, there is a drawback in that a person who is not used to photographing does not know how to use and cannot be used effectively.

また、特許文献3、4の撮影装置は、ガイドする人型の枠線画像がスルー画像に重ねられてモニタに表示されるため、モニタが見難くなるという欠点がある。また、単に最適な位置に被写体が配置されるようにガイドするだけであるため、背景を考慮した撮影を行なうことができず、結果、人物撮影として好ましくない画像が撮影されてしまうおそれがある。すなわち、たとえば、背景の水平線や地平線などの横線が人物の首を横切るように写り込む「首切りショット」や、背景の木や電柱が人物の頭部を突き刺すように写り込む「串刺しショット」が撮影されてしまうおそれがある。   In addition, the photographing apparatuses disclosed in Patent Documents 3 and 4 have a drawback that it is difficult to see the monitor because the human-type frame line image to be guided is displayed on the monitor while being superimposed on the through image. In addition, since the guide is simply arranged so that the subject is arranged at the optimum position, it is not possible to take a picture in consideration of the background, and as a result, an unfavorable image may be taken as a person picture. In other words, for example, a “neck cut shot” in which horizontal lines such as the background horizon and the horizon line appear to cross the person's neck, and a “skewer shot” in which the background trees and power poles pierce the person's head are photographed. There is a risk of being.

また、特許文献5の撮影装置は、ピントを自動的に被写体の目に合わせるだけで、最終的な構図はユーザが決定しなければならないという欠点がある。   In addition, the photographing apparatus of Patent Document 5 has a drawback that the final composition has to be determined by the user only by automatically focusing on the subject's eyes.

本発明は、このような事情に鑑みてなされたもので、簡単に良好な構図の画像を撮影できる撮影装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide an imaging apparatus that can easily capture an image with a good composition.

請求項1に係る発明は、前記目的を達成するために、画像の記録指示に応じて撮像手段から得られる画像を記憶メディアに記録する撮影装置において、前記撮像手段から得られる画像の中から人物の顔の位置を検出する顔検出手段と、前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率を検出する手段と、前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率が一定比率以下の場合に、前記顔検出手段で検出された人物の顔の位置が、画像内の所定位置に位置するようにガイドするガイド手段と、を備えたことを特徴とする撮影装置を提供する。
また、請求項2に係る発明は、前記目的を達成するために、画像の記録指示に応じて撮像手段から得られる画像を記憶メディアに記録する撮影装置において、前記撮像手段から得られる画像の中から人物の顔の位置を検出する顔検出手段と、前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率を検出する手段と、前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率に応じて画像内に顔配置領域を設定する手段と、前記顔検出手段で検出された人物の顔の位置が、前記顔配置領域内に位置するようにガイドするガイド手段と、を備えたことを特徴とする撮影装置を提供する。
According to a first aspect of the present invention, there is provided a photographing apparatus for recording an image obtained from an imaging unit on a storage medium in response to an image recording instruction in order to achieve the object, and a person out of images obtained from the imaging unit. Detecting means for detecting the position of the face of the person, means for detecting the ratio of the size of the person's face in the image obtained from the imaging means, and the number of persons in the image obtained from the imaging means Guide means for guiding the position of the face of the person detected by the face detection means to be located at a predetermined position in the image when the ratio of the face sizes is equal to or less than a certain ratio. An imaging device is provided.
According to a second aspect of the present invention, there is provided a photographing apparatus for recording an image obtained from an imaging unit on a storage medium in response to an image recording instruction in order to achieve the object. A face detecting means for detecting the position of a person's face from the image, a means for detecting a ratio of the size of the person's face in the image obtained from the imaging means, and an image in the image obtained from the imaging means A means for setting a face arrangement area in an image in accordance with a ratio of the size of a person's face, and guiding the position of the person's face detected by the face detection means to be located within the face arrangement area An imaging apparatus comprising: a guide unit.

本発明によれば、撮影装置を被写体に向けると、撮像手段から得られる画像の中から人物の顔の位置が顔検出手段によって検出され、その顔の位置が画像内の所定位置に位置するようにガイド手段によってガイドされる。これにより、たとえば所定位置を画像の黄金比の位置に設定しておけば、誰もが簡単に最適な位置に被写体を配置させて撮影を行なうことができる。   According to the present invention, when the photographing device is pointed at the subject, the position of the person's face is detected by the face detection means from the image obtained from the imaging means, and the position of the face is positioned at a predetermined position in the image. Guided by the guide means. Thereby, for example, if the predetermined position is set to the position of the golden ratio of the image, anyone can easily shoot the subject by arranging the subject at the optimum position.

請求項に係る発明は、前記目的を達成するために、前記撮像手段から得られる画像の中から水平又は垂直の線分を検出する線分検出手段と、前記顔検出手段で検出された人物の顔が、前記線分検出手段で検出された水平又は垂直の線分と重なると警告する警告手段と、を備えたことを特徴とする請求項1又は2に記載の撮影装置を提供する。 According to a third aspect of the present invention, in order to achieve the above object, a line segment detection unit that detects a horizontal or vertical line segment from an image obtained from the imaging unit, and a person detected by the face detection unit face provides a photographing apparatus according to claim 1 or 2, characterized in that and a warning means for warning that overlaps with the detected horizontal or vertical line segments in the line segment detecting unit.

本発明によれば、撮像手段から得られる画像の中から水平又は垂直の線分が線分検出手段によって検出され、その線分検出手段で検出された水平又は垂直の線分と、顔検出手段で検出された顔とが重なると、警告手段によって警告が発せられる。これにより、いわゆる「首切りショット」や「串刺しショット」が撮影されるのを未然に防止できる。   According to the present invention, a horizontal or vertical line segment is detected by the line segment detection unit from the image obtained from the imaging unit, the horizontal or vertical line segment detected by the line segment detection unit, and the face detection unit. When the face detected in (1) overlaps, a warning is issued by the warning means. Thereby, it is possible to prevent the so-called “neck cut shot” and “skewer shot” from being taken.

また、請求項4に係る発明は、前記目的を達成するために、画像の記録指示に応じて撮像手段から得られる画像を記憶メディアに記録する撮影装置において、前記撮像手段から得られる画像の中から人物の顔の位置を検出する顔検出手段と、前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率を検出する手段と、前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率に応じて画像内に撮影実行領域を設定する手段と、前記顔検出手段で検出された人物の顔の位置が、前記撮影実行領域に属すると、前記記録指示を出力する記録指示手段と、を備えたことを特徴とする撮影装置を提供する。 According to a fourth aspect of the present invention, there is provided a photographing apparatus for recording an image obtained from an imaging unit on a storage medium in accordance with an image recording instruction in order to achieve the object. A face detecting means for detecting the position of a person's face from the image, a means for detecting a ratio of the size of the person's face in the image obtained from the imaging means, and an image in the image obtained from the imaging means Means for setting a shooting execution area in an image in accordance with a ratio of the size of a person's face; and if the position of the person's face detected by the face detection means belongs to the shooting execution area, the recording instruction is issued. There is provided a photographing apparatus comprising a recording instruction means for outputting.

本発明によれば、撮像手段から得られる画像の中から人物の顔が検出され、その顔の位置が像内の所定位置に位置すると、記録指示が出力される。これにより、最適な構図の画像を自動で撮影することができる。   According to the present invention, a person's face is detected from an image obtained from the imaging means, and a recording instruction is output when the position of the face is located at a predetermined position in the image. As a result, an image having an optimal composition can be automatically taken.

本発明に係る撮影装置によれば、簡単に良好な構図の画像を撮影することができる。   With the photographing apparatus according to the present invention, it is possible to easily photograph an image with a good composition.

以下、添付図面に従って本発明に係る撮影装置を実施するための最良の形態について説明する。   The best mode for carrying out the photographing apparatus according to the present invention will be described below with reference to the accompanying drawings.

図1は、本発明に係る撮影装置の一実施形態を示す正面斜視図である。この撮影装置は、レンズを通った光を固体撮像素子で受け、デジタル信号に変換して記憶メディアに記録するデジタルカメラである。   FIG. 1 is a front perspective view showing an embodiment of a photographing apparatus according to the present invention. This photographing apparatus is a digital camera that receives light passing through a lens by a solid-state imaging device, converts the light into a digital signal, and records it on a storage medium.

デジタルカメラ10のカメラボディ12は、横長の四角い箱状に形成されており、その正面には、レンズ14、ストロボ16、ファインダ窓18、セルフタイマランプ20、AF補助光ランプ22、ストロボ調光センサ24等が設けられている。また、カメラボディ12の上面にはシャッターボタン26、電源/モードスイッチ28、モードダイヤル30等が設けられている。   The camera body 12 of the digital camera 10 is formed in the shape of a horizontally long rectangular box, and on the front thereof is a lens 14, a strobe 16, a finder window 18, a self-timer lamp 20, an AF auxiliary light lamp 22, a strobe light control sensor. 24 etc. are provided. A shutter button 26, a power / mode switch 28, a mode dial 30 and the like are provided on the upper surface of the camera body 12.

図2は、図1に示したデジタルカメラ10の背面図であり、同図に示すように、カメラボディ12の背面には、モニタ32、ファインダ接眼部34、スピーカ36、ズームボタン38、十字ボタン40、MENU/OKボタン42、DISPボタン44、BACKボタン46等が設けられている。   FIG. 2 is a rear view of the digital camera 10 shown in FIG. 1. As shown in FIG. 2, a monitor 32, a viewfinder eyepiece 34, a speaker 36, a zoom button 38, and a cross are placed on the back of the camera body 12. A button 40, a MENU / OK button 42, a DISP button 44, a BACK button 46, and the like are provided.

なお、図示しないカメラボディ12の下面には、開閉自在なカバーを介してバッテリ挿入部及びメモリカードスロットが設けられており、このバッテリ挿入部とメモリカードスロットにバッテリとメモリカードが装填される。   Note that a battery insertion portion and a memory card slot are provided on the lower surface of the camera body 12 (not shown) via an openable / closable cover, and a battery and a memory card are loaded into the battery insertion portion and the memory card slot.

レンズ14は、沈胴式のズームレンズで構成されており、電源/モードスイッチ28によってカメラのモードを撮影モードに設定することにより、カメラボディ12から繰り出される。   The lens 14 is constituted by a retractable zoom lens, and is extended from the camera body 12 by setting the camera mode to the photographing mode by the power / mode switch 28.

シャッターボタン26は、いわゆる「半押し」と「全押し」とからなる2段ストローク式のスイッチで構成されている。デジタルカメラ10は、このシャッターボタン26が「半押し」されることにより、AE/AFが作動し、「全押し」されることにより、撮影を実行する。   The shutter button 26 is constituted by a two-stage stroke type switch composed of so-called “half-press” and “full-press”. When the shutter button 26 is “half-pressed”, the digital camera 10 activates AE / AF, and “full-press” to execute shooting.

電源/モードスイッチ28は、デジタルカメラ10の電源をON/OFFする電源スイッチとしての機能と、デジタルカメラ10のモードを設定するモードスイッチとしての機能とを併せ持っており、「OFF位置」と「再生位置」と「撮影位置」との間をスライド自在に設けられている。デジタルカメラ10は、電源/モードスイッチ28をスライドさせて、「再生位置」又は「撮影位置」に合わせることにより、電源がONになり、「OFF位置」に合わせることにより、電源がOFFになる。そして、電源/モードスイッチ28をスライドさせて、「再生位置」に合わせることにより、「再生モード」に設定され、「撮影位置」に合わせることにより、「撮影モード」に設定される。   The power / mode switch 28 has both a function as a power switch for turning on / off the power of the digital camera 10 and a function as a mode switch for setting the mode of the digital camera 10. It is slidably provided between “position” and “photographing position”. The digital camera 10 is turned on by sliding the power / mode switch 28 to the “reproduction position” or “photographing position”, and turned off by setting it to the “OFF position”. Then, the power / mode switch 28 is slid and set to “playback position” to set to “playback mode”, and to the “shooting position” to set to “shooting mode”.

モードダイヤル30は、デジタルカメラ10の撮影モードを設定する撮影モード設定手段として機能し、このモードダイヤルの設定位置により、デジタルカメラ10の撮影モードが「オート撮影モード」、「動画撮影モード」、「人物撮影モード」、「スポーツ撮影モード」、「風景撮影モード」、「夜景撮影モード」、「プログラム撮影モード」、「絞り優先撮影モード」、「シャッタースピード優先撮影モード」、「マニュアル撮影モード」等に設定される。   The mode dial 30 functions as a shooting mode setting means for setting the shooting mode of the digital camera 10. Depending on the setting position of the mode dial, the shooting mode of the digital camera 10 is “auto shooting mode”, “movie shooting mode”, “ "Portrait shooting mode", "Sport shooting mode", "Landscape shooting mode", "Night scene shooting mode", "Program shooting mode", "Aperture priority shooting mode", "Shutter speed priority shooting mode", "Manual shooting mode", etc. Set to

モニタ32は、カラー表示が可能な液晶ディスプレイで構成されている。このモニタ32は、再生モード時に撮影済み画像を表示するための画像表示パネルとして利用されるとともに、各種設定操作を行なう際のユーザインターフェース表示パネルとして利用される。また、撮影モード時には、必要に応じてスルー画像が表示されて、画角確認用の電子ファインダとして利用される。   The monitor 32 is composed of a liquid crystal display capable of color display. The monitor 32 is used as an image display panel for displaying a photographed image in the playback mode, and is also used as a user interface display panel for performing various setting operations. In the photographing mode, a through image is displayed as necessary, and is used as an electronic viewfinder for checking the angle of view.

ズームボタン38は、ズームを指示するズーム指示手段として機能し、望遠側へのズームを指示するズームテレボタン38Tと、広角側へのズームを指示するズームワイドボタン38Wとからなる。デジタルカメラ10は、撮影モード時に、このズームテレボタン38Tとズームワイドボタン38Wとが操作されることにより、レンズ14の焦点距離が変化する。また、再生モード時に、このズームテレボタン38Tとズームワイドボタン38Wとが操作されることにより、再生中の画像が拡大、縮小する。   The zoom button 38 functions as zoom instruction means for instructing zooming, and includes a zoom tele button 38T for instructing zooming to the telephoto side and a zoom wide button 38W for instructing zooming to the wide angle side. In the digital camera 10, when the zoom tele button 38T and the zoom wide button 38W are operated in the shooting mode, the focal length of the lens 14 changes. Further, when the zoom tele button 38T and the zoom wide button 38W are operated in the reproduction mode, the image being reproduced is enlarged or reduced.

十字ボタン40は、上下左右4方向の指示を入力する方向指示手段として機能し、たとえば、メニュー画面でメニュー項目の選択などに使用される。   The cross button 40 functions as direction indicating means for inputting instructions in four directions, up, down, left, and right, and is used, for example, for selecting menu items on a menu screen.

MENU/OKボタン42は、各モードの通常画面からメニュー画面への遷移を指示するボタン(MENUボタン)として機能するととともに、選択内容の確定、処理の実行等を指示するボタン(OKボタン)として機能する。   The MENU / OK button 42 functions as a button (MENU button) for instructing a transition from the normal screen to the menu screen in each mode, and also functions as a button (OK button) for instructing selection confirmation, execution of processing, and the like. To do.

DISPボタン44は、モニタ32の表示切り替えを指示するボタンとして機能し、撮影中、このDISPボタン44が押されると、モニタ32の表示が、ON→フレーミングガイド表示→OFFに切り替えられる。また、再生中、このDISPボタン44が押されると、通常再生→文字表示なし再生→マルチ再生に切り替えられる。   The DISP button 44 functions as a button for instructing the display switching of the monitor 32. When the DISP button 44 is pressed during photographing, the display of the monitor 32 is switched from ON to framing guide display to OFF. If the DISP button 44 is pressed during playback, the playback mode is switched from normal playback to playback without character display to multi playback.

BACKボタン46は、入力操作のキャンセルや一つ前の操作状態に戻すことを指示するボタンとして機能する。   The BACK button 46 functions as a button for instructing to cancel the input operation or return to the previous operation state.

図3は、デジタルカメラ内部の概略構成を示すブロック図である。   FIG. 3 is a block diagram showing a schematic configuration inside the digital camera.

デジタルカメラ10は、全体の動作を中央処理装置(CPU)110によって統括制御されている。CPU110は、操作部112(シャッターボタン26、電源/モードスイッチ28、モードダイヤル30、ズームボタン38、十字ボタン40、MENU/OKボタン42、DISPボタン44、BACKボタン46等)から入力される操作信号に基き所定の制御プログラムに従ってデジタルカメラ10の全体を統括制御する。   The overall operation of the digital camera 10 is comprehensively controlled by a central processing unit (CPU) 110. CPU 110 receives operation signals input from operation unit 112 (shutter button 26, power / mode switch 28, mode dial 30, zoom button 38, cross button 40, MENU / OK button 42, DISP button 44, BACK button 46, etc.). Based on the above, the entire digital camera 10 is comprehensively controlled according to a predetermined control program.

バス114を介してCPU110と接続されたROM116には、このCPU110が実行する制御プログラム及び制御に必要な各種データ等が格納されており、EEPROM118には、ユーザ設定情報等のデジタルカメラ10の動作に関する各種設定情報等が格納されている。また、メモリ(SDRAM)120は、CPU110の演算作業用領域として利用されるとともに、画像データ等の一時記憶領域として利用され、VRAM122は、画像データ専用の一時記憶領域として利用される。   The ROM 116 connected to the CPU 110 via the bus 114 stores a control program executed by the CPU 110 and various data necessary for control. The EEPROM 118 relates to the operation of the digital camera 10 such as user setting information. Various setting information and the like are stored. The memory (SDRAM) 120 is used as a calculation work area for the CPU 110 and is used as a temporary storage area for image data and the VRAM 122 is used as a temporary storage area dedicated to image data.

上記のように、デジタルカメラ10は、電源/モードスイッチ28を撮影位置に合わせることで、撮影モードに設定され、撮影が可能になる。そして、撮影モードに設定されることにより、レンズ14が繰り出され、撮影スタンバイ状態になる。   As described above, the digital camera 10 is set to the shooting mode by setting the power / mode switch 28 to the shooting position, and shooting is possible. Then, when the shooting mode is set, the lens 14 is extended to enter a shooting standby state.

この撮影モードの下、レンズ14を通過した被写体光は、絞り15を介して固体撮像素子124の受光面に結像される。固体撮像素子124は、CCDで構成されており、その受光面には、所定の配列構造(ベイヤー、Gストライプなど)で配列された赤(R)、緑(G)、青(B)のカラーフィルタを介して多数のフォトダイオード(受光素子)が二次元的に配置されている。レンズ14を通過した被写体光は、各フォトダイオードによって受光され、入射光量に応じた量の信号電荷に変換される。   Under this photographing mode, the subject light that has passed through the lens 14 forms an image on the light receiving surface of the solid-state imaging device 124 via the diaphragm 15. The solid-state imaging device 124 is constituted by a CCD, and on its light receiving surface, red (R), green (G), and blue (B) colors arranged in a predetermined arrangement structure (Bayer, G stripe, etc.). A large number of photodiodes (light receiving elements) are two-dimensionally arranged through a filter. The subject light that has passed through the lens 14 is received by each photodiode and converted into a signal charge in an amount corresponding to the amount of incident light.

各フォトダイオードに蓄積された信号電荷は、タイミングジェネレータ(TG)126から与えられる駆動パルスに基づいて信号電荷に応じた電圧信号(画像信号)として順次読み出され、アナログ処理部(CDS/AMP)128に加えられる。   The signal charge accumulated in each photodiode is sequentially read out as a voltage signal (image signal) corresponding to the signal charge based on the drive pulse supplied from the timing generator (TG) 126, and is analog processing section (CDS / AMP). 128.

アナログ処理部128は、入力された画素ごとのR、G、B信号をサンプリングホールド(相関二重サンプリング処理)するとともに、増幅し、A/D変換器130に出力する。A/D変換器130は、アナログ処理部128から出力されたアナログのR、G、B信号をデジタルのR、G、B信号に変換して出力し、このA/D変換器130から出力されたデジタルのR、G、B信号が、画像入力制御部132を介してメモリ120に取り込まれる。   The analog processing unit 128 samples and holds the input R, G, and B signals for each pixel, amplifies them, and outputs them to the A / D converter 130. The A / D converter 130 converts the analog R, G, and B signals output from the analog processing unit 128 into digital R, G, and B signals and outputs the signals, and the A / D converter 130 outputs the signals. The digital R, G, and B signals are taken into the memory 120 via the image input control unit 132.

画像信号処理部134は、メモリ120に取り込まれたR、G、B信号をCPU110の指令に従って処理し、輝度信号(Y信号)及び色差信号(Cr 、Cb 信号)を生成する。すなわち、この画像信号処理部134は、同時化回路(単板CCDのカラーフィルタ配列に伴う色信号の空間的なズレを補間して色信号を同時式に変換する処理回路)、ホワイトバランス補正回路、ガンマ補正回路、輪郭補正回路、輝度・色差信号生成回路等を含む画像処理手段として機能し、CPU110からの指令に従ってメモリ120を活用しながら入力されたR、G、B信号を信号処理することにより、輝度信号及び色差信号(輝度/色差信号)を生成する。生成された輝度/色差信号は、VRAM122に格納される。   The image signal processing unit 134 processes the R, G, and B signals fetched into the memory 120 in accordance with an instruction from the CPU 110, and generates a luminance signal (Y signal) and a color difference signal (Cr, Cb signal). That is, the image signal processing unit 134 includes a synchronization circuit (a processing circuit that converts a color signal into a simultaneous type by interpolating a spatial shift of the color signal associated with the color filter array of the single CCD), and a white balance correction circuit. Functions as image processing means including a gamma correction circuit, a contour correction circuit, a luminance / color difference signal generation circuit, etc., and performs signal processing on R, G, B signals input using the memory 120 in accordance with instructions from the CPU 110 Thus, a luminance signal and a color difference signal (luminance / color difference signal) are generated. The generated luminance / color difference signal is stored in the VRAM 122.

撮影画像をモニタ32に出力する場合は、生成された輝度/色差信号が、VRAM122からビデオエンコーダ136に送られる。ビデオエンコーダ136は、入力された輝度/色差信号を表示用の信号形式(たとえばNTSC方式のカラー複合映像信号)に変換し、モニタ32に出力する。これにより、CCD124で撮像された画像がモニタ32に表示される。   When the captured image is output to the monitor 32, the generated luminance / color difference signal is sent from the VRAM 122 to the video encoder 136. The video encoder 136 converts the input luminance / color difference signal into a display signal format (for example, an NTSC color composite video signal), and outputs it to the monitor 32. As a result, an image captured by the CCD 124 is displayed on the monitor 32.

CCD124から画像信号を定期的に取り込み、その画像信号から生成される輝度/色差信号によってVRAM122内の画像データを定期的に書き換え、モニタ32に出力することにより、CCD124で撮像される画像がリアルタイムに表示される。撮影者は、このモニタ32にリアルタイムに表示される画像(スルー画像)を見ることにより、撮影画角を確認することができる。   An image signal is periodically taken in from the CCD 124, the image data in the VRAM 122 is periodically rewritten by the luminance / color difference signal generated from the image signal, and output to the monitor 32. Is displayed. The photographer can confirm the shooting angle of view by viewing the image (through image) displayed in real time on the monitor 32.

なお、VRAM122からビデオエンコーダ136に加えられる輝度/色差信号は、必要に応じて文字MIX部138に加えられ、所定の文字や図形等と合成されたのち、ビデオエンコーダ136に加えられる。これにより、所要の撮影情報等がスルー画像に重ねて表示される。   Note that the luminance / color difference signal applied from the VRAM 122 to the video encoder 136 is added to the character MIX unit 138 as necessary, and is combined with a predetermined character, graphic, etc., and then applied to the video encoder 136. As a result, required shooting information and the like are displayed superimposed on the through image.

撮影はシャッターボタン26の押下によって行なわれる。シャッターボタン26が半押しされると、S1オン信号がCPU110に入力され、CPU110はAE/AF処理を実施する。   Shooting is performed by pressing the shutter button 26. When the shutter button 26 is half-pressed, an S1 ON signal is input to the CPU 110, and the CPU 110 performs AE / AF processing.

まず、画像入力制御部132を介してCCD124から取り込まれた画像信号がAF検出部140並びにAE/AWB検出部142に入力される。   First, an image signal captured from the CCD 124 via the image input control unit 132 is input to the AF detection unit 140 and the AE / AWB detection unit 142.

AE/AWB検出部142は、1画面を複数のエリア(例えば、16×16)に分割し、分割エリアごとにR、G、B信号を積算する回路を含み、その積算値をCPU110に提供する。CPU110は、AE/AWB検出部142から得た積算値に基づいて被写体の明るさ(被写体輝度)を検出し、撮影に適した露出値(撮影EV値)を算出する。そして、求めた撮影EV値と所定のプログラム線図から絞り値とシャッタースピードを決定し、これに従いCCD124の電子シャッターと絞り駆動部144を制御して適正な露光量を得る。   The AE / AWB detection unit 142 includes a circuit that divides one screen into a plurality of areas (for example, 16 × 16) and integrates R, G, and B signals for each divided area, and provides the integrated value to the CPU 110. . The CPU 110 detects the brightness of the subject (subject brightness) based on the integrated value obtained from the AE / AWB detection unit 142, and calculates an exposure value (shooting EV value) suitable for shooting. Then, an aperture value and a shutter speed are determined from the obtained photographing EV value and a predetermined program diagram, and an electronic exposure and an aperture drive unit 144 of the CCD 124 are controlled according to the determined aperture value and an appropriate exposure amount.

また、AE/AWB検出部142は、自動ホワイトバランス調整時、分割エリアごとにR、G、B信号の色別の平均積算値を算出し、その算出結果をCPU110に提供する。CPU110は、得られたRの積算値、Bの積算値、Gの積算値から各分割エリアごとにR/G及びB/Gの比を求め、求めたR/G、B/Gの値のR/G、B/Gの色空間における分布等に基づいて光源種判別を行う。そして、判別された光源種に適したホワイトバランス調整値に従って、たとえば、各比の値がおよそ1(つまり、1画面においてRGBの積算比率がR:G:B≒1:1:1)になるように、ホワイトバランス調整回路のR、G、B信号に対するゲイン値(ホワイトバランス補正値)を制御し、各色チャンネルの信号に補正をかける。   The AE / AWB detection unit 142 calculates an average integrated value for each color of the R, G, and B signals for each divided area during automatic white balance adjustment, and provides the calculation result to the CPU 110. The CPU 110 obtains the ratio of R / G and B / G for each divided area from the obtained integrated value of R, integrated value of B, and integrated value of G, and calculates the R / G and B / G values obtained. The light source type is determined based on the distribution in the color space of R / G and B / G. Then, according to the white balance adjustment value suitable for the discriminated light source type, for example, the value of each ratio is approximately 1 (that is, the RGB integration ratio is R: G: B≈1: 1: 1 on one screen). As described above, the gain value (white balance correction value) for the R, G, and B signals of the white balance adjustment circuit is controlled to correct the signal of each color channel.

AF検出部140は、G信号の高周波成分のみを通過させるハイパスフィルタ、絶対値化処理部、所定のフォーカスエリア(たとえば、画面中央部)内の信号を切り出すAFエリア抽出部及びAFエリア内の絶対値データを積算する積算部から構成され、AF検出部140で求めた積算値のデータはCPU110に通知される。CPU110は、レンズ駆動部146を制御してレンズ14のフォーカスレンズ群を移動させながら、複数のAF検出ポイントで焦点評価値(AF評価値)を演算し、評価値が極大となるレンズ位置を合焦位置として決定する。そして、求めた合焦位置にフォーカスレンズ群が移動するように、レンズ駆動部146を制御する。   The AF detection unit 140 includes a high-pass filter that passes only high-frequency components of the G signal, an absolute value processing unit, an AF area extraction unit that extracts a signal within a predetermined focus area (for example, the center of the screen), and an absolute value within the AF area. The CPU 110 is notified of the integrated value data obtained by the AF detection unit 140. The CPU 110 calculates a focus evaluation value (AF evaluation value) at a plurality of AF detection points while moving the focus lens group of the lens 14 by controlling the lens driving unit 146, and aligns the lens position where the evaluation value becomes the maximum. Determine as the focal position. Then, the lens driving unit 146 is controlled so that the focus lens group moves to the obtained in-focus position.

以上のように、シャッターボタン26の半押しによって、AE/AF処理が行なわれる。なお、撮影者は、必要に応じてズームボタン38を操作し、レンズ14をズーミングさせて画角を調整する。   As described above, the AE / AF process is performed by half-pressing the shutter button 26. The photographer operates the zoom button 38 as necessary to zoom the lens 14 and adjust the angle of view.

この後、シャッターボタン26が全押しされると、CPU110にS2オン信号が入力され、CPU110は、撮影、記録処理を開始する。すなわち、測光結果に基づき決定されたシャッター速度、絞り値でCCD124を露光する。   Thereafter, when the shutter button 26 is fully pressed, an S2 ON signal is input to the CPU 110, and the CPU 110 starts photographing and recording processing. That is, the CCD 124 is exposed with the shutter speed and aperture value determined based on the photometric result.

CCD124から出力された画像信号は、アナログ処理部128、A/D変換器130、画像入力制御部132を介してメモリ120に取り込まれ、画像信号処理部134において輝度/色差信号に変換されたのち、メモリ120に格納される。   The image signal output from the CCD 124 is taken into the memory 120 via the analog processing unit 128, the A / D converter 130, and the image input control unit 132, and is converted into a luminance / color difference signal by the image signal processing unit 134. Stored in the memory 120.

メモリ120に格納された画像データは、圧縮伸張処理部148に加えられ、所定の圧縮フォーマット(たとえばJPEG形式)に従って圧縮された後、メモリ120に格納され、所定の画像記録フォーマット(たとえばExif形式)の画像ファイルとされたのち、メディア制御部150を介して記憶メディア152に記録される。   The image data stored in the memory 120 is added to the compression / decompression processing unit 148, compressed in accordance with a predetermined compression format (for example, JPEG format), then stored in the memory 120, and a predetermined image recording format (for example, Exif format). Are recorded on the storage medium 152 via the media control unit 150.

以上のようにして記憶メディア152に記録された画像は、電源/モードスイッチ28を再生位置に合わせて、デジタルカメラ10のモードを再生モードに設定することにより、モニタ32で再生表示させることができる。   The image recorded on the storage medium 152 as described above can be reproduced and displayed on the monitor 32 by setting the power / mode switch 28 to the reproduction position and setting the mode of the digital camera 10 to the reproduction mode. .

電源/モードスイッチ28を再生位置に合わせて、デジタルカメラ10のモードを再生モードに設定すると、CPU110は、メディア制御部150にコマンドを出力し、記憶メディア152に最後に記録された画像ファイルを読み出させる。   When the power / mode switch 28 is set to the playback position and the mode of the digital camera 10 is set to the playback mode, the CPU 110 outputs a command to the media control unit 150 and reads the image file recorded last on the storage medium 152. Let it come out.

読み出された画像ファイルの圧縮画像データは、圧縮伸張処理部148に加えられ、非圧縮の輝度/色差信号に伸張されたのち、ビデオエンコーダ136を介してモニタ32に出力される。これにより、記憶メディア152に記録されている画像がモニタ32に再生表示される。なお、再生時も必要に応じて再生する画像の輝度/色差信号が、文字MIX部138に加えられ、所定の文字や図形等と合成されたのち、ビデオエンコーダ136に加えられる。これにより、撮影済み画像に重ねられて所定の撮影情報等がモニタ32に表示される。。   The compressed image data of the read image file is added to the compression / decompression processing unit 148, decompressed to an uncompressed luminance / color difference signal, and then output to the monitor 32 via the video encoder 136. As a result, the image recorded on the storage medium 152 is reproduced and displayed on the monitor 32. It is to be noted that the luminance / color difference signal of the image to be reproduced is added to the character MIX unit 138 and synthesized with a predetermined character, figure, or the like as necessary, and then added to the video encoder 136. As a result, predetermined photographing information and the like are displayed on the monitor 32 so as to be superimposed on the photographed image. .

画像のコマ送りは、十字ボタン40の左右のキー操作によって行なわれ、十字ボタン40の右キーが押されると、次の画像ファイルが記憶メディア152から読み出され、モニタ32に再生表示される。また、十字ボタン40の左キーが押されると、一つ前の画像ファイルが記憶メディア152から読み出され、モニタ32に再生表示される。   The frame advance of the image is performed by operating the left and right keys of the cross button 40. When the right key of the cross button 40 is pressed, the next image file is read from the storage medium 152 and reproduced and displayed on the monitor 32. When the left key of the cross button 40 is pressed, the previous image file is read from the storage medium 152 and reproduced and displayed on the monitor 32.

さて、上記のように、本実施の形態のデジタルカメラ10では、撮影時にモニタ32にスルー画像を表示させることができるようにされており、このモニタ32に表示されるスルー画像を見ることで、容易に撮影する画像の構図等を決定できるようにされている。   As described above, in the digital camera 10 according to the present embodiment, a through image can be displayed on the monitor 32 at the time of shooting. By viewing the through image displayed on the monitor 32, The composition of an image to be taken can be determined easily.

しかしながら、撮影に慣れていない者にとって、最適な構図を決めて撮影することは難しく、面白みに欠ける構図になってしまいがちである。   However, it is difficult for those who are not accustomed to shooting to determine the optimal composition, and the composition tends to be uninteresting.

そこで、本実施の形態のデジタルカメラ10には、構図決定を補助する機能として構図ガイド機能が備えられている。以下、この構図ガイド機能について説明する。   Therefore, the digital camera 10 of the present embodiment is provided with a composition guide function as a function for assisting composition determination. Hereinafter, the composition guide function will be described.

本実施の形態のデジタルカメラ10が備える構図ガイド機能には、被写体となる人物の顔の位置が、人物撮影として好ましい位置に配置されるようにガイドする構図ガイド機能[1]と、いわゆる「首切りショット」や「串刺しショット」といった、人物撮影として好ましくない構図となるのを防止する構図ガイド機能[2]の2つの構図ガイド機能があり、いずれの構図ガイド機能もメニュー画面によって、そのON/OFFが設定できるようにされている。   The composition guide function provided in the digital camera 10 of the present embodiment includes a composition guide function [1] that guides the position of the face of a person who is a subject to be placed at a preferable position for photographing a person, and a so-called “neck trimming”. There are two composition guide functions [2], such as “Shot” and “Skewered Shot”, which prevent the composition from becoming unfavorable for human photography, and each composition guide function is turned on / off by the menu screen. Has been made configurable.

まず、被写体となる人物の顔の位置が、人物撮影として好ましい位置に配置されるようにガイドする構図ガイド機能[1]について説明する。   First, the composition guide function [1] for guiding the position of the face of the person serving as the subject to be arranged at a preferable position for photographing a person will be described.

構図ガイド機能[1]がONにされている場合、レリーズボタン26が半押しされると、CPU110は、構図ガイド[1]の処理を実行する。   When the composition guide function [1] is ON, when the release button 26 is half-pressed, the CPU 110 executes the process of the composition guide [1].

この場合、画像信号処理部134で生成された輝度/色差信号が顔検出部154に加えられる。顔検出部154は、入力された輝度/色差信号から、画像内の顔を抽出し、その重心座標を検出する。顔の抽出は、たとえば、画像内の肌色データを抽出することによって画像中の人物の顔を抽出する。   In this case, the luminance / color difference signal generated by the image signal processing unit 134 is added to the face detection unit 154. The face detection unit 154 extracts a face in the image from the input luminance / color difference signal and detects its barycentric coordinate. In the face extraction, for example, the face of a person in the image is extracted by extracting the skin color data in the image.

顔検出部154で検出された顔の位置データ(顔領域の重心座標)は、CPU110に出力される。CPU110は、検出された顔の位置Pが、あらかじめ設定された顔配置領域に属するか否かを判定し、位置していなければ、音声ガイドを実施する。   The face position data (coordinate coordinates of the face area) detected by the face detector 154 is output to the CPU 110. The CPU 110 determines whether or not the detected face position P belongs to a face arrangement area set in advance, and if not, performs voice guidance.

ここで、この被写体の顔を位置させる顔配置領域は、次のように設定される。すなわち、図4に示すように、画面を上下、左右1.618033989:1と1:1.618033989の比率(黄金比)で分割する。そして、各分割線L1〜L4の交点P1〜P4を中心とする半径rの領域S1〜S4を顔配置領域に設定する。このように設定された顔配置領域S1〜S4のデータは、ROM116に記録されており、CPU110は、このROM116に記録された顔配置領域S1〜S4のデータを読み出して、顔検出部154で検出された顔の位置Pが、あらかじめ設定された顔配置領域S1〜S4に属するか否かを判定する。   Here, the face arrangement area where the face of the subject is located is set as follows. That is, as shown in FIG. 4, the screen is divided at a ratio (golden ratio) of the top and bottom, left and right 1.618033989: 1 and 1: 1.618033989. Then, regions S1 to S4 having a radius r centering on the intersections P1 to P4 of the dividing lines L1 to L4 are set as face arrangement regions. The data of the face arrangement areas S1 to S4 set in this way is recorded in the ROM 116, and the CPU 110 reads out the data of the face arrangement areas S1 to S4 recorded in the ROM 116 and is detected by the face detection unit 154. It is determined whether or not the set face position P belongs to preset face placement areas S1 to S4.

音声ガイドは、現在の顔の位置から最も近い顔配置領域に被写体の顔が位置するように、修正すべきカメラ(レンズ)の向きをスピーカ36から出力することにより行なわれる。たとえば、図5(a) に示すように、現在の顔の位置Pが、画面中央やや右上寄りの位置にある場合、その位置から最も近い顔配置領域S2に被写体の顔が位置するように、修正すべきカメラ(レンズ)の向きをスピーカ36から出力する。   The voice guidance is performed by outputting the direction of the camera (lens) to be corrected from the speaker 36 so that the face of the subject is located in the face arrangement region closest to the current face position. For example, as shown in FIG. 5 (a), when the current face position P is at a position slightly to the upper right of the center of the screen, the face of the subject is positioned in the face placement region S2 closest to the position. The direction of the camera (lens) to be corrected is output from the speaker 36.

この場合、まず、左右方向のガイドが実施され、その後、上下方向のガイドが実施される。図5(a)に示す例の場合、画面中央やや右上寄りの位置にある被写体の顔を、その右上にある顔配置領域S2に位置させるので、カメラ(レンズ)の向きを左斜め下方向に向ける必要がある。   In this case, first, the left-right direction guide is implemented, and then the up-down direction guide is implemented. In the case of the example shown in FIG. 5 (a), the face of the subject located at the center of the screen and slightly closer to the upper right is positioned in the face placement region S2 at the upper right. Need to turn.

したがって、まず、左右方向のズレを修正すべく、「カメラを左に向けて下さい」という音声ガイドが出力される。撮影者は、この音声ガイドに従ってカメラの向きを左方向に向ける。   Therefore, first, a voice guide “Please turn the camera to the left” is output to correct the shift in the left-right direction. The photographer turns the camera to the left according to the voice guide.

この結果、左右方向の位置が修正されると、方向修正を止めさせるべく、「止めて下さい」という音声ガイドが出力される。これにより、図5( b) に示すように、左右方向のズレが修正される。   As a result, when the position in the left-right direction is corrected, a voice guide “Please stop” is output to stop the direction correction. Thereby, as shown in FIG.5 (b), the shift | offset | difference of the left-right direction is corrected.

次いで上下方向のズレを修正すべく、「カメラを下方向に向けて下さい」という音声ガイドが出力される。撮影者は、この音声ガイドに従ってカメラの向きを左方向に向ける。   Next, in order to correct the vertical displacement, a voice guide “Please point the camera downward” is output. The photographer turns the camera to the left according to the voice guide.

この結果、上下方向の位置が修正されると、方向修正を止めさせるべく、「止めて下さい」という音声ガイドが出力される。   As a result, when the vertical position is corrected, a voice guide “Please stop” is output to stop the direction correction.

このように、音声ガイドが行なわれて、図5( c) に示すように、被写体の顔の位置Pが、予定された顔配置領域S2に属すると、方向修正の音声ガイドを終了し、「撮影して下さい」という音声ガイドを出力する。撮影者は、この「撮影して下さい」という音声ガイドに従ってレリーズボタン26を押し、撮影を実施する。   In this way, when voice guidance is performed and the face position P of the subject belongs to the planned face placement area S2, as shown in FIG. 5C, the voice guidance for direction correction is terminated. Voice guide “Please shoot” is output. The photographer presses the release button 26 in accordance with the voice guide “Please shoot” and performs shooting.

なお、ガイド用の音声は、あらかじめROM116に記録されている所要の音声ファイルをROM116から読み出して音声信号処理部156に加え、音声信号処理部156で所要の信号処理を施したのち、D/A変換器158でアナログ信号に変換し、アンプ160を介してスピーカ36から出力する。   Note that the audio for guide is read from a required audio file recorded in advance in the ROM 116, added to the audio signal processing unit 156, and subjected to required signal processing by the audio signal processing unit 156, and then D / A The signal is converted into an analog signal by the converter 158 and output from the speaker 36 via the amplifier 160.

図6は、上述した構図ガイド機能[1]の処理の手順を示すフローチャートである。   FIG. 6 is a flowchart showing a processing procedure of the composition guide function [1] described above.

まず、レリーズボタン26の半押しの有無を判定する(ステップS10)。レリーズボタン26が半押しされたと判定すると、構図ガイド[1]の処理を実行する。   First, it is determined whether or not the release button 26 is half-pressed (step S10). If it is determined that the release button 26 is half-pressed, the composition guide [1] processing is executed.

まず、CCD124から得た画像に基づき顔検出部154で人物の顔位置の検出が行なわれる(ステップS11)。   First, based on the image obtained from the CCD 124, the face detection unit 154 detects the face position of the person (step S11).

CPU110は、顔検出部154の検出結果に基づき撮影する画像中に人物の顔があるか判定する(ステップS12)。この判定の結果、撮影する画像中に人物の顔がないと判定すると、構図ガイド[1]の処理を終了する。   The CPU 110 determines whether there is a human face in the image to be shot based on the detection result of the face detection unit 154 (step S12). If it is determined that there is no person's face in the image to be photographed, the composition guide [1] process is terminated.

一方、撮影する画像の中に人物の顔が検出されると、その人物の顔の位置が、あらかじめ設定された顔配置領域に属しているか否か判定する(ステップS13)。この判定の結果、検出された顔の位置が、顔配置領域に属していると判定すると、構図ガイド[1]処理を終了する。   On the other hand, when a person's face is detected in the image to be photographed, it is determined whether or not the position of the person's face belongs to a preset face arrangement area (step S13). If it is determined that the detected face position belongs to the face arrangement area, the composition guide [1] process is terminated.

一方、検出された顔の位置が、顔配置領域に属していないと判定すると、音声ガイドの処理を実行する。   On the other hand, if it is determined that the detected face position does not belong to the face placement area, voice guidance processing is executed.

図7は、構図ガイド[1]における音声ガイドの処理の手順を示すフローチャートである。   FIG. 7 is a flowchart showing a procedure of voice guide processing in the composition guide [1].

まず、検出した顔位置からもっとも近い顔配置領域を求め、その位置に配置させるための修正方向を算出する(ステップS20)。そして、この算出の結果から左右方向の修正の有無を判定する(ステップS21)。   First, a face placement area closest to the detected face position is obtained, and a correction direction for placement at that position is calculated (step S20). And the presence or absence of the correction of the left-right direction is determined from the result of this calculation (step S21).

左右方向の修正がなければ、ステップ28に進み、左右方向の修正があれば、その修正方向が、左方向か否かを判定する(ステップS22)。修正方向が左方向であれば、「カメラを左に向けて下さい」という音声ガイドを出力し(ステップS23)、修正方向が左方向でなければ、「カメラを右に向けて下さい」という音声ガイドを出力する(ステップS24)。撮影者は、この音声ガイドに従ってカメラの向きを修正する。   If there is no correction in the left-right direction, the process proceeds to step 28, and if there is a correction in the left-right direction, it is determined whether or not the correction direction is the left direction (step S22). If the correction direction is the left direction, a voice guide “Please turn the camera to the left” is output (step S23). If the correction direction is not the left direction, the voice guide “Turn the camera to the right”. Is output (step S24). The photographer corrects the direction of the camera according to the voice guide.

この修正により画像中の被写体の左右方向の顔の位置が変化するので、CPU110は、変化した顔の位置から左右方向のズレが修正されたか否か判定し(ステップS25)、修正されたと判定すると、ユーザによるカメラの向きの修正を止めさせるべく「止めて下さい」という音声ガイドを出力する(ステップS26)。これにより、被写体の顔の位置の左右方向のズレが修正される。   Since the correction changes the left and right face position of the subject in the image, the CPU 110 determines whether or not the left and right direction deviation has been corrected from the changed face position (step S25). Then, a voice guide “Please stop” is output to stop the correction of the camera orientation by the user (step S26). As a result, the horizontal deviation of the position of the subject's face is corrected.

次に、上下方向の修正の有無を判定し(ステップS27)、上下方向の修正がなければ、ステップ33に進み、「撮影して下さい」という音声ガイドを出力する(ステップS33)。   Next, it is determined whether or not there is correction in the vertical direction (step S27). If there is no correction in the vertical direction, the process proceeds to step 33 to output a voice guide “Please shoot” (step S33).

一方、上下方向の修正があれば、その修正方向が上方向か否かを判定する(ステップS28)。修正方向が上方向であれば、「カメラを上に向けて下さい」という音声ガイドを出力し(ステップS29)、修正方向が上方向でなければ、「カメラを下に向けて下さい」という音声ガイドを出力する(ステップS30)。撮影者は、この音声ガイドに従ってカメラの向きを修正する。   On the other hand, if there is correction in the vertical direction, it is determined whether or not the correction direction is upward (step S28). If the correction direction is upward, a voice guide “Please turn the camera upward” is output (step S29). If the correction direction is not upward, the voice guide “Please turn the camera downward”. Is output (step S30). The photographer corrects the direction of the camera according to the voice guide.

この修正により画像中における被写体の上下方向の顔の位置が変化するので、CPU110は、変化した顔の位置から上下方向のズレが修正されたか否か判定し(ステップS31)、修正されたと判定すると、ユーザによるカメラの向きの修正を止めさせるべく「止めて下さい」という音声ガイドを出力する(ステップS32)。これにより、被写体の顔の位置の左右方向のズレが修正される。   Since the correction changes the vertical face position of the subject in the image, the CPU 110 determines whether or not the vertical shift has been corrected from the changed face position (step S31). Then, a voice guide “Please stop” is output to stop the correction of the camera orientation by the user (step S32). As a result, the horizontal deviation of the position of the subject's face is corrected.

以上一連の修正処理により、画像中における被写体の顔の位置が、あらかじめ設定された顔配置領域に位置するので、CPU110は、「撮影して下さい」という音声ガイドを出力して(ステップS33)。音声ガイドの処理を終了する。   As a result of the series of correction processes described above, the position of the subject's face in the image is located in a preset face placement area, so the CPU 110 outputs a voice guide “Please shoot” (step S33). The voice guidance process ends.

このように、構図ガイド機能[1]を利用して撮影することにより、被写体となる人物の顔の位置を画面の黄金分割比の位置に配置させて撮影することができ、誰でもが簡単に人物撮影として好ましい構図の撮影を行なうことができるようになる。   Thus, by taking a picture using the composition guide function [1], it is possible to shoot with the face position of the person who is the subject placed at the position of the golden division ratio on the screen, and anyone can easily take pictures. This makes it possible to shoot a composition that is preferable for portrait photography.

なお、上記の実施の形態では、図4に示す領域S1〜S4(画面を黄金比で分割したときにおける、各分割線L1〜L4の交点P1〜P4を中心とする半径rの領域)に被写体となる人の顔が位置するようにガイドしているが、人物の顔を配置する位置として設定する位置は、これに限定されるものではない。   In the above embodiment, the subject is in the areas S1 to S4 shown in FIG. 4 (area of radius r centering on the intersections P1 to P4 of the dividing lines L1 to L4 when the screen is divided by the golden ratio). However, the position set as the position where the person's face is arranged is not limited to this.

たとえば、画面を左右1.618033989:1と1:1.618033989の比率(黄金比)で分割し、その分割線(図4において、L1とL2)上に被写体の顔が位置するようにガイドするようにしてもよいし、また、画面を上下1.618033989:1と1:1.618033989の比率(黄金比)で分割し、その分割線(図4において、L3とL4)上に被写体の顔が位置するようにガイドするようにしてもよい。また、上記実施の形態の図4における顔配置領域S1又はS2に被写体の顔が位置するようにガイドするようにしてもよい。さらに、被写体の顔を配置する位置をユーザが任意に設定できるようにしてもよい。   For example, the screen is divided by the ratio of 1.618033989: 1 and 1: 1.618033989 (golden ratio) and guided so that the face of the subject is positioned on the dividing line (L1 and L2 in FIG. 4). Alternatively, the screen may be divided by a ratio (golden ratio) of 1.618033989: 1 and 1: 1.618033989 up and down, and the subject's face on the dividing line (L3 and L4 in FIG. 4). You may make it guide so that may be located. Further, the guide may be guided so that the face of the subject is positioned in the face placement area S1 or S2 in FIG. 4 of the above embodiment. Further, the user may arbitrarily set the position where the subject's face is arranged.

また、画像中に占める被写体の顔の大きさの比率を検出し、一定の比率以下の大きさで撮影されている場合についてのみ、構図ガイドの処理を実行するようにしてもよい。すなわち、アップで撮影した場合、かえって不自然な構図になるおそれがあるので、一定の比率以下で人物の顔が撮影される場合(たとえば、バストアップ撮影時における人物の顔の大きさよりも小さく撮影される場合)にのみ、構図ガイドの処理を実行することが好ましい。   Further, the composition guide processing may be executed only when the ratio of the size of the face of the subject in the image is detected and the image is photographed with a size equal to or smaller than a certain ratio. In other words, when shooting up, there is a risk of unnatural composition, so when a person's face is shot at a certain ratio or less (for example, shooting smaller than the size of the person's face during bust-up shooting) It is preferable to execute the composition guide processing only when it is performed.

また、画像中に占める被写体の顔の大きさの比率に応じて、顔配置領域を変更するようにしてもよい。たとえば、バストアップ撮影の時の人物の顔の大きさよりも大きく被写体の顔が撮影される場合は、画面中央に顔配置領域を設定し、バストアップ撮影の時の人物の顔の大きさよりも小さく被写体の顔が撮影される場合は、図4における領域S1〜S4を顔配置領域に設定する。   Further, the face arrangement area may be changed in accordance with the ratio of the size of the face of the subject in the image. For example, if the subject's face is shot larger than the size of the person's face during bust-up shooting, a face placement area is set in the center of the screen and is smaller than the size of the person's face during bust-up shooting. When the face of the subject is photographed, the areas S1 to S4 in FIG. 4 are set as face arrangement areas.

また、上記実施の形態では、音声によって構図の修正方向のガイドを行なっているが、修正方向のガイドの方法は、これに限定されるものではない。たとえば、モニタ32をビューファインダとして使用している場合には、図8に示すように、修正方向を示すマーク(ここでは、「▲」マーク)をスルー画像に重ねて表示するようにしてもよい。なお、図8に示す例では、カメラの向きを左方向及び下方向(斜め下方向)に修正すべきことを示している。   In the above embodiment, the composition correction direction is guided by voice, but the correction direction guide method is not limited to this. For example, when the monitor 32 is used as a viewfinder, as shown in FIG. 8, a mark indicating the correction direction (here, “▲” mark) may be displayed over the through image. . Note that the example shown in FIG. 8 indicates that the camera orientation should be corrected to the left and downward (diagonally downward).

次に、人物撮影として好ましくない構図となるのを防止する構図ガイド機能[2]について説明する。   Next, the composition guide function [2] for preventing an unfavorable composition for human photographing will be described.

構図ガイド機能[2]がONにされている場合、レリーズボタン26が半押しされると、CPU110は構図ガイド[2]の処理を実行する。   When the composition guide function [2] is ON, when the release button 26 is half-pressed, the CPU 110 executes the process of the composition guide [2].

この場合、画像信号処理部134で生成された輝度/色差信号が、顔検出部154と線分検出部162に加えられる。線分検出部162は、入力された輝度/色差信号から、画像内の水平・垂直の線分を抽出し、その位置を検出する。   In this case, the luminance / color difference signal generated by the image signal processing unit 134 is added to the face detection unit 154 and the line segment detection unit 162. The line segment detection unit 162 extracts horizontal and vertical line segments in the image from the input luminance / color difference signal, and detects the position thereof.

垂直・水平の線分の抽出方法としては、たとえば、入力された画像に対してフィルタ処理を施すことにより輪郭を抽出し、抽出された輪郭からほぼ水平、垂直の線分を抽出する。   As a method for extracting vertical and horizontal line segments, for example, an input image is subjected to filter processing to extract a contour, and approximately horizontal and vertical line segments are extracted from the extracted contour.

顔検出部154で検出された顔の位置データと、線分検出部162で検出された垂直・水平の線分の位置データは、CPU110に出力される。   The position data of the face detected by the face detection unit 154 and the position data of the vertical and horizontal line segments detected by the line segment detection unit 162 are output to the CPU 110.

CPU110は、入力された顔の位置データと、線分の位置データとに基づいて、水平の線分が顔の下、すなわち、首に相当する部分を横切っているか否か判定する。また、垂直の線分が、顔を通過しているか否か判定する。   The CPU 110 determines whether or not the horizontal line segment crosses under the face, that is, the part corresponding to the neck, based on the input face position data and line segment position data. Further, it is determined whether or not a vertical line segment passes through the face.

すなわち、撮影しようとしているが画像が、図9(a)に示すように、水平線分が首を横切る、いわゆる「首切りショット」か否か、図10(a)に示すように、垂直線分が頭を通過する、いわゆる「串刺しショット」か否かを判定する。   That is, whether or not an image is a so-called “neck shot” in which the horizontal line crosses the neck as shown in FIG. 9A, or the vertical line as shown in FIG. It is determined whether it is a so-called “skewer shot” that passes through the head.

この結果、「首切りショット」又は「串刺しショット」と判定すると、「構図を変えて下さい」という音声ガイドを出力させる。   As a result, if it is determined that the heading shot or the skewering shot, a voice guide “Please change the composition” is output.

図11は、この構図ガイド機能[2]の処理の手順を示すフローチャートである。   FIG. 11 is a flowchart showing a processing procedure of the composition guide function [2].

まず、レリーズボタン26の半押しの有無を判定する(ステップS40)。レリーズボタン26が半押しされたと判定すると、構図ガイド[2]の処理を実行する。   First, it is determined whether or not the release button 26 is half-pressed (step S40). If it is determined that the release button 26 is half-pressed, the composition guide [2] processing is executed.

まず、CCD124から得た画像に基づき顔検出部154で人物の顔位置の検出が行なわれるとともに、水平・垂直の線分の検出が行なわれる(ステップS41)。   First, the face detection unit 154 detects the face position of a person based on the image obtained from the CCD 124, and also detects horizontal and vertical line segments (step S41).

CPU110は、顔検出部154の検出結果に基づき撮影する画像中に人物の顔があるか判定する(ステップS42)。この判定の結果、撮影する画像中に人物の顔がないと判定すると、構図ガイド[2]の処理を終了する。   The CPU 110 determines whether there is a human face in the image to be shot based on the detection result of the face detection unit 154 (step S42). If the result of this determination is that there is no person's face in the image to be shot, the composition guide [2] processing is terminated.

一方、撮影する画像の中に人物の顔が検出されると、検出された人物の顔の位置と、水平・垂直の線分の位置とに基づいて、構図が、いわゆる「首切りショット」又は「串刺しショット」になっているか否かを判定する(ステップS43)。この判定の結果、現在の構図が「首切りショット」又は「串刺しショット」になっていないと判定すると、構図ガイド[2]の処理を終了する。   On the other hand, when a person's face is detected in the image to be photographed, the composition is based on the position of the detected person's face and the position of the horizontal / vertical line segment, so-called “neck shot” or “ It is determined whether or not a “skewered shot” is set (step S43). As a result of this determination, if it is determined that the current composition is not “neck shot” or “skewer shot”, the composition guide [2] processing is terminated.

一方、現在の構図が「首切りショット」又は「串刺しショット」になっていると判定すると、音声ガイドの処理を実行する(ステップS44)。すなわち、構図変更を促すべく、「構図を変えて下さい」という音声ガイドをスピーカから出力させる。   On the other hand, if it is determined that the current composition is a “neck cut shot” or a “skewer shot”, a voice guidance process is executed (step S44). That is, in order to prompt the composition change, a voice guide “Please change the composition” is output from the speaker.

撮影者は、この音声ガイドに従って構図を変更し、「首切りショット」や「串刺しショット」にならないように構図を調整する(図9(b)、図10(b)参照)。   The photographer changes the composition according to this voice guide and adjusts the composition so that it does not become a “neck cut shot” or a “skewer shot” (see FIGS. 9B and 10B).

このように、構図ガイド機能[2]を利用して撮影することにより、人物撮影として好ましくない構図となるのを未然に防いで撮影を行なうことができる。   Thus, by taking a picture using the composition guide function [2], it is possible to take a picture while preventing an unfavorable composition as a person picture.

なお、上記の実施の形態では、スピーカ36から出力する音声によって構図の変更を促すようにしているが、モニタ32に構図変更を促すメッセージを表示するようにしてもよい。また、ビープ音やLEDの発光によって警告を促すようにしてもよい。   In the above embodiment, the composition change is prompted by the sound output from the speaker 36, but a message prompting the composition change may be displayed on the monitor 32. Further, a warning may be urged by a beep sound or LED light emission.

また、「首切りショット」又は「串刺しショット」になっている場合は、撮影不能にするようにしてもよい。   In addition, in the case of “neck cut shot” or “skewer shot”, the shooting may be disabled.

以上説明したように、本実施の形態のデジタルカメラ10では、構図ガイド機能[1]を利用して撮影することにより、人物撮影として好ましい位置に被写体の顔を配置させて撮影することができ、また、構図ガイド機能[2]を利用して撮影することにより、人物撮影として好ましくない構図となるのを防止して撮影することができる。   As described above, in the digital camera 10 according to the present embodiment, by using the composition guide function [1], it is possible to shoot by placing the subject's face at a preferred position for human photography, Further, by taking a picture using the composition guide function [2], it is possible to take a picture while preventing an unfavorable composition as a person picture.

なお、構図ガイド機能[1]と構図ガイド機能[2]は、同時に実行させることができる。この場合、構図ガイド機能[1]によって、人物撮影として好ましい位置に被写体の顔を配置させた場合であっても、いわゆる「首切りショット」又は「串刺しショット」になっている場合は、構図ガイド機能[2]により、警告が発せられることになる。   The composition guide function [1] and the composition guide function [2] can be executed simultaneously. In this case, even if the subject's face is arranged at a position suitable for photographing a person by the composition guide function [1], if it is a so-called “neck shot” or “skewer shot”, the composition guide function Due to [2], a warning is issued.

また、上記実施の形態では、メニュー画面にて構図ガイド機能[1]、[2]のON/OFFを設定するようにしているが、たとえば、人物撮影モードに設定すると、自動的に構図ガイド機能[1]、[2]が実行されるようにしてもよい。また、専用のスイッチにてON/OFFを切り替えるようにしてもよい。   In the above embodiment, the composition guide functions [1] and [2] are set to ON / OFF on the menu screen. For example, when the person photographing mode is set, the composition guide function is automatically set. [1] and [2] may be executed. Further, ON / OFF may be switched by a dedicated switch.

次に、本実施の形態のデジタルカメラ10が備える他の撮影機能について説明する。   Next, other photographing functions provided in the digital camera 10 of the present embodiment will be described.

本実施の形態のデジタルカメラ10は、被写体となる人物の顔が、画像中の所定位置に位置すると、自動で撮影が実行される、自動撮影機能を備えている。すなわち、たとえば、図4に示した顔は位置領域S1〜S4を撮影実行領域として設定したとすると、その撮影実行領域S1〜S4のいずれかの領域に人物の顔が位置すると、自動的にシャッタが切れ、撮影が実行される。   The digital camera 10 according to the present embodiment has an automatic photographing function that automatically performs photographing when the face of a person serving as a subject is located at a predetermined position in an image. That is, for example, assuming that the position area S1 to S4 is set as the shooting execution area for the face shown in FIG. 4, when a person's face is located in any of the shooting execution areas S1 to S4, the shutter is automatically released. Is cut off and shooting is performed.

この自動撮影の機能は、たとえば、撮影メニューによってON/OFFが設定される。また、自動撮影を行なうに際して、デジタルカメラ10は三脚等に取り付けて、任意の場所に固定して設置する。   This automatic shooting function is set to ON / OFF by a shooting menu, for example. Further, when performing automatic photographing, the digital camera 10 is attached to a tripod or the like and fixed at an arbitrary place.

図12は、自動撮影機能の処理の手順を示すフローチャートである。   FIG. 12 is a flowchart showing the processing procedure of the automatic photographing function.

まず、CCD124から得た画像に基づき顔検出部154で人物の顔位置の検出が行なわれる(ステップS50)。   First, based on the image obtained from the CCD 124, the face detection unit 154 detects the face position of the person (step S50).

CPU110は、顔検出部154の検出結果に基づき撮影する画像中に人物の顔があるか判定する(ステップS51)。この判定の結果、撮影する画像中に人物の顔がないと判定すると、ステップ54に進み、自動撮影機能の終了指示の有無を判定する( ステップS54)。   The CPU 110 determines whether there is a human face in the image to be shot based on the detection result of the face detection unit 154 (step S51). If it is determined that there is no person's face in the image to be photographed, the process proceeds to step 54 to determine whether or not there is an instruction to end the automatic photographing function (step S54).

一方、撮影する画像の中に人物の顔が検出されると、その人物の顔の位置が、あらかじめ設定された顔配置領域に属しているか否か判定する(ステップS52)。この判定の結果、検出された顔の位置(重心座標P)が、図13( a) に示すように、撮影実行領域S1〜S4に属していないと判定すると、ステップ54に進み、自動撮影機能の終了指示の有無を判定する( ステップS54)。   On the other hand, when a person's face is detected in the image to be photographed, it is determined whether or not the position of the person's face belongs to a preset face arrangement area (step S52). As a result of this determination, if it is determined that the detected face position (centroid coordinate P) does not belong to the shooting execution areas S1 to S4, as shown in FIG. It is determined whether or not there is an end instruction (step S54).

一方、検出された顔の位置が、図13( b) に示すように、撮影実行領域S1〜S4のいずれかに属していると判定すると、撮影を実行し、撮影した画像を記憶メディア152に記録する( ステップS53)。   On the other hand, if it is determined that the detected face position belongs to one of the shooting execution areas S1 to S4 as shown in FIG. 13B, shooting is performed and the shot image is stored in the storage medium 152. Recording is performed (step S53).

この後、自動撮影機能の終了指示の有無を判定し( ステップS54)、終了指示がないと判定すると、ステップ50に戻り、再度、人物の顔位置の検出が行なわれる。一方、終了指示アリと判定すると、自動撮影機能を終了する。   Thereafter, it is determined whether or not there is an instruction to end the automatic photographing function (step S54). If it is determined that there is no instruction to end, the process returns to step 50, and the face position of the person is detected again. On the other hand, if it is determined that the end instruction ant, the automatic photographing function is ended.

このように、自動撮影機能を実行すると、人物撮影として好ましい構図の画像を自動で撮影することができる。   As described above, when the automatic photographing function is executed, it is possible to automatically photograph an image having a composition preferable for photographing a person.

なお、上記の実施の形態では、撮影実行領域として、図4に示す領域S1〜S4(画面を黄金比で分割した、各分割線L1〜L4の交点P1〜P4を中心とする半径rの領域)を設定し、この領域に被写体の顔が位置したときに、撮影を実行するようにしているが、撮影を実行する領域は、これに限定されるものではない。   In the above embodiment, the areas S1 to S4 shown in FIG. 4 (areas with a radius r centered on the intersections P1 to P4 of the dividing lines L1 to L4, which are obtained by dividing the screen by the golden ratio), are used as the imaging execution areas. ) Is set, and shooting is executed when the subject's face is located in this area. However, the area for executing shooting is not limited to this.

たとえば、画面を左右1.618033989:1と1:1.618033989の比率(黄金比)で分割し、その分割線(図4において、L1とL2)上に被写体の顔が位置したときに、撮影を実行するようにしてもよいし、また、画面を上下1.618033989:1と1:1.618033989の比率(黄金比)で分割し、その分割線(図4において、L3とL4)上に被写体の顔が位置したときに、撮影を実行するようにしてもよい。また、図4における領域S1又はS2に被写体の顔が位置したときに、撮影を実行するようにしてもよい。   For example, when the screen is divided at a ratio of 1.618033989: 1 and 1: 1.618033989 (golden ratio) and the face of the subject is positioned on the dividing line (L1 and L2 in FIG. 4), the image is taken. In addition, the screen may be divided by a ratio (golden ratio) of 1.618033989: 1 and 1: 1.618033989 on the top and bottom, and on the dividing line (L3 and L4 in FIG. 4). Shooting may be performed when the face of the subject is positioned. Further, photographing may be executed when the face of the subject is located in the region S1 or S2 in FIG.

また、画像中に占める被写体の顔の大きさの比率を検出し、その比率に応じて撮影実行領域を変更するようにしてもよい。   Further, the ratio of the size of the face of the subject in the image may be detected, and the shooting execution area may be changed according to the ratio.

また、上述した一連の実施の形態では、本発明を静止画の撮影に適用した場合を例に説明したが、動画を撮影する場合にも同様の適用することができる。   In the series of embodiments described above, the case where the present invention is applied to still image shooting has been described as an example. However, the same application can be applied to shooting a moving image.

また、上述した一連の実施の形態では、本発明をデジタルカメラに適用した場合を例に説明したが、本発明の適用はデジタルカメラに限らず、デジタルビデオカメラやカメラ付き携帯電話機やカメラ付きPDA、カメラ付きパーソナルコンピュータ等の撮影機能を備えた電子機器(撮影装置)全般に適用することができる。   In the series of embodiments described above, the case where the present invention is applied to a digital camera has been described as an example. However, the application of the present invention is not limited to a digital camera, but a digital video camera, a mobile phone with a camera, or a PDA with a camera. The present invention can be applied to all electronic devices (photographing apparatuses) having a photographing function such as a personal computer with a camera.

本発明が適用されたデジタルカメラの正面斜視図Front perspective view of a digital camera to which the present invention is applied 本発明が適用されたデジタルカメラの背面図Rear view of a digital camera to which the present invention is applied デジタルカメラ内部の概略構成を示すブロック図Block diagram showing schematic configuration inside digital camera 顔配置領域の設定例を示す図The figure which shows the example of a setting of a face arrangement area 構図ガイド機能[1]の概念図Conceptual diagram of composition guide function [1] 構図ガイド機能[1]の処理の手順を示すフローチャートThe flowchart which shows the procedure of a process of composition guide function [1] 音声ガイドの処理の手順を示すフローチャートFlow chart showing the procedure of voice guidance processing ガイド方法の他の例を示す図Diagram showing another example of the guide method 構図ガイド機能[2]の概念図Conceptual diagram of composition guide function [2] 構図ガイド機能[2]の概念図Conceptual diagram of composition guide function [2] 構図ガイド機能[2]の処理の手順を示すフローチャートThe flowchart which shows the procedure of a process of composition guide function [2] 自動撮影機能の処理の手順を示すフローチャートFlow chart showing processing procedure of automatic shooting function 自動撮影機能の概念図Conceptual diagram of automatic shooting function

符号の説明Explanation of symbols

10…デジタルカメラ、12…カメラボディ、14…レンズ、16…ストロボ、18…ファインダ窓、20…セルフタイマランプ、22…AF補助光ランプ、24…ストロボ調光センサ、26…シャッターボタン、28…電源/モードスイッチ、30…モードダイヤル、32…モニタ、34…ファインダ接眼部、36…スピーカ、38…ズームボタン、40…十字ボタン、42…MENU/OKボタン、44…DISPボタン、46…BACKボタン、110…CPU、112…操作部、114…バス、116…ROM、118…EEPROM、120…メモリ(SDRAM)、122…VRAM、124…固体撮像素子(CCD)、126…タイミングジェネレータ(TG)、128…アナログ処理部(CDS/AMP)、130…A/D変換器、132…画像入力制御部、134…画像信号処理部、136…ビデオエンコーダ、138…文字MIX部、140…AF検出部、142…AE/AWB検出部、144…絞り駆動部、146…レンズ駆動部、148…圧縮伸張処理部、150…メディア制御部、152…記憶メディア、154…顔検出部、156…音声信号処理部、158…D/A変換器、160…アンプ、162…線分検出部   DESCRIPTION OF SYMBOLS 10 ... Digital camera, 12 ... Camera body, 14 ... Lens, 16 ... Strobe, 18 ... Viewfinder window, 20 ... Self-timer lamp, 22 ... AF auxiliary light lamp, 24 ... Strobe light control sensor, 26 ... Shutter button, 28 ... Power / mode switch, 30 ... mode dial, 32 ... monitor, 34 ... finder eyepiece, 36 ... speaker, 38 ... zoom button, 40 ... cross button, 42 ... MENU / OK button, 44 ... DISP button, 46 ... BACK 110, CPU, 112, operation unit, 114, bus, 116, ROM, 118, EEPROM, 120, memory (SDRAM), 122, VRAM, 124, solid-state imaging device (CCD), 126, timing generator (TG) 128 ... Analog processing unit (CDS / AMP), 130 ... A / D 132: Image input control unit, 134 ... Image signal processing unit, 136 ... Video encoder, 138 ... Character MIX unit, 140 ... AF detection unit, 142 ... AE / AWB detection unit, 144 ... Aperture drive unit, 146 ... Lens drive unit, 148 ... compression / decompression processing unit, 150 ... media control unit, 152 ... storage medium, 154 ... face detection unit, 156 ... audio signal processing unit, 158 ... D / A converter, 160 ... amplifier, 162 ... line Minute detector

Claims (4)

画像の記録指示に応じて撮像手段から得られる画像を記憶メディアに記録する撮影装置において、
前記撮像手段から得られる画像の中から人物の顔の位置を検出する顔検出手段と、
前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率を検出する手段と、
前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率が一定比率以下の場合に、前記顔検出手段で検出された人物の顔の位置が、画像内の所定位置に位置するようにガイドするガイド手段と、
を備えたことを特徴とする撮影装置。
In a photographing apparatus for recording an image obtained from an imaging unit in response to an image recording instruction on a storage medium,
Face detection means for detecting the position of a person's face from the image obtained from the imaging means;
Means for detecting a ratio of the size of a person's face in the image obtained from the imaging means;
The position of the face of the person detected by the face detection means is located at a predetermined position in the image when the ratio of the size of the person's face in the image obtained from the imaging means is equal to or less than a certain ratio Guiding means for guiding, and
An imaging apparatus comprising:
画像の記録指示に応じて撮像手段から得られる画像を記憶メディアに記録する撮影装置において、
前記撮像手段から得られる画像の中から人物の顔の位置を検出する顔検出手段と、
前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率を検出する手段と、
前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率に応じて画像内に顔配置領域を設定する手段と、
前記顔検出手段で検出された人物の顔の位置が、前記顔配置領域内に位置するようにガイドするガイド手段と、
を備えたことを特徴とする撮影装置。
In a photographing apparatus for recording an image obtained from an imaging unit in response to an image recording instruction on a storage medium,
Face detection means for detecting the position of a person's face from the image obtained from the imaging means;
Means for detecting a ratio of the size of a person's face in the image obtained from the imaging means;
Means for setting a face placement area in the image according to a ratio of the size of the face of the person in the image obtained from the imaging means;
Guide means for guiding the face position of the person detected by the face detection means to be located within the face arrangement area ;
An imaging apparatus comprising:
前記撮像手段から得られる画像の中から水平又は垂直の線分を検出する線分検出手段と、
前記顔検出手段で検出された人物の顔が、前記線分検出手段で検出された水平又は垂直の線分と重なると警告する警告手段と、
を備えたことを特徴とする請求項1又は2に記載の撮影装置。
Line segment detection means for detecting a horizontal or vertical line segment from the image obtained from the imaging means;
Warning means for warning that the face of the person detected by the face detection means overlaps a horizontal or vertical line segment detected by the line segment detection means;
The imaging apparatus according to claim 1, further comprising:
画像の記録指示に応じて撮像手段から得られる画像を記憶メディアに記録する撮影装置において、
前記撮像手段から得られる画像の中から人物の顔の位置を検出する顔検出手段と、
前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率を検出する手段と、
前記撮像手段から得られる画像の中に占める人物の顔の大きさの比率に応じて画像内に撮影実行領域を設定する手段と、
前記顔検出手段で検出された人物の顔の位置が、前記撮影実行領域に属すると、前記記録指示を出力する記録指示手段と、
を備えたことを特徴とする撮影装置。
In a photographing apparatus for recording an image obtained from an imaging unit in response to an image recording instruction on a storage medium,
Face detection means for detecting the position of a person's face from the image obtained from the imaging means;
Means for detecting a ratio of the size of a person's face in the image obtained from the imaging means;
Means for setting a shooting execution area in the image according to a ratio of the size of a person's face in the image obtained from the imaging means;
Recording instruction means for outputting the recording instruction when the position of the face of the person detected by the face detection means belongs to the shooting execution area ;
An imaging apparatus comprising:
JP2004083062A 2004-03-22 2004-03-22 Imaging device Expired - Lifetime JP4135100B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004083062A JP4135100B2 (en) 2004-03-22 2004-03-22 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004083062A JP4135100B2 (en) 2004-03-22 2004-03-22 Imaging device

Publications (2)

Publication Number Publication Date
JP2005269562A JP2005269562A (en) 2005-09-29
JP4135100B2 true JP4135100B2 (en) 2008-08-20

Family

ID=35093572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004083062A Expired - Lifetime JP4135100B2 (en) 2004-03-22 2004-03-22 Imaging device

Country Status (1)

Country Link
JP (1) JP4135100B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905721A (en) * 2012-12-25 2014-07-02 卡西欧计算机株式会社 Imaging device, imaging control method and storage medium

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4572815B2 (en) 2005-11-18 2010-11-04 富士フイルム株式会社 Imaging apparatus and imaging method
JP2009521134A (en) * 2005-12-22 2009-05-28 オリンパス株式会社 Scene recognition photographing system and scene recognition photographing method
JP4427515B2 (en) 2006-01-27 2010-03-10 富士フイルム株式会社 Target image detection display control apparatus and control method thereof
JP4864502B2 (en) * 2006-03-23 2012-02-01 富士フイルム株式会社 Imaging apparatus and imaging condition guide method
JP4665933B2 (en) * 2006-07-04 2011-04-06 セイコーエプソン株式会社 Document editing support apparatus, program, and storage medium
JP2008022333A (en) * 2006-07-13 2008-01-31 Fujifilm Corp Imaging device and imaging method
JP4984773B2 (en) * 2006-09-14 2012-07-25 セイコーエプソン株式会社 Document editing apparatus and program
JP2008160280A (en) * 2006-12-21 2008-07-10 Sanyo Electric Co Ltd Imaging apparatus and automatic imaging method
JP2008186332A (en) * 2007-01-31 2008-08-14 Seiko Epson Corp Layout evaluation device, program and storage medium
JP2008191746A (en) * 2007-02-01 2008-08-21 Seiko Epson Corp Animation creation device, program and storage medium
JP4902562B2 (en) * 2007-02-07 2012-03-21 パナソニック株式会社 Imaging apparatus, image processing apparatus, control method, and program
JP4442616B2 (en) 2007-02-14 2010-03-31 セイコーエプソン株式会社 Document editing apparatus, program, and storage medium
JP2008204179A (en) * 2007-02-20 2008-09-04 Seiko Epson Corp Document evaluation device, program and storage medium
US7995106B2 (en) 2007-03-05 2011-08-09 Fujifilm Corporation Imaging apparatus with human extraction and voice analysis and control method thereof
JP2008219451A (en) * 2007-03-05 2008-09-18 Fujifilm Corp Imaging device and control method thereof
KR101387490B1 (en) * 2007-07-27 2014-04-21 엘지전자 주식회사 Mobile terminal and Method for photographing an image in thereof
JP4869270B2 (en) * 2008-03-10 2012-02-08 三洋電機株式会社 Imaging apparatus and image reproduction apparatus
JP5040760B2 (en) * 2008-03-24 2012-10-03 ソニー株式会社 Image processing apparatus, imaging apparatus, display control method, and program
JP5157647B2 (en) * 2008-05-30 2013-03-06 株式会社ニコン camera
KR101539043B1 (en) * 2008-10-31 2015-07-24 삼성전자주식회사 Image photography apparatus and method for proposing composition based person
JP2010136071A (en) * 2008-12-04 2010-06-17 Olympus Corp Image processor and electronic apparatus
JP5434104B2 (en) * 2009-01-30 2014-03-05 株式会社ニコン Electronic camera
JP5525757B2 (en) * 2009-05-18 2014-06-18 オリンパス株式会社 Image processing apparatus, electronic device, and program
JP2010278624A (en) * 2009-05-27 2010-12-09 Sony Corp Photographing device, photographing method, and program
JP5397059B2 (en) 2009-07-17 2014-01-22 ソニー株式会社 Image processing apparatus and method, program, and recording medium
KR101615290B1 (en) * 2009-08-26 2016-04-26 삼성전자주식회사 Method And System For Photographing
US8803992B2 (en) * 2010-05-12 2014-08-12 Fuji Xerox Co., Ltd. Augmented reality navigation for repeat photography and difference extraction
US9536132B2 (en) * 2011-06-24 2017-01-03 Apple Inc. Facilitating image capture and image review by visually impaired users
KR101431651B1 (en) 2013-05-14 2014-08-22 중앙대학교 산학협력단 Apparatus and method for mobile photo shooting for a blind person
KR101430924B1 (en) 2013-05-14 2014-08-18 주식회사 아빅스코리아 Method for obtaining image in mobile terminal and mobile terminal using the same
CN104869299B (en) * 2014-02-26 2019-12-24 联想(北京)有限公司 Prompting method and device
CN105120144A (en) * 2015-07-31 2015-12-02 小米科技有限责任公司 Image shooting method and device
CN108965714A (en) * 2018-08-01 2018-12-07 上海小蚁科技有限公司 Image-pickup method, device and computer storage media

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905721A (en) * 2012-12-25 2014-07-02 卡西欧计算机株式会社 Imaging device, imaging control method and storage medium

Also Published As

Publication number Publication date
JP2005269562A (en) 2005-09-29

Similar Documents

Publication Publication Date Title
JP4135100B2 (en) Imaging device
JP4904108B2 (en) Imaging apparatus and image display control method
JP4761146B2 (en) Imaging apparatus and program thereof
US8155432B2 (en) Photographing apparatus
JP4787180B2 (en) Imaging apparatus and imaging method
JP4730667B2 (en) Automatic regeneration method and apparatus
JP4730553B2 (en) Imaging apparatus and exposure control method
JP2009065577A (en) Imaging apparatus and method
JP2005128437A (en) Photographing device
JP2007324877A (en) Imaging device
JP2008219428A (en) Imaging apparatus
JP2008236645A (en) Photographing device
JP2008028728A (en) Digital camera
US20040179131A1 (en) Image capturing apparatus and exposure setting method thereof
JP2005175684A (en) Digital camera, and image acquisition method for digital camera
JP2009058834A (en) Imaging apparatus
JP2003209727A (en) Digital camera
JP2006145629A (en) Imaging apparatus
JP2005229326A (en) Camera apparatus and through-image display method
JP2010239277A (en) Imaging device and imaging method
JP2010141609A (en) Imaging apparatus
JP2012019341A (en) Imaging device, and method and program for controlling the same
JP2008298847A (en) Photographing method and digital camera
JP2008015351A (en) Imaging apparatus
JP2009033386A (en) Photographing device and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060522

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080328

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080508

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080521

R150 Certificate of patent or registration of utility model

Ref document number: 4135100

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250