JP2011135587A - Image-data generating apparatus and image-data generating method - Google Patents

Image-data generating apparatus and image-data generating method Download PDF

Info

Publication number
JP2011135587A
JP2011135587A JP2011011891A JP2011011891A JP2011135587A JP 2011135587 A JP2011135587 A JP 2011135587A JP 2011011891 A JP2011011891 A JP 2011011891A JP 2011011891 A JP2011011891 A JP 2011011891A JP 2011135587 A JP2011135587 A JP 2011135587A
Authority
JP
Japan
Prior art keywords
image data
condition
subject
data generation
shooting
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.)
Withdrawn
Application number
JP2011011891A
Other languages
Japanese (ja)
Other versions
JP2011135587A5 (en
Inventor
Hirokazu Kasahara
広和 笠原
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2011011891A priority Critical patent/JP2011135587A/en
Publication of JP2011135587A publication Critical patent/JP2011135587A/en
Publication of JP2011135587A5 publication Critical patent/JP2011135587A5/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To improve the usability of a photographer who photographs an object, using an image-data generating apparatus, such as a digital still camera. <P>SOLUTION: When a release button is depressed, after the depression of a photographic condition storage button, a digital still camera acquires the feature amount of a target object selected by a user; acquires photographic conditions of the digital still camera at the time of depression of the release button as reference photographic conditions; and stores the feature amount of the target object and the reference photographic conditions in an internal memory so that they are associated. The digital still camera uses the feature amount of the target object and the reference photographic conditions to decide whether the target object is included in the photographic target region. When the target object is included, the camera uses the reference photographic conditions to adjust the photographic conditions, such as the aperture and the shutter speed and photographs the photographic target region to generate image data and stores the image data. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、被写体を撮影して画像データを生成する画像データ生成装置に関する。   The present invention relates to an image data generation apparatus that shoots a subject and generates image data.

種々の機能を備えるデジタルカメラが広く利用されている。種々の機能としては、例えば、撮影対象とする領域内に含まれる人物などの被写体に適した撮影条件を自動的に制御する自動制御機能が挙げられる。撮影条件には、例えば、絞りやシャッタースピード等が含まれる。このようなデジタルカメラは、例えば、撮影対象とする領域に含まれる被写体を抽出し、抽出された被写体の数や大きさに応じて絞りやシャッタースピード等を調整することにより露出補正やピント合わせを行っている。デジタルカメラの自動制御機能を利用することによって、高品質の画像を簡易に得ることができる。   Digital cameras having various functions are widely used. Examples of the various functions include an automatic control function that automatically controls shooting conditions suitable for a subject such as a person included in a region to be shot. The shooting conditions include, for example, an aperture and a shutter speed. Such a digital camera, for example, extracts subjects included in the area to be photographed, and adjusts the aperture, shutter speed, etc. according to the number and size of the extracted subjects, thereby performing exposure correction and focusing. Is going. By using the automatic control function of the digital camera, a high-quality image can be easily obtained.

特開2004−320285号公報JP 2004-320285 A 特開2005−284366号公報JP 2005-284366 A

しかしながら、従来のデジタルカメラは、抽出した被写体の数や大きさに応じて、撮影の都度、撮影条件を調整しているため、抽出した被写体を以前撮影した際の撮影条件と同じ撮影条件で撮影することは困難である。また、デジタルカメラの撮影条件を撮影対象の被写体に適した撮影条件に調整することは、撮影条件を調整することに不慣れなユーザにとって非常に煩雑な操作を伴う。   However, since conventional digital cameras adjust the shooting conditions for each shooting according to the number and size of the extracted subjects, the shooting is performed under the same shooting conditions as when shooting the extracted subjects. It is difficult to do. Further, adjusting the shooting conditions of the digital camera to the shooting conditions suitable for the subject to be shot is accompanied by a very complicated operation for a user who is not accustomed to adjusting the shooting conditions.

本発明は、上述した課題に鑑みてなされたものであり、デジタルカメラなどの画像データ生成装置を用いて被写体を撮影する撮影者の利便性の向上を目的とする。   The present invention has been made in view of the above-described problems, and an object thereof is to improve the convenience of a photographer who photographs a subject using an image data generation device such as a digital camera.

上述した課題の少なくとも一部を解決するために、本発明は、被写体を撮影して画像データを生成する画像データ生成装置を提供する。
本発明の画像データ生成装置は、
対象被写体が含まれる参照用画像データから、前記対象被写体の特徴量を取得する特徴量取得手段と、
前記参照用画像データ生成時の撮影条件である参照撮影条件を取得する参照撮影条件取得手段と、
前記特徴量と前記参照撮影条件とを関連付けて記憶する記憶手段と、
被写体検索用画像データを生成する生成手段と、
前記特徴量を用いて、前記被写体検索用画像データに前記対象被写体が含まれるかを判断する判断手段と、
前記被写体検索用画像データに前記対象被写体が含まれる場合に、前記対象被写体の特徴量に関連づけられている前記参照撮影条件を前記画像データ生成装置の撮影条件に設定する撮影条件設定手段と、
前記設定された撮影条件を用いて対象被写体を撮影し、保存用画像データを生成する保存用画像データ生成手段と、を備えることを要旨とする。
In order to solve at least a part of the problems described above, the present invention provides an image data generation device that captures a subject and generates image data.
The image data generation apparatus of the present invention is
Feature amount acquisition means for acquiring a feature amount of the target subject from reference image data including the target subject;
Reference imaging condition acquisition means for acquiring a reference imaging condition that is an imaging condition when generating the reference image data;
Storage means for storing the feature quantity and the reference photographing condition in association with each other;
Generating means for generating subject search image data;
Determination means for determining whether the target subject is included in the subject search image data using the feature amount;
Shooting condition setting means for setting the reference shooting condition associated with the feature quantity of the target subject as the shooting condition of the image data generation device when the target search is included in the subject search image data;
The gist of the present invention is to include a storage image data generation unit that captures a target subject using the set shooting conditions and generates storage image data.

本発明の画像データ生成装置によれば、対象被写体の特徴量と対象被写体を撮影した際の参照撮影条件とを関連付けて記憶しているため、対象被写体を撮影する場合に、参照撮影条件を利用して画像データ生成装置の撮影条件を簡易に設定できる。従って、ユーザは、本発明の画像データ生成装置を利用することにより、容易に、画像データ生成装置の撮影条件を対象被写体に応じて撮影条件を自動的に設定でき所望の画像を簡易に得ることができる。   According to the image data generation device of the present invention, since the feature amount of the target subject and the reference shooting condition at the time of shooting the target subject are stored in association with each other, the reference shooting condition is used when shooting the target subject. Thus, the shooting conditions of the image data generation device can be set easily. Therefore, by using the image data generation device of the present invention, the user can easily set the shooting conditions of the image data generation device according to the target subject and easily obtain a desired image. Can do.

本発明の画像データ生成装置において、
前記参照撮影条件には、前記参照用画像データに含まれる前記対象被写体に焦点を合わせるための合焦条件が含まれており、
前記撮影条件設定手段は、前記画像データ生成装置の撮影範囲に含まれる前記対象被写体に合焦するように、前記画像データ生成装置の前記撮影条件の前記合焦条件を設定してもよい。
In the image data generation device of the present invention,
The reference photographing condition includes a focusing condition for focusing on the target subject included in the reference image data,
The imaging condition setting unit may set the focusing condition of the imaging condition of the image data generation device so as to focus on the target subject included in the imaging range of the image data generation device.

本発明の画像データ生成装置によれば、保存用画像データを生成する都度、対象被写体に焦点が合うように撮影条件を設定できる。従って、ユーザは、本発明の画像データ生成装置を利用することにより、容易に、対象被写体に焦点を合わせられるとともに、合焦以外の撮影条件をも設定して所望の画像を得ることができる。   According to the image data generation device of the present invention, it is possible to set shooting conditions so that the subject is in focus each time the image data for storage is generated. Therefore, the user can easily focus on the target subject by using the image data generation device of the present invention, and can set a shooting condition other than the in-focus state to obtain a desired image.

本発明の画像データ生成装置において、
1の前記対象被写体の特徴量には、2以上の前記参照撮影条件が関連付けられており、
前記画像データ生成装置は、更に、
前記各参照撮影条件の使用状況に応じて、前記各参照撮影条件に優先度を設定する優先度設定手段、を備え、
前記撮影条件設定手段は、前記優先度の最も高い前記参照撮影条件を前記画像データ生成装置の撮影条件に設定してもよい。
In the image data generation device of the present invention,
2 or more of the reference photographing conditions are associated with the feature amount of the target subject of 1;
The image data generation device further includes:
Priority setting means for setting a priority for each reference shooting condition according to the usage status of each reference shooting condition;
The photographing condition setting unit may set the reference photographing condition having the highest priority as a photographing condition of the image data generation device.

本発明の画像データ生成装置によれば、1の対象被写体に対して複数の参照条件が関連付けられている場合でも、優先度の高い参照撮影条件を画像データ生成装置の撮影条件に設定できる。従って、ユーザの所望する撮影条件を優先的に画像データ生成装置の撮影条件に設定できる。   According to the image data generation device of the present invention, even when a plurality of reference conditions are associated with one target subject, a reference shooting condition with a high priority can be set as a shooting condition of the image data generation device. Accordingly, it is possible to preferentially set the shooting condition desired by the user as the shooting condition of the image data generating apparatus.

本発明の画像データ生成装置において、更に、
前記2以上の参照撮影条件から1の参照撮影条件を選択するための選択手段を備え、
前記撮影条件設定手段は、前記画像データ生成装置の撮影条件を、前記優先度の最も高い参照撮影条件から前記選択された参照撮影条件に変更してもよい。
In the image data generation device of the present invention,
Selecting means for selecting one reference photographing condition from the two or more reference photographing conditions;
The photographing condition setting unit may change the photographing condition of the image data generation device from the reference photographing condition having the highest priority to the selected reference photographing condition.

本発明の画像データ生成装置によれば、優先度の最も高い参照撮影条件がユーザの意図する撮影条件でない場合にも、ユーザの所望する参照撮影条件を選択して画像データ生成装置の撮影条件に設定できる。従って、参照撮影条件の中から画像データ生成装置に設定する撮影条件を柔軟に設定できる。   According to the image data generation device of the present invention, even when the reference shooting condition with the highest priority is not the shooting condition intended by the user, the reference shooting condition desired by the user is selected and set as the shooting condition of the image data generation device. Can be set. Accordingly, it is possible to flexibly set shooting conditions set in the image data generation device from the reference shooting conditions.

本発明の画像データ生成装置において、
前記優先度設定手段は、使用回数の高い参照撮影条件の優先度を高く設定してもよい。
In the image data generation device of the present invention,
The priority setting means may set the priority of the reference shooting condition having a high use count to a high level.

本発明の画像データ生成装置によれば、頻繁に利用される参照撮影条件を優先的に画像データ生成装置の撮影条件に設定できる。   According to the image data generation device of the present invention, it is possible to preferentially set reference shooting conditions that are frequently used as shooting conditions of the image data generation device.

本発明の画像データ生成装置において、
前記優先度設定手段は、使用された日時が新しい撮影条件の優先度を高く設定してもよい。
In the image data generation device of the present invention,
The priority setting means may set a higher priority for the shooting conditions with the new date and time used.

本発明の画像データ生成装置によれば、近い過去に利用された撮影条件を優先的に画像データ生成装置の撮影条件に設定できる。   According to the image data generation device of the present invention, it is possible to preferentially set shooting conditions used in the near past as shooting conditions of the image data generation device.

本発明の画像データ生成装置において、更に、
前記画像データ生成装置の撮影条件を設定するための設定手段と、
前記設定された撮影条件を用いて画像データを生成する画像データ生成手段と、
前記生成された画像データから前記参照用画像データを選択するための参照用画像データ選択手段と、
前記選択された参照用画像データに含まれる被写体から前記対象被写体を選択するための被写体選択手段と、を備え、
前記特徴量取得手段は、前記選択された対象被写体を表す対象被写体画像データから、前記対象被写体の前記特徴量を取得し、
前記参照撮影条件取得手段は、前記設定手段により設定された撮影条件を前記参照撮影条件として取得してもよい。
In the image data generation device of the present invention,
Setting means for setting shooting conditions of the image data generation device;
Image data generating means for generating image data using the set shooting conditions;
Reference image data selection means for selecting the reference image data from the generated image data;
Subject selection means for selecting the target subject from subjects included in the selected reference image data;
The feature amount acquisition means acquires the feature amount of the target subject from target subject image data representing the selected target subject,
The reference imaging condition acquisition unit may acquire the imaging condition set by the setting unit as the reference imaging condition.

本発明の画像データ生成装置によれば、ユーザの意図を反映した参照撮影条件を対象被写体の特徴量と関連付けて記憶できる。従って、ユーザは、本発明の画像データ生成装置を利用することにより、簡易に所望する画像をえることができる。   According to the image data generation device of the present invention, it is possible to store a reference photographing condition reflecting the user's intention in association with the feature amount of the target subject. Therefore, the user can easily obtain a desired image by using the image data generation apparatus of the present invention.

本発明の画像データ生成装置であって、更に、
前記画像データ生成手段により生成された画像データと、前記画像データ生成時の撮影条件を含む付帯情報とを関連付けて保存する保存手段を備え、
前記参照用画像データ選択手段は、前記保存されている画像データから参照用画像データを選択し、
前記参照撮影条件取得手段は、前記参照用画像データに関連付けられている前記付帯情報から前記参照撮影条件を取得してもよい。
An image data generation device according to the present invention,
A storage unit that stores the image data generated by the image data generation unit in association with the incidental information including the shooting conditions at the time of the image data generation;
The reference image data selection means selects reference image data from the stored image data,
The reference imaging condition acquisition unit may acquire the reference imaging condition from the incidental information associated with the reference image data.

本発明の画像データ生成装置によれば、過去に画像データ生成装置によって生成され保存されている画像データから、対象被写体の特徴量を取得できるとともに、保存されている画像データに付帯する付帯情報から参照撮影条件を取得できるため、簡易な構成で、対象被写体の特徴量と参照撮影条件を関連付けて記憶できる。   According to the image data generation device of the present invention, the feature amount of the target subject can be acquired from the image data generated and stored in the past by the image data generation device, and from the incidental information attached to the stored image data. Since the reference photographing condition can be acquired, the feature quantity of the target subject and the reference photographing condition can be associated and stored with a simple configuration.

本発明において、上述した種々の態様は、適宜、組み合わせたり、一部を省略したりして適用することができる。また、本発明は、上述した画像データ生成装置としての構成の他に、画像データ生成装置による画像データ生成方法、画像データ生成装置に画像データを生成させるためのコンピュータプログラム、かかるコンピュータプログラムをコンピュータ読み取り可能に記録した記録媒体等としても構成できる。いずれの構成においても、上述した各態様を適宜適用可能である。コンピュータが読み取り可能な記録媒体としては、例えば、フレキシブルディスクや、CD−ROM、DVD−ROM、光磁気ディスク、ICカード、ハードディスク等種々の媒体を利用することが可能である。   In the present invention, the various aspects described above can be applied by appropriately combining or omitting some of them. In addition to the configuration as the image data generation apparatus described above, the present invention provides an image data generation method by the image data generation apparatus, a computer program for causing the image data generation apparatus to generate image data, and a computer program for reading the computer program. It can also be configured as a recording medium capable of recording. In any configuration, the above-described aspects can be appropriately applied. As a computer-readable recording medium, various media such as a flexible disk, a CD-ROM, a DVD-ROM, a magneto-optical disk, an IC card, and a hard disk can be used.

第1実施例におけるデジタルスチルカメラの概略構成を例示する説明図。Explanatory drawing which illustrates schematic structure of the digital still camera in 1st Example. 第1実施例におけるデジタルスチルカメラの回路構成を例示す回路図。1 is a circuit diagram illustrating a circuit configuration of a digital still camera according to a first embodiment. 第1実施例における参照用画像データにより表される参照用画像を表す画面例。7 is a screen example showing a reference image represented by reference image data in the first embodiment. 第1実施例における撮影条件テーブルを例示する説明図。Explanatory drawing which illustrates the imaging condition table in 1st Example. 第1実施例における撮影モードテーブルを例示する説明図。Explanatory drawing which illustrates the imaging | photography mode table in 1st Example. 第1実施例における被写体撮影条件記憶処理を説明するフローチャート。7 is a flowchart for explaining subject photographing condition storage processing in the first embodiment. 第1実施例における被写体検索方法を模式的に説明する模式図。FIG. 3 is a schematic diagram schematically illustrating a subject search method in the first embodiment. 第1実施例における被写体検索用画像データを例示する説明図。Explanatory drawing which illustrates subject search image data in the first example. 第1実施例における保存用画像データ生成処理を説明するフローチャート。5 is a flowchart for explaining storage image data generation processing in the first embodiment. 第1実施例における保存用画像データにより表される保存用画像を例示する説明図。Explanatory drawing which illustrates the preservation | save image represented by the preservation | save image data in 1st Example. 第2実施例における対象被写体の選択について説明する画面例。The example of a screen explaining selection of the object subject in the 2nd example. 第2実施例における参照用画像データに付帯するExif情報を例示する説明図。Explanatory drawing which illustrates the Exif information incidental to the reference image data in 2nd Example. 変形例における撮影条件選択画面を例示する画面例である。It is an example of a screen which illustrates the photography condition selection screen in a modification. 変形例における被写体属性テーブルを例示する説明図である。It is explanatory drawing which illustrates the to-be-photographed object attribute table in a modification.

以下、本発明の実施の形態について、実施例に基づき、適宜図面を参照しながら説明する。
A.第1実施例:
A1.システム構成:
図1(a)、(b)を参照して、第1実施例に係る画像データ生成装置としてのデジタルスチルカメラの概略構成について説明する。図1(a)は、デジタルスチルカメラ10の正面図であり、図1(b)は、デジタルスチルカメラ10の背面図である。図1(a),(b)に示すように、デジタルスチルカメラ10は、レリーズボタン11、レンズ12、カードスロット13、表示パネル14、操作部15、OKボタン16,キャンセルボタン17および撮影条件記憶ボタン18を備える。カードスロット13には、デジタルスチルカメラ10により生成された画像データの保存先となるメモリカード30が挿入されている。
DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of the present invention will be described based on examples with appropriate reference to the drawings.
A. First embodiment:
A1. System configuration:
With reference to FIGS. 1A and 1B, a schematic configuration of a digital still camera as an image data generation apparatus according to the first embodiment will be described. FIG. 1A is a front view of the digital still camera 10, and FIG. 1B is a rear view of the digital still camera 10. As shown in FIGS. 1A and 1B, the digital still camera 10 includes a release button 11, a lens 12, a card slot 13, a display panel 14, an operation unit 15, an OK button 16, a cancel button 17, and an imaging condition storage. A button 18 is provided. A memory card 30 serving as a storage destination of image data generated by the digital still camera 10 is inserted into the card slot 13.

デジタルスチルカメラ10は、撮影条件記憶ボタン18が押下された後にレリーズボタン11が押下されると、ユーザが選択した対象被写体の特徴量を取得するとともに、レリーズボタン11押下時のデジタルスチルカメラ10の撮影条件を参照撮影条件として取得し、対象被写体の特徴量と参照撮影条件を関連付けて内部のメモリに記憶する。第1実施例では、対象被写体の特徴量と参照撮影条件とを、まとめて、被写体撮影条件と呼ぶ。   When the release button 11 is pressed after the shooting condition storage button 18 is pressed, the digital still camera 10 acquires the feature amount of the target subject selected by the user and the digital still camera 10 when the release button 11 is pressed. The shooting condition is acquired as the reference shooting condition, and the feature quantity of the target subject and the reference shooting condition are associated with each other and stored in the internal memory. In the first embodiment, the feature amount of the target subject and the reference shooting condition are collectively referred to as a subject shooting condition.

デジタルスチルカメラ10は、上述した対象被写体の特徴量および参照撮影条件を用いて、撮影対象の領域内に対象被写体が含まれているか否かを判断し、対象被写体が含まれる場合に、参照撮影条件を用いて絞りやシャッタ−スピードなどの撮影条件を調整し、撮影対象の領域を撮影して画像データを生成し、メモリカード30に保存する。   The digital still camera 10 determines whether or not the target subject is included in the region to be captured using the above-described feature amount of the target subject and the reference shooting condition, and when the target subject is included, the reference shooting is performed. The shooting conditions such as the aperture and shutter speed are adjusted using the conditions, the shooting target area is shot, image data is generated, and stored in the memory card 30.

A2.デジタルスチルカメラの内部構成:
図2を参照して、デジタルスチルカメラの回路構成について説明する。図2は、デジタルスチルカメラ10の回路構成を例示する回路図である。図2に示すように、デジタルスチルカメラ10は、CPU100、バッファメモリ110、ROM120、信号処理回路101、表示制御部102、インターフェース103、レンズ制御回路105、入力受付部107、距離検出回路108およびSW信号入力回路109を備える。また、ROM120は、特徴量取得モジュール121、撮影条件記憶モジュール122、被写体検索モジュール123,撮影条件設定モジュール124、画像処理モジュール125、および、撮影モード記憶部126を有する。各回路、メモリはCPU100と接続されており、CPU100により制御されている。
A2. Internal structure of digital still camera:
The circuit configuration of the digital still camera will be described with reference to FIG. FIG. 2 is a circuit diagram illustrating a circuit configuration of the digital still camera 10. As shown in FIG. 2, the digital still camera 10 includes a CPU 100, a buffer memory 110, a ROM 120, a signal processing circuit 101, a display control unit 102, an interface 103, a lens control circuit 105, an input reception unit 107, a distance detection circuit 108, and a SW. A signal input circuit 109 is provided. The ROM 120 also includes a feature amount acquisition module 121, a shooting condition storage module 122, a subject search module 123, a shooting condition setting module 124, an image processing module 125, and a shooting mode storage unit 126. Each circuit and memory are connected to and controlled by the CPU 100.

レンズ駆動装置41は、レンズの位置を調節する装置である。絞り羽42は、黒い薄板が中央部分に孔部を形成するように複数枚組み合わされた構造を有し、絞り羽42を介してレンズを通過する光の量、すなわち、絞り値を変化させる。レンズ制御回路105は、CPU100からの指示に基づいてレンズ駆動装置41を駆動させてレンズの位置を調節することにより、レンズ中心から焦点までの焦点距離を調整し、レンズを介してCCDに取り込まれる範囲(以降、第1実施例では撮影範囲と呼ぶ)内の撮影対象に焦点を合わせる。また、レンズ制御回路105は、CPU100からの指示に基づいて絞り羽42を駆動させて孔部の口径を調整し、絞り値を調整する。   The lens driving device 41 is a device that adjusts the position of the lens. The diaphragm blade 42 has a structure in which a plurality of thin black plates are combined so as to form a hole in the central portion, and changes the amount of light passing through the lens via the diaphragm blade 42, that is, the diaphragm value. The lens control circuit 105 adjusts the focal length from the center of the lens to the focal point by driving the lens driving device 41 based on an instruction from the CPU 100 to adjust the position of the lens, and is taken into the CCD via the lens. Focusing is performed on an imaging target within a range (hereinafter referred to as an imaging range in the first embodiment). Further, the lens control circuit 105 adjusts the aperture value by driving the aperture blade 42 based on an instruction from the CPU 100 to adjust the aperture diameter.

焦点距離検出装置36は、レンズ12から焦点までの距離である焦点距離を検出し、焦点距離を表す焦点距離情報信号を距離検出回路108に対して出力する。距離検出回路108は、焦点距離検出装置36から入力される焦点距離情報信号に基づいて焦点距離を取得する。   The focal length detection device 36 detects a focal length that is a distance from the lens 12 to the focal point, and outputs a focal length information signal representing the focal length to the distance detection circuit 108. The distance detection circuit 108 acquires the focal length based on the focal length information signal input from the focal length detection device 36.

被写体距離検出装置37は、レンズ12から被写体までの被写体距離を検出し、被写体距離を表す被写体距離情報信号を距離検出回路108に入力する。距離検出回路108は、また、被写体距離検出装置37から入力される被写体距離情報信号に基づいて被写体距離を取得する。   The subject distance detection device 37 detects the subject distance from the lens 12 to the subject, and inputs a subject distance information signal representing the subject distance to the distance detection circuit 108. The distance detection circuit 108 also acquires the subject distance based on the subject distance information signal input from the subject distance detection device 37.

CCD22は、画像データを構成する構成画素に対応する複数の受光素子と、各受光素子に対して所定の規則に従って配置されたR,G,Bの各カラーフィルタを備える撮像素子である。CCD22では、各カラーフィルタを通過した各々の光は受光素子であるフォトダイオードの一つ一つによって電荷に変えられ一時的に蓄積される。蓄積された電荷は次々に転送され信号処理回路101に転送される。   The CCD 22 is an image pickup device including a plurality of light receiving elements corresponding to constituent pixels constituting image data, and R, G, and B color filters arranged according to a predetermined rule with respect to each light receiving element. In the CCD 22, each light that has passed through each color filter is converted into electric charge by each of the photodiodes that are light receiving elements, and is temporarily accumulated. The accumulated charges are transferred one after another and transferred to the signal processing circuit 101.

信号処理回路101は、入力された電荷をアナログ信号として読み出し、読み出したアナログ信号をデジタル信号に変換(A/D変換)し、フレーム画像データを出力する。   The signal processing circuit 101 reads the input charge as an analog signal, converts the read analog signal into a digital signal (A / D conversion), and outputs frame image data.

表示制御部102は、信号処理回路101から出力されるフレーム画像データを表示パネル14に表示する。   The display control unit 102 displays the frame image data output from the signal processing circuit 101 on the display panel 14.

第1実施例に係るデジタルスチルカメラ10では、種々の撮影モード、例えば、オートモード、人物撮影モード、風景撮影モード、夜景撮影モード等、を設定可能である。ユーザは、操作部15、OKボタン16およびキャンセルボタン17を介して撮影モードを選択し、デジタルスチルカメラ10は、ユーザによって選択された撮影モードをデジタルスチルカメラ10に設定する。   In the digital still camera 10 according to the first embodiment, various shooting modes such as an auto mode, a person shooting mode, a landscape shooting mode, a night view shooting mode, and the like can be set. The user selects a shooting mode via the operation unit 15, the OK button 16, and the cancel button 17, and the digital still camera 10 sets the shooting mode selected by the user in the digital still camera 10.

図2に示すように、デジタルスチルカメラ10には各撮影モードに対応するモードスイッチmSW1〜、mSW2…が設けられている。撮影モードが選択されると、選択された撮影モードに対応するモードスイッチがオン状態となり、SW信号処理回路109と接続される。SW信号処理回路109は、接続されたモードスイッチに対応する撮影モードを表すスイッチ信号SSをCPU100に送信する。CPU100は、スイッチ信号SSを受信すると、撮影モード記憶部126から各撮影モードに関連付けられている撮影条件を取得し、取得した撮影条件をデジタルスチルカメラ10の撮影条件に設定する。撮影条件には、例えば、絞り値、シャッタースピード、レンズ位置が含まれる。   As shown in FIG. 2, the digital still camera 10 is provided with mode switches mSW <b> 1 to mSW <b> 2. When the shooting mode is selected, the mode switch corresponding to the selected shooting mode is turned on and connected to the SW signal processing circuit 109. The SW signal processing circuit 109 transmits to the CPU 100 a switch signal SS representing a shooting mode corresponding to the connected mode switch. When receiving the switch signal SS, the CPU 100 acquires shooting conditions associated with each shooting mode from the shooting mode storage unit 126 and sets the acquired shooting conditions as shooting conditions of the digital still camera 10. The shooting conditions include, for example, an aperture value, a shutter speed, and a lens position.

また、デジタルスチルカメラ10には、撮影条件記憶ボタン18に対応するスイッチSW0が設けられている。   The digital still camera 10 is provided with a switch SW0 corresponding to the shooting condition storage button 18.

撮影条件記憶ボタン18が押下されると、スイッチSW0がON状態となり、SW信号入力回路109と接続される。スイッチ信号入力回路109は、SW0がオン状態とされたことを表すスイッチ信号SSをCPU100に送信する。   When the photographing condition storage button 18 is pressed, the switch SW0 is turned on and connected to the SW signal input circuit 109. The switch signal input circuit 109 transmits a switch signal SS indicating that SW0 is turned on to the CPU 100.

CPU100は、スイッチ信号SSによりスイッチSW0がON状態となった後に、レリーズボタン11が第1の位置h1まで押し下げられ、スイッチSW1がON状態となったことを検出すると、信号処理回路101から出力されるデジタル信号により表されるフレーム画像データを、特徴量取得モジュール121に転送する。以降、第1実施例では、特徴量取得モジュール121に転送されたフレーム画像データを参照用画像データと呼ぶ。   When the CPU 100 detects that the release button 11 is pushed down to the first position h1 after the switch SW0 is turned on by the switch signal SS and the switch SW1 is turned on, the CPU 100 outputs the signal. The frame image data represented by the digital signal is transferred to the feature amount acquisition module 121. Hereinafter, in the first embodiment, the frame image data transferred to the feature amount acquisition module 121 is referred to as reference image data.

特徴量取得モジュール121は、参照用画像データを受信すると、参照用画像データを解析し、参照用画像データにより表される参照用画像に含まれる対象被写体を抽出し、対象被写体の特徴量を取得する。特徴量には、例えば、被写体の色情報、形状等が含まれる。   When receiving the reference image data, the feature amount acquisition module 121 analyzes the reference image data, extracts the target subject included in the reference image represented by the reference image data, and acquires the feature amount of the target subject. To do. The feature amount includes, for example, color information and shape of the subject.

撮影条件記憶モジュール122は、参照用画像データ生成時の撮影条件をデジタルスチルカメラ10から取得し、対象被写体の特徴量と関連付けて撮影条件テーブルに記憶する。撮影条件テーブルについては後述する。   The imaging condition storage module 122 acquires the imaging conditions at the time of generating the reference image data from the digital still camera 10 and stores them in the imaging condition table in association with the feature amount of the target subject. The imaging condition table will be described later.

レリーズボタン11が第1の位置h1まで押し下げられると、スイッチSW1はON状態となり、SW信号入力回路109と接続される。レリーズボタン11が第2の位置h2まで押し下げられると、スイッチSW2はON状態となるとともにスイッチSW1はオフ状態となり、スイッチSW2とSW信号入力回路109とが接続される。SW信号入力回路109は、スイッチSW1またはスイッチSW2のいずれと接続されたかを表すスイッチ信号SSをCPU100に送信する。   When the release button 11 is pushed down to the first position h1, the switch SW1 is turned on and connected to the SW signal input circuit 109. When the release button 11 is pushed down to the second position h2, the switch SW2 is turned on and the switch SW1 is turned off, so that the switch SW2 and the SW signal input circuit 109 are connected. The SW signal input circuit 109 transmits to the CPU 100 a switch signal SS indicating which of the switch SW1 or the switch SW2 is connected.

CPU100は、スイッチ信号SSによりスイッチSW1がON状態となったことを検出すると、信号処理回路101から出力されるデジタル信号により表されるフレーム画像データを、被写体検索モジュール123に転送する。以降、第1実施例では、被写体検索モジュール123に転送されたフレーム画像データを被写体検索用画像データと呼ぶ。   When the CPU 100 detects that the switch SW1 is turned on by the switch signal SS, the CPU 100 transfers the frame image data represented by the digital signal output from the signal processing circuit 101 to the subject search module 123. Hereinafter, in the first embodiment, the frame image data transferred to the subject search module 123 is referred to as subject search image data.

被写体検索モジュール123は、被写体検索用画像データを受信すると、被写体検索用画像データを解析し、対象被写体の特徴量を有する被写体が被写体検索用画像データにより表される被写体検索用画像に含まれているか、すなわち、対象被写体が被写体検索用画像に含まれているかを判断する。   When the subject search module 123 receives the subject search image data, the subject search module 123 analyzes the subject search image data, and the subject having the feature amount of the target subject is included in the subject search image represented by the subject search image data. That is, whether the target subject is included in the subject search image.

撮影条件設定モジュール124は、被写体検索モジュール123によって、対象被写体が被写体検索用画像に含まれていると判断された場合、撮影条件テーブルを参照して対象被写体に関連付けられている参照撮影条件を取得し、デジタルスチルカメラ10の撮影条件に設定する。   When the subject search module 123 determines that the target subject is included in the subject search image, the shooting condition setting module 124 acquires a reference shooting condition associated with the target subject with reference to the shooting condition table. Then, the shooting conditions of the digital still camera 10 are set.

CPU100は、撮影条件設定モジュール124によりデジタルスチルカメラ10の撮影条件が設定された後に、スイッチSW2がON状態となったこと、すなわち、レリーズボタン11が第2の位置h2まで押し下げられたことを検出すると、設定されている撮影条件に従って撮影を実行し、信号処理回路101から出力されるフレーム画像データを画像処理モジュール125に転送する。   The CPU 100 detects that the switch SW2 is turned on after the shooting conditions of the digital still camera 10 are set by the shooting condition setting module 124, that is, the release button 11 is pushed down to the second position h2. Then, shooting is performed according to the set shooting conditions, and the frame image data output from the signal processing circuit 101 is transferred to the image processing module 125.

画像処理モジュール125は、転送されてきたフレーム画像データに種々の画像処理、例えば、ホワイトバランスや階調再現を行い、保存用画像データを生成して、インターフェース103を介して生成した保存用画像データをメモリカード30に保存する。   The image processing module 125 performs various image processing such as white balance and gradation reproduction on the transferred frame image data, generates storage image data, and generates storage image data via the interface 103. Is stored in the memory card 30.

A3.被写体撮影条件記憶処理:
図3〜図6を参照して、被写体撮影条件記憶処理について説明する。図3は、第1実施例における参照用画像データにより表される参照用画像を例示する画面例である。図4は、第1実施例における撮影条件テーブル300を例示する説明図である。図5は、第1実施例における撮影モード記憶部126に記憶されている撮影モードテーブル350を例示する説明図である。図6は、第1実施例における被写体撮影条件記憶処理を説明するフローチャートである。被写体撮影条件記憶処理は、CPU100が特徴量取得モジュール121および撮影条件記憶モジュール122を制御して実行する。
A3. Subject shooting condition storage processing:
The subject photographing condition storage process will be described with reference to FIGS. FIG. 3 is a screen example illustrating the reference image represented by the reference image data in the first embodiment. FIG. 4 is an explanatory diagram illustrating the photographing condition table 300 in the first embodiment. FIG. 5 is an explanatory diagram illustrating the shooting mode table 350 stored in the shooting mode storage unit 126 in the first embodiment. FIG. 6 is a flowchart for explaining subject photographing condition storage processing in the first embodiment. The subject shooting condition storage process is executed by the CPU 100 by controlling the feature amount acquisition module 121 and the shooting condition storage module 122.

信号処理回路101から転送されるフレーム画像データは、表示制御部102を介して表示パネル14に表示される。ユーザは、操作部15を操作して、表示パネル14に表示されるフレーム画像に含まれる被写体の中から、所望の被写体である対象被写体に選択枠200を合わせ、レリーズボタン11を第1の位置h1まで押し下げる。特徴量取得モジュール121は、レリーズボタン11が第1の位置h1まで押し下げられたときのフレーム画像データから、選択枠200に囲まれている被写体領域210を切り出し、この被写体領域210を解析して被写体領域210に含まれる対象被写体の特徴量を取得する。   The frame image data transferred from the signal processing circuit 101 is displayed on the display panel 14 via the display control unit 102. The user operates the operation unit 15 to align the selection frame 200 with the target subject that is a desired subject from among the subjects included in the frame image displayed on the display panel 14, and press the release button 11 to the first position. Press down to h1. The feature amount acquisition module 121 cuts out the subject area 210 surrounded by the selection frame 200 from the frame image data when the release button 11 is pressed down to the first position h1, and analyzes the subject area 210 to analyze the subject. The feature amount of the target subject included in the area 210 is acquired.

撮影条件記憶モジュール122は、レリーズボタン11が第1の位置h1まで押し下げられたときの、デジタルスチルカメラ10に設定されている撮影条件を参照撮影条件として取得する。種々の撮影モード中のある撮影モードが選択されている場合には、撮影条件記憶モジュール122は、選択されている撮影モードを参照撮影条件として取得する。オートモードが選択されている場合、撮影条件記憶モジュール122は、レリーズボタン11が第1の位置h1まで押し下げられたときの、デジタルスチルカメラ10の撮影条件、例えば、ISO感度、絞り、シャッタースピードを参照撮影条件として取得する。撮影条件記憶モジュール122は、取得した参照撮影条件と、特徴量取得モジュール121により取得された対象被写体の特徴量とを対応付けて、撮影条件テーブル300に記憶する。   The shooting condition storage module 122 acquires, as a reference shooting condition, a shooting condition set in the digital still camera 10 when the release button 11 is pressed down to the first position h1. When a certain shooting mode among the various shooting modes is selected, the shooting condition storage module 122 acquires the selected shooting mode as a reference shooting condition. When the auto mode is selected, the shooting condition storage module 122 sets the shooting conditions of the digital still camera 10 when the release button 11 is pushed down to the first position h1, such as ISO sensitivity, aperture, and shutter speed. Acquired as a reference shooting condition. The shooting condition storage module 122 associates the acquired reference shooting conditions with the feature quantities of the target subject acquired by the feature quantity acquisition module 121 and stores them in the shooting condition table 300.

撮影条件テーブル300について、図4を参照して説明する。図4に示すように、撮影条件テーブル300には、対象被写体の特徴量、参照撮影条件および使用状況が含まれる。第1実施例では、被写体の特徴量、参照撮影条件、使用状況を合わせて被写体撮影条件と呼ぶ。   The imaging condition table 300 will be described with reference to FIG. As shown in FIG. 4, the shooting condition table 300 includes the feature amount of the target subject, the reference shooting conditions, and the usage status. In the first embodiment, the subject feature amount, the reference shooting condition, and the usage status are collectively referred to as a subject shooting condition.

特徴量は、各対象被写体の特徴量を表している。特徴量の平均Yは、対象被写体の輝度の平均値を表しており、平均Cbおよび平均Crは、対象被写体の色差を表している。特徴量には、他に、対象被写体のエッジ情報や、目、鼻、口といった各顔パーツの相対的な位置関係等を含んでもよい。参照撮影条件は、各対象被写体の特徴量取得時のデジタルスチルカメラ10に設定されていた撮影条件を表す。使用状況は、各参照撮影条件の使用状況を表している。「撮影枚数」は、各参照撮影条件を使用して撮影された枚数を示しており、「直近の撮影日時」は、各参照撮影条件が利用された最も近い過去の日時を表している。   The feature amount represents the feature amount of each target subject. The average Y of the feature amount represents the average value of the luminance of the target subject, and the average Cb and the average Cr represent the color difference of the target subject. In addition, the feature amount may include edge information of the target subject, relative positional relationship of each face part such as eyes, nose, and mouth. The reference shooting condition represents the shooting condition set in the digital still camera 10 when the feature amount of each target subject is acquired. The usage status represents the usage status of each reference photographing condition. “Number of shots” indicates the number of shots taken using each reference shooting condition, and “Last shooting date / time” indicates the closest past date / time when each reference shooting condition was used.

ところで、同じ被写体であっても、撮影環境によって特徴量、例えば、平均Y、平均Cr、平均Cbは異なる。例えば、同じ人物を晴天の昼間の明かりのもとで撮影した場合と、夕日の明かりの元で撮影した場合とでは取得される特徴量が異なるためである。そのため、第1実施例では、実際に同じ被写体であっても、特徴量が大きく異なる場合には、別の被写体として判断している。これは、特徴量に撮影環境が反映されており、その反映されている撮影環境の元で撮影した撮影条件を特徴量と関連付けることが運用上好ましいからである。例えば、同じ被写体であるからといって、晴天の昼間の明かりのもとで撮影した際の撮影条件を設定して、夕日の明かりのもとで被写体を撮影しても、露出が適切でない事があり得るからである。   By the way, even for the same subject, the feature amounts, for example, average Y, average Cr, and average Cb differ depending on the shooting environment. This is because, for example, the acquired feature amount is different between when the same person is photographed in daylight on a clear day and when photographed under sunset light. For this reason, in the first embodiment, even if the subject is actually the same, if the feature amount is significantly different, it is determined as another subject. This is because the shooting environment is reflected in the feature amount, and it is preferable in terms of operation to associate the shooting condition shot under the reflected shooting environment with the feature amount. For example, even if the subject is the same, even if you set the shooting conditions when shooting in daylight on a clear day and shoot the subject under sunset light, the exposure may not be appropriate. Because there is a possibility.

図4に示すように、例えば、対象被写体Dの特徴量の平均Y、平均Cb、平均Crは次の通りである。
平均Y:Y4
平均Cb:Cb4
平均Cr:Cr4
As shown in FIG. 4, for example, the average Y, the average Cb, and the average Cr of the feature amounts of the target subject D are as follows.
Average Y: Y4
Average Cb: Cb4
Average Cr: Cr4

また、図4に示すように、対象被写体Dの参照撮影条件は、例えば、次の通りである。
絞り値:F2.8
ISO感度:50
撮影条件には、他にも焦点距離、フラッシュのオン/オフやホワイトバランスなどを含んでも良い。なお、第1実施例では、絞り値とシャッタースピードは相関関係にあり、一方を決定すると他方が決定するため、参照撮影条件は、いずれか一方の値のみを含んでいる。
Moreover, as shown in FIG. 4, the reference photographing conditions of the target subject D are as follows, for example.
Aperture value: F2.8
ISO sensitivity: 50
The shooting conditions may include focal length, flash on / off, white balance, and the like. In the first embodiment, the aperture value and the shutter speed have a correlation, and when one is determined, the other is determined. Therefore, the reference photographing condition includes only one of the values.

各撮影モードに対応する詳細な撮影条件は予め撮影モード記憶部126に記憶されているため、撮影条件記憶モジュール122は、対象被写体の特徴量取得時にデジタルスチルカメラ10に撮影モードが設定されている場合には、撮影モードのみを参照撮影条件として記憶する。例えば、対象被写体Dの参照撮影条件には、撮影モードとして「風景」と記憶されており、他の撮影条件(絞り値、シャッタースピード等)が記憶されていない。   Since detailed shooting conditions corresponding to each shooting mode are stored in the shooting mode storage unit 126 in advance, the shooting mode storage module 122 sets the shooting mode in the digital still camera 10 when the feature amount of the target subject is acquired. In this case, only the shooting mode is stored as the reference shooting condition. For example, in the reference shooting condition of the target subject D, “landscape” is stored as the shooting mode, and other shooting conditions (aperture value, shutter speed, etc.) are not stored.

撮影モード記憶部126に記憶されている撮影モードテーブル350について、図5を参照して説明する。撮影モードテーブル350には、撮影モード別に詳細な撮影条件が設定されている。例えば、撮影モードが「ポートレート」の場合、絞り値は「F2.8」、シャッタースピードは「1/250」、焦点距離は「50mm」、ISO感度は「50」である。参照撮影条件に撮影モードが記憶されている場合、撮影モード記憶部126に記憶されている詳細な撮影条件が、特徴量に関連付けられている参照撮影条件となる。   The shooting mode table 350 stored in the shooting mode storage unit 126 will be described with reference to FIG. In the shooting mode table 350, detailed shooting conditions are set for each shooting mode. For example, when the photographing mode is “portrait”, the aperture value is “F2.8”, the shutter speed is “1/250”, the focal length is “50 mm”, and the ISO sensitivity is “50”. When the shooting mode is stored in the reference shooting condition, the detailed shooting condition stored in the shooting mode storage unit 126 becomes the reference shooting condition associated with the feature amount.

被写体撮影条件記憶処理について、図6を参照して説明する。被写体撮影条件記憶処理は、CPU100が特徴量取得モジュール121、撮影条件記憶モジュール122を制御することにより実行される。   The subject photographing condition storage process will be described with reference to FIG. The subject shooting condition storage process is executed by the CPU 100 controlling the feature amount acquisition module 121 and the shooting condition storage module 122.

CPU100は、撮影条件記憶ボタン18の押下を検出すると(ステップS10)、表示パネル14に表示されているフレーム画像に重ねて選択枠200を表示する(ステップS11)。ユーザは、操作部15を操作して対象被写体の位置に選択枠200を移動させる。   When detecting that the photographing condition storage button 18 is pressed (step S10), the CPU 100 displays the selection frame 200 on the frame image displayed on the display panel 14 (step S11). The user operates the operation unit 15 to move the selection frame 200 to the position of the target subject.

CPU100は、撮影条件記憶ボタン18押下後に、レリーズボタン11が第1の位置h1まで押し下げられたことを検出すると(ステップS12)、選択されている撮影モードの撮影条件をデジタルスチルカメラ10の撮影条件のもとで、レリーズボタン11押下時のフレーム画像データを参照用画像データとして取得する(ステップS13)。CPU100は、取得した参照用画像データにおいて、選択枠200によって選択されている被写体領域を切り出し(ステップS14)、切り出した被写体領域を解析して、被写体領域に含まれる対象被写体の特徴量を取得する(ステップS15)。   When the CPU 100 detects that the release button 11 is pressed down to the first position h1 after the shooting condition storage button 18 is pressed (step S12), the shooting condition of the selected shooting mode is set as the shooting condition of the digital still camera 10. The frame image data when the release button 11 is pressed is acquired as reference image data (step S13). In the acquired reference image data, the CPU 100 cuts out the subject area selected by the selection frame 200 (step S14), analyzes the cut out subject area, and acquires the feature amount of the target subject included in the subject area. (Step S15).

CPU100は、対象被写体の特徴量を取得するとともに、レリーズボタン11押下時にデジタルスチルカメラ10に設定されている参照撮影条件を取得する(ステップS16)。CPU100は、取得した対象被写体の特徴量と参照撮影条件とを関連付けて撮影条件テーブル300に記憶する(ステップS17)。   The CPU 100 acquires the feature amount of the target subject and also acquires the reference shooting conditions set in the digital still camera 10 when the release button 11 is pressed (step S16). The CPU 100 associates the acquired feature amount of the target subject and the reference shooting condition and stores them in the shooting condition table 300 (step S17).

以上図3〜図6を参照して説明したように、デジタルスチルカメラ10は、対象被写体の特徴量と参照撮影条件を関連付けて記憶する。   As described above with reference to FIGS. 3 to 6, the digital still camera 10 stores the feature amount of the target subject and the reference photographing condition in association with each other.

A4.被写体検索処理:
図7および図8を参照して、第1実施例における被写体検索処理について説明する。図7は、第1実施例における被写体検索方法を模式的に説明する模式図である。図8は、第1実施例における被写体検索用画像データを例示する説明図である。被写体検索処理は、被写体検索モジュール123によって実行される。
A4. Subject search processing:
The subject search process in the first embodiment will be described with reference to FIGS. FIG. 7 is a schematic diagram for schematically explaining the subject searching method in the first embodiment. FIG. 8 is an explanatory diagram illustrating object search image data in the first embodiment. The subject search process is executed by the subject search module 123.

CPU100は、複数の撮影モードから「お好みモード」が選択されている状態で、レリーズボタン11が第1の位置h1まで押し下げられると、レリーズボタン11押下時のフレーム画像を被写体検索用画像データ250として取得し、被写体検索モジュール123に転送する。被写体検索モジュール123は、被写体検索用画像データ250を受け取ると、被写体検索処理を開始する。   When the release button 11 is pressed down to the first position h1 in a state where the “favorite mode” is selected from the plurality of shooting modes, the CPU 100 uses the frame image when the release button 11 is pressed as the subject search image data 250. And transferred to the subject search module 123. Upon receiving the subject search image data 250, the subject search module 123 starts subject search processing.

被写体検索モジュール123は、被写体検索用画像データ250の各画素の位置を、座標を用いて特定する。図7に示すように、被写体検索用画像データ250の最左上の画素D11を基準として、横方向をx軸、縦方向をy軸とする。例えば、画素D11の座標はD11(x1,y1)であり、図中、x軸方向に1画素移動するごとに、D21(x2,y1)、D31(x3,y1)…とx座標の値が1ずつ増加する。同様に、D11(x1,y1)からy軸方向に1画素移動するごとに、D12(x1,y2)、D13(x1,y3)…とy座標の値が1ずつ増加する。   The subject search module 123 specifies the position of each pixel in the subject search image data 250 using the coordinates. As shown in FIG. 7, the horizontal direction is the x-axis and the vertical direction is the y-axis with reference to the upper left pixel D11 of the subject search image data 250. For example, the coordinates of the pixel D11 are D11 (x1, y1), and every time one pixel moves in the x-axis direction in the figure, the values of the x coordinates are D21 (x2, y1), D31 (x3, y1). Increase by one. Similarly, every time one pixel is moved in the y-axis direction from D11 (x1, y1), the values of D12 (x1, y2), D13 (x1, y3).

被写体検索モジュール123は、図7に示すように、画素D11(x1,y1)と画素Dab(xa、ya)とからなる直線が対角線となる矩形を検索用窓251と決定する。被写体検索モジュール123は、被写体検索用画像データ250に検索用窓251を重ね、検索用窓251に含まれる領域を検索領域253として切り出す。被写体検索モジュール123は、切り出された検索領域253を解析し、撮影条件テーブル300に含まれる特徴量を有する対象被写体が検索領域253に含まれるかを判断する。第1実施例において、被写体検索モジュール123は、検索用窓251を、被写体検索用画像データ250の画素D11が含まれる初期位置(図7における左上)から、実線矢印Aに示すように、順次、移動させて検索領域253を切り出す。   As illustrated in FIG. 7, the subject search module 123 determines, as the search window 251, a rectangle in which a straight line including the pixel D 11 (x1, y1) and the pixel Dab (xa, ya) is a diagonal line. The subject search module 123 superimposes a search window 251 on the subject search image data 250 and cuts out an area included in the search window 251 as a search area 253. The subject search module 123 analyzes the clipped search area 253 and determines whether the search area 253 includes a target subject having a feature amount included in the imaging condition table 300. In the first embodiment, the subject search module 123 sequentially moves the search window 251 from the initial position (upper left in FIG. 7) where the pixel D11 of the subject search image data 250 is included, as indicated by a solid arrow A. The search area 253 is cut out by moving.

なお、第1実施例では、検索用窓251は、x軸方向に100画素ずつ並行に移動され、x軸方向へ対象被写体の検索を終えると、初期位置からy軸方向に50画素移動された位置から、再び、x軸方向に100画素ずつ並行に移動される。このようにして、被写体検索モジュール123は、被写体検索用画像データ250から検索領域253を順次切り出し、対象被写体を検索する。検索用窓251を用いて被写体検索用画像データ250を一通り検索しても対象被写体が検索されない場合には、被写体検索モジュール123は、検索用窓251のサイズを拡大・縮小して再度検索を行っても良い。例えば、図7に示すように、検索用窓251より大きいサイズの検索用窓252を用いて対象被写体の検索を行っても良い。被写体検索用画像に含まれる対象被写体のサイズは一定でないことが多いが、検索用窓のサイズを変化させて検索領域を切り出すことにより、対象被写体検索の精度を向上できる。   In the first embodiment, the search window 251 is moved in parallel by 100 pixels in the x-axis direction, and when the search for the target subject is completed in the x-axis direction, the search window 251 is moved by 50 pixels in the y-axis direction from the initial position. From the position, it is again moved in parallel in the x-axis direction by 100 pixels. In this manner, the subject search module 123 sequentially extracts the search area 253 from the subject search image data 250 and searches for the target subject. If the target subject is not searched even after searching the subject search image data 250 using the search window 251, the subject search module 123 enlarges / reduces the size of the search window 251 and searches again. You can go. For example, as shown in FIG. 7, the target subject may be searched using a search window 252 having a size larger than that of the search window 251. In many cases, the size of the target subject included in the subject search image is not constant, but by extracting the search area by changing the size of the search window, the accuracy of the target subject search can be improved.

被写体検索モジュール123は、以上説明したように対象被写体の検索を行い、対象被写体を検出すると、被写体検索用画像データ270における対象被写体Dの位置を取得する。具体的には、被写体検索モジュール123は、図8に示すように、対象被写体検出時の、検索用窓271の図中左上の画素Dpq(xp,yq)と図中右下の画素Drs(xr、ys)の座標を対象被写体の位置情報として取得する。被写体検索モジュール123は、取得した対象被写体の位置情報をバッファメモリ110に記憶する。   The subject search module 123 searches for the target subject as described above, and when the target subject is detected, acquires the position of the target subject D in the subject search image data 270. Specifically, as shown in FIG. 8, the subject search module 123, when detecting the target subject, the upper left pixel Dpq (xp, yq) in the search window 271 and the lower right pixel Drs (xr) in the drawing. , Ys) is acquired as position information of the subject. The subject search module 123 stores the acquired position information of the target subject in the buffer memory 110.

A5.保存用画像データ生成処理:
図9および図10を参照して、保存用画像データ生成処理について説明する。図9は、第1実施例における保存用画像データ生成処理を説明するフローチャートである。図10は、第1実施例における保存用画像データにより表される保存用画像を例示する説明図である。CPU100は、各モジュールを制御して保存用画像データ生成処理を実行する。CPU100は、複数の撮影モードから「お好みモード」が選択されている状態で、レリーズボタン11が第1の位置h1まで押し下げられると、保存用画像データ生成処理を開始する。
A5. Image data generation processing for storage:
The storage image data generation process will be described with reference to FIGS. FIG. 9 is a flowchart for explaining storage image data generation processing in the first embodiment. FIG. 10 is an explanatory diagram illustrating a storage image represented by storage image data in the first embodiment. The CPU 100 controls each module and executes storage image data generation processing. When the release button 11 is pressed down to the first position h1 in a state where the “favorite mode” is selected from the plurality of shooting modes, the CPU 100 starts the storage image data generation process.

CPU100は、複数の撮影モードから「お好みモード」が選択されている状態で、レリーズボタン11が第1の位置h1まで押し下げられたことを検出すると(ステップS20)、被写体検索用画像データを取得し(ステップS21)。対象被写体検出処理を行う(ステップS22)。   When the CPU 100 detects that the release button 11 is pressed down to the first position h1 in a state where the “favorite mode” is selected from a plurality of shooting modes (step S20), the CPU 100 acquires subject search image data. (Step S21). A target subject detection process is performed (step S22).

CPU100は、対象被写体が検出されたか否かを判断し(ステップS23)、対象被写体が検出された場合(ステップS23:YES)、被写体検索用画像データにおける対象被写体の位置情報を取得する(ステップS25)。   The CPU 100 determines whether or not the target subject has been detected (step S23), and when the target subject has been detected (step S23: YES), acquires the position information of the target subject in the subject search image data (step S25). ).

CPU100は、対象被写体が検出されない場合(ステップS23:NO)、検索用窓のサイズを変更して(ステップS24)、対象被写体検出処理を繰り返す(ステップS22)。   When the target subject is not detected (step S23: NO), the CPU 100 changes the size of the search window (step S24) and repeats the target subject detection process (step S22).

CPU100は、撮影条件テーブル300を参照し(ステップS26)、検索された対象被写体の特徴量に関連づけられている参照撮影条件が2以上存在するかを判断する(ステップS27)。CPU100は、検索された対象被写体の特徴量に関連づけられている参照撮影条件が2以上存在する場合(ステップS27:YES)、優先度の高い参照撮影条件を取得する(ステップS28)。   The CPU 100 refers to the shooting condition table 300 (step S26), and determines whether there are two or more reference shooting conditions associated with the searched feature quantity of the target subject (step S27). When there are two or more reference photographing conditions associated with the searched feature quantity of the target subject (step S27: YES), the CPU 100 acquires a reference photographing condition having a high priority (step S28).

第1実施例では、同じ特徴量を有する対象被写体に複数の参照撮影条件を設定できる。各参照撮影条件には各参照撮影条件の使用状況が関連づけられており、CPU100は、この使用状況に応じて参照撮影条件の優先度を決定している。第1実施例では、使用状況の撮影枚数が多い参照撮影条件ほど優先度を高い。例えば、図4の撮影条件テーブル300に示すように、対象被写体Aには2パターンの参照撮影条件が設定されており、対象被写体Aに関連づけられている2パターンの参照撮影条件のうち、撮影枚数の多い参照撮影条件(撮影枚数が30枚である参照撮影条件)の優先度が高い。よって、CPU100は、撮影枚数が30枚である参照撮影条件が対象被写体に適した撮影条件と判断し、かかる参照撮影条件を取得する。   In the first embodiment, a plurality of reference photographing conditions can be set for target subjects having the same feature amount. Each reference shooting condition is associated with the use status of each reference shooting condition, and the CPU 100 determines the priority of the reference shooting condition according to the use status. In the first embodiment, the higher the priority is, the higher the reference shooting condition is in the usage situation. For example, as shown in the shooting condition table 300 of FIG. 4, two patterns of reference shooting conditions are set for the target subject A. Of the two patterns of reference shooting conditions associated with the target subject A, the number of shots The priority is high for the reference shooting conditions with many images (reference shooting conditions with 30 shots). Therefore, the CPU 100 determines that the reference shooting condition where the number of shots is 30 is a shooting condition suitable for the target subject, and acquires the reference shooting condition.

CPU100は、検索された対象被写体の特徴量に関連づけられている参照撮影条件が1つの場合(ステップS27:NO)、その参照撮影条件が対象被写体に適した撮影条件と判断し、かかる撮影条件を取得する(ステップS29)。   If there is one reference shooting condition associated with the feature quantity of the searched target subject (step S27: NO), the CPU 100 determines that the reference shooting condition is a shooting condition suitable for the target subject, and determines the shooting condition. Obtain (step S29).

CPU100は、取得した参照撮影条件をデジタルスチルカメラ10の撮影条件に設定する(ステップS30)。次に、CPU100は、ステップS25において取得した対象被写体の位置情報、および、被写体距離検出装置37から得た被写体距離を用いて焦点距離、絞りを調節し、デジタルスチルカメラ10の画角内の画像に含まれる対象被写体に焦点を合わせる(ステップS31)。 The CPU 100 sets the acquired reference shooting condition as the shooting condition of the digital still camera 10 (step S30). Next, the CPU 100 adjusts the focal length and the aperture using the position information of the target subject acquired in step S25 and the subject distance obtained from the subject distance detection device 37, and the image within the angle of view of the digital still camera 10 is obtained. Is focused on the target subject included in (step S31).

CPU100は、ステップS31における焦点合わせを行った後に、レリーズボタン11が第2の位置h2まで押し下げられたことを検出すると(ステップS32)、ステップS30およびステップS31において設定されたデジタルスチルカメラ10の撮影条件のもとで撮影を行い、保存用画像データを生成する(ステップS33)。CPU100は、生成された保存用画像データをメモリカード30に保存する(ステップS34)。   When the CPU 100 detects that the release button 11 has been pushed down to the second position h2 after performing the focusing in step S31 (step S32), the photographing of the digital still camera 10 set in step S30 and step S31 is performed. Shooting is performed under conditions, and image data for storage is generated (step S33). The CPU 100 stores the generated storage image data in the memory card 30 (step S34).

こうして生成された保存用画像データにより表される保存用画像について、図10を参照して説明する。図10に示すように、焦点が合っている対象被写体Dは太線により表されており、焦点が合っていない他の被写体B,Eは破線により表されている。保存用画像400は、検索された対象被写体Dに焦点が合っているとともに、対象被写体Dの特徴量に関連づけられている参照撮影条件、すなわち、ユーザが対象被写体Dに適していると考える撮影条件で撮影された画像である。このように、対象被写体Dに対してユーザの所望する撮影条件を設定するとともに、焦点を対象被写体Dに合わせることにより、対象被写体Dの輪郭が明瞭に表示されるとともに、対象被写体Dに適した露出やホワイトバランスで撮影される。   The storage image represented by the storage image data generated in this way will be described with reference to FIG. As shown in FIG. 10, the target subject D that is in focus is represented by a thick line, and the other subjects B and E that are not in focus are represented by a broken line. The image for storage 400 is focused on the searched target subject D, and the reference shooting conditions associated with the feature amount of the target subject D, that is, the shooting conditions that the user considers suitable for the target subject D. This is an image taken in In this way, by setting the shooting conditions desired by the user for the target subject D and focusing on the target subject D, the outline of the target subject D is clearly displayed and suitable for the target subject D. Pictures are taken with exposure or white balance.

なお、第1実施例の被写体撮影条件記憶処理と保存用画像データ生成処理は、連続して行われる必要はなく、ユーザは、必要なときに、被写体撮影条件記憶処理を行い、被写体撮影条件をデジタルスチルカメラ10に記憶する。このようにして、予め、頻繁に撮影する被写体の被写体撮影条件をデジタルスチルカメラ10に記憶しておくことにより、ユーザは、いつでも、所望の対象被写体に適しているとユーザが判断する撮影条件を簡易にデジタルスチルカメラ10に設定して撮影を行うことができる。   Note that the subject shooting condition storage process and the storage image data generation process of the first embodiment do not have to be performed continuously, and the user performs the subject shooting condition storage process to change the subject shooting condition when necessary. Store in the digital still camera 10. In this way, by previously storing the subject shooting conditions of the subject to be frequently shot in the digital still camera 10, the user can always set the shooting conditions that the user determines to be suitable for the desired target subject. The digital still camera 10 can be easily set to shoot.

以上説明した第1実施例のデジタルスチルカメラ10によれば、ユーザが頻繁に撮影する対象被写体の特徴量、参照撮影条件を記憶して、画角内に対象被写体が存在場合に、対象被写体に関連付けられている参照撮影条件をデジタルスチルカメラ10の撮影条件に設定できる。従って、ユーザが頻繁に撮影する対象被写体に適した撮影条件を優先的に設定できるため、対象被写体に応じて、撮影条件を自動的に設定でき、ユーザの利便性を向上できる。   According to the digital still camera 10 of the first embodiment described above, the feature amount and the reference shooting condition of the target subject that the user frequently shoots are stored, and the target subject is detected when the target subject exists within the angle of view. The associated reference shooting condition can be set as the shooting condition of the digital still camera 10. Accordingly, since shooting conditions suitable for the target subject that the user frequently shoots can be set preferentially, the shooting conditions can be automatically set according to the target subject, and the convenience for the user can be improved.

また、第1実施例のデジタルスチルカメラ10によれば、参照撮影条件をデジタルスチルカメラ10の撮影条件に設定するとともに、対象被写体に焦点を合わせることができる。参照撮影所条件を取得した際の被写体距離と画角内に含まれる対象被写体の被写体距離とは異なることが多いため、画角内に含まれる対象被写体に適した焦点距離や絞り値を改めて設定することで、露出やホワイトバランスの調整だけでなく、対象被写体に適した被写界深度にすることができ、ユーザは、所望の撮影条件で画質の良い画像を簡易に得ることができる。   Further, according to the digital still camera 10 of the first embodiment, the reference photographing condition can be set to the photographing condition of the digital still camera 10 and the target subject can be focused. Since the subject distance when the reference studio conditions are acquired and the subject distance of the target subject included in the angle of view are often different, the focal length and aperture value suitable for the target subject included in the angle of view are set again. By doing so, not only the adjustment of exposure and white balance but also the depth of field suitable for the target subject can be obtained, and the user can easily obtain an image with good image quality under desired shooting conditions.

また、第1実施例のデジタルスチルカメラ10によれば、撮影枚数の多い参照撮影条件の優先度を高く設定しているため、1の対象被写体に複数の参照撮影条件が関連付けられている場合にも、頻繁に利用される参照撮影条件をデジタルスチルカメラ10の撮影条件に設定できる。   Further, according to the digital still camera 10 of the first embodiment, since the priority of the reference shooting conditions with a large number of shots is set high, when a plurality of reference shooting conditions are associated with one target subject. In addition, the frequently used reference shooting condition can be set as the shooting condition of the digital still camera 10.

また、第1実施例のデジタルスチルカメラ10によれば、撮影条件記憶ボタン18の押下を契機として、ユーザに選択された対象被写体の特徴量と参照撮影条件を記憶する。従って、ユーザは、容易に、頻繁に撮影する対象被写体の被写体撮影条件をデジタルスチルカメラ10に記憶できるため、ユーザの利便性を向上できる。   Further, according to the digital still camera 10 of the first embodiment, the feature amount of the target subject selected by the user and the reference shooting condition are stored when the shooting condition storage button 18 is pressed. Therefore, the user can easily store the subject shooting conditions of the target subject to be frequently shot in the digital still camera 10, and thus the convenience for the user can be improved.

B.第2実施例:
第1実施例では、デジタルスチルカメラ10で、撮影条件記憶ボタン18を押下し、レリーズボタン11が第1の位置h1まで押し下げられると、被写体撮影条件を取得して記憶する。第2実施例では、デジタルスチルカメラ10によって過去に撮影され保存されている画像データを参照用画像データとして取得し、参照用画像データからユーザにより選択された対象被写体の特徴量を取得するとともに、参照用画像データに付帯するExif情報から、参照用画像データ生成時にデジタルスチルカメラ10に設定されていた撮影条件を参照撮影条件として取得する。デジタルスチルカメラ10は、取得した参照撮影条件と対象被写体の特徴量とを関連付けて撮影条件テーブル300に記憶する。
B. Second embodiment:
In the first embodiment, when the photographing condition storage button 18 is pressed on the digital still camera 10 and the release button 11 is pushed down to the first position h1, the subject photographing condition is acquired and stored. In the second embodiment, image data captured and stored in the past by the digital still camera 10 is acquired as reference image data, the feature amount of the target subject selected by the user is acquired from the reference image data, and From the Exif information incidental to the reference image data, the shooting condition set in the digital still camera 10 when the reference image data is generated is acquired as the reference shooting condition. The digital still camera 10 stores the acquired reference shooting condition and the feature amount of the target subject in the shooting condition table 300 in association with each other.

B1.被写体撮影条件記憶処理:
第2実施例における対象被写体の参照撮影条件の取得について、図11および図12を参照して説明する。図11は、第2実施例における対象被写体の選択を説明する画面例である。図12は、第2実施例における参照用画像データに付帯するExif情報を例示する説明図である。
B1. Subject shooting condition storage processing:
Acquisition of the reference shooting condition of the target subject in the second embodiment will be described with reference to FIGS. FIG. 11 is an example of a screen for explaining the selection of the target subject in the second embodiment. FIG. 12 is an explanatory diagram illustrating Exif information incidental to the reference image data in the second embodiment.

デジタルスチルカメラ10によって過去に撮影された画像データは、メモリカード30に保存されている。ユーザは、メモリカード30に保存されている画像データから参照用画像データを選択する。デジタルスチルカメラ10は、選択された参照用画像データを表示パネル14に表示するとともに、対象被写体を選択するための選択枠200を参照用画像データに重ねて表示パネル14に表示する。   Image data taken in the past by the digital still camera 10 is stored in the memory card 30. The user selects reference image data from the image data stored in the memory card 30. The digital still camera 10 displays the selected reference image data on the display panel 14 and displays a selection frame 200 for selecting the target subject on the display panel 14 so as to overlap the reference image data.

ユーザは、操作部15を操作して、所望する対象被写体が含まれるように選択枠200を拡大・縮小および移動させ、OKボタン16を押下する。   The user operates the operation unit 15 to enlarge / reduce and move the selection frame 200 so that a desired target subject is included, and presses the OK button 16.

デジタルスチルカメラ10は、OKボタン16が押下されたことを検出すると、選択枠200に囲まれる被写体領域210(図11に斜線ハッチングで示す)を切り出し、解析して、対象被写体Fの特徴量を取得する。デジタルスチルカメラ10は、更に、参照用画像データに付帯するExif情報を参照して、参照用画像データ生成時の撮影条件を取得する。   When the digital still camera 10 detects that the OK button 16 has been pressed, the digital still camera 10 cuts out and analyzes a subject area 210 (indicated by hatching in FIG. 11) surrounded by the selection frame 200 and analyzes the feature amount of the target subject F. get. Further, the digital still camera 10 refers to the Exif information incidental to the reference image data, and acquires the shooting conditions when generating the reference image data.

図12を参照して参照用画像データのExif情報について説明する。Exif情報21に、参照用画像データ生成時に、デジタルスチルカメラ10に設定されていた撮影条件が記録されている。図12に示すように、Exif情報21には、「画像タイトル」、「撮影日時」などの画像ファイル20に関する情報とともに、画像ファイル20の撮影時の種々の撮影条件、例えば「色空間情報」、「ISO感度」、「シャッタースピード」、「焦点距離」、「絞り値」が含まれる。例えば、参照用画像データ生成時の絞り値は「F3.6」、ISO感度は「100」である。   Exif information of reference image data will be described with reference to FIG. In the Exif information 21, shooting conditions set in the digital still camera 10 when the reference image data is generated are recorded. As shown in FIG. 12, the Exif information 21 includes information related to the image file 20 such as “image title” and “shooting date / time”, as well as various shooting conditions when shooting the image file 20, such as “color space information” “ISO sensitivity”, “shutter speed”, “focal length”, and “aperture value” are included. For example, the aperture value when generating the reference image data is “F3.6”, and the ISO sensitivity is “100”.

デジタルスチルカメラ10は、Exif情報21に含まれる撮影条件を参照撮影条件として取得し、対象被写体Fの特徴量と関連付けて撮影条件テーブル300に記憶する。   The digital still camera 10 acquires the shooting condition included in the Exif information 21 as the reference shooting condition, and stores it in the shooting condition table 300 in association with the feature amount of the subject F.

第2実施例のデジタルスチルカメラ10によれば、過去にデジタルスチルカメラ10によって撮影された画像から、簡易に、対象被写体の特徴量と撮影条件を取得できる。従って、デジタルスチルカメラ10によれば、過去に対象被写体を撮影した際の撮影条件を、簡易に再現でき、ユーザの所望する画像を生成できる。   According to the digital still camera 10 of the second embodiment, the feature amount and shooting conditions of the target subject can be easily acquired from the images shot by the digital still camera 10 in the past. Therefore, according to the digital still camera 10, the shooting conditions when the target subject was shot in the past can be easily reproduced, and an image desired by the user can be generated.

C.変形例:
(1)上述の第1実施例では、1の対象被写体に複数の撮影条件が関連付けられている場合、優先度の高い参照撮影条件、すなわち、撮影枚数の多い参照撮影条件をデジタルスチルカメラ10の撮影条件に設定している。本変形例では、対象被写体に複数の撮影条件が関連付けられている場合、優先度の高い参照撮影条件をデジタルスチルカメラ10に設定するとともに、他の参照撮影条件をユーザに選択可能とする。
C. Variations:
(1) In the first embodiment described above, when a plurality of shooting conditions are associated with one target subject, a reference shooting condition with a high priority, that is, a reference shooting condition with a large number of shots is set in the digital still camera 10. The shooting conditions are set. In the present modification, when a plurality of shooting conditions are associated with the target subject, a reference shooting condition with a high priority is set in the digital still camera 10 and another reference shooting condition can be selected by the user.

図13を参照して、参照撮影条件の選択について説明する。図13は、本変形例における撮影条件選択画面を例示する画面例である。図13に示すように、表示パネル14に表示されている撮影条件選択画面には、ユーザに、対象被写体に関連付けられている複数の参照撮影条件からいずれかの参照撮影条件の選択を促すメッセージMSGと、選択可能な複数の参照撮影条件を含む選択部500とが表示される。   With reference to FIG. 13, the selection of the reference photographing condition will be described. FIG. 13 is a screen example illustrating a shooting condition selection screen in the present modification. As shown in FIG. 13, on the shooting condition selection screen displayed on the display panel 14, a message MSG prompting the user to select one of the reference shooting conditions from a plurality of reference shooting conditions associated with the target subject. And a selection unit 500 including a plurality of selectable reference photographing conditions.

ユーザは、操作部15、OKボタン16、および、キャンセルボタン17を操作して、所望の参照撮影条件を選択する。デジタルスチルカメラ10は、ユーザによって選択された参照撮影条件をデジタルスチルカメラ10の撮影条件に設定する。   The user operates the operation unit 15, the OK button 16, and the cancel button 17 to select desired reference shooting conditions. The digital still camera 10 sets the reference shooting condition selected by the user as the shooting condition of the digital still camera 10.

本変形例によれば、対象被写体に複数の参照撮影条件が関連付けられている場合にも、ユーザは所望の参照撮影条件を柔軟に選択できる。   According to this modification, even when a plurality of reference shooting conditions are associated with the target subject, the user can flexibly select a desired reference shooting condition.

(2)上述の第1実施例では、被写体検索用画像に対象被写体が1つのみ含まれる場合について説明した。本変形例では、被写体検索用画像に対象被写体が複数含まれる場合に、どの対象被写体に関連付けられている参照撮影条件をデジタルスチルカメラ10の撮影条件に設定するかについて説明する。 (2) In the first embodiment described above, the case where only one target subject is included in the subject search image has been described. In the present modification, a description will be given of which reference shooting condition associated with which target subject is set as the shooting condition of the digital still camera 10 when the subject search image includes a plurality of target subjects.

被写体には、ユーザが頻繁に撮影を所望する被写体と、頻繁に撮影を所望しない被写体とが含まれる。例えば、属性が人物の被写体は頻繁に撮影される可能性が高く、属性が山の被写体は頻繁に撮影される可能性が低い。言い換えれば、被写体の属性によって頻繁にされる可能性の高さを規定できる。本変形例では、頻繁に撮影される可能性の高さを被写体の重要度といい、重要度は被写体の属性別に予め決定されている。被写体の属性別の重要度は、被写体属性テーブル128に含まれている。   The subjects include subjects that the user frequently desires to shoot and subjects that do not frequently want to shoot. For example, a subject whose attribute is a person is likely to be frequently shot, and a subject whose attribute is a mountain is unlikely to be frequently shot. In other words, it is possible to define the high possibility of being frequently performed according to the attribute of the subject. In this modification, the high possibility of frequent shooting is referred to as the importance of the subject, and the importance is determined in advance for each attribute of the subject. The importance of each subject attribute is included in the subject attribute table 128.

被写体属性テーブル128について、図14を参照して説明する。図14は、本変形例における被写体属性テーブル128を例示する説明図である。被写体属性テーブル128は、ROM120に予め記憶されている。図14に示すように、被写体属性テーブル128には、被写体属性と重要度が含まれる。重要度は、被写体属性に関連づけられている。例えば、被写体属性が「人物」の場合、被写体は主被写体とされる可能性が高く重要度は「5」と決められており、被写体属性が「山」の場合、被写体は主被写体にされる可能性は低いが背景にされる可能性は高く、重要度は「0.5」と決められている。   The subject attribute table 128 will be described with reference to FIG. FIG. 14 is an explanatory diagram illustrating the subject attribute table 128 in the present modification. The subject attribute table 128 is stored in advance in the ROM 120. As shown in FIG. 14, the subject attribute table 128 includes subject attributes and importance levels. The importance is associated with the subject attribute. For example, when the subject attribute is “person”, the subject is likely to be the main subject and the importance is determined as “5”. When the subject attribute is “mountain”, the subject is set as the main subject. Although the possibility is low, the possibility of being used as a background is high, and the importance is determined to be “0.5”.

デジタルスチルカメラ10は、対象被写体の特徴量を取得するとともに、取得した特徴量に基づいて対象被写体の属性を決定し、特徴量と関連付けて撮影条件テーブル300に記憶する。デジタルスチルカメラ10は、保存用画像データ生成処理において、対象被写体が複数検索された場合、被写体属性テーブル128を参照して、重要度の高い対象被写体に関連付けられている参照撮影条件をデジタルスチルカメラ10の撮影条件に設定してもよい。   The digital still camera 10 acquires the feature amount of the target subject, determines the attribute of the target subject based on the acquired feature amount, and stores the attribute in the imaging condition table 300 in association with the feature amount. When a plurality of target subjects are searched in the storage image data generation process, the digital still camera 10 refers to the subject attribute table 128 and sets the reference shooting condition associated with the target subject having high importance to the digital still camera. Ten shooting conditions may be set.

本変形例によれば、1の被写体検索用画像内に複数の対象被写体が検索された場合にも、予め定められた重要度に応じて参照用撮影条件を設定できるため、高い精度で、ユーザの所望する撮影条件で保存用画像データを生成できる。   According to this modification, even when a plurality of target subjects are searched for in one subject search image, the reference shooting conditions can be set according to the predetermined importance, so that the user can be made with high accuracy. The image data for storage can be generated under the desired shooting conditions.

(3)上述の第1実施例では、1の対象被写体に複数の参照撮影条件が関連付けられている場合、撮影枚数の多い順に参照撮影条件の優先度を高く設定している。本変形例では、参照撮影条件の優先度を、図4に示す「直近の撮影日時」に応じて設定してもよい。例えば、図4に示すように、同じ対象被写体Aに対して、2つの参照撮影条件が関連付けられている場合、「直近の撮影日時」が最も近い過去の参照撮影条件(図4では、「直近の撮影日時」が「2005.8.3 16:13」の参照撮影条件)を、デジタルスチルカメラ10に設定しても良い。 (3) In the first embodiment described above, when a plurality of reference shooting conditions are associated with one target subject, the priority of the reference shooting conditions is set higher in descending order of the number of shots. In this modification, the priority of the reference shooting condition may be set according to the “most recent shooting date” shown in FIG. For example, as shown in FIG. 4, when two reference shooting conditions are associated with the same target subject A, the past reference shooting conditions with the closest “most recent shooting date and time” (in FIG. "Reference shooting conditions of" 2005.8.3 16:13 ") may be set in the digital still camera 10.

以上、本発明の種々の実施例について説明したが、本発明はこれらの実施例に限定されず、その趣旨を逸脱しない範囲で種々の構成をとることができることは言うまでもない。   Although various embodiments of the present invention have been described above, it is needless to say that the present invention is not limited to these embodiments and can take various configurations without departing from the spirit of the present invention.

10…デジタルスチルカメラ
11…レリーズボタン
12…レンズ
13…カードスロット
14…表示パネル
15…操作部
16…OKボタン
17…キャンセルボタン
18…撮影条件記憶ボタン
20…画像ファイル
30…メモリカード
36…焦点距離検出装置
37…被写体距離検出装置
41…レンズ駆動装置
43…絞り羽
100…CPU
101…信号処理回路
102…表示制御部
103…インターフェース
105…レンズ制御回路
107…入力受付部
108…距離検出回路
109…スイッチ信号入力回路
110…バッファメモリ
120…ROM
121…特徴量取得モジュール
122…撮影条件記憶モジュール
123…被写体検索モジュール
124…撮影条件設定モジュール
125…画像処理モジュール
126…撮影モード記憶部
128…被写体属性テーブル
200…選択枠
210…被写体領域
250…被写体検索用画像データ
251…検索用窓
252…検索用窓
253…検索領域
270…被写体検索用画像データ
300…撮影条件テーブル
350…撮影モードテーブル
400…保存用画像
450…Exif情報
500…選択部
DESCRIPTION OF SYMBOLS 10 ... Digital still camera 11 ... Release button 12 ... Lens 13 ... Card slot 14 ... Display panel 15 ... Operation part 16 ... OK button 17 ... Cancel button 18 ... Shooting condition storage button 20 ... Image file 30 ... Memory card 36 ... Focal length Detection device 37 ... Subject distance detection device 41 ... Lens driving device 43 ... Aperture blade 100 ... CPU
DESCRIPTION OF SYMBOLS 101 ... Signal processing circuit 102 ... Display control part 103 ... Interface 105 ... Lens control circuit 107 ... Input reception part 108 ... Distance detection circuit 109 ... Switch signal input circuit 110 ... Buffer memory 120 ... ROM
121 ... Feature value acquisition module 122 ... Shooting condition storage module 123 ... Subject search module 124 ... Shooting condition setting module 125 ... Image processing module 126 ... Shooting mode storage unit 128 ... Subject attribute table 200 ... Selection frame 210 ... Subject area 250 ... Subject Search image data 251 ... Search window 252 ... Search window 253 ... Search area 270 ... Subject search image data 300 ... Shooting condition table 350 ... Shooting mode table 400 ... Storage image 450 ... Exif information 500 ... Selection unit

Claims (9)

画像データ生成装置であって、
対象被写体が含まれる参照用画像データから、前記対象被写体の特徴量を取得する特徴量取得手段と、
前記参照用画像データ生成時の撮影条件である参照撮影条件を取得する参照撮影条件取得手段と、
前記特徴量と前記参照撮影条件とを関連付けて記憶する記憶手段と、
被写体検索用画像データを生成する生成手段と、
前記特徴量を用いて、前記被写体検索用画像データに前記対象被写体が含まれるかを判断する判断手段と、
前記被写体検索用画像データに前記対象被写体が含まれる場合に、前記対象被写体の特徴量に関連づけられている前記参照撮影条件を前記画像データ生成装置の撮影条件に設定する撮影条件設定手段と、
前記設定された撮影条件を用いて対象被写体を撮影し、保存用画像データを生成する保存用画像データ生成手段と、を備える画像データ生成装置。
An image data generation device,
Feature amount acquisition means for acquiring a feature amount of the target subject from reference image data including the target subject;
Reference imaging condition acquisition means for acquiring a reference imaging condition that is an imaging condition when generating the reference image data;
Storage means for storing the feature quantity and the reference photographing condition in association with each other;
Generating means for generating subject search image data;
Determination means for determining whether the target subject is included in the subject search image data using the feature amount;
Shooting condition setting means for setting the reference shooting condition associated with the feature quantity of the target subject as the shooting condition of the image data generation device when the target search is included in the subject search image data;
An image data generation apparatus comprising: a storage image data generation unit that captures a target subject using the set shooting conditions and generates storage image data.
請求項1記載の画像データ生成装置であって、
前記参照撮影条件には、前記参照用画像データに含まれる前記対象被写体に焦点を合わせるための合焦条件が含まれており、
前記撮影条件設定手段は、前記画像データ生成装置の撮影範囲に含まれる前記対象被写体に合焦するように、前記画像データ生成装置の前記撮影条件の前記合焦条件を設定する、画像データ生成装置。
The image data generation device according to claim 1,
The reference photographing condition includes a focusing condition for focusing on the target subject included in the reference image data,
The imaging condition setting means sets the focusing condition of the imaging condition of the image data generation device so as to focus on the target subject included in the imaging range of the image data generation device. .
請求項1または請求項2記載の画像データ生成装置であって、
1の前記対象被写体の特徴量には、2以上の前記参照撮影条件が関連付けられており、
前記画像データ生成装置は、更に、
前記各参照撮影条件の使用状況に応じて、前記各参照撮影条件に優先度を設定する優先度設定手段、を備え、
前記撮影条件設定手段は、前記優先度の最も高い前記参照撮影条件を前記画像データ生成装置の撮影条件に設定する、画像データ生成装置。
The image data generation device according to claim 1 or 2,
2 or more of the reference photographing conditions are associated with the feature amount of the target subject of 1;
The image data generation device further includes:
Priority setting means for setting a priority for each reference shooting condition according to the usage status of each reference shooting condition;
The imaging condition setting unit is an image data generation device that sets the reference imaging condition having the highest priority as the imaging condition of the image data generation device.
請求項3記載の画像データ生成装置であって、更に、
前記2以上の参照撮影条件から1の参照撮影条件を選択するための選択手段を備え、
前記撮影条件設定手段は、前記画像データ生成装置の撮影条件を、前記優先度の最も高い参照撮影条件から前記選択された参照撮影条件に変更する、画像データ生成装置。
The image data generation device according to claim 3, further comprising:
Selecting means for selecting one reference photographing condition from the two or more reference photographing conditions;
The image capturing condition setting unit changes an image capturing condition of the image data generating apparatus from the reference capturing condition having the highest priority to the selected reference capturing condition.
請求項3または請求項4記載の画像データ生成装置であって、
前記優先度設定手段は、使用回数の高い撮影条件の優先度を高く設定する、画像データ生成装置。
The image data generation device according to claim 3 or 4,
The priority setting means is an image data generation device that sets a high priority for shooting conditions that are frequently used.
請求項3または請求項4記載の画像データ生成装置であって、
前記優先度設定手段は、使用された日時が新しい撮影条件の優先度を高く設定する、画像データ生成装置。
The image data generation device according to claim 3 or 4,
The priority setting means is an image data generation device that sets a higher priority for a shooting condition with a new used date and time.
請求項1ないし請求項6いずれか記載の画像データ生成装置であって、更に、
前記画像データ生成装置の撮影条件を設定するための設定手段と、
前記設定手段により設定された撮影条件を用いて画像データを生成する画像データ生成手段と、
前記生成された画像データから前記参照用画像データを選択するための参照用画像データ選択手段と、
前記選択された参照用画像データに含まれる被写体から前記対象被写体を選択するための被写体選択手段と、を備え、
前記特徴量取得手段は、前記選択された対象被写体を表す対象被写体画像データから、前記対象被写体の前記特徴量を取得し、
前記参照撮影条件取得手段は、前記設定手段により設定された撮影条件を前記参照撮影条件として取得する、画像データ生成装置。
The image data generation device according to any one of claims 1 to 6, further comprising:
Setting means for setting shooting conditions of the image data generation device;
Image data generating means for generating image data using the photographing conditions set by the setting means;
Reference image data selection means for selecting the reference image data from the generated image data;
Subject selection means for selecting the target subject from subjects included in the selected reference image data;
The feature amount acquisition means acquires the feature amount of the target subject from target subject image data representing the selected target subject,
The reference photographing condition acquisition unit is an image data generation device that acquires the photographing condition set by the setting unit as the reference photographing condition.
請求項7記載の画像データ生成装置であって、更に、
前記画像データ生成手段により生成された画像データと、前記画像データ生成時の撮影条件を含む付帯情報とを関連付けて保存する保存手段を備え、
前記参照用画像データ選択手段は、前記保存されている画像データから参照用画像データを選択し、
前記参照撮影条件取得手段は、前記参照用画像データに関連付けられている前記付帯情報から前記参照撮影条件を取得する、画像データ生成装置。
The image data generation device according to claim 7, further comprising:
A storage unit that stores the image data generated by the image data generation unit in association with the incidental information including the shooting conditions at the time of the image data generation;
The reference image data selection means selects reference image data from the stored image data,
The reference photographing condition acquisition unit is an image data generation device that acquires the reference photographing condition from the incidental information associated with the reference image data.
画像データ生成装置により実行される画像データ生成方法であって、
対象被写体が含まれる参照用画像データから、前記対象被写体の特徴量を取得し、
前記参照用画像データ生成時の撮影条件である参照撮影条件を取得し、
前記特徴量と前記参照撮影条件とを関連付けて記憶し、
被写体検索用画像データを生成し、
前記特徴量を用いて、前記被写体検索用画像データに前記対象被写体が含まれるかを判断し、
前記被写体検索用画像データに前記対象被写体が含まれる場合に、前記対象被写体の特徴量に関連づけられている前記参照撮影条件を前記画像データ生成装置の撮影条件に設定し、
前記設定された撮影条件を用いて対象被写体を撮影し、保存用画像データを生成する、画像データ生成方法。
An image data generation method executed by an image data generation device,
From the reference image data including the target subject, the feature amount of the target subject is acquired,
Obtaining a reference photographing condition which is a photographing condition at the time of generating the reference image data;
Storing the feature quantity and the reference shooting condition in association with each other;
Generate image data for subject search,
Using the feature amount, determine whether the target subject is included in the subject search image data,
When the target subject is included in the subject search image data, the reference photographing condition associated with the feature amount of the target subject is set as the photographing condition of the image data generation device;
An image data generation method of capturing a target subject using the set shooting conditions and generating storage image data.
JP2011011891A 2011-01-24 2011-01-24 Image-data generating apparatus and image-data generating method Withdrawn JP2011135587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011011891A JP2011135587A (en) 2011-01-24 2011-01-24 Image-data generating apparatus and image-data generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011011891A JP2011135587A (en) 2011-01-24 2011-01-24 Image-data generating apparatus and image-data generating method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006101297A Division JP4760497B2 (en) 2006-04-03 2006-04-03 Image data generation apparatus and image data generation method

Publications (2)

Publication Number Publication Date
JP2011135587A true JP2011135587A (en) 2011-07-07
JP2011135587A5 JP2011135587A5 (en) 2011-12-08

Family

ID=44347766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011011891A Withdrawn JP2011135587A (en) 2011-01-24 2011-01-24 Image-data generating apparatus and image-data generating method

Country Status (1)

Country Link
JP (1) JP2011135587A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015204589A (en) * 2014-04-16 2015-11-16 リコーイメージング株式会社 Image processing apparatus, image processing method, image processing program, data structure of image, and computer readable recording medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004222118A (en) * 2003-01-17 2004-08-05 Omron Corp Photographing equipment
WO2005031612A1 (en) * 2003-09-26 2005-04-07 Nikon Corporation Electronic image accumulation method, electronic image accumulation device, and electronic image accumulation system
JP2005309409A (en) * 2004-03-25 2005-11-04 Fuji Photo Film Co Ltd Red-eye preventing device, program and recording medium with recorded program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004222118A (en) * 2003-01-17 2004-08-05 Omron Corp Photographing equipment
WO2005031612A1 (en) * 2003-09-26 2005-04-07 Nikon Corporation Electronic image accumulation method, electronic image accumulation device, and electronic image accumulation system
JP2005309409A (en) * 2004-03-25 2005-11-04 Fuji Photo Film Co Ltd Red-eye preventing device, program and recording medium with recorded program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015204589A (en) * 2014-04-16 2015-11-16 リコーイメージング株式会社 Image processing apparatus, image processing method, image processing program, data structure of image, and computer readable recording medium

Similar Documents

Publication Publication Date Title
US8106995B2 (en) Image-taking method and apparatus
JP4644883B2 (en) Imaging device
JP2013013050A (en) Imaging apparatus and display method using imaging apparatus
JP4509081B2 (en) Digital camera and digital camera program
JP2008182485A (en) Photographing device and photographing method
JP4652998B2 (en) Imaging device
JP2007264049A (en) Imaging method and apparatus
JP4645413B2 (en) Imaging device
JP5068690B2 (en) Image recording apparatus and method
JP2007124282A (en) Imaging apparatus
JP2013126177A (en) Display controller, imaging apparatus, and display control program
KR20150032165A (en) Moving image selection apparatus for selecting moving image to be combined, moving image selection method, and storage medium
JP2015012481A (en) Image processing device
JP2008079193A (en) Digital camera
JP2009070374A (en) Electronic device
JP2010141609A (en) Imaging apparatus
JP4760496B2 (en) Image data generation apparatus and image data generation method
JP4760497B2 (en) Image data generation apparatus and image data generation method
US10362206B2 (en) Image capturing apparatus having a function which assists a panning shot with specific framing
JP5854235B2 (en) Imaging apparatus, imaging method, and program
JP2009033386A (en) Photographing device and method
JP6460310B2 (en) Imaging apparatus, image display method, and program
JP5029765B2 (en) Image data generation apparatus and image data generation method
JP2011135587A (en) Image-data generating apparatus and image-data generating method
JP5157528B2 (en) Imaging device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20110316

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111024

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20111024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121009

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20121022