JP2005094406A - Device and program for photographing image - Google Patents

Device and program for photographing image Download PDF

Info

Publication number
JP2005094406A
JP2005094406A JP2003325547A JP2003325547A JP2005094406A JP 2005094406 A JP2005094406 A JP 2005094406A JP 2003325547 A JP2003325547 A JP 2003325547A JP 2003325547 A JP2003325547 A JP 2003325547A JP 2005094406 A JP2005094406 A JP 2005094406A
Authority
JP
Japan
Prior art keywords
subject
image
shooting
photographing
extra
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.)
Granted
Application number
JP2003325547A
Other languages
Japanese (ja)
Other versions
JP4355853B2 (en
Inventor
Masao Konishi
正雄 小西
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2003325547A priority Critical patent/JP4355853B2/en
Publication of JP2005094406A publication Critical patent/JP2005094406A/en
Application granted granted Critical
Publication of JP4355853B2 publication Critical patent/JP4355853B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To move the arrangement position of an object in an image frame at the time of real photographing in accordance with the state of the object by detecting the state of the object obtained by analyzing a digital image obtained by temporarily photographing the object before actually photographing the object. <P>SOLUTION: A CPU 1 specifies the object (figure) included in an image frame and detects the face direction of the figure by analyzing a monitor image from a camera photographing part 7 at the time of temporary photographing with a shutter button half pressed down, determines the arrangement position of the figure at the time of real photographing in accordance with the face direction and performs framing adjustment so as to arrange the figure at the position to move a photographing direction. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

この発明は、光学系を自動調整してデジタル撮影を行う画像撮影装置およびプログラムに関する。   The present invention relates to an image photographing apparatus and a program for performing digital photographing by automatically adjusting an optical system.

従来、撮影時に構図を自動設定するカメラとしては、例えば、画面を分割した各領域毎に距離を測定して被写体を特定すると共に、この被写体が画面の中央で所定サイズとなるように撮影方向および撮影倍率を制御するようにしたカメラが知られている(特許文献1参照)。また、被写体(人物)および背景の距離を検出してその深度に基づいて人物を特定すると共に、この人物の顔が最適な位置(正面向き)および大きさとなるようにフレーミング制御を行うようにした撮影装置が知られている(特許文献2参照)。
特開2000−098456号公報 特開2001−148843号公報
Conventionally, as a camera for automatically setting the composition at the time of shooting, for example, the subject is identified by measuring the distance for each area obtained by dividing the screen, and the shooting direction and the direction so that the subject becomes a predetermined size at the center of the screen. There is known a camera that controls the photographing magnification (see Patent Document 1). In addition, the distance between the subject (person) and the background is detected and the person is identified based on the depth, and the framing control is performed so that the face of the person is in the optimum position (front direction) and size. An imaging device is known (see Patent Document 2).
JP 2000-098456 A JP 2001-148843 A

しかしながら、特許文献1および2に示したカメラにおいては、測距法を使用して被写体を特定することを前提とする他に、所望する構図となるようにフレーミング制御を行って撮影を開始するようにしたものであるが、被写体が画面の中央で所定の大きさとなるように制御することは、常に固定的なフレーミングとなり、被写体を撮影する毎に被写体は、画面の中央に配置されることになる。また、人物の顔が正面に向きで所定の大きさとなるように制御するものにおいても同様に、常に固定的なフレーミングとなり、被写体を撮影する毎に人物は、正面向きとなる。
一方、所望する被写体をターゲット撮影する場合において、このターゲット以外にも意図しない余計な被写体が写ってしまう場合があるため、撮影者は、余計な被写体が写らないようにカメラの位置を変えたり、ズーム撮影を行うようにしているが、その都度、カメラの位置を変えたり、ズーム撮影を行うことは面倒であると共に、シャッターチャンスを逃がしてしまう。
However, in the cameras shown in Patent Documents 1 and 2, in addition to the assumption that the subject is specified using the distance measuring method, the framing control is performed so that the desired composition is obtained, and the photographing is started. However, controlling the subject to have a predetermined size in the center of the screen always results in fixed framing, and the subject is placed in the center of the screen every time the subject is photographed. Become. Similarly, in the case of controlling the face of the person so that the face is directed to a predetermined size, the framing is always fixed, and the person is faced forward each time a subject is photographed.
On the other hand, when shooting a desired subject as a target, an unintended extra subject other than this target may be captured, so the photographer can change the position of the camera so that the extra subject does not appear, Although zoom shooting is performed, it is troublesome to change the position of the camera or to perform zoom shooting each time, and miss a photo opportunity.

第1の発明の課題は、被写体を実撮影する前に、この被写体を仮撮影したデジタル画像を解析することによって得られた被写体の状態を検出することで、実撮影時における画像フレーム内の被写体の配置位置を当該被写体の状態に応じて移動できるようにすることである。
第2の発明の課題は、実撮影を行う前に、仮撮影したデジタル画像を解析することによって主被写体以外で余計な被写体を検出することで、実撮影時に余計な被写体が画像フレーム内に含まれないように撮影範囲を変更できるようにすることである。
The subject of the first invention is to detect the state of a subject obtained by analyzing a digital image obtained by temporarily photographing the subject before actually photographing the subject, so that the subject in the image frame at the time of actual photographing is detected. Is to be able to move according to the state of the subject.
An object of the second invention is to detect an extra subject other than the main subject by analyzing a temporarily taken digital image before actual shooting, thereby including an extra subject in the image frame at the time of actual shooting. It is to be able to change the shooting range so that it does not occur.

請求項1記載の発明(第1の発明)は、光学系を自動調整してデジタル撮影を行う画像撮影装置であって、実撮影を行う前に、仮撮影したデジタル画像を解析することによってその画像フレーム内に含まれている被写体を特定すると共に、この被写体の状態を検出する画像解析手段と、実撮影時における画像フレーム内の被写体位置を前記画像解析手段によって得られた被写体の状態に応じて決定する決定手段と、この決定手段によって決定された位置に被写体が配置されるように光学系を調整制御して撮影方向を移動する撮影制御手段とを具備したことを特徴とする。ここで、「実撮影」とは、撮影画像を記録保存するための撮影を意味し、「仮撮影」とは、「実撮影」を行う前段階の撮影、例えば、モニタ画像を表示するための画像撮影を意味している(以下、同様)。
更に、コンピュータに対して、上述した請求項1記載の発明に示した主要機能を実現するためのプログラムを提供する(請求項9記載の発明)。
The invention according to claim 1 (first invention) is an image photographing apparatus for automatically adjusting an optical system to perform digital photographing, and analyzing the temporarily photographed digital image before performing actual photographing. An image analysis unit that identifies a subject included in the image frame and detects the state of the subject, and a subject position in the image frame at the time of actual shooting according to the state of the subject obtained by the image analysis unit And a photographing control means for adjusting and controlling the optical system so that the subject is arranged at the position determined by the determining means and moving the photographing direction. Here, “actual shooting” means shooting for recording and saving a shot image, and “temporary shooting” means shooting at a stage before “actual shooting”, for example, displaying a monitor image. It means image shooting (hereinafter the same).
Furthermore, a program for realizing the main functions shown in the invention described in claim 1 is provided to the computer (the invention described in claim 9).

なお、請求項1記載の発明は次のようなものであってもよい。
前記画像解析手段は、被写体の向きを検出し、前記決定手段は、前記検出された被写体の向きの反対側へ被写体が所定量移動するように被写体の配置位置を決定する(請求項2記載の発明)。
The invention described in claim 1 may be as follows.
The image analysis means detects the orientation of the subject, and the determination means determines the placement position of the subject so that the subject moves a predetermined amount to the opposite side of the detected orientation of the subject (claim 2). invention).

前記画像解析手段は、被写体の向きを検出し、前記決定手段は、前記検出された被写体の向きの方向へ被写体が所定量移動するように被写体の配置位置を決定する(請求項3記載の発明)。   The image analysis means detects the direction of the subject, and the determination means determines the placement position of the subject so that the subject moves a predetermined amount in the direction of the detected subject direction. ).

請求項4記載の発明(第2の発明)は、光学系を自動調整してデジタル撮影を行う画像撮影装置であって、実撮影を行う前に、仮撮影したデジタル画像を解析することによってその画像フレーム内に含まれている主なる被写体を特定すると共に、この主被写体以外で余計な被写体を検出する画像解析手段と、この画像解析手段によって主被写体が特定され、かつ、主被写体以外で余計な被写体が検出された際に、この余計な被写体が画像フレーム内から外れるように光学系を調整制御して撮影範囲を変更する撮影制御手段とを具備したことを特徴とする。
更に、コンピュータに対して、上述した請求項4記載の発明に示した主要機能を実現させるためのプログラムを提供する(請求項10記載の発明)。
The invention according to claim 4 (second invention) is an image photographing apparatus for automatically adjusting an optical system to perform digital photographing, and analyzing the temporarily photographed digital image before performing actual photographing. An image analysis unit that identifies a main subject included in the image frame and detects an extra subject other than the main subject, a main subject is identified by the image analysis unit, and an extra subject other than the main subject And a photographing control means for adjusting the optical system so as to change the photographing range so that the extra subject is removed from the image frame when a large subject is detected.
Furthermore, a program for realizing the main functions shown in the invention described in claim 4 is provided to the computer (the invention described in claim 10).

なお、請求項4記載の発明は次のようなものであってもよい。
前記画像解析手段は、画像フレーム内の中央部分に含まれている被写体を主被写体として特定する(請求項5記載の発明)。
The invention described in claim 4 may be as follows.
The image analysis means specifies a subject included in a central portion in the image frame as a main subject (the invention according to claim 5).

前記画像解析手段は、画像フレーム内において正面を向いている被写体を主被写体として特定する(請求項6記載の発明)。   The image analysis means identifies a subject facing the front in the image frame as a main subject (the invention according to claim 6).

前記画像解析手段は、主被写体の周囲に写っている被写体と主被写体とを比較した結果、主被写体の周囲画像として適さない画像を余計な被写体として検出する(請求項7記載の発明)。   The image analysis means detects an image that is not suitable as the surrounding image of the main subject as an excess subject as a result of comparing the main subject with the subject shown around the main subject (the invention according to claim 7).

前記撮影制御手段によって変更された撮影範囲で仮撮影したデジタル画像が表示されている状態において、実撮影の開始が指示された際に、当該撮影範囲で実撮影されたデジタル画像を記録保存する(請求項8記載の発明)。   When the start of actual shooting is instructed in a state where a digital image temporarily shot in the shooting range changed by the shooting control means is displayed, the digital image actually shot in the shooting range is recorded and saved ( (Invention of Claim 8)

請求項1記載の発明(第1の発明)によれば、実撮影を行う前に、仮撮影したデジタル画像を解析することによってその画像フレーム内に含まれている被写体を特定すると共にこの被写体の状態を検出し、この被写体の状態に応じて実撮影時における被写体位置を決定し、この位置に被写体が配置されるように光学系を調整制御して撮影方向を移動するようにしたから、被写体の状態をそのまま保持した状態で被写体を効果的に配置した実撮影が可能となる。つまり、従来のように、被写体を撮影する毎に被写体が画面の中央に配置されたり、人物の顔が全て正面向きとなるような固定的なフレーミングとはならず、被写体の状態に応じて被写体の位置を効果的に変更することができ、バランスの取れた構図を得ることが可能となる。   According to the first aspect of the present invention (first invention), the subject included in the image frame is specified by analyzing the provisionally photographed digital image before actual photographing, and the subject Since the state is detected, the subject position during actual shooting is determined according to the state of the subject, and the shooting direction is moved by adjusting and controlling the optical system so that the subject is placed at this position. It is possible to perform actual photographing in which the subject is effectively arranged in the state where the state is maintained as it is. In other words, the subject is not placed in the center of the screen every time the subject is photographed, or fixed framing with all the faces of the person facing the front. Can be effectively changed, and a balanced composition can be obtained.

請求項2記載の発明によれば、上述した請求項1記載の発明と同様の効果を有する他、被写体の向きの反対側へ被写体が所定量移動するように被写体の配置位置を変更するようにしたから、例えば、被写体の顔の向きが右向きであれば、左側に被写体を移動させることができ、顔を向けている方向に空間(広がり)を設けることで、奥行き感や落ち着きのあるバランスが取れた構図を得ることが可能となる。   According to the second aspect of the invention, in addition to the same effect as the first aspect of the invention described above, the subject placement position is changed so that the subject moves a predetermined amount to the opposite side of the subject direction. Therefore, for example, if the subject's face is facing right, the subject can be moved to the left side, and by providing a space (spread) in the direction facing the face, a sense of depth and a calm balance can be achieved. It is possible to obtain a good composition.

請求項3記載の発明によれば、上述した請求項1記載の発明と同様の効果を有する他、被写体の向きの方向へ被写体が所定量移動するように被写体の配置位置を変更するようにしたから、例えば、被写体の顔の向きが右向きであれば、右側に被写体を移動させることができ、被写体の向きとは逆方向に空間(広がり)を設けることで、被写体を際立たせることができ、被写体が手前に近づいているような迫力感のある構図を得ることが可能となる。   According to the third aspect of the invention, in addition to the same effect as the first aspect of the invention described above, the subject placement position is changed so that the subject moves a predetermined amount in the direction of the subject. For example, if the face direction of the subject is rightward, the subject can be moved to the right side, and by providing a space (spread) in the direction opposite to the direction of the subject, the subject can stand out, It is possible to obtain a powerful composition as if the subject is approaching.

請求項4記載の発明(第2の発明)によれば、実撮影を行う前に、仮撮影したデジタル画像を解析することによってその画像フレーム内に含まれている主なる被写体を特定すると共に、主被写体以外で余計な被写体を検出し、この余計な被写体が画像フレームから外れるようにズーム撮影等によりその撮影範囲を変更したから、余計な被写体を取り除いた効果的な実撮影が可能となり、撮影ターゲットとしての主被写体を際立たせることが可能となる。   According to the invention described in claim 4 (second invention), the main subject included in the image frame is identified by analyzing the temporarily captured digital image before actual shooting is performed, An extra subject other than the main subject is detected, and the shooting range is changed by zooming etc. so that the extra subject deviates from the image frame. It becomes possible to make the main subject as a target stand out.

請求項5記載の発明によれば、上述した請求項4記載の発明と同様の効果を有する他、画像フレーム内の中央部分に含まれている被写体を主被写体として特定するようにしたから、画像フレーム内の中央部分のみに着目して画像解析を行えばよく、主被写体を簡単に特定することができる。   According to the fifth aspect of the present invention, in addition to having the same effect as the above-described fourth aspect of the present invention, the subject included in the central portion of the image frame is specified as the main subject. It is only necessary to perform image analysis focusing on only the central part in the frame, and the main subject can be easily specified.

請求項6記載の発明によれば、上述した請求項4記載の発明と同様の効果を有する他、画像フレーム内において正面を向いている被写体を主被写体として特定するようにしたから、例えば、人ごみの中でも撮影ターゲットを容易に特定することが可能となる。   According to the sixth aspect of the present invention, in addition to the same effect as the above-described fourth aspect of the invention, the subject facing the front in the image frame is specified as the main subject. Among them, it is possible to easily specify the shooting target.

請求項7記載の発明によれば、上述した請求項4記載の発明と同様の効果を有する他、主被写体の周囲に写っている被写体と主被写体とを比較した結果、主被写体の周囲画像として適さない画像を余計な被写体として検出するようにしたから、例えば、主被写体に比べてその周囲に写っている被写体が大き過ぎる場合には、その被写体を余計な被写体として検出することができる。   According to the invention described in claim 7, in addition to the same effect as that of the invention described in claim 4 described above, as a result of comparing the main subject with the subject appearing around the main subject, Since an unsuitable image is detected as an extra subject, for example, when the subject shown in the vicinity of the main subject is too large compared to the main subject, the subject can be detected as an extra subject.

請求項8記載の発明によれば、上述した請求項4記載の発明と同様の効果を有する他、変更された撮影範囲で仮撮影したデジタル画像が表示されている状態において、実撮影の開始が指示された際に、当該撮影範囲で実撮影されたデジタル画像を記録保存するようにしたから、撮影状態を確認した上で実撮影を行うことができる。   According to the invention described in claim 8, in addition to having the same effect as the invention described in claim 4 described above, in the state where the digital image temporarily captured in the changed shooting range is displayed, the actual shooting is started. When instructed, the digital image actually taken in the photographing range is recorded and saved, so that the actual photographing can be performed after confirming the photographing state.

(実施例1)
以下、図1〜図6を参照して本発明の第1実施例を説明する。
図1は、この実施例における画像撮影装置の基本的構成要素を示したブロック図である。
この画像撮影装置は、被写体を実撮影する前に、この被写体をモニタ撮影したデジタル画像を解析することによって得られた被写体の向きを検出することによって、実撮影時における画像フレーム内の被写体位置を当該被写体の向きに応じて移動するようにしたデジタルスチルカメラである。すなわち、この画像撮影装置は、モニタ画像(ファインダ画面)を解析することによってその画像フレーム内に含まれている被写体(人物)を特定すると共に、この人物の顔の向き(上下左右)を検出し、実撮影時における画像フレーム内の人物の配置位置を当該人物の顔の向きに応じて決定し、この位置に被写体が配置されるように撮影レンズの指向方向を調整するフレーミング制御を行うようにしたものである。
なお、この実施例の特徴部分を詳述する前に、この実施例のハードウェア上の構成について以下、説明しておく。
(Example 1)
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.
FIG. 1 is a block diagram showing basic components of the image photographing apparatus in this embodiment.
This image capturing apparatus detects the subject position in the image frame at the time of actual photographing by detecting the orientation of the subject obtained by analyzing the digital image obtained by photographing the subject before monitoring the subject. This is a digital still camera that moves according to the direction of the subject. That is, this image capturing apparatus identifies a subject (person) included in the image frame by analyzing a monitor image (finder screen) and detects the face direction (up, down, left, and right) of the person. The position of the person in the image frame at the time of actual shooting is determined according to the orientation of the person's face, and framing control is performed to adjust the direction of the taking lens so that the subject is placed at this position. It is a thing.
Before detailed description of the features of this embodiment, the hardware configuration of this embodiment will be described below.

CPU1は、記憶部2内のオペレーティングシステムや各種アプリケーションソフトに従ってこの画像撮影装置の全体動作を制御する中央演算処理装置である。記憶部2は、ハードディスク等の固定的なメモリであり、プログラム記憶領域とデータ記憶領域とを有している。この記憶部2内のプログラム記憶領域には、後述する図3および図4に示す動作手順に従って本実施例を実現する為のアプリケーションプログラムが格納されている。このプログラムやデータは、必要に応じてワークメモリ3にロードされたり、このワークメモリ3内のデータが記憶部2にセーブされる。なお、記録媒体4は、DVD等の着脱自在なメモリであり、記憶部2やワークメモリ3との間においてプログラムや画像データ等の受け渡しを行う。   The CPU 1 is a central processing unit that controls the overall operation of the image capturing apparatus in accordance with the operating system and various application software in the storage unit 2. The storage unit 2 is a fixed memory such as a hard disk, and has a program storage area and a data storage area. In the program storage area in the storage unit 2, an application program for realizing the present embodiment is stored in accordance with an operation procedure shown in FIGS. The program and data are loaded into the work memory 3 as necessary, and the data in the work memory 3 is saved in the storage unit 2. The recording medium 4 is a removable memory such as a DVD, and exchanges programs, image data, and the like with the storage unit 2 and the work memory 3.

一方、CPU1には、その入出力周辺デバイスである操作部5、表示部6、カメラ撮影部7、画像メモリ8がバスラインを介して接続されており、入出力プログラムに従ってCPU1は、これらの入出力デバイスの動作制御を行う。
操作部5は、シャッターボタン、ズームボタンの他に、各種のファンクションボタンを有し、その操作信号はCPU1へ与えられる。なお、シャッターボタンは、「半押し」、「全押し」の2段階操作が可能なもので、シャッターボタンが全押し操作された際には、その撮影画像を記録保存させる実撮影を指示する。表示部6は、例えば、液晶表示部であり、モニタ画面、ファインダ画面、画像再生画面として使用される。カメラ撮影部7は、撮影レンズ、ミラー等のレンズ・ミラーブロック、CCDイメージセンサ等の撮像素子、その駆動系等を備え、撮影毎に、撮影画像を画像メモリ8へ順次転送するもので、CPU1は、撮影方向(レンズの指向方向)やズーム機構を調整制御したり、オートフォーカス時の駆動制御、シャッター駆動制御、シャッター速度、露出、ホワイトバランス等を制御したり、撮影画像の取り込みを行う。
On the other hand, an operation unit 5, a display unit 6, a camera photographing unit 7, and an image memory 8 which are input / output peripheral devices are connected to the CPU 1 via a bus line, and the CPU 1 inputs these according to an input / output program. Controls the operation of the output device.
The operation unit 5 has various function buttons in addition to the shutter button and the zoom button, and the operation signal is given to the CPU 1. Note that the shutter button can be operated in two steps, “half-press” and “full-press”. When the shutter button is fully pressed, actual shooting for recording and saving the captured image is instructed. The display unit 6 is, for example, a liquid crystal display unit, and is used as a monitor screen, a finder screen, and an image reproduction screen. The camera photographing unit 7 includes a photographing lens, a lens / mirror block such as a mirror, an image sensor such as a CCD image sensor, a driving system thereof, and the like, and sequentially transfers the photographed image to the image memory 8 for each photographing. Adjusts and controls the shooting direction (the direction of the lens) and the zoom mechanism, controls driving during autofocus, shutter drive control, shutter speed, exposure, white balance, etc., and captures captured images.

CPU1は、シャッターボタンが半押し操作された際に、モニタ画像(ファインダ画面)を取り込み、このモニタ画像を解析することによってその画像フレーム内に含まれている被写体(人物)を特定するようにしているが、その際、被写体全体の形状特性、各部位の形状や配置特性(要素特性)、色特性などを総合的に判断して人物特定を行うようにしている。更に、CPU1は、特定した人物の顔部分に着目して顔が向いている方向を認識するようにしている。   When the shutter button is half-pressed, the CPU 1 captures a monitor image (finder screen) and analyzes the monitor image to identify a subject (person) included in the image frame. However, at this time, the person is specified by comprehensively judging the shape characteristics of the entire subject, the shape and arrangement characteristics (element characteristics) of each part, color characteristics, and the like. Further, the CPU 1 recognizes the direction in which the face is facing by paying attention to the face portion of the specified person.

図2は、人物の顔の向きを認識する場合の手法を説明するための図である。
ここで、CPU1は、モニタ画像を解析することによって人物を特定した後において、この顔部分に着目し、顔の中心部分(例えば、鼻)の位置を特定する。そして、鼻の位置を中心とした中心線(縦軸、横軸)を基準に、この中心線から左右の頬までの横幅(LA1、LA2)を計測する他に、この中心線から左右の肩までの横幅(LB1、LB2)を計測し、この計測値の「LA1」と「LA2」との大小比較を行うと共に、「LB1」、「LB2」との大小比較を行って顔の向きを認識するようにしている。この場合、顔の向きとしては、「右向き」、「左向き」、「上向き」、「下向き」を認識するようにしているが、図2の場合には、「LA1>LA2」、「LB1>LB2」の関係にあり、「右向き」であることを示している。以下、顔の向きは、図2のように、紙面を見ている方向を示すものとする。
FIG. 2 is a diagram for explaining a method for recognizing the orientation of a person's face.
Here, after specifying the person by analyzing the monitor image, the CPU 1 pays attention to the face portion and specifies the position of the center portion (for example, the nose) of the face. In addition to measuring the lateral width (LA1, LA2) from the center line to the left and right cheeks with reference to the center line (vertical axis, horizontal axis) centered on the nose position, The horizontal width (LB1, LB2) is measured, and the measured values “LA1” and “LA2” are compared in size, and “LB1” and “LB2” are compared in size to recognize the face orientation. Like to do. In this case, “right”, “left”, “up”, and “down” are recognized as face orientations. In the case of FIG. 2, “LA1> LA2”, “LB1> LB2”. ”And“ rightward ”. Hereinafter, the orientation of the face indicates the direction in which the page is viewed as shown in FIG.

次に、この第1実施例における画像撮影装置の動作概念を図3および図4に示すフローチャートを参照して説明する。ここで、これらのフローチャートに記述されている各機能は、読み取り可能なプログラムコードの形態で格納されており、このプログラムコードにしたがった動作が逐次実行される。また、伝送媒体を介して伝送されてきた上述のプログラムコードに従った動作を逐次実行することもできる。このことは後述する他の実施例においても同様であり、記録媒体の他に、伝送媒体を介して外部供給されたプログラム/データを利用してこの実施例特有の動作を実行することもできる。   Next, the operation concept of the image photographing apparatus in the first embodiment will be described with reference to the flowcharts shown in FIGS. Here, each function described in these flowcharts is stored in the form of a readable program code, and operations according to the program code are sequentially executed. In addition, the operation according to the above-described program code transmitted via the transmission medium can be sequentially executed. This also applies to other embodiments described later, and in addition to the recording medium, operations specific to this embodiment can be executed using programs / data supplied externally via a transmission medium.

図3および図4は、電源投入によって実行開始される動作概要を示したフローチャートである。
先ず、CPU1は、電源投入に伴ってカメラ撮影部7を駆動させ(ステップA1)、画像メモリ8内の撮影画像をモニタ画像として取り込んでモニタ表示させる(ステップA2)。この状態において、シャッターボタン、ズームボタンの操作有無を判断し(ステップA3、A4)、ズームボタンが操作された場合には(ステップA4でYES)、そのボタン操作に応じてズーム駆動を行うが(ステップA5)、シャッターボタンが操作された場合には(ステップA3でYES)、シャッター全押し操作か否かを調べる(ステップA6)。
FIG. 3 and FIG. 4 are flowcharts showing an outline of operations that are started when the power is turned on.
First, when the power is turned on, the CPU 1 drives the camera photographing unit 7 (step A1), takes the photographed image in the image memory 8 as a monitor image, and displays it on the monitor (step A2). In this state, it is determined whether or not the shutter button and zoom button are operated (steps A3 and A4). When the zoom button is operated (YES in step A4), zoom driving is performed in accordance with the button operation ( In step A5), if the shutter button is operated (YES in step A3), it is checked whether the shutter is fully pressed (step A6).

いま、シャッターボタンが半押し操作された際には(ステップA6でNO)、モニタ画像を解析することによって被写体部分(人物部分)を特定することによって、人物部分とその他の部分(背景部分)との識別を行う(ステップA7)。この場合、極端に小さいものは背景と見做し(無視し)、所定サイズ以上のものを抽出して被写体認識を行うようにしている。そして、特定した人物画像内の顔部分に着目し、上述した解析手法に従ってその顔が向いている方向を認識する(ステップA8)。ここで、顔の向きが認識不能の場合には(ステップA9でNO)、シャッター半押し操作を無効としてモニタ表示の状態(ステップA2)に戻るが、顔の向きを正常に認識することができた場合には、その向きは正面以外か否かをチェックする(ステップA10)。ここで、正面向きの場合には、構図変更が不要であると認識してモニタ表示の状態(ステップA2)に戻るが、顔の向きが正面以外の場合には、図4のステップA15に移る。  Now, when the shutter button is half-pressed (NO in step A6), the subject portion (person portion) is identified by analyzing the monitor image, so that the person portion and other portions (background portion) are identified. Is identified (step A7). In this case, an extremely small object is regarded as a background (ignored), and an object larger than a predetermined size is extracted for subject recognition. Then, paying attention to the face portion in the specified person image, the direction in which the face is facing is recognized according to the analysis method described above (step A8). If the face orientation is unrecognizable (NO in step A9), the shutter half-press operation is invalidated and the screen returns to the monitor display state (step A2), but the face orientation can be recognized normally. If so, it is checked whether the direction is other than the front (step A10). Here, in the case of the front direction, it is recognized that the composition change is unnecessary, and the state returns to the monitor display state (step A2). However, when the face direction is other than the front direction, the process proceeds to step A15 in FIG. .

先ず、顔の向きが左方向(図2で例示した向きの反対側)であれば(ステップA15でYES)、モニタ画像内の被写体位置を検出し、その画像フレームの右側に被写体が位置しているかを調べる(ステップA16)。例えば、被写体の中心線(縦軸)とフレームの中心線(縦軸)とを比較することによって、被写体の中心線がフレームの中心線よりも右側に所定量以上離れているかを調べる。言い換えれば、顔が向いている方向に空間(広がり)が有るかを調べる。ここで、被写体が右側に位置し、顔が向いている方向に空間(広がり)が有る場合には、最適な撮影状態であると認識してモニタ表示の状態(図3のステップA2)に戻る。  First, if the face direction is the left direction (opposite the direction illustrated in FIG. 2) (YES in step A15), the subject position in the monitor image is detected, and the subject is located on the right side of the image frame. (Step A16). For example, by comparing the center line (vertical axis) of the subject with the center line (vertical axis) of the frame, it is checked whether the center line of the subject is more than a predetermined amount on the right side of the center line of the frame. In other words, it is examined whether there is a space (spread) in the direction in which the face is facing. Here, when the subject is located on the right side and there is a space (expansion) in the direction in which the face is facing, it is recognized that the subject is in the optimum shooting state and the display returns to the monitor display state (step A2 in FIG. 3). .

一方、被写体がフレームの中心に配置されていたり、左側に配置されている場合には(ステップA16でNO)、カメラの指向方向(撮影方向)を左方向へ移動させるフレーミング制御を行う(ステップA17)。この場合、図5に示すように、フレームの左端から被写体の中心線までの距離(LC1)を算出し、この距離(LC1)に応じてレンズの指向方向を左方向へ移動させることによってフレームを左方向へ所定量分(LC2)スライドさせる。  On the other hand, if the subject is placed at the center of the frame or placed on the left side (NO in step A16), framing control is performed to move the camera pointing direction (shooting direction) to the left (step A17). ). In this case, as shown in FIG. 5, the distance (LC1) from the left end of the frame to the center line of the subject is calculated, and the direction of the lens is moved to the left in accordance with this distance (LC1). Slide left (LC2) by a predetermined amount.

同様に、顔の向きが右方向であれば(ステップA18でYES)、モニタ画像内の被写体位置を検出し、その画像フレームの左側に被写体が位置しているかを調べ(ステップA19)、被写体が左側に位置し、顔が向いている方向に空間(広がり)が有る場合には、最適な撮影状態であると認識してモニタ表示の状態(図3のステップA2)に戻るが、被写体がフレームの中心に配置されていたり、左側に配置されている場合には(ステップA19でNO)、カメラの向き(撮影方向)を右方向へ移動させるフレーミング制御を行う(ステップA20)。
図6は、この場合におけるフレーミング後の状態を示し、顔が向いている方向に空間(広がり)が設けられる。
Similarly, if the face is directed to the right (YES in step A18), the subject position in the monitor image is detected, and it is checked whether the subject is located on the left side of the image frame (step A19). If there is a space (expansion) located on the left side and facing the face, the camera recognizes that it is in an optimal shooting state and returns to the monitor display state (step A2 in FIG. 3), but the subject is a frame. If it is arranged at the center of the camera or on the left side (NO in step A19), framing control is performed to move the camera direction (photographing direction) to the right (step A20).
FIG. 6 shows a state after framing in this case, and a space (spread) is provided in the direction in which the face is facing.

更に、顔の向きが上方向であれば(ステップA21でYES)、モニタ画像内の被写体位置を検出し、その画像フレームの下側に被写体が位置しているかを調べ(ステップA22)、被写体が下側に位置し、顔が向いている方向に空間(広がり)が有る場合には、最適な撮影状態であると認識してモニタ表示の状態(図3のステップA2)に戻るが、被写体がフレームの中心に配置されていたり、上側に配置されている場合には(ステップA22でNO)、カメラの向き(撮影方向)を上方向へ移動させるフレーミング制御を行う(ステップA23)。  Further, if the face is directed upward (YES in step A21), the subject position in the monitor image is detected, and it is checked whether the subject is located below the image frame (step A22). If there is a space (expansion) located in the lower side and facing the face, it is recognized as an optimal shooting state and returns to the monitor display state (step A2 in FIG. 3). If it is arranged at the center of the frame or arranged at the upper side (NO in step A22), framing control is performed to move the camera direction (photographing direction) upward (step A23).

また、顔の向きが下方向であれば(ステップA21でNO)、モニタ画像内の被写体位置を検出し、その画像フレームの上側に被写体が位置しているかを調べ(ステップA24)、被写体が上側に位置し、顔が向いている方向に空間(広がり)が有る場合には、最適な撮影状態であると認識してモニタ表示の状態(図3のステップA2)に戻るが、被写体がフレームの中心に配置されていたり、下側に配置されている場合には(ステップA24でNO)、カメラの向き(撮影方向)を下方向へ移動させるフレーミング制御を行う(ステップA25)。  If the face is in the downward direction (NO in step A21), the subject position in the monitor image is detected to check whether the subject is located above the image frame (step A24). If there is a space (spread) in the direction in which the face is facing, the camera recognizes that it is in the optimum shooting state and returns to the monitor display state (step A2 in FIG. 3). If it is arranged at the center or arranged at the lower side (NO at step A24), framing control is performed to move the camera (photographing direction) downward (step A25).

このようにしてフレーミング制御を行った後、モニタ表示の状態(図3のステップA2)に戻るが、この場合、撮影者は、このモニタ表示の構図を確認し、この構図で実撮影を行うために、シャッターボタンを全押し操作する(ステップA6でYES)。すると、CPU1は、カメラ撮影部7を駆動させて画像メモリ8から撮影画像を取り込み(ステップA11)、これを圧縮した画像ファイルを生成すると共に(ステップA12)、この画像ファイルを記録媒体4に保存記録する(ステップA13)。そして、ステップA2に戻り、以下、上述の動作が繰り返される。  After performing the framing control in this way, the display returns to the monitor display state (step A2 in FIG. 3). In this case, the photographer confirms the composition of the monitor display and performs actual photographing with this composition. Then, the shutter button is fully pressed (YES in step A6). Then, the CPU 1 drives the camera photographing unit 7 to capture the photographed image from the image memory 8 (Step A11), generates an image file obtained by compressing the photographed image (Step A12), and stores the image file in the recording medium 4. Record (step A13). And it returns to step A2 and the above-mentioned operation | movement is repeated hereafter.

以上のように、この第1実施例においてCPU1は、シャッターボタンが半押し操作された仮撮影時に、カメラ撮影部7からのモニタ画像を解析することによってその画像フレーム内に含まれている被写体(人物)を特定すると共にその人物の顔の向きを検出し、この顔の向きに応じて実撮影時における人物の配置位置を決定し、この位置に人物が配置されるようにフレーミング調整を行って撮影方向を移動するようにしたから、人物の顔の向きをそのまま保持した状態で人物を効果的に配置した実撮影が可能となる。つまり、従来のように、被写体を撮影する毎に全ての被写体が画面の中央に配置されたり、人物の顔が全て正面向きとなるような固定的なフレーミングとはならず、被写体の向きに応じて被写体の位置を効果的に変更することができ、バランスの取れた構図を得ることが可能となる。   As described above, in the first embodiment, the CPU 1 analyzes the monitor image from the camera photographing unit 7 at the time of provisional photographing in which the shutter button is half-pressed, and thereby includes the subject included in the image frame ( The person's face is detected, the person's face orientation is detected, the position of the person in actual shooting is determined according to the face orientation, and framing adjustment is performed so that the person is placed at this position. Since the shooting direction is moved, it is possible to perform actual shooting in which a person is effectively arranged while maintaining the face orientation of the person as it is. In other words, every time a subject is photographed, all subjects are placed in the center of the screen, and fixed framing is not performed so that all human faces are facing forward, depending on the orientation of the subject. Thus, the position of the subject can be changed effectively, and a balanced composition can be obtained.

この場合、顔の向きの反対側へ人物が所定量移動するように人物の配置位置を変更するようにしたから、例えば、人物の顔の向きが右向きであれば、左側に人物を移動させ、顔の向きが左向きであれば、右側に人物を移動させ、更に、上向きであれば、下側、下向きであれば、上側に移動させることができ、顔を向けている方向に空間(広がり)を設けることで、奥行き感や落ち着きのあるバランスが取れた構図を得ることが可能となる。この際、人物の配置を変更したモニタ画面によってその配置状態を確認した上で実撮影を行うことができる。   In this case, since the arrangement position of the person is changed so that the person moves a predetermined amount to the opposite side of the face direction, for example, if the face direction of the person is rightward, the person is moved to the left side, If the face is facing left, the person can be moved to the right side. If the face is facing upward, the person can be moved downward. If the face is facing downward, the person can be moved upward. It is possible to obtain a composition with a sense of depth and calm balance. At this time, actual shooting can be performed after confirming the arrangement state on the monitor screen in which the arrangement of the person is changed.

なお、上述した第1実施例においては、顔の向きの反対側へ人物が所定量移動するように人物の配置位置を変更するようにしたが、図7に示すように顔の向きの方向へ人物が所定量移動するように人物の配置位置を変更するようにしてもよい。
図7は、顔が向いている方向へ人物を所定量移動させることによって人物の配置位置を変更した状態を例示した図で、被写体の顔の向きが右向きの場合、右側に人物を移動することによって、顔の向きとは逆の方向(左方向)に空間(広がり)を設けることで、被写体を際立たせることができ、被写体が手前に近づいているような迫力感のある構図を得ることができる。
In the first embodiment described above, the arrangement position of the person is changed so that the person moves a predetermined amount to the opposite side of the face direction. However, as shown in FIG. The arrangement position of the person may be changed so that the person moves by a predetermined amount.
FIG. 7 is a diagram exemplifying a state in which the arrangement position of the person is changed by moving the person by a predetermined amount in the direction in which the face is facing. When the face direction of the subject is rightward, the person is moved to the right side. By providing a space (expansion) in the direction opposite to the face direction (left direction), the subject can stand out, and a powerful composition can be obtained as if the subject is approaching. it can.

また、上述した第1実施例においては、被写体を人物とした場合を説明したが、被写体が花の場合には、花が開いている向きを検出し、その向きに応じてフレーミング制御を行うようにしてもよい。
更に、被写体の状態は、その向きに限らず、被写体部分の背景、被写体の色等、任意であり、例えば、被写体の衣服の明度が高い場合には、左側に配置して奥行き感を持たせ、明度が低い場合には、右側に配置して被写体を際立たせるようにしてもよい。
In the first embodiment described above, the case where the subject is a person has been described. However, when the subject is a flower, the direction in which the flower is open is detected, and framing control is performed according to the direction. It may be.
Furthermore, the state of the subject is not limited to the orientation of the subject, but may be any background, such as the background of the subject, the color of the subject, etc. If the brightness is low, the subject may be made to stand out by placing it on the right side.

一方、コンピュータに対して、上述した各手段を実行させるためのプログラムコードをそれぞれ記録した記録媒体(例えば、CD−ROM、RAMカード等)を提供するようにしてもよい。すなわち、コンピュータが読み取り可能なプログラムコードを有する記録媒体であって、実撮影を行う前に、仮撮影したデジタル画像を解析することによってその画像フレーム内に含まれている被写体を特定すると共に、この被写体の状態を検出する機能と、実撮影時における画像フレーム内の被写体位置を前記検出された被写体の状態に応じて決定する機能と、決定された位置に被写体が配置されるように光学系を調整制御して撮影方向を移動する機能とを実現させるためのプログラムを記録したコンピュータが読み取り可能な記録媒体を提供するようにしてもよい。
(実施例2)
On the other hand, a recording medium (for example, a CD-ROM, a RAM card, etc.) on which program codes for executing the above-described units are recorded may be provided to the computer. That is, a computer-readable recording medium having a program code that identifies a subject included in an image frame by analyzing a temporarily captured digital image before actual shooting. A function for detecting the state of the subject, a function for determining the subject position in the image frame at the time of actual shooting according to the state of the detected subject, and an optical system so that the subject is arranged at the determined position. You may make it provide the computer-readable recording medium which recorded the program for implement | achieving the function to adjust and control an imaging | photography direction.
(Example 2)

以下、この発明の第2実施例について図8〜図10を参照して説明する。
なお、上述した第1実施例においては、モニタ画像を解析することによってその画像フレーム内に含まれている被写体(人物)の顔の向きを検出すると共に、この顔の向きに応じて人物の配置位置を決定し、この位置に人物を配置させるために撮影方向を移動するようにしたが、この第2実施例においては、モニタ画像を解析することによって主被写体以外で余計な被写体を検出すると共に、この余計な被写体が含まれないように撮影範囲を変更するようにしたものである。
ここで、両実施例において基本的あるいは名称的に同一のものは、同一符号を付して示し、その説明を省略すると共に、以下、第2実施例の特徴部分を中心に説明するものとする。
A second embodiment of the present invention will be described below with reference to FIGS.
In the first embodiment described above, the orientation of the face of the subject (person) included in the image frame is detected by analyzing the monitor image, and the arrangement of the person according to the orientation of the face is detected. In this second embodiment, an extra subject other than the main subject is detected by analyzing the monitor image in order to determine the position and move the shooting direction in order to place a person at this position. The shooting range is changed so that this extra subject is not included.
Here, the same or the same names in both embodiments are denoted by the same reference numerals, the description thereof will be omitted, and the following description will focus on the features of the second embodiment. .

図8は、主なる被写体以外にもその周囲に余計な被写体が写っている場合のモニタ画像を例示した図である。また、図9は、図8に示した主被写体を拡大制御することによって余計な被写体をその画像フレームから外した場合の状態を示した図である。
この第2実施例においては、モニタ画像を解析することによってそのフレーム内に写っている主被写体Aを特定すると共に、主被写体A以外で余計な被写体Bを検出し、この余計な被写体Bが画像フレームから外れるようにズーム機能を制御して撮影範囲を変更するようにしている。
FIG. 8 is a diagram exemplifying a monitor image in a case where an extra subject other than the main subject is shown around the subject. FIG. 9 is a diagram showing a state in which an extra subject is removed from the image frame by enlarging the main subject shown in FIG.
In the second embodiment, by analyzing the monitor image, the main subject A reflected in the frame is specified, and an extra subject B other than the main subject A is detected, and the extra subject B is imaged. The shooting range is changed by controlling the zoom function so as to be out of the frame.

図10は、シャッターボタンが半押し操作された際の動作を示したフローチャートである。
先ず、CPU1は、シャッターボタンが半押し操作された際に、その時のモニタ画像を取り込んで解析することにより被写体部分と背景部分との識別を行う(ステップB1)。この場合、例えば、被写体の種類毎に予め用意されているサンプル情報(例えば、人、建物、生物などの概要特性を表した特徴情報)を参照しながら全体形状の特性、各部位の形状や配置特性(要素特性)、色特性などを総合的に判断して被写体部分を特定することにより、被写体部分とその他の部分(背景部分)とを区別するようにしている。この場合、極端に小さいものは背景と見做し(無視し)、所定サイズ以上のものを抽出して被写体認識を行うようにしている。
FIG. 10 is a flowchart showing an operation when the shutter button is half-pressed.
First, when the shutter button is half-pressed, the CPU 1 identifies the subject portion and the background portion by capturing and analyzing the monitor image at that time (step B1). In this case, for example, referring to sample information prepared for each subject type (for example, feature information representing outline characteristics of people, buildings, living creatures, etc.), characteristics of the overall shape, shapes and arrangement of each part The subject portion and the other portion (background portion) are distinguished from each other by specifying the subject portion by comprehensively judging the characteristics (element characteristics), the color characteristics, and the like. In this case, an extremely small object is regarded as a background (ignored), and an object larger than a predetermined size is extracted for subject recognition.

次に、モニタ画像の中心やその近く(中心部分)に位置している被写体を抽出し(ステップB2)、この抽出画像に人物を含むか否かを画像解析によって判別し(ステップB3)、人物が含まれていなければ(ステップB3でNO)、当該抽出画像を主被写体として特定するが(ステップB4)、抽出画像内に人物が含まれている場合には、この抽出画像の中で顔が正面に向いている全ての人物を主被写体として特定する(ステップB5)。
このようにして特定した主被写体を全て囲むと共に最小となるような最小枠(論理的な枠)をモニタ画像内に生成した後(ステップB6)、この生成枠の外部に他の被写体が存在しているか否かを調べる(ステップB7)。
Next, a subject located at the center of the monitor image or near (center part) is extracted (step B2), and it is determined by image analysis whether or not the extracted image includes a person (step B3). Is not included (NO in step B3), the extracted image is specified as the main subject (step B4). If a person is included in the extracted image, a face is included in the extracted image. All persons facing the front are specified as main subjects (step B5).
After generating a minimum frame (logical frame) that surrounds all the main subjects identified in this way and is minimized in the monitor image (step B6), there are other subjects outside the generated frame. It is checked whether or not (step B7).

ここで、モニタ画像内に主被写体以外の被写体が無ければ(ステップB7でNO)、シャッターボタンが全押し操作されたかを調べ(ステップB8)、全押し操作された場合には、この時の撮影画像を圧縮した画像ファイルを生成して記録媒体4に保存記録するが(ステップB9)、主被写体の周囲にそれ以外の他の被写体が存在している場合には(ステップB7でYES)、当該他の被写体のサイズと主被写体のサイズを求めてサイズ比較を行い、主被写体に比べてサイズが小さいか否かの判別を行う(ステップB10)。いま、他の被写体が主被写体よりも小さければ、当該他の被写体を含めた撮影を可能とするためにステップB8に移る。  If there is no subject other than the main subject in the monitor image (NO in step B7), it is checked whether the shutter button is fully pressed (step B8). An image file obtained by compressing the image is generated and stored and recorded in the recording medium 4 (step B9). If there are other subjects around the main subject (YES in step B7), The size of the other subject and the size of the main subject are obtained and compared, and it is determined whether or not the size is smaller than that of the main subject (step B10). If the other subject is smaller than the main subject, the process proceeds to step B8 in order to enable photographing including the other subject.

一方、主被写体に比べて同程度以上の大きさであったり、主被写体に比べて大き過ぎるような場合には(ステップB10でNO)、当該他の被写体を余計な被写体として認識し、この余計な被写体が含まれないように上述の生成枠を拡大変更する(ステップB11)。つまり、モニタ画像の中から生成枠内の画像を抽出して画像拡大を行う。そして、この拡大画像をモニタ画面に案内表示すると共に(ステップB12)、この倍率で良いかを問い合わせる確認メッセージを表示する(ステップB13)。ここで、肯定的な確認OKの操作が行われたことを条件に(ステップB14)、上述の生成枠を拡大した倍率となるようにズーム機構を調整制御する(ステップB15)。そして、ステップB8に移り、シャッターボタンが全押し操作された場合には、この拡大倍率で撮影された画像が記録保存される(ステップB9)。  On the other hand, if it is about the same size or larger than the main subject or too large compared to the main subject (NO in step B10), the other subject is recognized as an extra subject, and this extra subject. The above-described generation frame is enlarged and changed so as not to include a large subject (step B11). In other words, the image in the generation frame is extracted from the monitor image and the image is enlarged. The enlarged image is displayed as a guide on the monitor screen (step B12), and a confirmation message for inquiring whether this magnification is acceptable is displayed (step B13). Here, on the condition that a positive confirmation OK operation has been performed (step B14), the zoom mechanism is adjusted and controlled so as to obtain a magnification obtained by enlarging the above-described generation frame (step B15). Then, the process proceeds to step B8, and when the shutter button is fully pressed, an image photographed at this magnification is recorded and saved (step B9).

以上のように、この第2実施例においてCPU1は、シャッターボタンが半押し操作された仮撮影時に、カメラ撮影部7からのモニタ画像を解析することによってその画像フレーム内に含まれている主被写体を特定すると共に、主被写体以外で余計な被写体を検出し、この余計な被写体が画像フレームから外れるようにズーム撮影を行うことによってその撮影範囲を変更するようにしたから、余計な被写体を取り除いた効果的な実撮影が可能となり、撮影ターゲットとしての主被写体を際立たせることが可能となる。   As described above, in the second embodiment, the CPU 1 analyzes the monitor image from the camera photographing unit 7 at the time of provisional photographing in which the shutter button is pressed halfway, thereby including the main subject included in the image frame. In addition to detecting the extra subject other than the main subject, the shooting range was changed by zooming so that the extra subject was out of the image frame, so the extra subject was removed. Effective real shooting is possible, and the main subject as a shooting target can be made to stand out.

この場合、画像フレーム内の中央部分に含まれている被写体を主被写体として特定するようにしたから、画像フレーム内の中央部分のみに着目して画像解析を行えばよく、主被写体を簡単に特定することができる。
また、画像フレーム内において正面を向いている被写体(人物)を主被写体として特定するようにしたから、例えば、人ごみの中でも撮影ターゲットを容易に特定することが可能となる。
In this case, since the subject included in the central portion of the image frame is specified as the main subject, it is sufficient to focus on only the central portion in the image frame and perform image analysis, and the main subject can be easily specified. can do.
In addition, since the subject (person) facing the front in the image frame is specified as the main subject, for example, it is possible to easily specify the shooting target even in a crowd.

主被写体の周囲に写っている被写体と主被写体とを比較した結果、主被写体の周囲画像として適さない画像を余計な被写体として検出することができる。すなわち、主被写体に比べて同程度以上の大きさであったり、主被写体に比べて大き過ぎる場合には、その被写体を余計な被写体として検出することができる。
また、主被写体を拡大変更した画像をガイド表示した後において、確認OKの操作と共にシャッターボタンが全押し操作された際に、この拡大倍率にズーム機能を調整した状態で撮影された画像を記録保存するようにしたから、撮影状態を確認した上で実撮影を行うことができる。
As a result of comparing the main subject with the subject appearing around the main subject, an image that is not suitable as the surrounding image of the main subject can be detected as an extra subject. That is, when the size is equal to or larger than the main subject or too large compared to the main subject, the subject can be detected as an extra subject.
In addition, after displaying the image of the main subject enlarged and displayed as a guide, when the shutter button is fully pressed together with the confirmation OK operation, the image captured with the zoom function adjusted to this magnification is recorded and saved. Thus, actual shooting can be performed after checking the shooting state.

なお、上述した第2実施例においては、主被写体以外で余計な被写体が含まれないように、主被写体をズーム撮影する場合を示したが、主被写体以外で余計な被写体が含まれないように、レンズの指向方向を変更してその撮影方向を移動するようにしてもよい。更に、ズーム調整と撮影方向の変更を合わせて行うようにしてもよい。   In the above-described second embodiment, the case where the main subject is zoomed so as not to include an extra subject other than the main subject has been described. However, the extra subject other than the main subject is not included. The shooting direction may be changed by changing the direction of the lens. Further, the zoom adjustment and the change of the photographing direction may be performed together.

また、コンピュータが読み取り可能なプログラムコードを有する記録媒体であって、被写体を実撮影する前に、当該被写体を仮撮影したデジタル画像を解析することによってその画像フレーム内に含まれている主なる被写体を特定すると共に、この主被写体以外で余計な被写体を検出する機能と、主被写体が特定され、かつ、主被写体以外で余計な被写体が検出された際に、この余計な被写体が画像フレーム内から外れるように光学系を調整制御して撮影範囲を変更する機能とを実現させるためのプログラムを記録したコンピュータが読み取り可能な記録媒体を提供するようにしてもよい。   Also, a recording medium having a computer readable program code, which is a main subject included in the image frame by analyzing a digital image that is temporarily captured before the subject is actually captured And a function for detecting an extra subject other than the main subject, and when the main subject is specified and an extra subject other than the main subject is detected, the extra subject is detected from within the image frame. It is also possible to provide a computer-readable recording medium on which a program for realizing a function of adjusting and controlling the optical system so as to deviate and changing the photographing range is recorded.

その他、上述した第1および第2実施例は、デジタルスチルカメラ適用した場合を例示したが、静止画に限らず、勿論、ビデオカメラにも基本的には同様に適用可能である。更に、カメラ内臓型の電子機器(携帯電話など)にも適用可能である。  In addition, the first and second embodiments described above exemplify cases where a digital still camera is applied. However, the present invention is not limited to still images and can be basically applied to a video camera. Furthermore, the present invention can also be applied to an electronic device with a built-in camera (such as a mobile phone).

画像撮影装置の基本的構成要素を示したブロック図。The block diagram which showed the basic component of the image imaging device. 人物の顔の向きを認識する場合の手法を説明するための図。The figure for demonstrating the method in the case of recognizing the direction of a person's face. 電源投入によって実行開始される動作概要を示したフローチャート。The flowchart which showed the operation | movement outline | summary started execution by power-on. 図3に続く、動作概要を示したフローチャート。The flowchart which showed the operation | movement outline | summary following FIG. 画像フレームの左端から被写体の中心線までの距離に応じてカメラの向きを左方向へ移動させることによってフレームを左方向へ所定量分スライドさせた状態を示した図。The figure which showed the state which slid the frame by the predetermined amount to the left direction by moving the direction of a camera to the left direction according to the distance from the left end of an image frame to the subject's centerline. 顔が向いている方向に空間(広がり)を持たせたフレーミング状態を示した図。The figure which showed the framing state which gave space (expansion) in the direction which the face has faced. 顔が向いている方向へ人物を所定量移動させることによって人物の配置位置を変更した状態を例示した図。The figure which illustrated the state which changed the arrangement position of a person by moving a person a predetermined amount to the direction which the face is facing. 第2実施例において、主なる被写体以外にもその周囲に余計な被写体が写っている場合のモニタ画像を例示した図。The figure which illustrated the monitor image in case the 2nd Example has an extra subject other than the main subject. 第2実施例において、主被写体を拡大制御することによって余計な被写体をその画像フレームから外した場合の状態を示した図。The figure which showed the state at the time of removing an excess subject from the image frame by carrying out enlargement control of the main subject in 2nd Example. 第2実施例において、シャッターボタンが半押し操作された際の動作を示したフローチャート。9 is a flowchart showing an operation when the shutter button is half-pressed in the second embodiment.

符号の説明Explanation of symbols

1 CPU
2 記憶部
4 記録媒体
5 操作部
6 表示部
7 カメラ撮影部
8 画像メモリ
1 CPU
2 Storage Unit 4 Recording Medium 5 Operation Unit 6 Display Unit 7 Camera Shooting Unit 8 Image Memory

Claims (10)

光学系を自動調整してデジタル撮影を行う画像撮影装置であって、
実撮影を行う前に、仮撮影したデジタル画像を解析することによってその画像フレーム内に含まれている被写体を特定すると共に、この被写体の状態を検出する画像解析手段と、
実撮影時における画像フレーム内の被写体位置を前記画像解析手段によって得られた被写体の状態に応じて決定する決定手段と、
この決定手段によって決定された位置に被写体が配置されるように光学系を調整制御して撮影方向を移動する撮影制御手段と、
を具備したことを特徴とする画像撮影装置。
An image capturing device that automatically adjusts an optical system to perform digital shooting,
Before performing actual shooting, by analyzing the provisionally shot digital image to identify the subject included in the image frame, and image analysis means for detecting the state of the subject,
Determining means for determining the subject position in the image frame at the time of actual shooting according to the state of the subject obtained by the image analyzing means;
Photographing control means for adjusting and controlling the optical system so that the subject is arranged at the position determined by the determining means, and moving the photographing direction;
An image photographing apparatus comprising:
前記画像解析手段は、被写体の向きを検出し、
前記決定手段は、前記検出された被写体の向きの反対側へ被写体が所定量移動するように被写体の配置位置を決定する、
ようにしたことを特徴とする請求項1記載の画像撮影装置。
The image analysis means detects the direction of the subject,
The determining means determines the position of the subject so that the subject moves a predetermined amount to the opposite side of the direction of the detected subject;
2. The image photographing device according to claim 1, wherein the image photographing device is configured as described above.
前記画像解析手段は、被写体の向きを検出し、
前記決定手段は、前記検出された被写体の向きの方向へ被写体が所定量移動するように被写体の配置位置を決定する、
ようにしたことを特徴とする請求項1記載の画像撮影装置。
The image analysis means detects the direction of the subject,
The determining means determines the position of the subject so that the subject moves a predetermined amount in the direction of the detected direction of the subject;
2. The image photographing device according to claim 1, wherein the image photographing device is configured as described above.
光学系を自動調整してデジタル撮影を行う画像撮影装置であって、
実撮影を行う前に、仮撮影したデジタル画像を解析することによってその画像フレーム内に含まれている主なる被写体を特定すると共に、この主被写体以外で余計な被写体を検出する画像解析手段と、
この画像解析手段によって主被写体が特定され、かつ、主被写体以外で余計な被写体が検出された際に、この余計な被写体が画像フレーム内から外れるように光学系を調整制御して撮影範囲を変更する撮影制御手段と、
を具備したことを特徴とする画像撮影装置。
An image capturing device that automatically adjusts an optical system to perform digital shooting,
Before performing actual shooting, by analyzing a temporarily captured digital image, the main subject included in the image frame is specified, and image analysis means for detecting an extra subject other than the main subject,
When the main subject is specified by this image analysis means and an extra subject other than the main subject is detected, the photographic range is changed by adjusting and controlling the optical system so that the extra subject is removed from the image frame. Photographing control means to
An image photographing apparatus comprising:
前記画像解析手段は、画像フレーム内の中央部分に含まれている被写体を主被写体として特定する、
ようにしたことを特徴とする請求項4記載の画像撮影装置。
The image analysis means identifies a subject included in a central portion of the image frame as a main subject;
The image photographing apparatus according to claim 4, wherein the image photographing apparatus is configured as described above.
前記画像解析手段は、画像フレーム内において正面を向いている被写体を主被写体として特定する、
ようにしたことを特徴とする請求項4記載の画像撮影装置。
The image analysis means identifies a subject facing the front in the image frame as a main subject;
The image photographing apparatus according to claim 4, wherein the image photographing apparatus is configured as described above.
前記画像解析手段は、主被写体の周囲に写っている被写体と主被写体とを比較した結果、主被写体の周囲画像として適さない画像を余計な被写体として検出する、
ようにしたことを特徴とする請求項4記載の画像撮影装置。
The image analysis means detects, as an extra subject, an image that is not suitable as a surrounding image of the main subject, as a result of comparing the main subject with a subject appearing around the main subject.
The image photographing apparatus according to claim 4, wherein the image photographing apparatus is configured as described above.
前記撮影制御手段によって変更された撮影範囲で仮撮影したデジタル画像が表示されている状態において、実撮影の開始が指示された際に、当該撮影範囲で実撮影されたデジタル画像を記録保存する、
ようにしたことを特徴とする請求項4記載の画像撮影装置。
In a state where a digital image temporarily shot in the shooting range changed by the shooting control means is displayed, when a start of actual shooting is instructed, the digital image actually shot in the shooting range is recorded and saved.
The image photographing apparatus according to claim 4, wherein the image photographing apparatus is configured as described above.
コンピュータに対して、
実撮影を行う前に、仮撮影したデジタル画像を解析することによってその画像フレーム内に含まれている被写体を特定すると共に、この被写体の状態を検出する機能と、
実撮影時における画像フレーム内の被写体位置を前記検出された被写体の状態に応じて決定する機能と、
決定された位置に被写体が配置されるように光学系を調整制御して撮影方向を移動する機能と、
を実現させるためのプログラム。
Against the computer,
Before performing actual shooting, by analyzing the temporarily captured digital image to identify the subject included in the image frame, and a function of detecting the state of the subject,
A function of determining a subject position in an image frame at the time of actual shooting according to the state of the detected subject;
A function of adjusting and controlling the optical system so that the subject is arranged at the determined position and moving the shooting direction;
A program to realize
コンピュータに対して、
被写体を実撮影する前に、当該被写体を仮撮影したデジタル画像を解析することによってその画像フレーム内に含まれている主なる被写体を特定すると共に、この主被写体以外で余計な被写体を検出する機能と、
主被写体が特定され、かつ、主被写体以外で余計な被写体が検出された際に、この余計な被写体が画像フレーム内から外れるように光学系を調整制御して撮影範囲を変更する機能と、
を実現させるためのプログラム。
Against the computer,
A function that identifies a main subject included in the image frame by analyzing a digital image temporarily taken of the subject before actual shooting of the subject and detects an extra subject other than the main subject. When,
When a main subject is specified and an extra subject other than the main subject is detected, a function to change the shooting range by adjusting and controlling the optical system so that the extra subject is out of the image frame;
A program to realize
JP2003325547A 2003-09-18 2003-09-18 Image photographing apparatus and program Expired - Fee Related JP4355853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003325547A JP4355853B2 (en) 2003-09-18 2003-09-18 Image photographing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003325547A JP4355853B2 (en) 2003-09-18 2003-09-18 Image photographing apparatus and program

Publications (2)

Publication Number Publication Date
JP2005094406A true JP2005094406A (en) 2005-04-07
JP4355853B2 JP4355853B2 (en) 2009-11-04

Family

ID=34455955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003325547A Expired - Fee Related JP4355853B2 (en) 2003-09-18 2003-09-18 Image photographing apparatus and program

Country Status (1)

Country Link
JP (1) JP4355853B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174548A (en) * 2005-12-26 2007-07-05 Casio Comput Co Ltd Photographing device and program
JP2009100300A (en) * 2007-10-17 2009-05-07 Sony Corp Composition determination apparatus, composition determination method, and program
JP2011030015A (en) * 2009-07-27 2011-02-10 Sony Corp Composition control device, imaging system, composition control method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000098456A (en) * 1998-09-28 2000-04-07 Minolta Co Ltd Camera provided with automatic composing function
JP2000244800A (en) * 1999-02-22 2000-09-08 Victor Co Of Japan Ltd Image pickup device
JP2000268180A (en) * 1999-03-15 2000-09-29 Sony Corp Image processing device and method and provided medium
JP2001148843A (en) * 1999-11-18 2001-05-29 Mega Chips Corp Image pickup device and criminal prevention system using the image pickup device
JP2002281506A (en) * 2001-03-16 2002-09-27 Internatl Business Mach Corp <Ibm> Method and system for extracting partial image area of video image, program for extracting partial image area, distributing method for extracted video image and contents preparing method
JP2004520735A (en) * 2000-12-22 2004-07-08 ヒューレット・パッカード・カンパニー Automatic cropping method and apparatus for electronic images

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000098456A (en) * 1998-09-28 2000-04-07 Minolta Co Ltd Camera provided with automatic composing function
JP2000244800A (en) * 1999-02-22 2000-09-08 Victor Co Of Japan Ltd Image pickup device
JP2000268180A (en) * 1999-03-15 2000-09-29 Sony Corp Image processing device and method and provided medium
JP2001148843A (en) * 1999-11-18 2001-05-29 Mega Chips Corp Image pickup device and criminal prevention system using the image pickup device
JP2004520735A (en) * 2000-12-22 2004-07-08 ヒューレット・パッカード・カンパニー Automatic cropping method and apparatus for electronic images
JP2002281506A (en) * 2001-03-16 2002-09-27 Internatl Business Mach Corp <Ibm> Method and system for extracting partial image area of video image, program for extracting partial image area, distributing method for extracted video image and contents preparing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174548A (en) * 2005-12-26 2007-07-05 Casio Comput Co Ltd Photographing device and program
JP2009100300A (en) * 2007-10-17 2009-05-07 Sony Corp Composition determination apparatus, composition determination method, and program
US8275171B2 (en) 2007-10-17 2012-09-25 Sony Corporation Composition determining apparatus, composition determining method, and program
JP2011030015A (en) * 2009-07-27 2011-02-10 Sony Corp Composition control device, imaging system, composition control method, and program

Also Published As

Publication number Publication date
JP4355853B2 (en) 2009-11-04

Similar Documents

Publication Publication Date Title
EP1628465A1 (en) Image capture apparatus and control method therefor
JP5713055B2 (en) Imaging apparatus, imaging method, and program
US8988535B2 (en) Photographing control method and apparatus according to motion of digital photographing apparatus
US8411159B2 (en) Method of detecting specific object region and digital camera
KR20100027700A (en) Photographing method and apparatus
KR20130017629A (en) Apparatus and method for processing image, and computer-readable storage medium
JP5936358B2 (en) Image display device, image display method, imaging device and control method thereof, program, and storage medium storing the same
JP2007148691A (en) Image processor
KR101817659B1 (en) Digital photographing apparatus and method of controlling the same
JP4586707B2 (en) Image processing apparatus, electronic camera, and image processing program
JP2005323015A (en) Digital camera
JP2009081530A (en) Imaging apparatus and imaging method
JP4534539B2 (en) Camera apparatus and program
JP4355853B2 (en) Image photographing apparatus and program
JP2003289468A (en) Imaging apparatus
JP2008172732A (en) Imaging apparatus, control method thereof, and program
JP4841111B2 (en) Digital camera device and program
JP4887840B2 (en) Imaging apparatus and program
JP2007264250A (en) Photographing device and program
JP4453540B2 (en) Imaging apparatus and program
JP2002305676A (en) Electronic camera
JP6223502B2 (en) Image processing apparatus, image processing method, program, and storage medium storing the same
JP2008067168A (en) Digital camera
JP2015118274A (en) Imaging device, imaging device control method, and program
JP2012027302A (en) Imaging apparatus with projection function

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060209

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060404

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060707

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080519

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080904

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090317

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090514

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: 20090707

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: 20090720

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

Free format text: PAYMENT UNTIL: 20120814

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4355853

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: 20120814

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130814

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees