JP5164327B2 - Imaging apparatus and program - Google Patents

Imaging apparatus and program Download PDF

Info

Publication number
JP5164327B2
JP5164327B2 JP2005372631A JP2005372631A JP5164327B2 JP 5164327 B2 JP5164327 B2 JP 5164327B2 JP 2005372631 A JP2005372631 A JP 2005372631A JP 2005372631 A JP2005372631 A JP 2005372631A JP 5164327 B2 JP5164327 B2 JP 5164327B2
Authority
JP
Japan
Prior art keywords
subject
image
composition information
state
interest
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005372631A
Other languages
Japanese (ja)
Other versions
JP2007174548A (en
JP2007174548A5 (en
Inventor
正雄 小西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2005372631A priority Critical patent/JP5164327B2/en
Publication of JP2007174548A publication Critical patent/JP2007174548A/en
Publication of JP2007174548A5 publication Critical patent/JP2007174548A5/ja
Application granted granted Critical
Publication of JP5164327B2 publication Critical patent/JP5164327B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Description

本発明は、撮影対象シーンにおいて最適な構図を案内表示する撮影装置及びプログラムに関する。   The present invention relates to a photographing apparatus and a program for guiding and displaying an optimal composition in a photographing target scene.

従来、写真を撮る際には、撮影者の主観に基づいて構図を決定し、撮影を行っている。しかしながら、構図に関する専門知識のない撮影者が視覚的にバランスの良い撮影画像を取得することは難しい。   Conventionally, when taking a picture, the composition is determined based on the subjectivity of the photographer, and shooting is performed. However, it is difficult for a photographer who has no specialized knowledge regarding composition to obtain a photographed image with a good balance visually.

例えば、特許文献1には、画像から構図情報を抽出してデータベースに格納しておき、ビデオカメラやイメージスキャナから入力された画像の被写体を、データベースに格納された構図情報に基づいて背景画像に再配置して合成する技術が記載されている。
また、例えば、特許文献2には、撮影に先立ち、撮影する画像の構図を設定し、撮影時には、撮影しようとする画像と予め設定された構図とのずれを判定し、ずれが有る場合に所定の報知を行う技術が記載されている。
特開2000−200354号公報 特開2005−51541号公報
For example, in Patent Document 1, composition information is extracted from an image and stored in a database, and a subject of an image input from a video camera or an image scanner is converted into a background image based on the composition information stored in the database. Techniques for rearrangement and synthesis are described.
Further, for example, in Patent Document 2, a composition of an image to be photographed is set prior to photographing, and at the time of photographing, a deviation between an image to be photographed and a predetermined composition is determined, and predetermined when there is a deviation. A technique for performing the notification is described.
JP 2000-200434 A JP 2005-51541 A

しかしながら、特許文献1に記載の技術は、ビデオカメラ等で撮影された被写体の画像と背景画像を合成することにより視覚的にバランスの良い構図の画像を得るものであり、撮影時に撮影者が視覚的にバランスの良い、最適な構図で撮影することを可能とするものではない。   However, the technique described in Patent Document 1 obtains an image with a visually balanced composition by combining an image of a subject photographed with a video camera or the like with a background image. Therefore, it is not possible to shoot with an optimal composition with a good balance.

本発明の課題は、撮影者が容易に視覚的にバランスの良い構図で撮影できるように支援することである。   An object of the present invention is to support a photographer so that a photographer can easily photograph with a visually balanced composition.

上記課題を解決するため、請求項1に記載の発明の撮影装置は、影対象シーンの光学画像を電気信号に変換して撮影画像として取得する画像取得手段と、その取得された撮影画像を表示画面上に表示する表示制御手段と、を備えた撮影装置であって、被写体の種類を大別する複数の被写体の種類毎に、その被写体における各種状態を複数に分類し、その分類された各種状態に対応して、当該被写体の配置位置とサイズとを構図情報として記憶する構図情報記憶手段と、前記画像取得手段により取得された撮影画像を解析し、当該撮影画像の中で大別される被写体の種類の中で、当該撮影画像内でのその時の被写体の状態を判別する判別手段と、この判別手段で判別された被写体の状態が、前記構図情報記憶手段に記憶された前記被写体の種類の中での被写体の各種状態の何れに該当するかを特定する特定手段と、この特定手段で特定された被写体の状態に対応して記憶される構図情報を読み出し、その読み出された構図情報に基づく配置位置と被写体サイズとを、前記被写体の種類での被写体の状態に応じた最適構図として前記表示画面上で案内表示する案内手段と、撮影指示に応じて前記画像取得手段により撮影された撮影画像から、その撮影画像内における被写体の状態に対応して、その時の被写体の配置位置とサイズとを取得する被写体状態取得手段と、この被写体状態取得手段で取得された被写体の配置位置とサイズとに基づいて、当該被写体の状態に対応する前記構図情報記憶手段における構図情報を更新する更新手段と、を備えたことを特徴とする。

In order to solve the above-described problem, the imaging device according to the first aspect of the present invention includes an image acquisition unit that converts an optical image of a shadow target scene into an electrical signal and acquires the image as a captured image, and displays the acquired captured image. And a display control means for displaying on the screen, and for each of a plurality of types of subjects roughly classifying the types of subjects, the various states of the subject are classified into a plurality of types, and the classified various types Corresponding to the state, composition information storage means for storing the arrangement position and size of the subject as composition information, and the captured image acquired by the image acquisition means are analyzed, and are roughly classified in the captured image. Among the types of subjects, a discriminating unit that discriminates the state of the subject at that time in the captured image, and the subject state discriminated by the discriminating unit are the types of the subject stored in the composition information storage unit. The specifying means for specifying which of the various states of the subject in the image and the composition information stored corresponding to the state of the subject specified by the specifying means are read, and the read composition information Guidance means for guiding and displaying the arrangement position and subject size based on the display screen as an optimum composition according to the state of the subject in the kind of subject, and photographing taken by the image obtaining means in response to a photographing instruction From the image, subject state acquisition means for acquiring the subject placement position and size at that time corresponding to the subject state in the captured image, and the subject placement position and size obtained by the subject state acquisition means, And updating means for updating composition information in the composition information storage means corresponding to the state of the subject.

発明によれば撮影者が容易に視覚的にバランスの良い最適な構図で撮影を行うことが可能となる。 According to the present invention, a photographer can easily perform photographing with an optimal composition with a visually good balance.

以下、本発明の実施形態におけるデジタルカメラ10について詳細に説明する。
まず、構成を説明する。
図1は、デジタルカメラ10の機能的構成を示すブロック図である。図1に示すように、デジタルカメラ10は、CPU(Central Processing Unit)11、入力装置12、RAM(Random Access Memory)13、伝送制御部14、表示装置15、撮像装置16、記録装置17等を備えて構成されており、各部及び各装置はバス18により接続されている。
Hereinafter, the digital camera 10 according to the embodiment of the present invention will be described in detail.
First, the configuration will be described.
FIG. 1 is a block diagram showing a functional configuration of the digital camera 10. As shown in FIG. 1, a digital camera 10 includes a CPU (Central Processing Unit) 11, an input device 12, a RAM (Random Access Memory) 13, a transmission control unit 14, a display device 15, an imaging device 16, a recording device 17, and the like. Each part and each device are connected by a bus 18.

CPU11は、記録装置17に記憶されているシステムプログラムを読み出し、RAM13内に形成されたワークエリアに展開し、該システムプログラムに従って各部を制御する。また、CPU11は、記録装置17に記憶されているメイン処理プログラム、構図決定撮影処理プログラムを始めとする各種処理プログラムを読み出してワークエリアに展開し、その展開されたプログラムに従って、後述するメイン処理(図7参照)、構図決定撮影処理(図8参照)を始めとする各種処理を実行する。   The CPU 11 reads out a system program stored in the recording device 17, develops it in a work area formed in the RAM 13, and controls each unit according to the system program. Further, the CPU 11 reads out various processing programs such as a main processing program and a composition determination photographing processing program stored in the recording device 17 and develops them in a work area, and a main processing (to be described later) according to the developed programs. 7), various processes including a composition determination photographing process (see FIG. 8) are executed.

入力装置12は、電源キー、シャッターキー、表示装置15の表示画面上におけるカーソル位置の移動のために表示画面上の上下左右の各方向を指示するための十字キー、この十字キーの中央部に配置され、その時点で選択されている内容を指示設定する決定キー等を備えている。また、入力装置12は、通常撮影モード、構図決定撮影モード、終了モード、再生モード等のデジタルカメラ10の動作モードを切り替えるモード切替スイッチを備え、ユーザによる各キー操作やスイッチ操作に応じた操作信号をCPU11に出力する。なお、シャッターキーは、半押し状態と全押し状態の2段階スイッチとなっており、全押し操作されると、撮影開始の指示命令をCPU11に出力する。   The input device 12 includes a power key, a shutter key, a cross key for instructing each direction of up, down, left, and right on the display screen to move the cursor position on the display screen of the display device 15. A determination key or the like is provided for indicating and setting the content that is arranged and selected at that time. The input device 12 includes a mode changeover switch for switching the operation mode of the digital camera 10 such as a normal shooting mode, a composition determination shooting mode, an end mode, and a playback mode, and an operation signal corresponding to each key operation or switch operation by the user. Is output to the CPU 11. Note that the shutter key is a two-stage switch in a half-pressed state and a fully-pressed state.

RAM13は、CPU11によって実行される各種プログラム及びこれらプログラムに係るデータを一時的に記憶するワークエリアを形成する。   The RAM 13 forms a work area for temporarily storing various programs executed by the CPU 11 and data related to these programs.

伝送制御部14は、通信用ケーブル等により外部の電子機器、例えば、パーソナルコンピュータ等と接続され、画像データ等の送受信を制御する。なお、外部機器との接続は、赤外線や無線等の無線接続であってもよい。   The transmission control unit 14 is connected to an external electronic device such as a personal computer via a communication cable or the like, and controls transmission / reception of image data and the like. The connection with the external device may be a wireless connection such as infrared or wireless.

表示装置15は、LCD(Liquid Crystal Display)等のモニタにより構成され、CPU11から入力される表示信号の指示に従って、撮影しようとする画像及び撮影された画像等を表示画面上に表示する。   The display device 15 is configured by a monitor such as an LCD (Liquid Crystal Display), and displays an image to be photographed, a photographed image, and the like on a display screen in accordance with an instruction of a display signal input from the CPU 11.

図2は、撮像装置16の詳細構成を示す図である。撮像装置16は、撮影対象シーンの光学画像を電気信号に変換して画像データを取得する画像取得手段としての機能を有する。ここで、図2を参照して撮像装置16について説明する。   FIG. 2 is a diagram illustrating a detailed configuration of the imaging device 16. The imaging device 16 has a function as an image acquisition unit that acquires an image data by converting an optical image of a shooting target scene into an electrical signal. Here, the imaging device 16 will be described with reference to FIG.

撮像レンズ21を通過した撮影対象シーンの光学像は、絞り機構22を介してCCD(Charge Coupled Device)23上に結像される。撮像レンズ21及び絞り機構22は、光学系駆動部24によって、焦点合わせやズームのためにレンズ位置が移動され、また、適切な露出となるように絞り量が制御される。この撮像レンズ21の移動や絞り機構22の絞りは、測距センサや光量センサを含むセンサ部25によって検出された検出値がバス18を介してCPU11に出力され、CPU11で検出値に基づいて演算された撮像レンズ21の移動量や絞り機構22の絞り量を示す信号が光学系駆動部24に出力されることによって駆動がなされるものである。   An optical image of the scene to be photographed that has passed through the imaging lens 21 is formed on a CCD (Charge Coupled Device) 23 via a diaphragm mechanism 22. The imaging lens 21 and the diaphragm mechanism 22 are moved by the optical system drive unit 24 for focusing and zooming, and the diaphragm amount is controlled so as to achieve appropriate exposure. For the movement of the imaging lens 21 and the diaphragm mechanism 22, the detection value detected by the sensor unit 25 including a distance measuring sensor and a light quantity sensor is output to the CPU 11 via the bus 18, and the CPU 11 calculates based on the detection value. Driving is performed by outputting a signal indicating the amount of movement of the image pickup lens 21 and the amount of aperture of the aperture mechanism 22 to the optical system drive unit 24.

CCD23に撮影対象シーンの光学像が結像されると、CCD23には入射光量に応じた電荷が蓄積され、この電荷は駆動回路26から与えられる駆動パルス信号によって順次読み出され、アナログ処理回路27に出力される。アナログ処理回路27では、色分離やゲイン調整、ホワイトバランス等の各種処理が行われ、処理された信号はA/D変換回路28を介してデジタル画像データ(以下、画像データという。)としてバッファレジスタ29に記憶される。   When an optical image of the scene to be photographed is formed on the CCD 23, charges corresponding to the amount of incident light are accumulated in the CCD 23, and these charges are sequentially read by a drive pulse signal supplied from the drive circuit 26, and the analog processing circuit 27. Is output. The analog processing circuit 27 performs various processes such as color separation, gain adjustment, and white balance, and the processed signal is buffered as digital image data (hereinafter referred to as image data) via the A / D conversion circuit 28. 29.

バッファレジスタ29に記憶された画像データは、CPU11からの制御信号に基づいて、信号処理回路30において輝度信号及び色差信号に変換され、表示装置15に表示される。また、信号処理回路30において処理された画像データは、CPU11からの制御信号に基づいて、圧縮伸張回路31において圧縮され、バス18を介して図1に示す記録装置17の撮影画像記録領域171に記録される。   The image data stored in the buffer register 29 is converted into a luminance signal and a color difference signal by the signal processing circuit 30 based on a control signal from the CPU 11 and displayed on the display device 15. Further, the image data processed in the signal processing circuit 30 is compressed in the compression / decompression circuit 31 based on a control signal from the CPU 11 and is stored in the photographed image recording area 171 of the recording device 17 shown in FIG. To be recorded.

図1に戻り、記録装置17は、フラッシュメモリ等の不揮発メモリ等により構成され、デジタルカメラ10に対応するシステムプログラム、及び該システムプログラム上で実行可能なメイン処理プログラム、構図決定撮影処理プログラムを始めとする各種処理プログラム、アプリケーションプログラム及びこれらのプログラムで処理されたデータ等を記録する。   Returning to FIG. 1, the recording device 17 includes a non-volatile memory such as a flash memory, and includes a system program corresponding to the digital camera 10, a main processing program that can be executed on the system program, and a composition determination photographing processing program. Various processing programs, application programs, and data processed by these programs are recorded.

また、記録装置17は、撮影された画像データを記録するための撮影画像記録領域171、モード・被写体対応テーブル172(図3参照)、構図DB(Data Base)173(図4参照)、履歴DB174(図5参照)を有する。    The recording device 17 includes a captured image recording area 171 for recording captured image data, a mode / subject correspondence table 172 (see FIG. 3), a composition DB (Data Base) 173 (see FIG. 4), and a history DB 174. (See FIG. 5).

モード・被写体対応テーブル172は、図3に示すように、「詳細撮影モード」領域と、「注目被写体の種類(大別)」領域とを有し、構図決定撮影モードにおける詳細撮影モードと、当該詳細撮影モードが設定された場合の注目被写体の種類の大別とを対応付けて記憶する。注目被写体は、被写体となる撮影対象シーンにおいて特に注目する被写体であり、撮影対象シーンに含まれる被写体のうち、構図上でポイントが置かれる被写体である。    As shown in FIG. 3, the mode / subject correspondence table 172 includes a “detailed shooting mode” area and a “type of subject of interest (mainly classified)” area, the detailed shooting mode in the composition determination shooting mode, The classification of the type of the subject of interest when the detailed shooting mode is set is stored in association with each other. The subject of interest is a subject of particular interest in the shooting target scene that is the subject, and is a subject on which a point is placed in the composition among the subjects included in the shooting target scene.

構図DB173は、図4に示すように、「注目被写体の種類」領域と、「配置位置」領域と、「注目被写体のサイズ」領域とを有し、各注目被写体の種類に対応付けて、最適な構図情報を予め記憶する構図情報記憶手段である。ここで、最適な構図とは、黄金分割を利用した構図である。   As shown in FIG. 4, the composition DB 173 has a “target subject type” region, an “arrangement position” region, and a “target subject size” region, and is associated with each target subject type. This is composition information storage means for storing various composition information in advance. Here, the optimal composition is a composition using the golden section.

図6に、黄金分割を示す。画面の四隅から対角線を引き、対角線と別の角から延びた垂線が交わる4点が黄金分割点であり、黄金分割構図は、この黄金分割点を結ぶ水平/垂直線上にポイントを置く構図、或いは黄金分割点にポイントを置く構図であり、視覚的にバランスの良い画像を得ることができる。また、黄金分割でなく、縦、横双方を3分割した線上や交点にポイントを置く3分割法を利用してもよい。   FIG. 6 shows the golden section. The golden dividing point is the four points where the diagonal line is drawn from the four corners of the screen and the perpendicular line extends from another corner. The golden dividing composition is a composition in which points are placed on the horizontal / vertical lines connecting the golden dividing points, or It is a composition in which points are placed at golden section points, and a visually balanced image can be obtained. Further, instead of the golden division, a three-division method may be used in which points are placed on lines or intersections obtained by dividing both the vertical and horizontal divisions into three.

本実施形態における構図DB173の構図情報は、主に、黄金分割点を結ぶことにより得られる左基準線l1、右基準線l2、上基準線l3、下基準線l4の何れかに注目被写体の中心点を配置する構図である。   The composition information of the composition DB 173 in the present embodiment mainly includes the center of the subject of interest in any of the left reference line l1, the right reference line l2, the upper reference line l3, and the lower reference line l4 obtained by connecting the golden division points. It is a composition which arrange | positions a point.

例えば、注目被写体の種類が人物/個人/右向きである場合に応じた構図情報として、「配置位置」領域に、注目被写体の中心点の配置位置(中心位置)として左基準線l1を示す情報、目の中心点の配置位置(目の位置)として上基準線l3を示す情報が格納されている。また、「注目被写体のサイズ」領域に、顔領域の最適なサイズ(ここでは、画像全体に占める顔領域の割合とする)が格納されている。なお、ここでは「注目被写体のサイズ」を注目被写体の中で最も注目される顔領域のサイズとしたが、注目被写体全体のサイズを構図情報として格納してもよい。
また、例えば、注目被写体の種類が人物の集合である場合に応じた構図情報として、「配置位置」領域に、注目被写体の中心点の配置位置として上基準線l3を示す情報が格納されている。また、「注目被写体のサイズ」領域に、顔領域の個数に応じて最適なサイズ(ここでは画像全体に占める各顔領域の割合(平均)とする)が格納されている。
また、例えば、注目被写体の種類が海である場合に応じた構図情報として、「配置位置」領域に、注目被写体の中心点の配置位置として下基準線l4を示す情報が格納されている。また、「注目被写体のサイズ」領域に、海の領域のサイズ(ここでは、画像全体に占める海の領域の割合とする)が格納されている。
For example, information indicating the left reference line 11 as the arrangement position (center position) of the center point of the subject of interest in the “arrangement position” area as composition information according to the case where the type of the subject of interest is person / personal / rightward, Information indicating the upper reference line l3 is stored as the arrangement position (eye position) of the center point of the eye. In addition, the optimal size of the face area (here, the ratio of the face area in the entire image) is stored in the “size of target subject” area. Here, “the size of the subject of interest” is the size of the face area most noticed in the subject of interest, but the size of the entire subject of interest may be stored as composition information.
Further, for example, information indicating the upper reference line l3 as the arrangement position of the center point of the subject of interest is stored in the “arrangement position” area as composition information corresponding to the case where the type of the subject of interest is a set of persons. . Also, an optimal size (here, a ratio (average) of each face area in the entire image) is stored in the “size of subject of interest” area according to the number of face areas.
For example, as the composition information corresponding to the case where the type of the subject of interest is the sea, information indicating the lower reference line 14 as the location of the center point of the subject of interest is stored in the “arrangement position” area. In addition, the size of the sea area (here, the ratio of the sea area to the entire image) is stored in the “size of subject of interest” area.

履歴DB174は、図5に示すように、「注目被写体の種類」領域と、「配置位置」領域と、「注目被写体のサイズ」領域とを有し、撮影された画像データにおける注目被写体の種類に対応付けて、撮影された画像データから取得された構図情報(注目被写体の中心点の配置位置、注目被写体のサイズ等)を記憶する履歴情報記憶手段である。   As shown in FIG. 5, the history DB 174 has a “type of subject of interest” area, an “arrangement position” area, and a “size of subject of interest” area, and shows the type of subject of interest in the captured image data. This is history information storage means for storing composition information (position of the center point of the subject of interest, size of the subject of interest, etc.) acquired in association with the captured image data.

次に、動作について説明する。
図7は、デジタルカメラ10のCPU11により実行されるメイン処理を示すフローチャートである。当該処理は、入力装置12の電源キーの操作により電源がONされた際にCPU11と記録装置17に記憶されているメイン処理プログラムとの協働によるソフトウエア処理により実現される処理である。
Next, the operation will be described.
FIG. 7 is a flowchart showing main processing executed by the CPU 11 of the digital camera 10. This process is a process realized by software processing in cooperation with the CPU 11 and the main processing program stored in the recording device 17 when the power is turned on by operating the power key of the input device 12.

まず、現在の動作モードが解析される(ステップS1)。現在の動作モードが、通常撮影モードである場合(ステップS2;YES)、通常撮影処理が実行される。 通常撮影モードとは、デジタルカメラ10において予め標準として定められている処理により撮影を行う撮影モードである。   First, the current operation mode is analyzed (step S1). When the current operation mode is the normal shooting mode (step S2; YES), the normal shooting process is executed. The normal shooting mode is a shooting mode in which shooting is performed by processing predetermined as a standard in the digital camera 10.

通常撮影モードにおいて実行される通常撮影処理では、まず、シャッターキーが全押し操作されるまで撮影待機状態となる。この撮影待機状態においては、撮像装置16が制御されて所定時間間隔で画像データが取り込まれ、表示装置15の表示画面上に表示される。以下、撮影待機状態において、撮像装置16から取り込まれた画像を撮影の参照用に表示装置15に表示することをファインダ表示という。   In the normal shooting process executed in the normal shooting mode, first, a shooting standby state is entered until the shutter key is fully pressed. In this shooting standby state, the imaging device 16 is controlled to capture image data at predetermined time intervals and display them on the display screen of the display device 15. Hereinafter, displaying an image captured from the imaging device 16 on the display device 15 for shooting reference in the shooting standby state is referred to as finder display.

通常撮影処理において、シャッターキーが全押し操作されると、撮像装置16が制御されて撮影が行われ、撮影により得られた画像データが撮影画像記録領域171に記録される。入力装置12のモード切替スイッチの操作等によりモード切替が指示されるまで通常撮影処理が実行され、モード切替が指示されると(ステップS4;YES)、処理はステップS1に戻る。   In the normal shooting process, when the shutter key is fully pressed, the imaging device 16 is controlled to perform shooting, and image data obtained by shooting is recorded in the shot image recording area 171. Normal shooting processing is executed until mode switching is instructed by operating the mode switch of the input device 12 or the like. When mode switching is instructed (step S4; YES), the processing returns to step S1.

ステップS2において、現在の動作モードが通常撮影モードではないと判断されると、現在の動作モードが構図決定撮影モードであるか否かが判断され(ステップS5)、現在の動作モードが構図決定撮影モードであると判断された場合(ステップS5;YES)、図8に示す構図決定撮影処理が実行される(ステップS6)。構図決定撮影処理については、後述する。入力装置12のモード切替スイッチの操作等によりモード切替が指示されるまで構図決定撮影処理が実行され、モード切替が指示されると(ステップS7;YES)、処理はステップS1に戻る。   If it is determined in step S2 that the current operation mode is not the normal shooting mode, it is determined whether or not the current operation mode is the composition determination shooting mode (step S5), and the current operation mode is the composition determination shooting. If it is determined that the mode is selected (step S5; YES), the composition determination photographing process shown in FIG. 8 is executed (step S6). The composition determination photographing process will be described later. Composition determination photographing processing is executed until mode switching is instructed by operating a mode switching switch of the input device 12, and when mode switching is instructed (step S7; YES), the processing returns to step S1.

ステップS5において、現在の動作モードが構図決定撮影モードではないと判断されると、動作モードが終了モードであるか否かが判断され、現在の動作モードが終了モードではないと判断されると(ステップS8;NO)、現在の動作モードに応じた処理が実行される(ステップS9)。例えば、現在の動作モードが再生モードである場合、表示画面上に記録装置17に記録されている画像一覧が表示され、画像一覧から選択された撮影画像が再生表示される。入力装置12のモード切替スイッチの操作等によりモード切替が指示されると(ステップS10;YES)、処理はステップS1に戻る。   If it is determined in step S5 that the current operation mode is not the composition determination shooting mode, it is determined whether or not the operation mode is the end mode, and if the current operation mode is not the end mode ( Step S8; NO), processing according to the current operation mode is executed (step S9). For example, when the current operation mode is the playback mode, a list of images recorded in the recording device 17 is displayed on the display screen, and a captured image selected from the list of images is played back and displayed. When mode switching is instructed by operating the mode switching switch of the input device 12 (step S10; YES), the process returns to step S1.

ステップS8において、現在の動作モードが終了モードであると判断された場合(ステップS8;YES)、本処理は終了する。   In step S8, when it is determined that the current operation mode is the end mode (step S8; YES), this process ends.

図8は、図7のステップS6において、デジタルカメラ10のCPU11により実行される構図決定撮影処理を示すフローチャートである。当該処理は、CPU11と記録装置17に記憶されている構図決定撮影処理プログラムとの協働によるソフトウエア処理により実現される処理である。   FIG. 8 is a flowchart showing the composition determination photographing process executed by the CPU 11 of the digital camera 10 in step S6 of FIG. This processing is realized by software processing in cooperation with the CPU 11 and the composition determination photographing processing program stored in the recording device 17.

構図決定撮影処理においては、まず、表示装置15の表示画面上に、人物撮影モード、風景モード、夜景モード等の、撮影対象シーンに応じた詳細撮影モードを設定するための詳細モード設定画面が表示され、この表示画面上から入力装置12の十字キー及び決定キーの操作により詳細撮影モードが選択及び設定されると(ステップS11)、詳細撮影モードに応じて撮像装置16が制御され、所定時間間隔での画像データの取得が開始され、取得された画像が表示装置15の表示画面上にファインダ表示される(ステップS12)。   In the composition-determined shooting process, first, a detailed mode setting screen for setting a detailed shooting mode corresponding to a shooting target scene such as a person shooting mode, a landscape mode, a night view mode, or the like is displayed on the display screen of the display device 15. When the detailed shooting mode is selected and set from the display screen by operating the cross key and the enter key of the input device 12 (step S11), the imaging device 16 is controlled according to the detailed shooting mode, and the predetermined time interval is set. Acquisition of image data is started, and the acquired image is displayed as a finder on the display screen of the display device 15 (step S12).

次いで、シャッターキーの半押し操作が待機され、シャッターキーが半押し操作されると(ステップS13;YES)、撮像装置16からシャッターキー押下直後に取得された画像データがRAM13に一時的に記憶され(ステップS14)、この取得された画像データに基づいて、以下に示すステップS15〜S19により、最適構図をファインダ表示上に案内表示するための処理が実行される。   Next, when the shutter key is half-pressed and the shutter key is half-pressed (step S13; YES), the image data acquired immediately after the shutter key is pressed from the imaging device 16 is temporarily stored in the RAM 13. (Step S14) Based on the acquired image data, a process for guiding and displaying the optimum composition on the finder display is executed in steps S15 to S19 described below.

まず、ステップS11で設定された詳細撮影モードに基づいて、撮影対象シーンにおける注目被写体の種類が大別される(ステップS15)。具体的には、モード・被写体対応テーブル172が参照され、設定された詳細撮影モードに対応する注目被写体の種類の大別が判別される。例えば、人物撮影モードであれば、注目被写体が人物であると判別され、風景モードであれば、風景であると判別される。   First, based on the detailed shooting mode set in step S11, the type of the subject of interest in the shooting target scene is roughly classified (step S15). Specifically, the mode / subject correspondence table 172 is referred to, and the type of the subject of interest corresponding to the set detailed photographing mode is determined. For example, in the case of the person photographing mode, it is determined that the subject of interest is a person, and in the case of the landscape mode, it is determined that the subject is a landscape.

次いで、RAM13に一時記憶された画像データから被写体の輪郭抽出が行われる(ステップS16)。画像データからの被写体の輪郭抽出方法としては、例えば、画像データの輝度値を、閾値を用いて二値化する方法等を用いることができる。   Next, the contour extraction of the subject is performed from the image data temporarily stored in the RAM 13 (step S16). As a method for extracting the contour of the subject from the image data, for example, a method of binarizing the luminance value of the image data using a threshold value can be used.

次いで、ステップS15で大別された注目被写体の種類に応じて、RAM13に一時記憶された画像データの解析が行われ、注目被写体の種類の特定及び注目被写体情報(注目被写体の中心点の位置、注目被写体の向き、注目被写体のサイズ等)の取得が行われる(ステップS17)。記憶装置17には、注目被写体の種類の大別(人物、風景、・・・)毎に画像解析プログラムが用意されており、詳細撮影モードから大別された注目被写体の種類に応じた画像解析プログラムが読み出されて注目被写体の種類の特定及び注目被写体情報の取得が行われる。   Next, the image data temporarily stored in the RAM 13 is analyzed according to the type of the subject of interest roughly classified in step S15, and the type of the subject of interest is identified and the subject of interest information (the position of the center point of the subject of interest, The direction of the subject of interest, the size of the subject of interest, etc.) are acquired (step S17). The storage device 17 is provided with an image analysis program for each type of subject of interest (person, landscape,...), And image analysis corresponding to the type of subject of interest roughly classified from the detailed shooting mode. The program is read, and the type of the subject of interest is specified and the subject of interest information is acquired.

このように、デジタルカメラ10においては、モード・被写体対応テーブル172が参照され、現在設定されている詳細撮影モードに応じて、撮影対象シーンにおける注目被写体の種類が大別され、さらに、大別された注目被写体の種類に応じた画像解析プログラムにより撮像装置16から取得された画像データが解析されることによって注目被写体の種類が判別される。   As described above, in the digital camera 10, the mode / subject correspondence table 172 is referred to, and the type of the subject of interest in the shooting target scene is roughly classified according to the currently set detailed shooting mode, and is further roughly classified. The type of the subject of interest is determined by analyzing the image data acquired from the imaging device 16 by the image analysis program corresponding to the type of the subject of interest.

以下、注目被写体の種類が人物と大別されている場合の画像解析処理を例にとり説明する。
注目被写体の種類が人物と大別されている場合、まず、輪郭抽出により抽出された各領域の色情報や形状が解析され、人の顔の特徴をもつ顔領域が抽出される。例えば、肌色で、かつ円形状又は楕円形状の領域が顔領域として抽出される。抽出された顔領域が1つであれば、注目被写体の種類が人物/個人であると細別され、抽出された顔領域が複数であれば、注目被写体の種類が人物/集合であると細別される。
Hereinafter, an image analysis process when the type of the subject of interest is roughly classified as a person will be described as an example.
When the type of the subject of interest is broadly classified as a person, first, color information and shape of each area extracted by contour extraction are analyzed, and a face area having human face characteristics is extracted. For example, a skin color and circular or elliptical area is extracted as a face area. If the extracted face area is one, the type of the subject of interest is subdivided as a person / individual, and if there are a plurality of extracted face regions, the type of the subject of attention is subdivided as a person / collection. The

注目被写体の種類が細別されると、細別された注目被写体の種類に応じて、注目被写体の種類を特定する処理が行われ、注目被写体に応じて予め定められた必要な注目被写体情報(特定された注目被写体の種類、取得された画像データにおける注目被写体の中心点の位置、注目被写体のサイズ等)の取得が行われる。
例えば、細別された注目被写体の種類が人物/個人である場合、図9に示すように、顔領域内の色情報や形状の解析により鼻の中心点Pが抽出され、その座標が位置情報として取得される。次いで、鼻の中心点Pから顔の左側の輪郭までの幅L及び鼻の中心点Pから顔の右側の輪郭までの幅Rが、例えば画素数をカウントする等により算出され、左右の幅L、Rの比較により右側の幅Rが大きい場合に左向き、左側の幅Lが大きい場合に右向きと判断され、注目被写体の種類が人物/個人/右向きと特定される。また、図10に示すように、注目被写体の領域を矩形で囲んだときの中心点Qの座標が算出され、この座標が注目被写体の中心点の位置情報として取得される。また、顔領域の画素数のカウント等により顔領域のサイズが算出され、人物撮影時の主要領域である顔領域のサイズが取得される。
また、例えば、細別された注目被写体の種類が人物/集合である場合、各顔領域内の色情報や形状の解析によりそれぞれの目の中心点が抽出され、抽出された複数の目の中心点の平均位置の座標が算出され、この座標が注目被写体の中心点として取得される。
When the type of the subject of interest is subdivided, a process for specifying the type of the subject of interest is performed according to the type of the subject of interest that has been subdivided, and necessary target subject information (specified) determined in advance according to the subject of interest. The type of the subject of interest, the position of the center point of the subject of interest in the acquired image data, the size of the subject of interest, etc.) are acquired.
For example, when the type of the subject of interest that is subdivided is a person / individual, as shown in FIG. 9, the center point P of the nose is extracted by analyzing the color information and shape in the face area, and the coordinates are used as position information. To be acquired. Next, a width L from the center point P of the nose to the left contour of the face and a width R from the center point P of the nose to the right contour of the face are calculated by, for example, counting the number of pixels. , R is determined to be leftward when the right-side width R is large, and rightward when the left-side width L is large, and the type of the subject of interest is specified as person / individual / rightward. Further, as shown in FIG. 10, the coordinates of the center point Q when the region of the subject of interest is enclosed by a rectangle are calculated, and the coordinates are acquired as position information of the center point of the subject of interest. Further, the size of the face area is calculated by counting the number of pixels of the face area, and the size of the face area, which is the main area at the time of photographing a person, is acquired.
Further, for example, when the type of the subject of interest that is subdivided is a person / collection, the center point of each eye is extracted by analyzing color information and shape in each face area, and the center points of the extracted eyes Are obtained as the center point of the subject of interest.

注目被写体の種類が風景に大別されている場合は、輪郭抽出により抽出された輪郭領域の色情報や形状が解析され、注目被写体の種類(例えば、建物、山、海、空、・・・)が特定される。記録装置17には、注目被写体の種類毎にその注目被写体の画像の色情報や形状等の特徴データが予め記憶されており、抽出された輪郭領域内の色情報や形状とこの特徴データに基づいて、注目被写体の種類が特定される。例えば、抽出された輪郭の形状が解析され、直線的形状という特徴を有していた場合、注目被写体の種類は建物と特定される。なお、風景の場合、人物撮影とは異なり、例えば、撮影対象シーンに山と海が含まれる場合等、注目被写体とすることが可能な被写体が複数存在することが考えられる。このように、何れを注目被写体とするかが判断不可能な場合、表示装置15の画面上にステップS16で抽出された輪郭を表示するとともに注目被写体を指定するように促すメッセージを表示し、画面上に表示された注目被写体の領域内を十字キー及び決定キーで操作することにより撮影者が注目被写体を指定可能としてもよい。注目被写体の種類が特定されると、特定された注目被写体の種類に応じて、注目被写体情報(特定された注目被写体の種類、注目被写体の中心点の位置、注目被写体のサイズ等の情報)の取得が行われる。   When the type of the subject of interest is roughly divided into landscapes, the color information and shape of the contour area extracted by contour extraction are analyzed, and the type of subject of interest (for example, building, mountain, sea, sky,... ) Is identified. The recording device 17 stores in advance feature data such as color information and shape of the image of the subject of interest for each type of subject of interest, and based on the extracted color information and shape in the contour region and the feature data. Thus, the type of the subject of interest is specified. For example, when the extracted contour shape is analyzed and has the characteristic of a linear shape, the type of the subject of interest is identified as a building. In the case of landscapes, unlike person photography, for example, there may be a plurality of subjects that can be used as a subject of interest, such as when a shooting target scene includes mountains and the sea. As described above, when it is impossible to determine which is the target subject, the outline extracted in step S16 is displayed on the screen of the display device 15 and a message prompting the user to specify the target subject is displayed. The photographer may be able to designate the subject of interest by operating the area of the subject of interest displayed above with the cross key and the enter key. When the type of the subject of interest is specified, the information of the subject of interest (information on the type of the subject of interest identified, the position of the center point of the subject of interest, the size of the subject of interest, etc.) is determined according to the type of the subject of interest. Acquisition is performed.

図8に戻り、注目被写体情報が取得されると、この取得された注目被写体情報に含まれる注目被写体の種類に応じた構図情報が構図DB173から検索され、読み出される(ステップS18)。そして、読み出された構図情報に基づいて注目被写体の輪郭領域の配置位置が決定され、注目被写体の輪郭領域のサイズが構図情報により決定されるサイズと異なる場合に、ステップS16で抽出された輪郭において注目被写体の輪郭領域のサイズが構図情報で決定されるサイズとなるように、抽出された輪郭が拡大/縮小され、構図情報に応じたサイズの注目被写体の輪郭領域が表示装置15のファインダ表示された画像上の上記決定された配置位置に配置されるように、抽出された輪郭が配置されることにより、注目被写体の種類に応じた構図が案内表示される(ステップS19)。なお、案内表示する輪郭は、注目被写体の輪郭を含んでいればよく、ステップS16で抽出全体としてもよいし、注目被写体の輪郭のみとしてもよい。   Returning to FIG. 8, when attention subject information is acquired, composition information corresponding to the type of attention subject included in the acquired attention subject information is retrieved from the composition DB 173 and read (step S <b> 18). Then, the arrangement position of the contour region of the subject of interest is determined based on the read composition information, and the contour extracted in step S16 when the size of the contour region of the subject of interest is different from the size determined by the composition information. The extracted contour is enlarged / reduced so that the size of the contour region of the subject of interest is determined by the composition information, and the contour region of the subject of interest of the size corresponding to the composition information is displayed on the finder display of the display device 15. By arranging the extracted contours so as to be arranged at the determined arrangement position on the obtained image, a composition corresponding to the type of the subject of interest is guided and displayed (step S19). Note that the contour to be displayed for guidance only needs to include the contour of the subject of interest, and may be the entire extraction in step S16 or only the contour of the subject of interest.

図11に、注目被写体の種類が人物/個人/右向きである場合にファインダ表示上に案内表示される画面例を示す。図12に、注目被写体の種類が人物/集合である場合にファインダ表示上に案内表示される画面例を示す。図13に、注目被写体の種類が海である場合にファインダ表示上に案内表示される画面例を示す。図11〜図13においては、二点鎖線により最適構図における注目被写体の位置及びサイズを案内表示している。   FIG. 11 shows an example of a screen displayed as a guide on the finder display when the type of the subject of interest is person / individual / rightward. FIG. 12 shows an example of a screen displayed as a guide on the finder display when the type of the subject of interest is a person / group. FIG. 13 shows an example of a screen displayed as a guide on the finder display when the type of the subject of interest is the sea. In FIG. 11 to FIG. 13, the position and size of the subject of interest in the optimum composition are guided and displayed by a two-dot chain line.

撮影者は、ファインダ表示画面上に重畳された最適な構図における注目被写体の輪郭を参考にして構図を決定する。デジタルカメラ10に推奨される最適な構図にしたい場合には、デジタルカメラ10を移動させたりズームにより撮影倍率を調整したりすることにより、案内表示された輪郭線にファインダ表示された注目被写体を一致させる。   The photographer determines the composition with reference to the contour of the subject of interest in the optimal composition superimposed on the viewfinder display screen. If you want to achieve the optimal composition recommended for the digital camera 10, you can move the digital camera 10 or adjust the shooting magnification by zooming so that the subject of interest displayed in the viewfinder matches the contour displayed on the guide. Let

図8に戻り、入力装置12の操作により自動ズームが指示されると(ステップS20;YES)、案内表示された注目被写体の輪郭領域のサイズとステップS16で抽出された注目被写体の輪郭領域のサイズに基づいて撮影倍率が算出され、算出された撮影倍率となるように光学系駆動部24が駆動されてレンズが移動され、撮影倍率が調整される(ステップS21)。自動ズームが指示されなければ(ステップS20;NO)、入力装置12の入力に応じて光学系駆動部24が駆動されてレンズが移動される(ステップS22)。そして、シャッターキーの全押し押下が待機される(ステップS23)。   Returning to FIG. 8, when the automatic zoom is instructed by the operation of the input device 12 (step S20; YES), the size of the outline area of the noticed subject displayed in guidance and the size of the outline area of the noticeable subject extracted in step S16. The imaging magnification is calculated based on the above, and the optical system driving unit 24 is driven to move the lens so that the calculated imaging magnification is obtained, and the imaging magnification is adjusted (step S21). If the automatic zoom is not instructed (step S20; NO), the optical system driving unit 24 is driven according to the input of the input device 12 to move the lens (step S22). Then, the full depression of the shutter key is awaited (step S23).

シャッターキーが全押しされると(ステップS23;YES)、設定された詳細撮影モードに基づいて撮像装置16が制御されて撮影が行われ、撮影により取得された画像データが撮影画像記録領域171に記録されるとともに(ステップS24)、撮影により取得された画像データから注目被写体の輪郭抽出が行われ、抽出された注目被写体の輪郭領域が案内表示された注目被写体の輪郭領域と一致するか否かが判断され、一致すると判断された場合(ステップS25;YES)、即ち、案内された最適構図の輪郭とおりの構図で撮影が行われた場合、本処理は終了する。一方、抽出された注目被写体の輪郭領域が案内表示された注目被写体の輪郭領域と一致しないと判断された場合(ステップS25;NO)、撮影された画像における構図情報(注目被写体の中心点の配置位置及び注目被写体のサイズ等)が履歴DB174に記憶される(ステップS26)。そして、構図DB173の、ステップS18で読み出された構図情報と今回撮影された画像における構図情報、即ち、注目被写体の中心等の配置位置、注目被写体のサイズのそれぞれのアベレージ(平均)が算出され、算出された内容に基づいて構図DB173の構図情報が更新され(ステップS27)、本処理は終了する。   When the shutter key is fully pressed (step S23; YES), the imaging device 16 is controlled based on the set detailed imaging mode to perform imaging, and image data acquired by imaging is stored in the captured image recording area 171. In addition to being recorded (step S24), the contour of the subject of interest is extracted from the image data acquired by photographing, and whether or not the extracted contour region of the subject of interest matches the contour region of the subject of interest displayed in the guidance display. If it is determined that they match (step S25; YES), that is, if the photographing is performed according to the contour of the guided optimum composition, this processing ends. On the other hand, when it is determined that the extracted contour area of the target subject does not match the contour area of the target subject displayed in the guidance (step S25; NO), composition information (arrangement of the center point of the target subject) in the photographed image The position and the size of the subject of interest are stored in the history DB 174 (step S26). Then, the composition information read in step S18 and the composition information in the image photographed this time in the composition DB 173, that is, the average (average) of the arrangement position of the center of the subject of interest and the size of the subject of interest are calculated. The composition information in the composition DB 173 is updated based on the calculated content (step S27), and this process ends.

以上説明したように、デジタルカメラ10によれば、注目被写体の種類に応じた、最適な構図情報が予め記憶された構図DB173を有し、撮像装置16により取得された画像データから当該画像データの撮影対象シーンにおいて注目被写体の種類を判別し、判別された注目被写体の種類に応じた構図情報を構図DB173から読み出し、読み出した構図情報に基づいて、当該注目被写体の配置位置を表示装置15に案内表示する。   As described above, the digital camera 10 has the composition DB 173 in which optimum composition information corresponding to the type of the subject of interest is stored in advance, and the image data is acquired from the image data acquired by the imaging device 16. The type of the subject of interest in the scene to be photographed is determined, composition information corresponding to the determined type of the subject of interest is read from the composition DB 173, and the arrangement position of the subject of interest is guided to the display device 15 based on the read composition information. indicate.

従って、注目被写体の種類に応じた構図を撮影者に案内表示することができるので、撮影者が容易に視覚的にバランスの良い最適な構図で撮影を行うことが可能となる。   Accordingly, the composition according to the type of the subject of interest can be guided and displayed to the photographer, so that the photographer can easily shoot with an optimal composition with a good visual balance.

また、注目被写体に応じた構図情報により決定される位置に撮像装置16から取得された画像データから抽出された輪郭を配置することにより注目被写体の配置位置を案内表示するので、撮影者は、注目する被写体の最適な配置位置を容易に把握することが可能となる。   In addition, since the position of the subject of interest is guided and displayed by arranging the contour extracted from the image data acquired from the image data 16 at the position determined by the composition information corresponding to the subject of interest, It is possible to easily grasp the optimum arrangement position of the subject to be performed.

また、注目被写体の輪郭を注目被写体の種類に応じた構図情報により決定されるサイズに拡大又は縮小し、この注目被写体に応じた構図情報により決定される位置にこの拡大又は縮小された輪郭を配置して表示手段に案内表示するので、撮影者は、注目被写体の最適な配置位置及びサイズを容易に把握することが可能となる。   In addition, the contour of the subject of interest is enlarged or reduced to a size determined by the composition information corresponding to the type of the subject of interest, and this enlarged or reduced contour is arranged at a position determined by the composition information corresponding to the subject of interest. Thus, since the guidance is displayed on the display means, the photographer can easily grasp the optimum arrangement position and size of the subject of interest.

また、撮影画像において注目被写体のサイズが、構図情報により決定されるサイズとなるように撮影倍率を自動的に調整するので、撮影者がより容易に視覚的にバランスの良い最適な構図で撮影を行うことが可能となる。   In addition, the shooting magnification is automatically adjusted so that the size of the subject of interest in the shot image becomes the size determined by the composition information, so that the photographer can easily shoot with the optimal composition that is visually balanced. Can be done.

また、撮影者が撮影した画像から構図情報を取得して履歴DB174に記憶するとともに、この実際に撮影者が撮影したときの構図情報に基づいて構図DB173を更新するので、撮影者の好みを反映させて案内表示を行うことが可能となる。   Further, composition information is acquired from an image taken by the photographer and stored in the history DB 174, and the composition DB 173 is updated based on the composition information when the photographer actually photographed, so that the photographer's preference is reflected. It is possible to display guidance.

なお、上記実施形態における記述内容は、本発明に係るデジタルカメラ10の好適な一例であり、これに限定されるものではない。   In addition, the description content in the said embodiment is a suitable example of the digital camera 10 which concerns on this invention, and is not limited to this.

例えば、上記実施形態においては、撮影された画像データから取得した構図情報により構図DB173の構図情報を更新することにより、撮影者の好みを構図の案内表示に反映させることとしたが、これに限定されず、例えば、撮影者が構図の案内表示に構図DB173を利用するか、履歴DB174を利用するかを選択できるようにし、撮影者により選択されたDBに記憶された構図情報に基づいて、構図の案内表示を行うようにしてもよい。   For example, in the above-described embodiment, the composition information in the composition DB 173 is updated with the composition information acquired from the captured image data, thereby reflecting the photographer's preference in the composition guidance display. However, the present invention is not limited to this. For example, the photographer can select whether to use the composition DB 173 or the history DB 174 for composition guidance display, and based on the composition information stored in the DB selected by the photographer. The guidance display may be performed.

また、案内表示は、表示画面上で行うことに限らない。例えば、デジタルカメラ10がファインダを有する場合、ファインダを透過型の表示装置として、透過して見える撮影対象シーンに重ねて案内表示を表示させてもよい。   The guidance display is not limited to being performed on the display screen. For example, when the digital camera 10 has a finder, the finder may be used as a transmissive display device, and the guidance display may be displayed overlaid on the photographic subject scene that appears to be transparent.

その他、デジタルカメラ10の細部構成及び細部動作に関しても、本発明の趣旨を逸脱することのない範囲で適宜変更可能である。   In addition, the detailed configuration and detailed operation of the digital camera 10 can be changed as appropriate without departing from the spirit of the present invention.

本発明に係るデジタルカメラ10の機能的構成を示すブロック図である。1 is a block diagram showing a functional configuration of a digital camera 10 according to the present invention. 図1の撮像装置16の詳細構成を示す図である。It is a figure which shows the detailed structure of the imaging device 16 of FIG. 図1のモード・被写体対応テーブル172のデータ格納例を示す図である。FIG. 8 is a diagram illustrating an example of data storage in a mode / subject correspondence table 172 in FIG. 1. 図1の構図DB173のデータ格納例を示す図である。It is a figure which shows the example of data storage of composition DB173 of FIG. 図1の履歴DB174のデータ格納例を示す図である。It is a figure which shows the example of data storage of log | history DB174 of FIG. 黄金分割を説明するための図である。It is a figure for demonstrating golden division. 図1のCPU11により実行されるメイン処理を示すフローチャートである。It is a flowchart which shows the main process performed by CPU11 of FIG. 図1のCPU11により実行される構図決定撮影処理を示すフローチャートである。It is a flowchart which shows the composition determination imaging | photography process performed by CPU11 of FIG. 注目被写体の向きの判別方法の一例を示す図である。It is a figure which shows an example of the determination method of the direction of an attention object. 注目被写体の中心点の判別方法の一例を示す図である。It is a figure which shows an example of the determination method of the center point of an attention object. 注目被写体の種類が人物/個人/右向きである場合にファインダ表示上に案内表示される画面例を示す図である。It is a figure which shows the example of a screen displayed as guidance on a finder display when the kind of attention object is person / individual / right direction. 注目被写体の種類が人物/集合である場合にファインダ表示上に案内表示される画面例を示す図である。It is a figure which shows the example of a screen displayed by guidance on a finder display, when the kind of attention object is a person / collection. 注目被写体の種類が海である場合にファインダ表示上に案内表示される画面例を示す図である。It is a figure which shows the example of a screen displayed as guidance on a finder display when the kind of attention object is the sea.

符号の説明Explanation of symbols

10 デジタルカメラ
11 CPU
12 入力装置
13 RAM
14 伝送制御部
15 表示装置
16 撮像装置
17 記録装置
171 撮像画像記録領域
172 モード・被写体対応テーブル
173 構図DB
174 履歴DB
18 バス
21 撮像レンズ
22 絞り機構
23 CCD
24 光学系駆動部
25 センサ部
26 駆動回路
27 アナログ処理回路
28 A/D変換回路
29 バッファレジスタ
30 信号処理回路
31 圧縮伸張回路
10 Digital camera 11 CPU
12 Input device 13 RAM
14 Transmission Control Unit 15 Display Device 16 Imaging Device 17 Recording Device 171 Captured Image Recording Area 172 Mode / Subject Correspondence Table 173 Composition DB
174 History DB
18 Bus 21 Imaging lens 22 Aperture mechanism 23 CCD
24 optical system drive unit 25 sensor unit 26 drive circuit 27 analog processing circuit 28 A / D conversion circuit 29 buffer register 30 signal processing circuit 31 compression / decompression circuit

Claims (5)

撮影対象シーンの光学画像を電気信号に変換して撮影画像として取得する画像取得手段と、その取得された撮影画像を表示画面上に表示する表示制御手段と、を備えた撮影装置であって、
被写体の種類を大別する複数の被写体の種類毎に、その被写体における各種状態を複数に分類し、その分類された各種状態に対応して、当該被写体の配置位置とサイズとを構図情報として記憶する構図情報記憶手段と、
前記画像取得手段により取得された撮影画像を解析し、当該撮影画像の中で大別される被写体の種類の中で、当該撮影画像内でのその時の被写体の状態を判別する判別手段と、
この判別手段で判別された被写体の状態が、前記構図情報記憶手段に記憶された前記被写体の種類の中での被写体の各種状態の何れに該当するかを特定する特定手段と、
この特定手段で特定された被写体の状態に対応して記憶される構図情報を読み出し、その読み出された構図情報に基づく配置位置と被写体サイズとを、前記被写体の種類での被写体の状態に応じた最適構図として前記表示画面上で案内表示する案内手段と、
撮影指示に応じて前記画像取得手段により撮影された撮影画像から、その撮影画像内における被写体の状態に対応して、その時の被写体の配置位置とサイズとを取得する被写体状態取得手段と、
この被写体状態取得手段で取得された被写体の配置位置とサイズとに基づいて、当該被写体の状態に対応する前記構図情報記憶手段における構図情報を更新する更新手段と、
を備えたことを特徴とする撮影装置。
An imaging apparatus comprising: an image acquisition unit that converts an optical image of a shooting target scene into an electrical signal and acquires the image as a captured image; and a display control unit that displays the acquired captured image on a display screen,
For each type of subject that roughly classifies the subject type, various states of the subject are classified into a plurality of types, and the arrangement position and size of the subject are stored as composition information corresponding to the classified states. Composition information storage means for
A discriminating unit that analyzes the captured image acquired by the image acquiring unit and determines the state of the subject at that time in the captured image among the types of subjects roughly classified in the captured image;
A specifying means for specifying which of the various states of the subject among the types of the subjects stored in the composition information storage means the state of the subject determined by the determination means;
The composition information stored in correspondence with the state of the subject specified by the specifying means is read, and the arrangement position and the subject size based on the read composition information are determined according to the state of the subject in the type of the subject. Guidance means for displaying guidance on the display screen as an optimal composition;
Subject state acquisition means for acquiring from the captured image taken by the image acquisition means in response to a shooting instruction, the arrangement position and size of the subject at that time, corresponding to the state of the subject in the captured image;
Updating means for updating composition information in the composition information storage means corresponding to the state of the subject based on the arrangement position and size of the subject obtained by the subject state obtaining means;
An imaging apparatus comprising:
前記判別手段は、被写体種類で大別される被写体が何れの方向を向いているのか、あるいは被写体の数が単数か否かを判別することで、その被写体の状態を判別する、ことを特徴とする請求項1に記載の撮影装置。 The discriminating means discriminates the state of the subject by discriminating in which direction the subject roughly classified by subject type is facing or whether the number of subjects is singular. The photographing apparatus according to claim 1 . 前記画像取得手段により取得された撮影画像から被写体の輪郭を抽出する抽出手段を備え、
前記案内手段は、前記読み出された構図情報に基づく配置位置に前記抽出手段により抽出された輪郭を配置し、且つその輪郭を前記構図情報に基づく被写体サイズに拡大又は縮小し、その拡大又は縮小された輪郭を前記表示画面上で案内表示する、ことを特徴とする請求項1又は2に記載の撮影装置。
Comprising extraction means for extracting the contour of the subject from the photographed image acquired by the image acquisition means;
The guide means arranges the contour extracted by the extraction means at an arrangement position based on the read composition information, enlarges or reduces the outline to a subject size based on the composition information, and enlarges or reduces the outline. has been a guiding display on said display screen contour, that imaging apparatus according to claim 1 or 2, characterized in.
前記画像取得手段により取得される撮影画像に含まれる前記被写体のサイズが、前記構図情報に基づくサイズとなるように、当該撮影装置における撮影倍率を調整する倍率調整手段と、を備えたことを特徴とする請求項1〜3の何れか一項に記載の撮影装置。 Magnification adjusting means for adjusting a photographing magnification in the photographing apparatus so that the size of the subject included in the photographed image obtained by the image obtaining means is a size based on the composition information. The imaging device according to any one of claims 1 to 3 . 撮影対象シーンの光学画像を電気信号に変換して撮影画像として取得する画像取得手段と、その取得された撮影画像を表示画面上に表示する表示制御手段と、を備えた撮影装置のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
被写体の種類を大別する複数の被写体の種類毎に、その被写体における各種状態を複数に分類し、その分類された各種状態に対応して、当該被写体の配置位置とサイズとを構図情報として記憶する構図情報記憶手段、
前記画像取得手段により取得された撮影画像を解析し、当該撮影画像の中で大別される被写体の種類の中で、当該撮影画像内でのその時の被写体の状態を判別する判別手段、
この判別手段で判別された被写体の状態が、前記構図情報記憶手段に記憶された前記被写体の種類の中での被写体の各種状態の何れに該当するかを特定する特定手段、
この特定手段で特定された被写体の状態に対応して記憶される構図情報を読み出し、その読み出された構図情報に基づく配置位置と被写体サイズとを、前記被写体の種類での被写体の状態に応じた最適構図として前記表示画面上で案内表示する案内手段、
撮影指示に応じて前記画像取得手段により撮影された撮影画像から、その撮影画像内における被写体の状態に対応して、その時の被写体の配置位置とサイズとを取得する被写体状態取得手段、
この被写体状態取得手段で取得された被写体の配置位置とサイズとに基づいて、当該被写体の状態に対応する前記構図情報記憶手段における構図情報を更新する更新手段、
として機能させるようにしたコンピュータ読み取り可能なプログラム。
Controlling a computer of an imaging apparatus comprising: an image acquisition unit that converts an optical image of a scene to be captured into an electrical signal and acquires the image as a captured image; and a display control unit that displays the acquired captured image on a display screen A program for
The computer,
For each type of subject that roughly classifies the subject type, various states of the subject are classified into a plurality of types, and the arrangement position and size of the subject are stored as composition information corresponding to the classified states. Composition information storage means,
A discriminating unit that analyzes the captured image acquired by the image acquiring unit and discriminates the state of the subject at that time in the captured image among the types of subjects roughly classified in the captured image;
A specifying unit for specifying which of the various states of the subject among the types of the subject stored in the composition information storage unit corresponds to the state of the subject determined by the determining unit;
The composition information stored in correspondence with the state of the subject specified by the specifying means is read, and the arrangement position and the subject size based on the read composition information are determined according to the state of the subject in the type of the subject. Guidance means for displaying guidance on the display screen as an optimal composition;
Subject state acquisition means for acquiring from the captured image captured by the image acquisition means in response to a shooting instruction, the arrangement position and size of the subject at that time, corresponding to the state of the subject in the captured image;
Updating means for updating composition information in the composition information storage means corresponding to the state of the subject based on the arrangement position and size of the subject acquired by the subject state acquisition means;
A computer-readable program designed to function as a computer.
JP2005372631A 2005-12-26 2005-12-26 Imaging apparatus and program Expired - Fee Related JP5164327B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005372631A JP5164327B2 (en) 2005-12-26 2005-12-26 Imaging apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005372631A JP5164327B2 (en) 2005-12-26 2005-12-26 Imaging apparatus and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011121548A Division JP5131367B2 (en) 2011-05-31 2011-05-31 Imaging apparatus and program

Publications (3)

Publication Number Publication Date
JP2007174548A JP2007174548A (en) 2007-07-05
JP2007174548A5 JP2007174548A5 (en) 2010-05-20
JP5164327B2 true JP5164327B2 (en) 2013-03-21

Family

ID=38300477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005372631A Expired - Fee Related JP5164327B2 (en) 2005-12-26 2005-12-26 Imaging apparatus and program

Country Status (1)

Country Link
JP (1) JP5164327B2 (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4842232B2 (en) * 2007-09-25 2011-12-21 富士フイルム株式会社 Imaging apparatus and image reproduction apparatus
JP4869270B2 (en) * 2008-03-10 2012-02-08 三洋電機株式会社 Imaging apparatus and image reproduction apparatus
JP5200776B2 (en) * 2008-09-04 2013-06-05 株式会社ニコン Digital camera
JP5098917B2 (en) * 2008-09-17 2012-12-12 ソニー株式会社 Composition determination apparatus, composition determination method, and program
JP5217843B2 (en) * 2008-09-25 2013-06-19 カシオ計算機株式会社 Composition selection apparatus, composition selection method and program
KR101539043B1 (en) * 2008-10-31 2015-07-24 삼성전자주식회사 Image photography apparatus and method for proposing composition based person
JP5261769B2 (en) * 2009-02-19 2013-08-14 株式会社ザクティ Imaging apparatus and group photo shooting support program
JP5257157B2 (en) * 2009-03-11 2013-08-07 ソニー株式会社 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
GB0905633D0 (en) 2009-04-01 2009-05-13 Managed Pressure Operations Ll Apparatus for and method of drilling a subterranean borehole
KR101643602B1 (en) 2009-06-24 2016-07-29 삼성전자주식회사 Method and apparatus for guiding composition, and digital photographing apparatus
JP4844657B2 (en) * 2009-07-31 2011-12-28 カシオ計算機株式会社 Image processing apparatus and method
US8724905B2 (en) * 2009-11-20 2014-05-13 Hewlett-Packard Development Company, L.P. Determining a visual balance of an image
US8675089B2 (en) 2009-12-25 2014-03-18 Samsung Electronics Co., Ltd. Apparatus and method for assisting composition of photographic image
US8684109B2 (en) 2010-11-16 2014-04-01 Managed Pressure Operations Pte Ltd Drilling method for drilling a subterranean borehole
JP5170223B2 (en) 2010-12-07 2013-03-27 カシオ計算機株式会社 Information display system, information display device, information providing device, and program
JP5195885B2 (en) 2010-12-07 2013-05-15 カシオ計算機株式会社 Information display system, information display device, and program
JP5929922B2 (en) * 2012-01-26 2016-06-08 ソニー株式会社 Image processing apparatus and image processing method
EP2662803B1 (en) * 2012-05-07 2018-09-05 Samsung Electronics Co., Ltd. Electronic system with augmented reality mechanism and method of operation thereof
US9385324B2 (en) 2012-05-07 2016-07-05 Samsung Electronics Co., Ltd. Electronic system with augmented reality mechanism and method of operation thereof
US9374517B2 (en) * 2012-10-12 2016-06-21 Ebay Inc. Guided photography and video on a mobile device
KR102093647B1 (en) * 2013-02-22 2020-03-26 삼성전자 주식회사 Apparatus and method for shooting an image in a device having a camera
JP6076168B2 (en) * 2013-03-27 2017-02-08 オリンパス株式会社 Imaging device, composition assist device, composition assist method, and composition assist program
EP3063733A4 (en) * 2013-10-30 2017-04-05 Intel Corporation Image capture feedback
US10284771B2 (en) * 2014-12-03 2019-05-07 Nikon Corporation Image-capturing apparatus, electronic device, and program
CN108200333B (en) * 2017-12-28 2021-12-28 上海传英信息技术有限公司 Photographing composition method and terminal
CN108769536A (en) * 2018-07-06 2018-11-06 深圳市赛亿科技开发有限公司 Patterning process, patterning apparatus and the computer readable storage medium of photograph taking
JP7091199B2 (en) * 2018-09-12 2022-06-27 株式会社東芝 Image processing equipment, methods and programs
CN112702521B (en) * 2020-12-24 2023-05-02 广州极飞科技股份有限公司 Image shooting method and device, electronic equipment and computer readable storage medium

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04139428A (en) * 1990-10-01 1992-05-13 Nikon Corp Composition display device for camera
JPH08294025A (en) * 1995-04-24 1996-11-05 Olympus Optical Co Ltd Camera
JPH10243274A (en) * 1997-02-25 1998-09-11 Sanyo Electric Co Ltd Image-photographing device
JP2000262170A (en) * 1999-03-18 2000-09-26 Hitachi Service & Engineering (East) Ltd Barn air conditioning control system
JP3858133B2 (en) * 1999-04-15 2006-12-13 カシオ計算機株式会社 Imaging method and imaging apparatus
JP4227257B2 (en) * 1999-08-12 2009-02-18 キヤノン株式会社 camera
JP4679685B2 (en) * 2000-01-28 2011-04-27 富士フイルム株式会社 Digital camera composition auxiliary frame selection method and digital camera
JP3925054B2 (en) * 2000-06-21 2007-06-06 カシオ計算機株式会社 Camera device
JP3543135B2 (en) * 2000-06-21 2004-07-14 カシオ計算機株式会社 Camera device
JP3721965B2 (en) * 2000-09-13 2005-11-30 カシオ計算機株式会社 Electronic still camera, image recording method thereof, and recording medium
JP3925059B2 (en) * 2000-09-14 2007-06-06 カシオ計算機株式会社 Electronic camera and fixed point photographing method
JP2002152567A (en) * 2000-11-06 2002-05-24 Olympus Optical Co Ltd Electronic camera
JP2003219218A (en) * 2002-01-23 2003-07-31 Fuji Photo Film Co Ltd Digital camera
JP2003224761A (en) * 2002-01-28 2003-08-08 Konica Corp Imaging apparatus
JP3630147B2 (en) * 2002-05-14 2005-03-16 カシオ計算機株式会社 Subject photographing method and camera apparatus
JP3971240B2 (en) * 2002-05-21 2007-09-05 オリンパス株式会社 Camera with advice function
JP2005026812A (en) * 2003-06-30 2005-01-27 Casio Comput Co Ltd Image photographing apparatus and program
JP2005026874A (en) * 2003-06-30 2005-01-27 Casio Comput Co Ltd Photographing method, electronic camera with observation photographing mode function, and program
JP2005045600A (en) * 2003-07-23 2005-02-17 Casio Comput Co Ltd Image photographing apparatus and program
JP4355853B2 (en) * 2003-09-18 2009-11-04 カシオ計算機株式会社 Image photographing apparatus and program
JP2005277724A (en) * 2004-03-24 2005-10-06 Casio Comput Co Ltd Image photographing device and program

Also Published As

Publication number Publication date
JP2007174548A (en) 2007-07-05

Similar Documents

Publication Publication Date Title
JP5164327B2 (en) Imaging apparatus and program
US8111315B2 (en) Imaging device and imaging control method that detects and displays composition information
US8587658B2 (en) Imaging device, image display device, and program with intruding object detection
JP4904108B2 (en) Imaging apparatus and image display control method
JP4135100B2 (en) Imaging device
JP4645685B2 (en) Camera, camera control program, and photographing method
JP4395619B2 (en) Imaging apparatus, imaging condition setting method, and program
JP4787180B2 (en) Imaging apparatus and imaging method
JP4730667B2 (en) Automatic regeneration method and apparatus
US7668451B2 (en) System for and method of taking image
KR20080016631A (en) Camera apparatus and imaging method
JP5131367B2 (en) Imaging apparatus and program
JP2006033241A (en) Image pickup device and image acquiring means
JP3971240B2 (en) Camera with advice function
JP2007049484A (en) Digital camera
JP5087936B2 (en) camera
JP2007027971A (en) Photographing apparatus, control method thereof, program, and recording medium
KR101646669B1 (en) Method and apparatus for updating a composition database using user pattern, and digital photographing apparatus
JP2006025311A (en) Imaging apparatus and image acquisition method
JP5206422B2 (en) Composition selection device and program
JP4647518B2 (en) Imaging device
JP4534539B2 (en) Camera apparatus and program
JP5911300B2 (en) Imaging apparatus and control method thereof
JP4887840B2 (en) Imaging apparatus and program
JP5217843B2 (en) Composition selection apparatus, composition selection method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081030

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100518

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110128

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110308

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120912

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121029

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121218

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

Free format text: PAYMENT UNTIL: 20151228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5164327

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees