JP4135100B2 - Imaging device - Google Patents
Imaging device Download PDFInfo
- 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
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,
また、特許文献5には、撮像素子から得られる画像から被写体の目を検出し、目に焦点が合うように、自動でピント合わせすることが提案されている。
しかしながら、特許文献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
また、特許文献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.
請求項3に係る発明は、前記目的を達成するために、前記撮像手段から得られる画像の中から水平又は垂直の線分を検出する線分検出手段と、前記顔検出手段で検出された人物の顔が、前記線分検出手段で検出された水平又は垂直の線分と重なると警告する警告手段と、を備えたことを特徴とする請求項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
図2は、図1に示したデジタルカメラ10の背面図であり、同図に示すように、カメラボディ12の背面には、モニタ32、ファインダ接眼部34、スピーカ36、ズームボタン38、十字ボタン40、MENU/OKボタン42、DISPボタン44、BACKボタン46等が設けられている。
FIG. 2 is a rear view of the
なお、図示しないカメラボディ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
シャッターボタン26は、いわゆる「半押し」と「全押し」とからなる2段ストローク式のスイッチで構成されている。デジタルカメラ10は、このシャッターボタン26が「半押し」されることにより、AE/AFが作動し、「全押し」されることにより、撮影を実行する。
The
電源/モードスイッチ28は、デジタルカメラ10の電源をON/OFFする電源スイッチとしての機能と、デジタルカメラ10のモードを設定するモードスイッチとしての機能とを併せ持っており、「OFF位置」と「再生位置」と「撮影位置」との間をスライド自在に設けられている。デジタルカメラ10は、電源/モードスイッチ28をスライドさせて、「再生位置」又は「撮影位置」に合わせることにより、電源がONになり、「OFF位置」に合わせることにより、電源がOFFになる。そして、電源/モードスイッチ28をスライドさせて、「再生位置」に合わせることにより、「再生モード」に設定され、「撮影位置」に合わせることにより、「撮影モード」に設定される。
The power /
モードダイヤル30は、デジタルカメラ10の撮影モードを設定する撮影モード設定手段として機能し、このモードダイヤルの設定位置により、デジタルカメラ10の撮影モードが「オート撮影モード」、「動画撮影モード」、「人物撮影モード」、「スポーツ撮影モード」、「風景撮影モード」、「夜景撮影モード」、「プログラム撮影モード」、「絞り優先撮影モード」、「シャッタースピード優先撮影モード」、「マニュアル撮影モード」等に設定される。
The
モニタ32は、カラー表示が可能な液晶ディスプレイで構成されている。このモニタ32は、再生モード時に撮影済み画像を表示するための画像表示パネルとして利用されるとともに、各種設定操作を行なう際のユーザインターフェース表示パネルとして利用される。また、撮影モード時には、必要に応じてスルー画像が表示されて、画角確認用の電子ファインダとして利用される。
The
ズームボタン38は、ズームを指示するズーム指示手段として機能し、望遠側へのズームを指示するズームテレボタン38Tと、広角側へのズームを指示するズームワイドボタン38Wとからなる。デジタルカメラ10は、撮影モード時に、このズームテレボタン38Tとズームワイドボタン38Wとが操作されることにより、レンズ14の焦点距離が変化する。また、再生モード時に、このズームテレボタン38Tとズームワイドボタン38Wとが操作されることにより、再生中の画像が拡大、縮小する。
The
十字ボタン40は、上下左右4方向の指示を入力する方向指示手段として機能し、たとえば、メニュー画面でメニュー項目の選択などに使用される。
The
MENU/OKボタン42は、各モードの通常画面からメニュー画面への遷移を指示するボタン(MENUボタン)として機能するととともに、選択内容の確定、処理の実行等を指示するボタン(OKボタン)として機能する。
The MENU /
DISPボタン44は、モニタ32の表示切り替えを指示するボタンとして機能し、撮影中、このDISPボタン44が押されると、モニタ32の表示が、ON→フレーミングガイド表示→OFFに切り替えられる。また、再生中、このDISPボタン44が押されると、通常再生→文字表示なし再生→マルチ再生に切り替えられる。
The
BACKボタン46は、入力操作のキャンセルや一つ前の操作状態に戻すことを指示するボタンとして機能する。
The
図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
バス114を介してCPU110と接続されたROM116には、このCPU110が実行する制御プログラム及び制御に必要な各種データ等が格納されており、EEPROM118には、ユーザ設定情報等のデジタルカメラ10の動作に関する各種設定情報等が格納されている。また、メモリ(SDRAM)120は、CPU110の演算作業用領域として利用されるとともに、画像データ等の一時記憶領域として利用され、VRAM122は、画像データ専用の一時記憶領域として利用される。
The
上記のように、デジタルカメラ10は、電源/モードスイッチ28を撮影位置に合わせることで、撮影モードに設定され、撮影が可能になる。そして、撮影モードに設定されることにより、レンズ14が繰り出され、撮影スタンバイ状態になる。
As described above, the
この撮影モードの下、レンズ14を通過した被写体光は、絞り15を介して固体撮像素子124の受光面に結像される。固体撮像素子124は、CCDで構成されており、その受光面には、所定の配列構造(ベイヤー、Gストライプなど)で配列された赤(R)、緑(G)、青(B)のカラーフィルタを介して多数のフォトダイオード(受光素子)が二次元的に配置されている。レンズ14を通過した被写体光は、各フォトダイオードによって受光され、入射光量に応じた量の信号電荷に変換される。
Under this photographing mode, the subject light that has passed through the
各フォトダイオードに蓄積された信号電荷は、タイミングジェネレータ(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
画像信号処理部134は、メモリ120に取り込まれたR、G、B信号をCPU110の指令に従って処理し、輝度信号(Y信号)及び色差信号(Cr 、Cb 信号)を生成する。すなわち、この画像信号処理部134は、同時化回路(単板CCDのカラーフィルタ配列に伴う色信号の空間的なズレを補間して色信号を同時式に変換する処理回路)、ホワイトバランス補正回路、ガンマ補正回路、輪郭補正回路、輝度・色差信号生成回路等を含む画像処理手段として機能し、CPU110からの指令に従ってメモリ120を活用しながら入力されたR、G、B信号を信号処理することにより、輝度信号及び色差信号(輝度/色差信号)を生成する。生成された輝度/色差信号は、VRAM122に格納される。
The image
撮影画像をモニタ32に出力する場合は、生成された輝度/色差信号が、VRAM122からビデオエンコーダ136に送られる。ビデオエンコーダ136は、入力された輝度/色差信号を表示用の信号形式(たとえばNTSC方式のカラー複合映像信号)に変換し、モニタ32に出力する。これにより、CCD124で撮像された画像がモニタ32に表示される。
When the captured image is output to the
CCD124から画像信号を定期的に取り込み、その画像信号から生成される輝度/色差信号によってVRAM122内の画像データを定期的に書き換え、モニタ32に出力することにより、CCD124で撮像される画像がリアルタイムに表示される。撮影者は、このモニタ32にリアルタイムに表示される画像(スルー画像)を見ることにより、撮影画角を確認することができる。
An image signal is periodically taken in from the
なお、VRAM122からビデオエンコーダ136に加えられる輝度/色差信号は、必要に応じて文字MIX部138に加えられ、所定の文字や図形等と合成されたのち、ビデオエンコーダ136に加えられる。これにより、所要の撮影情報等がスルー画像に重ねて表示される。
Note that the luminance / color difference signal applied from the
撮影はシャッターボタン26の押下によって行なわれる。シャッターボタン26が半押しされると、S1オン信号がCPU110に入力され、CPU110はAE/AF処理を実施する。
Shooting is performed by pressing the
まず、画像入力制御部132を介してCCD124から取り込まれた画像信号がAF検出部140並びにAE/AWB検出部142に入力される。
First, an image signal captured from the
AE/AWB検出部142は、1画面を複数のエリア(例えば、16×16)に分割し、分割エリアごとにR、G、B信号を積算する回路を含み、その積算値をCPU110に提供する。CPU110は、AE/AWB検出部142から得た積算値に基づいて被写体の明るさ(被写体輝度)を検出し、撮影に適した露出値(撮影EV値)を算出する。そして、求めた撮影EV値と所定のプログラム線図から絞り値とシャッタースピードを決定し、これに従いCCD124の電子シャッターと絞り駆動部144を制御して適正な露光量を得る。
The AE /
また、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 /
AF検出部140は、G信号の高周波成分のみを通過させるハイパスフィルタ、絶対値化処理部、所定のフォーカスエリア(たとえば、画面中央部)内の信号を切り出すAFエリア抽出部及びAFエリア内の絶対値データを積算する積算部から構成され、AF検出部140で求めた積算値のデータはCPU110に通知される。CPU110は、レンズ駆動部146を制御してレンズ14のフォーカスレンズ群を移動させながら、複数のAF検出ポイントで焦点評価値(AF評価値)を演算し、評価値が極大となるレンズ位置を合焦位置として決定する。そして、求めた合焦位置にフォーカスレンズ群が移動するように、レンズ駆動部146を制御する。
The
以上のように、シャッターボタン26の半押しによって、AE/AF処理が行なわれる。なお、撮影者は、必要に応じてズームボタン38を操作し、レンズ14をズーミングさせて画角を調整する。
As described above, the AE / AF process is performed by half-pressing the
この後、シャッターボタン26が全押しされると、CPU110にS2オン信号が入力され、CPU110は、撮影、記録処理を開始する。すなわち、測光結果に基づき決定されたシャッター速度、絞り値でCCD124を露光する。
Thereafter, when the
CCD124から出力された画像信号は、アナログ処理部128、A/D変換器130、画像入力制御部132を介してメモリ120に取り込まれ、画像信号処理部134において輝度/色差信号に変換されたのち、メモリ120に格納される。
The image signal output from the
メモリ120に格納された画像データは、圧縮伸張処理部148に加えられ、所定の圧縮フォーマット(たとえばJPEG形式)に従って圧縮された後、メモリ120に格納され、所定の画像記録フォーマット(たとえばExif形式)の画像ファイルとされたのち、メディア制御部150を介して記憶メディア152に記録される。
The image data stored in the
以上のようにして記憶メディア152に記録された画像は、電源/モードスイッチ28を再生位置に合わせて、デジタルカメラ10のモードを再生モードに設定することにより、モニタ32で再生表示させることができる。
The image recorded on the
電源/モードスイッチ28を再生位置に合わせて、デジタルカメラ10のモードを再生モードに設定すると、CPU110は、メディア制御部150にコマンドを出力し、記憶メディア152に最後に記録された画像ファイルを読み出させる。
When the power /
読み出された画像ファイルの圧縮画像データは、圧縮伸張処理部148に加えられ、非圧縮の輝度/色差信号に伸張されたのち、ビデオエンコーダ136を介してモニタ32に出力される。これにより、記憶メディア152に記録されている画像がモニタ32に再生表示される。なお、再生時も必要に応じて再生する画像の輝度/色差信号が、文字MIX部138に加えられ、所定の文字や図形等と合成されたのち、ビデオエンコーダ136に加えられる。これにより、撮影済み画像に重ねられて所定の撮影情報等がモニタ32に表示される。。
The compressed image data of the read image file is added to the compression /
画像のコマ送りは、十字ボタン40の左右のキー操作によって行なわれ、十字ボタン40の右キーが押されると、次の画像ファイルが記憶メディア152から読み出され、モニタ32に再生表示される。また、十字ボタン40の左キーが押されると、一つ前の画像ファイルが記憶メディア152から読み出され、モニタ32に再生表示される。
The frame advance of the image is performed by operating the left and right keys of the
さて、上記のように、本実施の形態のデジタルカメラ10では、撮影時にモニタ32にスルー画像を表示させることができるようにされており、このモニタ32に表示されるスルー画像を見ることで、容易に撮影する画像の構図等を決定できるようにされている。
As described above, in the
しかしながら、撮影に慣れていない者にとって、最適な構図を決めて撮影することは難しく、面白みに欠ける構図になってしまいがちである。 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
本実施の形態のデジタルカメラ10が備える構図ガイド機能には、被写体となる人物の顔の位置が、人物撮影として好ましい位置に配置されるようにガイドする構図ガイド機能[1]と、いわゆる「首切りショット」や「串刺しショット」といった、人物撮影として好ましくない構図となるのを防止する構図ガイド機能[2]の2つの構図ガイド機能があり、いずれの構図ガイド機能もメニュー画面によって、そのON/OFFが設定できるようにされている。
The composition guide function provided in the
まず、被写体となる人物の顔の位置が、人物撮影として好ましい位置に配置されるようにガイドする構図ガイド機能[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
この場合、画像信号処理部134で生成された輝度/色差信号が顔検出部154に加えられる。顔検出部154は、入力された輝度/色差信号から、画像内の顔を抽出し、その重心座標を検出する。顔の抽出は、たとえば、画像内の肌色データを抽出することによって画像中の人物の顔を抽出する。
In this case, the luminance / color difference signal generated by the image
顔検出部154で検出された顔の位置データ(顔領域の重心座標)は、CPU110に出力される。CPU110は、検出された顔の位置Pが、あらかじめ設定された顔配置領域に属するか否かを判定し、位置していなければ、音声ガイドを実施する。
The face position data (coordinate coordinates of the face area) detected by the
ここで、この被写体の顔を位置させる顔配置領域は、次のように設定される。すなわち、図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
音声ガイドは、現在の顔の位置から最も近い顔配置領域に被写体の顔が位置するように、修正すべきカメラ(レンズ)の向きをスピーカ36から出力することにより行なわれる。たとえば、図5(a) に示すように、現在の顔の位置Pが、画面中央やや右上寄りの位置にある場合、その位置から最も近い顔配置領域S2に被写体の顔が位置するように、修正すべきカメラ(レンズ)の向きをスピーカ36から出力する。
The voice guidance is performed by outputting the direction of the camera (lens) to be corrected from the
この場合、まず、左右方向のガイドが実施され、その後、上下方向のガイドが実施される。図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
なお、ガイド用の音声は、あらかじめ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
図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
まず、CCD124から得た画像に基づき顔検出部154で人物の顔位置の検出が行なわれる(ステップS11)。
First, based on the image obtained from the
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
次に、人物撮影として好ましくない構図となるのを防止する構図ガイド機能[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
この場合、画像信号処理部134で生成された輝度/色差信号が、顔検出部154と線分検出部162に加えられる。線分検出部162は、入力された輝度/色差信号から、画像内の水平・垂直の線分を抽出し、その位置を検出する。
In this case, the luminance / color difference signal generated by the image
垂直・水平の線分の抽出方法としては、たとえば、入力された画像に対してフィルタ処理を施すことにより輪郭を抽出し、抽出された輪郭からほぼ水平、垂直の線分を抽出する。 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
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
まず、CCD124から得た画像に基づき顔検出部154で人物の顔位置の検出が行なわれるとともに、水平・垂直の線分の検出が行なわれる(ステップS41)。
First, the
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
また、「首切りショット」又は「串刺しショット」になっている場合は、撮影不能にするようにしてもよい。 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
なお、構図ガイド機能[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
本実施の形態のデジタルカメラ10は、被写体となる人物の顔が、画像中の所定位置に位置すると、自動で撮影が実行される、自動撮影機能を備えている。すなわち、たとえば、図4に示した顔は位置領域S1〜S4を撮影実行領域として設定したとすると、その撮影実行領域S1〜S4のいずれかの領域に人物の顔が位置すると、自動的にシャッタが切れ、撮影が実行される。
The
この自動撮影の機能は、たとえば、撮影メニューによってON/OFFが設定される。また、自動撮影を行なうに際して、デジタルカメラ10は三脚等に取り付けて、任意の場所に固定して設置する。
This automatic shooting function is set to ON / OFF by a shooting menu, for example. Further, when performing automatic photographing, the
図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
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
この後、自動撮影機能の終了指示の有無を判定し( ステップ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.
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
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:
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)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4572815B2 (en) * | 2005-11-18 | 2010-11-04 | 富士フイルム株式会社 | Imaging apparatus and imaging method |
WO2007072663A1 (en) * | 2005-12-22 | 2007-06-28 | Olympus Corporation | Photographing system and 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 apparatus, program, and storage medium |
JP2008191746A (en) * | 2007-02-01 | 2008-08-21 | Seiko Epson Corp | MOVIE GENERATION 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 composition apparatus and method |
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 |
-
2004
- 2004-03-22 JP JP2004083062A patent/JP4135100B2/en not_active Expired - Lifetime
Cited By (1)
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 | |
JP4730553B2 (en) | Imaging apparatus and exposure control method | |
JP4787180B2 (en) | Imaging apparatus and imaging method | |
JP4730667B2 (en) | Automatic regeneration method and apparatus | |
JP2009065577A (en) | Imaging apparatus and method | |
JP2005128437A (en) | Photographing device | |
JP2007324877A (en) | Imaging device | |
JP2008219428A (en) | Imaging apparatus | |
JP2005175684A (en) | Digital camera, and image acquisition method for digital camera | |
US20040179131A1 (en) | Image capturing apparatus and exposure setting method thereof | |
JP2008028728A (en) | Digital camera | |
JP2009058834A (en) | Imaging apparatus | |
JP2003209727A (en) | Digital camera | |
JP2006145629A (en) | Imaging apparatus | |
JP2010239277A (en) | Imaging device and imaging method | |
JP2012019341A (en) | Imaging device, and method and program for controlling the same | |
JP2010141609A (en) | Imaging apparatus | |
JP2008298847A (en) | Photographing method and digital camera | |
JP2008015351A (en) | Imaging apparatus | |
JP2009033386A (en) | Photographing device and method | |
JP2008035243A (en) | Imaging device | |
JP4897577B2 (en) | Imaging device |
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 |
|
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 |
|
EXPY | Cancellation because of completion of term |