[go: up one dir, main page]

JP2008178042A - Image search device, imaging device, control method of image search device, program, and storage medium - Google Patents

Image search device, imaging device, control method of image search device, program, and storage medium Download PDF

Info

Publication number
JP2008178042A
JP2008178042A JP2007011952A JP2007011952A JP2008178042A JP 2008178042 A JP2008178042 A JP 2008178042A JP 2007011952 A JP2007011952 A JP 2007011952A JP 2007011952 A JP2007011952 A JP 2007011952A JP 2008178042 A JP2008178042 A JP 2008178042A
Authority
JP
Japan
Prior art keywords
condition
image
category
search
subject
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
JP2007011952A
Other languages
Japanese (ja)
Inventor
Masakazu Matsugi
優和 真継
Masami Kato
政美 加藤
Katsuhiko Mori
克彦 森
Hiroshi Sato
博 佐藤
Hirosuke Mitarai
裕輔 御手洗
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2007011952A priority Critical patent/JP2008178042A/en
Publication of JP2008178042A publication Critical patent/JP2008178042A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

【課題】画像データに目的とする被写体候補が含まれているかを簡単に、且つ柔軟に検索可能とする。
【解決手段】上位カテゴリ条件で上位カテゴリ条件を満たす上位カテゴリ被写体候補の画像を抽出し、下位カテゴリ条件で下位カテゴリ条件を満たす下位カテゴリ被写体候補の画像を選択する。そして、下位カテゴリ被写体候補の画像が選択できたら、現在撮像しようとする画像データには、検索条件を満たす被写体の画像が含まれる旨を表示する画像検索装置。
【選択図】図1
An object of the present invention is to easily and flexibly search for whether or not a target subject candidate is included in image data.
An upper category subject candidate image satisfying the upper category condition is extracted under the upper category condition, and a lower category subject candidate image satisfying the lower category condition is selected under the lower category condition. An image search device that displays that an image of a subject that satisfies the search condition is included in the image data to be captured when an image of a candidate for a lower category subject is selected.
[Selection] Figure 1

Description

本発明は、画像データに含まれる特定の被写体を検索する画像検索装置、撮像装置、画像検索装置の制御方法、プログラム、及び記憶媒体に関する。   The present invention relates to an image search device, an imaging device, a control method for an image search device, a program, and a storage medium that search for a specific subject included in image data.

これまで画像データに含まれる各種の被写体(特に人物)が望ましい状態(ポーズ、表情、など)になったときに自動的に画像データの記録を行う技術が知られている。例えば、特許文献1に記載された自動撮像システム、特許文献2に記載された画像評価装置、特許文献3に記載されたデジタルカメラ、および本出願人による特許文献4に記載されたカメラなどが提案されている。また、特許文献5に記載された顔画像記録装置では、1人の人物を複数回撮像し、良好な画質の顔画像データを選択して記録する構成が開示されている。また、特許文献6に開示された技術では、階層的に分類されたカテゴリとキーワード、および画像の特徴の分類木を用いて画像検索する方法が提案されている。
特開2004−294498号公報 特開2004−46591号公報 特開2001−211377号公報 特開2001−51338号公報 特開2003−99763号公報 特許登録03683481号公報
There has been known a technique for automatically recording image data when various subjects (particularly people) included in the image data are in a desired state (pause, facial expression, etc.). For example, an automatic imaging system described in Patent Document 1, an image evaluation apparatus described in Patent Document 2, a digital camera described in Patent Document 3, and a camera described in Patent Document 4 by the present applicant are proposed. Has been. Further, the face image recording apparatus described in Patent Document 5 discloses a configuration in which one person is imaged a plurality of times, and face image data with good image quality is selected and recorded. Further, in the technique disclosed in Patent Document 6, a method of searching for an image using a hierarchically classified category and keyword and a classification tree of image features is proposed.
JP 2004-294498 A JP 2004-46591 A Japanese Patent Laid-Open No. 2001-211377 JP 2001-51338 A JP 2003-99763 A Patent Registration 03683481

上記で挙げた従来より提案されている技術では、被写体として複数の多種多様な人物や物体が存在する画像データの中からユーザが希望する特定の人物の画像を検索し、さらにその特定の人物の画像が特定の状態にあることを自動的に検索するものはない。そして、その結果を表示し、若しくは、そのように特定の人物が特定の状態にある画像が含まれた画像データを記録媒体へ記録することが可能な画像の検索技術に関する効率的な方法は提案されていない。具体的には、入力されている画像データから人物の画像を特定しその人物の状態評価を行なったり、集合写真の撮像において、撮像したい関係者の画像だけを特定し、その関係者の画像の状態評価を行う等に関する効率的な方法はまだ提案されていない。   In the above-described conventionally proposed techniques, an image of a specific person desired by the user is searched from image data in which a plurality of various persons and objects exist as subjects, and the specific person's There is no automatic search for an image being in a particular state. An efficient method related to an image search technique capable of displaying the result or recording image data including an image in which a specific person is in a specific state on a recording medium is proposed. It has not been. Specifically, a person's image is specified from the input image data and the person's state is evaluated, or in the group photo shooting, only the image of the interested person to be taken is specified. An efficient method for conducting state assessment has not been proposed yet.

また、上記の従来の技術では、入力されている画像データの画像の撮像状態を特定条件または特定カテゴリの被写体の抽出や選択に適するように画像を入力手段を制御することは行われていなかった。そのため、撮像環境によらずに予め決められた状態のカテゴリに属する被写体候補が存在する画像データを認識できる保証がない、という問題がある。更に、上記の従来技術では、様々な画像の検索条件、または画像の検索の絞込み条件を柔軟に設定する事が出来ないという問題があった。   Further, in the above-described conventional technique, the image input unit is not controlled so that the imaging state of the image of the input image data is suitable for extraction or selection of a subject of a specific condition or a specific category. . Therefore, there is a problem that there is no guarantee that image data containing subject candidates belonging to a predetermined category can be recognized regardless of the imaging environment. Furthermore, the above-described conventional technique has a problem in that various image search conditions or image search narrowing conditions cannot be set flexibly.

したがって本発明の目的は、画像データに目的とする被写体候補の画像が含まれているかを簡単に、且つ柔軟に検索可能な画像検索装置、及びその画像検索装置が搭載された撮像装置を提供することにある。   Accordingly, an object of the present invention is to provide an image search device that can easily and flexibly search for whether or not an image of a target subject candidate is included in image data, and an imaging device equipped with the image search device. There is.

上記の目的を達成するため、本発明の実施形態に係る画像検索装置は、
画像データを入力する画像入力手段と、
上位カテゴリ条件と、当該上位カテゴリ条件に対応付けられた下位カテゴリ条件とを含む被写体の検索条件を設定する検索条件設定手段と、
前記画像データに含まれる被写体から、前記上位カテゴリ条件を満たす上位カテゴリ被写体候補を抽出する被写体候補抽出手段と、
抽出された前記上位カテゴリ被写体候補に、前記上位カテゴリ条件に対応付けられた前記下位カテゴリ条件を満たす下位カテゴリ被写体候補を選択する選択手段と、
前記下位カテゴリ被写体候補が選択された場合に、前記画像データに前記検索条件を満たす被写体候補が含まれる旨の表示を行う表示手段と、を備える、ことを特徴とする。
In order to achieve the above object, an image search device according to an embodiment of the present invention provides:
Image input means for inputting image data;
Search condition setting means for setting a subject search condition including a higher category condition and a lower category condition associated with the higher category condition;
Subject candidate extraction means for extracting upper category subject candidates that satisfy the upper category condition from subjects included in the image data;
A selection means for selecting, as the extracted upper category subject candidate, a lower category subject candidate that satisfies the lower category condition associated with the upper category condition;
Display means for displaying that the image data includes a candidate candidate that satisfies the search condition when the lower category subject candidate is selected.

上記の目的を達成するため、本発明の他の実施形態に係る撮像装置は、
画像データを入力する画像入力手段と、表示手段と、記録手段と、を備える撮像装置において、
上位カテゴリ条件と、当該上位カテゴリ条件に対応付けられた下位カテゴリ条件とを含む被写体の検索条件を設定する検索条件設定手段と、
前記画像に含まれる被写体から、前記上位カテゴリ条件を満たす上位カテゴリ被写体候補を抽出する被写体候補抽出手段と、
抽出された前記上位カテゴリ被写体候補に、前記上位カテゴリ条件に対応付けられた前記下位カテゴリ条件を満たす下位カテゴリ被写体候補を選択する選択手段と、
前記下位カテゴリ被写体候補が選択された場合に、前記画像データに前記検索条件を満たす被写体候補が含まれる旨の表示を行う表示手段と、を備える画像検索装置を、さらに備える、ことを特徴とする。
In order to achieve the above object, an imaging apparatus according to another embodiment of the present invention includes:
In an imaging apparatus comprising image input means for inputting image data, display means, and recording means,
Search condition setting means for setting a subject search condition including a higher category condition and a lower category condition associated with the higher category condition;
Subject candidate extraction means for extracting upper category subject candidates that satisfy the upper category condition from subjects included in the image;
A selection means for selecting, as the extracted upper category subject candidate, a lower category subject candidate that satisfies the lower category condition associated with the upper category condition;
An image search device comprising: display means for displaying that the image data includes a candidate subject that satisfies the search condition when the lower category subject candidate is selected. .

上記の目的を達成するため、本発明のさらに他の実施形態に係る画像検索装置の制御方法は、
画像データを入力する画像入力工程と、
上位カテゴリ条件と、当該上位カテゴリ条件に対応付けられた下位カテゴリ条件とを含む被写体の検索条件を設定する検索条件設定工程と、
前記画像に含まれる被写体から、前記上位カテゴリ条件を満たす上位カテゴリ被写体候補を抽出する被写体候補抽出工程と、
抽出された前記上位カテゴリ被写体候補に、前記上位カテゴリ条件に対応付けられた前記下位カテゴリ条件を満たす下位カテゴリ被写体候補を選択する選択工程と、
前記下位カテゴリ被写体候補が選択された場合に、前記画像データに前記検索条件を満たす被写体候補が含まれる旨の表示を行う表示工程と、を備える、ことを特徴とする。
In order to achieve the above object, a method for controlling an image search apparatus according to still another embodiment of the present invention includes:
An image input process for inputting image data;
A search condition setting step for setting a subject search condition including a higher category condition and a lower category condition associated with the higher category condition;
A subject candidate extraction step of extracting a higher category subject candidate that satisfies the higher category condition from subjects included in the image;
A selection step of selecting a lower category subject candidate that satisfies the lower category condition associated with the upper category condition as the extracted upper category subject candidate;
A display step of displaying that the image data includes a candidate candidate that satisfies the search condition when the lower category subject candidate is selected.

本発明によれば、画像データに目的とする被写体候補が含まれているかを簡単に、且つ柔軟に検索可能な画像検索装置、及びその画像検索装置が搭載された撮像装置を提供することが可能となる。   According to the present invention, it is possible to provide an image search device that can easily and flexibly search for whether or not a target subject candidate is included in image data, and an imaging device equipped with the image search device. It becomes.

<実施形態1>
以下、図面を参照して本発明の実施形態1に係る画像検索装置を詳細に説明する。図1は、本発明の実施形態1に係る画像検索装置を備える撮像装置100の要部構成図を示す。撮像装置100は、結像光学系1、CCDもしくはCMOSセンサ等で構成される撮像素子2、およびセンサ周辺回路3(図示しないAD変換回路、センサ信号処理回路、センサ駆動回路を含む)を備える。これらの回路は画像入力部を構成する。
<Embodiment 1>
Hereinafter, an image search apparatus according to Embodiment 1 of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram illustrating a main part of an imaging apparatus 100 including an image search apparatus according to Embodiment 1 of the present invention. The imaging apparatus 100 includes an imaging optical system 1, an imaging device 2 composed of a CCD or CMOS sensor, and a sensor peripheral circuit 3 (including an AD conversion circuit, a sensor signal processing circuit, and a sensor drive circuit (not shown)). These circuits constitute an image input unit.

さらに、撮像素子2からの映像信号はセンサ周辺回路3でAD変換して画像データに変換される。撮像装置100は、このように変換して得られる画像データを一時的に保持するRAMまたはキャッシュメモリなどの記憶回路4、および撮像モード設定部5を備える。結像光学系1は、図示しないが、露出制御機構および焦点検出制御機構を含む。   Furthermore, the video signal from the image sensor 2 is AD-converted by the sensor peripheral circuit 3 and converted into image data. The imaging apparatus 100 includes a storage circuit 4 such as a RAM or a cache memory that temporarily holds image data obtained by such conversion, and an imaging mode setting unit 5. Although not shown, the imaging optical system 1 includes an exposure control mechanism and a focus detection control mechanism.

検索条件設定部6は、画像の検索条件のデータを格納する検索条件データ記憶部(ROM、RAMなど)7を含み、ユーザに画像の検索条件である上位カテゴリ条件、下位カテゴリ条件を設定させるものである。ユーザは操作部8で、検索条件である上位カテゴリ条件および下位カテゴリ条件を直接入力するGUI、または検索条件データ記憶部7に記憶された検索条件を選択し、検索条件を設定する。   The search condition setting unit 6 includes a search condition data storage unit (ROM, RAM, etc.) 7 for storing image search condition data, and allows the user to set upper category conditions and lower category conditions that are image search conditions. It is. The user selects a search condition stored in the search condition data storage unit 7 by using the operation unit 8 to select a GUI for directly inputting the upper category condition and the lower category condition which are search conditions, and sets the search condition.

そのために、検索条件設定部6には、それぞれのGUIを発生するためのディスプレイ表示制御回路を含み、これらGUIは表示部9に表示される。ユーザが入力した上位カテゴリ条件および下位カテゴリ条件を特定するための各種のデータが上位カテゴリ条件および下位カテゴリ条件に対応させて検索条件データ記憶部7に記憶されている。   For this purpose, the search condition setting unit 6 includes a display display control circuit for generating respective GUIs, and these GUIs are displayed on the display unit 9. Various data for specifying the upper category condition and the lower category condition input by the user are stored in the search condition data storage unit 7 in association with the upper category condition and the lower category condition.

被写体候補抽出部10は、記憶回路4に一時的に記憶されている画像データを読み出し、画像データに含まれる上位カテゴリ条件を満たす特定の被写体候補(例えば、顔)の画像の抽出を行う。ここで抽出された特定の被写体候補(例えば、顔)の画像は、ここでは上位カテゴリ被写体候補と呼ぶ。   The subject candidate extraction unit 10 reads the image data temporarily stored in the storage circuit 4 and extracts an image of a specific subject candidate (for example, a face) that satisfies the upper category condition included in the image data. The image of the specific subject candidate (eg, face) extracted here is referred to as a higher category subject candidate here.

また被写体候補選択部11は、抽出された上位カテゴリ被写体候補の画像の中から、指定された下位カテゴリ条件(予め登録された特定人物の笑った顔)を満たす被写体候補の画像の選択を行う。ここで選択された被写体候補は、ここでは下位カテゴリ被写体候補と呼ぶ。   The subject candidate selection unit 11 also selects subject candidate images that satisfy the designated lower category condition (a face registered in advance by a specific person) from the extracted upper category subject candidate images. The subject candidate selected here is referred to as a lower category subject candidate here.

これらの上位カテゴリ条件及び下位カテゴリ条件は、検索条件設定部6により、被写体候補抽出部10及び被写体候補選択部11に関連する特徴データ等と共に供給され、設定される。   These upper category conditions and lower category conditions are supplied and set by the search condition setting unit 6 together with feature data related to the subject candidate extraction unit 10 and the subject candidate selection unit 11.

撮像装置100は、その他、撮像条件制御回路12、画像データ圧縮/伸長回路13、フラッシュメモリなどの着脱可能な記録媒体、または、ハードディスク等の記録媒体に記録をおこなう記録再生回路14等を備える。記録媒体に記録された画像データは、記録再生回路14で再生し、画像データ圧縮/伸長回路13を介して表示部9で表示することが可能に構成される。   In addition, the imaging apparatus 100 includes an imaging condition control circuit 12, an image data compression / decompression circuit 13, a removable recording medium such as a flash memory, or a recording / reproducing circuit 14 that performs recording on a recording medium such as a hard disk. The image data recorded on the recording medium can be reproduced by the recording / reproducing circuit 14 and displayed on the display unit 9 via the image data compression / decompression circuit 13.

撮像装置100の動作は、基本的に制御部15に従って制御される。制御部15には不揮発メモリ16が接続され、不揮発メモリ16に記憶された制御プログラムに従って、撮像装置100が制御され、同様に、本発明の実施形態の動作も制御される。フラッシュ部17は、撮像装置100に必要に応じて設けられる。   The operation of the imaging apparatus 100 is basically controlled according to the control unit 15. A non-volatile memory 16 is connected to the control unit 15, and the imaging device 100 is controlled according to a control program stored in the non-volatile memory 16. Similarly, the operation of the embodiment of the present invention is also controlled. The flash unit 17 is provided in the imaging apparatus 100 as necessary.

撮像条件制御回路12は、結像光学系1、撮像素子2、およびセンサ周辺回路に対し、焦点、露出時間、ホワイトバランス等の撮像条件を制御する。そのため、結像光学系1に含まれる露出制御機構および焦点検出制御機構を制御して露出状態および焦点状態を制御し、さらにセンサ周辺回路3においてホワイトバランスを制御する。撮像条件を手動で設定するときは、基本的に操作部8に設けられた十字キー、決定キー、電源スイッチ、レリーズスイッチ、ズームレバーなどが用いられる。   The imaging condition control circuit 12 controls imaging conditions such as focus, exposure time, and white balance for the imaging optical system 1, the imaging device 2, and the sensor peripheral circuit. Therefore, the exposure control mechanism and the focus detection control mechanism included in the imaging optical system 1 are controlled to control the exposure state and the focus state, and the sensor peripheral circuit 3 controls the white balance. When manually setting the imaging conditions, a cross key, a determination key, a power switch, a release switch, a zoom lever, and the like provided on the operation unit 8 are basically used.

制御部15、被写体候補抽出部10、被写体候補選択部11、撮像条件制御回路12の区別は、説明の便宜上のものである。したがって本発明は、一つのプロセッサ上でのソフトウエア処理による実装若しくはマルチコアのチップとしての実装形態として実施することができる。ここで、一つのプロセッサの意味は、CPU、コンフィギュラブルプロセッサ、DSP、メディアプロセッサなどを含み、マルチコアのチップの意味は、ハードIPとしての回路、ソフトIP、または両者の混在したものを含む。   The distinction among the control unit 15, the subject candidate extraction unit 10, the subject candidate selection unit 11, and the imaging condition control circuit 12 is for convenience of explanation. Therefore, the present invention can be implemented as an implementation by software processing on a single processor or as a multi-core chip. Here, the meaning of one processor includes a CPU, a configurable processor, a DSP, a media processor, and the like, and the meaning of a multi-core chip includes a circuit as a hard IP, a soft IP, or a mixture of both.

本実施形態1では、上位カテゴリ条件に基づく顔の検出処理による上位カテゴリ被写体候補の画像の抽出後、下位カテゴリ条件に基づくたとえば個人識別処理により下位カテゴリ被写体候補の画像が選択されたとする。すなわち、現在の画像データに、条件に合致した被写体の画像が含まれることで、この画像データは撮像すべき画像データと判断する。   In the first embodiment, it is assumed that after the upper category subject candidate image is extracted by the face detection process based on the upper category condition, the lower category subject candidate image is selected by, for example, the personal identification process based on the lower category condition. That is, since the current image data includes an image of a subject that matches the conditions, this image data is determined as image data to be captured.

これにより、制御部15の制御により、画像入力部を構成する撮像素子2からの対応する現在の画像データを記録再生回路14を通じて記録媒体に記録するように動作する。画像データ圧縮/伸長回路13は、動画ではMPEGの各バージョン、静止画ではJPEGの各バージョンなど標準化圧縮符号化アルゴリズムを実行する回路である。このようにすることで、ユーザが希望する被写体が含まれる画像データを確実に記録することが可能となる。   Thereby, under the control of the control unit 15, the corresponding current image data from the image sensor 2 constituting the image input unit is operated to be recorded on the recording medium through the recording / reproducing circuit 14. The image data compression / decompression circuit 13 is a circuit that executes standardized compression encoding algorithms such as MPEG versions for moving images and JPEG versions for still images. In this way, it is possible to reliably record image data including a subject desired by the user.

撮像モード設定部5は、設定(選択)された撮像モードの情報の入力および表示部9への表示などを行うものであり、制御部15、撮像条件制御回路12と同様に、各種プロセッサ等で実装されて実施することも可能である。従って、制御部15、撮像条件制御回路12および撮像モード設定部5は同一のプロセッサに実装される形で構成されてもよい。   The imaging mode setting unit 5 inputs information on the set (selected) imaging mode and displays the information on the display unit 9. Like the control unit 15 and the imaging condition control circuit 12, the imaging mode setting unit 5 uses various processors and the like. It can also be implemented. Therefore, the control unit 15, the imaging condition control circuit 12, and the imaging mode setting unit 5 may be configured to be mounted on the same processor.

先に説明したように、撮像条件制御回路12は、焦点条件、露光条件、ホワイトバランスなどを手動または自動制御するためのものである。本実施形態1では、まずユーザにより撮像モード設定部5で撮像モードを設定する。それに応じて、検索条件設定部6で決まる上位カテゴリ条件を満たす上位カテゴリ被写体候補が抽出し易い画像データが得られるように露出制御機構、焦点検出制御機構、センサ周辺回路3を制御する。そのために撮像条件制御回路12は、焦点条件、露光条件、ホワイトバランス条件等の制御を行う。   As described above, the imaging condition control circuit 12 is for manually or automatically controlling focus conditions, exposure conditions, white balance, and the like. In the first embodiment, first, the imaging mode is set by the imaging mode setting unit 5 by the user. Accordingly, the exposure control mechanism, the focus detection control mechanism, and the sensor peripheral circuit 3 are controlled so that image data from which upper category subject candidates satisfying the upper category condition determined by the search condition setting unit 6 can be easily obtained. For this purpose, the imaging condition control circuit 12 controls a focus condition, an exposure condition, a white balance condition, and the like.

図2は、被写体候補抽出部10の回路ブロックである。被写体候補抽出部10は、上位カテゴリ条件に従った所定種類の特徴抽出を行う特徴抽出回路101、特徴抽出回路101からの出力の画像が上位カテゴリ条件を満たすか否かの判定を行う判定回路102、及び上位カテゴリ条件入力回路103から構成される。特徴抽出回路101には、記憶回路4に一次的に記憶されている現在の画像データが入力され、例えば複数の特定方向成分のエッジ特徴などの検出をし被写体の特徴データを出力する。上位カテゴリ条件入力回路103は、検索条件設定部6から与えられる上位カテゴリ条件およびその特徴データが入力され、判定回路102に供給するものである。   FIG. 2 is a circuit block of the subject candidate extraction unit 10. The subject candidate extraction unit 10 includes a feature extraction circuit 101 that performs a predetermined type of feature extraction in accordance with the upper category condition, and a determination circuit 102 that determines whether an image output from the feature extraction circuit 101 satisfies the upper category condition. , And the upper category condition input circuit 103. The feature extraction circuit 101 receives the current image data temporarily stored in the storage circuit 4 and detects, for example, edge features of a plurality of specific direction components, and outputs subject feature data. The upper category condition input circuit 103 receives the upper category condition and its feature data given from the search condition setting unit 6 and supplies them to the determination circuit 102.

判定回路102は、特徴抽出回路101から検出された画像の特徴データ、上位カテゴリ条件入力回路103からの上位カテゴリ条件の画像の特徴データとの間でマッチング処理を実行し、上位カテゴリ条件を満たす上位カテゴリ被写体候補の画像を抽出する。この場合、複数の上位カテゴリ被写体候補の画像が抽出されることもありうる。尚、この被写体候補抽出部10は、機能回路ブロックとしてのハードIPまたは所定のプロセッサに展開実装されるソフトIPとして実装されるものであってもよい。   The determination circuit 102 performs a matching process between the feature data of the image detected from the feature extraction circuit 101 and the feature data of the image of the upper category condition from the upper category condition input circuit 103, and performs upper processing that satisfies the upper category condition. An image of a category subject candidate is extracted. In this case, images of a plurality of upper category subject candidates may be extracted. Note that the subject candidate extraction unit 10 may be implemented as a hardware IP as a functional circuit block or a software IP deployed and implemented in a predetermined processor.

図1に戻り、表示部9には、記憶回路4を介して撮像素子2からの入力画像である現在の画像データが表示されるとともに、抽出された上位カテゴリ被写体候補の画像の位置にマーカの表示がなされる。例えば、抽出された上位カテゴリ被写体候補の顔位置に、顔のサイズに合わせて矩形の枠の図形を表示する。このような表示の制御は、制御部15が判定回路102からの判定結果の出力に基づいて実行される。   Returning to FIG. 1, the display unit 9 displays the current image data, which is an input image from the image sensor 2, via the storage circuit 4, and displays a marker at the position of the extracted upper category subject candidate image. Display is made. For example, a rectangular frame figure is displayed at the face position of the extracted upper category subject candidate in accordance with the face size. Such display control is executed by the control unit 15 based on the output of the determination result from the determination circuit 102.

図3は、被写体候補選択部11の回路ブロックを示す。図示するように、被写体候補選択部11は、検索条件設定部6で設定された下位カテゴリ条件およびその特徴データが入力される下位カテゴリ条件入力回路112を備える。さらに、被写体候補抽出部10で抽出された上位カテゴリ被写体候補の特徴データが入力される上位カテゴリ被写体候補入力回路111を有する。さらに入力された上位カテゴリ被写体候補の画像の特徴データから下位カテゴリ条件の画像の特徴データをマッチング処理して、下位カテゴリ条件を満たす下位カテゴリ被写体候補の画像を判定する判定回路113から構成される。被写体候補選択部11の構成においても、被写体候補抽出部10と同様にハードIP若しくはソフトIPとして実装される。   FIG. 3 shows a circuit block of the subject candidate selection unit 11. As illustrated, the subject candidate selection unit 11 includes a lower category condition input circuit 112 to which the lower category condition set by the search condition setting unit 6 and its feature data are input. Furthermore, it has an upper category subject candidate input circuit 111 to which the feature data of the upper category subject candidate extracted by the subject candidate extraction unit 10 is input. Further, it comprises a determination circuit 113 that performs a matching process on the feature data of the lower category condition image from the inputted feature data of the upper category subject candidate image to determine the lower category subject candidate image satisfying the lower category condition. The configuration of the subject candidate selection unit 11 is also implemented as a hard IP or a soft IP, similar to the subject candidate extraction unit 10.

以下、たとえば、下位カテゴリ条件の画像を「特定人物Aさんが笑う場面の撮像」、上位カテゴリ条件の画像を「人の顔の検出」、として実施形態1の動作を説明する。   Hereinafter, for example, the operation of the first embodiment will be described assuming that the image of the lower category condition is “capturing a scene where the specific person A laughs” and the image of the upper category condition is “detection of a human face”.

まず、上位カテゴリ条件を満たす上位カテゴリ被写体候補の画像が複数抽出された場合には、ラスタスキャン順に顔領域の部分画像である上位カテゴリ被写体候補の画像の特徴データが上位カテゴリ被写体候補入力回路111に入力される。   First, when a plurality of images of upper category subject candidates satisfying the upper category condition are extracted, feature data of images of upper category subject candidates that are partial images of the face area are input to the upper category subject candidate input circuit 111 in the raster scan order. Entered.

判定回路113は、上位カテゴリ被写体候補入力回路111から入力される上位カテゴリ被写体候補である部分的な画像(本実施形態1では、顔部分画像)の特徴データを処理する。そして、検索条件設定部6から下位カテゴリ条件入力回路112を通じて入力された下位カテゴリ条件の画像の特徴データに基づき実行するプログラムを選択的に起動する。   The determination circuit 113 processes the feature data of the partial image (the face partial image in the first embodiment) that is the upper category subject candidate input from the upper category subject candidate input circuit 111. Then, a program to be executed is selectively activated based on the image feature data of the lower category condition input from the search condition setting unit 6 through the lower category condition input circuit 112.

例えば、「特定人物Aが笑う場面の撮像」という下位カテゴリ条件の画像の場合、判定回路113では、上位カテゴリ被写体候補の画像の特徴データに対し、個人識別処理および表情検出プログラムとしての笑顔検出処理が共に実行される。個人識別処理では、上位カテゴリ被写体候補の画像の特徴データに対し、顔の画像の認証処理が実行さる。すなわち、マッチング処理により、入力された上位カテゴリ被写体候補の画像の顔部分の特徴データが特定人物Aを特定する画像の特徴データと一致するか否かが判定される。   For example, in the case of an image with a lower category condition of “capturing a scene where a specific person A laughs”, the determination circuit 113 performs personal identification processing and smile detection processing as a facial expression detection program on the feature data of the upper category subject candidate image. Are executed together. In the personal identification processing, face image authentication processing is executed on the feature data of the upper category subject candidate image. That is, by the matching process, it is determined whether or not the feature data of the face portion of the input upper category subject candidate image matches the feature data of the image specifying the specific person A.

また笑顔検出処理では、被写体候補抽出部10の特徴抽出回路101により抽出された「笑顔」に関する画像の特徴データを入力し、それらの変化パターンに基づき所定の表情を検出し、下位カテゴリ被写体候補の画像を選択する。「笑顔」に限らず、「退屈」、「興奮」、「困惑」、「怒り」、「驚き」などの表情検出のアルゴリズムについても周知の方式を用いればよいことはいうまでもない。   In the smile detection process, image feature data related to “smile” extracted by the feature extraction circuit 101 of the subject candidate extraction unit 10 is input, a predetermined facial expression is detected based on the change pattern, and the lower category subject candidate is detected. Select an image. It goes without saying that well-known methods may be used for facial expression detection algorithms such as “boring”, “excitement”, “confused”, “anger”, “surprise”, etc., as well as “smile”.

被写体候補選択部11からの出力で、下位カテゴリ条件を満たす下位カテゴリ被写体候補の画像が選択されたと判定されたとする。この場合、撮像条件制御回路12は、焦点制御、露出制御、ホワイトバランス制御のうち少なくとも一つを選択された下位カテゴリ被写体候補の画像の被写体領域に対して行う。これは、現在の撮像条件が上位カテゴリ被写体候補の画像の抽出および下位カテゴリ被写体候補の画像の選択に適したものに設定されている。このため、必ずしも撮像して記録するために適した画像データを得る撮像条件となっていないので、撮像して記録するために適した画像データを得る撮像条件としてから、画像データを記録する必要がある。   Assume that the output from the subject candidate selection unit 11 determines that an image of a lower category subject candidate that satisfies the lower category condition has been selected. In this case, the imaging condition control circuit 12 performs at least one of focus control, exposure control, and white balance control on the subject area of the selected lower category subject candidate image. In this case, the current imaging condition is set to be suitable for the extraction of the upper category subject candidate image and the selection of the lower category subject candidate image. For this reason, it is not always an imaging condition for obtaining image data suitable for imaging and recording. Therefore, it is necessary to record image data after obtaining an imaging condition for obtaining image data suitable for imaging and recording. is there.

図4は、本実施形態1の画像検索装置である撮像装置100の基本的な処理の流れをまとめた図である。先ず、処理の開始後のステップ401で、ユーザが撮像モード設定部5を用いて撮像モードを設定し、さらに操作部8を使用して検索条件設定部6に、被写体候補抽出部10、被写体候補選択部11で使用する上位カテゴリ条件および下位カテゴリ条件を設定する。   FIG. 4 is a diagram summarizing the basic processing flow of the imaging apparatus 100 that is the image search apparatus according to the first embodiment. First, in step 401 after the start of the process, the user sets an imaging mode using the imaging mode setting unit 5, and further uses the operation unit 8 to enter the search candidate setting unit 10, subject candidate extraction unit 10 into the search condition setting unit 6. Upper category conditions and lower category conditions used in the selection unit 11 are set.

この場合、たとえば上位カテゴリ条件のGUIメニュー画面が表示部9に表示される。ここで、ユーザが希望の上位カテゴリ条件を操作部8を用いて選択すると、上位カテゴリ条件に関連する下位カテゴリ条件のGUIメニュー画面が表示される。同様にして下位カテゴリ条件の画像がユーザにより選択可能となる。この場合、GUIメニュー画面で、下位カテゴリ条件を設定すると、自動的に上位カテゴリ条件が設定される構成とすることも可能である。上位カテゴリ条件および下位カテゴリ条件の画像の特徴データのセットは、検索条件データ記憶部7に格納されている。   In this case, for example, a GUI menu screen of the upper category condition is displayed on the display unit 9. Here, when the user selects a desired upper category condition using the operation unit 8, a GUI menu screen of a lower category condition related to the upper category condition is displayed. Similarly, the image of the lower category condition can be selected by the user. In this case, when the lower category condition is set on the GUI menu screen, the upper category condition can be automatically set. A set of image feature data of the upper category condition and the lower category condition is stored in the search condition data storage unit 7.

他の構成としては、ユーザが上位カテゴリ条件及び下位カテゴリ条件を選択し、設定するのではなく、希望する被写体条件(下位カテゴリ条件に相当)を選択し、設定する。すると自動的に、上位カテゴリ条件及び下位カテゴリ条件が設定されるように予め希望する被写体条件と、上位カテゴリ条件および下位カテゴリ条件を満たす画像の特徴データのセットの構造を設定しておくことも可能である。   As another configuration, the user does not select and set the upper category condition and the lower category condition, but selects and sets the desired subject condition (corresponding to the lower category condition). Then, it is possible to automatically set the desired subject condition and the feature data set structure of the image satisfying the upper category condition and the lower category condition so that the upper category condition and the lower category condition are set automatically. It is.

例えば、「特定個人のAさんが笑う場面の撮像」を被写体条件として設定すると、上位カテゴリ条件は「顔の検出」、下位カテゴリ条件は「特定個人のAさんが笑う場面」などのように設定される。このように上位カテゴリ条件および下位カテゴリ条件条件間のデータリンク構造が所定のフォーマットで記述され、特徴データと共に、先の検索条件データ記憶部7に格納されているようにしてもよい。   For example, if “capturing a scene where a specific individual A laughs” is set as a subject condition, the upper category condition is set to “face detection”, the lower category condition is set to “scene where a specific individual A laughs”, and the like. Is done. As described above, the data link structure between the upper category condition and the lower category condition condition may be described in a predetermined format and stored in the search condition data storage unit 7 together with the feature data.

一般的に撮像する対象を記述するカテゴリ条件は、2階層以上の階層構造を用いて記述することが可能な場合が多い。「特定個人のAさんが笑う場面の撮像」の例では、「顔の検出と撮像」が最上位のカテゴリ条件であるとすると、その下位のカテゴリ条件に「Aさんの検出」、更に下位のカテゴリ条件に「笑顔の検出」と続く3階層構造で記述できる。或いは、2階層構造として上位のカテゴリ条件に「Aさんの検出(撮像)」、下位のカテゴリ条件に「笑顔の検出(撮像)」で記述する。若しくは上位のカテゴリ条件に「笑顔の検出(撮像)」、下位のカテゴリ条件に「Aさんの検出(撮像)」といったような階層構造で与えても良い。いずれがより効率的に行えるかは、撮像時の状況に依存して異なる。   In general, there are many cases where a category condition that describes an object to be imaged can be described using a hierarchical structure of two or more layers. In the example of “capturing a scene where Mr. A of a specific individual laughs”, if “detection and imaging of face” is the highest category condition, “detection of Mr. A” is set as the lower category condition, and lower The category condition can be described in a three-layer structure following “detect smile”. Or, as a two-layer structure, “Mr. A's detection (imaging)” is described in the upper category condition and “Smile detection (imaging)” is described in the lower category condition. Alternatively, a hierarchical structure such as “smile detection (imaging)” as the upper category condition and “detection of Mr. A (imaging)” as the lower category condition may be given. Which can be performed more efficiently depends on the situation at the time of imaging.

一般的には、上位カテゴリ条件は下位カテゴリ条件の前段として大まかな被写体の種類などを限定するための条件である。下位カテゴリ条件は、更に被写体の条件を限定するものである。すなわち、容貌、個人名、年齢、服装、犬、猫など人物に付帯する条件、或いは、特定の移動経路/移動パターン、特定の表情/身ぶり/手振り/振る舞い/歩き方、などの動作パターンに関するものが含まれる。或いはこれらの正常性/異常性に関するものが含まれてもよい。   In general, the upper category condition is a condition for limiting the type of a rough subject as a preceding stage of the lower category condition. The lower category conditions further limit the conditions of the subject. In other words, conditions related to appearance, personal name, age, clothes, dogs, cats, and other conditions, or specific movement routes / movement patterns, specific facial expressions / gestures / hand gestures / behaviors / walking patterns, etc. Is included. Alternatively, those related to normality / abnormality may be included.

なお、上位カテゴリ条件は人物の抽出、顔の抽出といったレベルのカテゴリ条件に限定若しくは固定されているわけではなく、目的とする最終的な画像データの入力のカテゴリ条件に相当する被写体のカテゴリ条件の細かさに応じて決まるものとしてもよい。   Note that the upper category conditions are not limited or fixed to category conditions such as person extraction and face extraction, but the subject category condition corresponding to the final final image data input category condition. It may be determined according to the fineness.

このように上位カテゴリで大まかな絞込みを行って上位カテゴリ被写体候補の抽出した後に、上位カテゴリ被写体候補の画像の中から、下位カテゴリ条件に相当する特定条件に当てはまる下位カテゴリ被写体候補の画像を選択する。これにより設定された条件で画像を判定することにより、多様な被写体およびその多様な状態の組み合わせが一般的に存在する中で効率的な処理、即ち処理の高速化をもたらすことができる。   After roughly narrowing down the upper category and extracting the upper category subject candidates, the lower category subject candidate image that matches the specific condition corresponding to the lower category condition is selected from the images of the upper category subject candidates. . By determining an image under the conditions set in this way, efficient processing, that is, speeding up of processing can be brought about in a variety of subjects and combinations of various states in general.

被写体の撮像を記述するカテゴリ条件の表現は、上位カテゴリ条件に属する下位カテゴリ条件として図5に示すように階層的な分岐構造を持つものであっても良い。即ち、上述したような上位カテゴリ条件の直下に下位カテゴリ条件が複数並んでいる表現がある。またほかに、図5に示すように2階層以上の分岐階層構造の上位層に位置するカテゴリほど上位のカテゴリであり、同一階層レベルの異なるカテゴリは同じレベルのカテゴリとして表現されているものであってもよい。この場合、下位カテゴリは上位カテゴリ(例えば、人物の撮像とする)を特徴付ける要素を付加した付帯カテゴリ(例えば、髭をはやしている人の撮像、Aさんの家族の撮像など)が代表例として挙げられる。   The expression of the category condition describing the imaging of the subject may have a hierarchical branch structure as shown in FIG. 5 as the lower category condition belonging to the higher category condition. That is, there is an expression in which a plurality of lower category conditions are arranged immediately below the upper category conditions as described above. In addition, as shown in FIG. 5, the category located in the upper layer of the two or more branch hierarchy structure is a higher category, and different categories at the same hierarchical level are expressed as categories at the same level. May be. In this case, the subcategory includes a supplementary category (for example, an image of a person wearing a bag, an image of Mr. A's family, etc.) with an element that characterizes an upper category (for example, an image of a person) as a representative example. It is done.

図4のフローチャート図に戻り、次にステップS402に進み、撮像モードに基づく撮像条件制御処理が行われる。その後ステップS403に進み、被写体候補抽出部10で、設定された上位カテゴリ条件に基づいて被写体候補抽出処理が実行される。これにより、撮像素子2からの出力に基づき生成された画像データに対して被写体候補抽出処理が実行される。ステップS404では、先のステップS403で実行された被写体候補抽出処理の結果として出力される画像の各点での被写体候補検出レベルに基づいて被写体候補抽出の判定が実行される。この処理は、被写体候補抽出部10の判定回路102で実行される。   Returning to the flowchart of FIG. 4, the process proceeds to step S <b> 402, and imaging condition control processing based on the imaging mode is performed. Thereafter, the process proceeds to step S403, where the subject candidate extraction unit 10 executes subject candidate extraction processing based on the set upper category condition. Thereby, subject candidate extraction processing is executed on the image data generated based on the output from the image sensor 2. In step S404, subject candidate extraction determination is executed based on the subject candidate detection level at each point of the image output as a result of the subject candidate extraction process executed in the previous step S403. This process is executed by the determination circuit 102 of the subject candidate extraction unit 10.

このステップS404において、上位カテゴリ条件を満たす上位カテゴリ被写体候補(人物の顔)の画像が現在の画像データ内で検出されないときは、ステップS405に進み、撮像条件制御終了判定の処理を実行する。その結果、終了と判定された場合には全体の処理を終了する。一方、ステップS405で終了ではないと判定された場合には、ステップS402の撮像条件制御処理に戻る。   In step S404, when an image of the upper category subject candidate (person's face) that satisfies the upper category condition is not detected in the current image data, the process proceeds to step S405, and processing for determining imaging condition control is executed. As a result, when it is determined that the process is finished, the entire process is finished. On the other hand, if it is determined in step S405 that the process has not ended, the process returns to the imaging condition control process in step S402.

その後、ステップS401で設定された下位カテゴリ条件を満たす被写体候補の画像の選択処理がステップS406において、被写体候補選択部11により実行される。そしてステップS407に進み、被写体候補の選択の判定を行う判定処理が判定回路113で実行される。ステップS407の判定処理の結果、合致する下位カテゴリ被写体候補の画像が選択されたと判定された場合には、再度撮像条件を設定し直すステップS408に進み、撮像し、記録するのに適する画像データとするための撮像条件制御処理を行う。この処理は、判定回路113の出力にしたがって、撮像条件制御回路12が実行することとなる。   Thereafter, the subject candidate selection unit 11 performs a process for selecting an image of a subject candidate that satisfies the lower category condition set in step S401. Then, the process proceeds to step S407, and the determination circuit 113 executes determination processing for determining subject candidate selection. If it is determined that the matching lower category subject candidate image has been selected as a result of the determination process in step S407, the process proceeds to step S408 in which the imaging condition is set again, and image data suitable for imaging and recording is obtained. An imaging condition control process is performed. This process is executed by the imaging condition control circuit 12 according to the output of the determination circuit 113.

撮像条件が記録に適した画像データとなる条件に設定されたあと、下位カテゴリ被写体候補が検出されたフレームに対応する画像データが記憶回路4から読み出され、画像データ圧縮/伸長回路13により所定の圧縮処理を含む処理が施される。その後、記録再生回路14で記録媒体に記録されることとなる。一方、ステップS407で、上位カテゴリ被写体候補の画像の中から下位カテゴリ条件を満たす被写体候補の画像が選択されなかった場合には、全体の処理を終了する。   After the imaging condition is set to a condition that results in image data suitable for recording, the image data corresponding to the frame in which the lower category subject candidate is detected is read from the storage circuit 4 and predetermined by the image data compression / decompression circuit 13. The process including the compression process is performed. Thereafter, the data is recorded on the recording medium by the recording / reproducing circuit 14. On the other hand, if no subject candidate image satisfying the lower category condition is selected from the upper category subject candidate images in step S407, the entire process is terminated.

以下、各処理動作をさらに詳細に説明する。まず、図6に示す処理のフローチャートを参照して、図4のステップS402における撮像条件制御回路12での撮像条件制御処理について説明する。具体的には、ステップS402における撮像条件制御処理においては、上位カテゴリ条件が、「顔」の画像が検出されることであるとすると、先ずステップS601において、撮像条件推定処理を行い、推定された撮像条件に従って撮像条件制御が実行される。   Hereinafter, each processing operation will be described in more detail. First, the imaging condition control process in the imaging condition control circuit 12 in step S402 in FIG. 4 will be described with reference to the flowchart of the process shown in FIG. Specifically, in the imaging condition control process in step S402, if the upper category condition is that an image of “face” is detected, first, in step S601, an imaging condition estimation process is performed and estimated. Imaging condition control is executed according to the imaging conditions.

具体的には、ステップS602に進み、撮像条件の推定として焦点条件、露出条件およびホワイトバランス条件を、通常モードでの焦点条件設定値および露出条件設定値を推定値の初期値として設定する。その後ステップS603に進み、最適な撮像条件の探索と制御を各条件のスキャン探索(撮像条件のパラメータの段階的増加または減少)などにより行う。なお、最適な撮像条件とは、指定された被写体に関して予め設定された明度、色調、コントラストなどのパラメータで上位カテゴリ被写体候補を抽出しやすくした画像データとして撮像されることを意味する。通常モードとは、本実施形態1に示すような被写体の画像データの入力のモード以外の撮像モードのことをいう。   Specifically, the process proceeds to step S602, and the focus condition, the exposure condition, and the white balance condition are set as the estimation of the imaging condition, and the focus condition set value and the exposure condition set value in the normal mode are set as the initial values of the estimated values. Thereafter, the process proceeds to step S603, and search and control of optimal imaging conditions are performed by scanning search of each condition (stepwise increase or decrease of imaging condition parameters). Note that the optimum imaging condition means that imaging is performed as image data that facilitates extraction of the upper category subject candidates with parameters such as brightness, color tone, and contrast set in advance for the designated subject. The normal mode refers to an imaging mode other than the input mode of subject image data as shown in the first embodiment.

逆光の照明下で人物の顔の画像の検出が困難な場合、図4のステップS402の撮像条件制御処理では、通常モードでの露出条件設定値を初期値とし、露出時間を段階的に長くなるように予め設定したステップ幅で増加させ、顔検出処理をその都度実行する。このステップ幅の設定方法としては、例えば、画像データの中央付近若しくは露出補正用測光スポットを中心とする局所領域での入力されている画像データの画素値の平均値できまる値として、LUTを使用して所定のメモリに格納しておく。   When it is difficult to detect an image of a human face under backlight illumination, the exposure condition setting value in the normal mode is set as an initial value in the imaging condition control process of step S402 in FIG. In this way, the face detection process is executed each time. As the step width setting method, for example, an LUT is used as a value obtained by averaging pixel values of input image data in the vicinity of the center of the image data or in a local area centered on the exposure correction photometric spot. And stored in a predetermined memory.

図6のステップS601における撮像環境条件推定処理の一つとして行われる逆光照明条件の判定は、公知の方法(例えば、本出願人による特許登録02504939号公報記載の方法など)を用いればよい。上位カテゴリ被写体候補として顔検出がされた場合であっても、そのときの露出条件、ホワイトバランス条件が最適とは限らないので、顔画像の画質評価処理を行ったうえで撮像条件の変更処理の停止の判定を行っても良い。具体的には、好ましい被写体の記憶色を登録し、所定のメモリに記憶色データとして予め格納しておく。   The determination of the backlight illumination condition performed as one of the imaging environment condition estimation processing in step S601 in FIG. 6 may be performed using a known method (for example, a method described in Japanese Patent Application No. 0504939 by the applicant). Even when a face is detected as an upper category subject candidate, the exposure condition and white balance condition at that time are not necessarily optimal. You may determine a stop. Specifically, a memory color of a preferred subject is registered and stored in advance as memory color data in a predetermined memory.

また、ステップS603における最適撮像条件の探索制御処理における、撮像条件の変更処理停止条件としては、その記憶色に露出条件等の制御範囲で最も近くなるか、または記憶色との差異が予め設定された閾値以下となるように制御する。この制御は、撮像条件制御回路12により、露出条件やホワイトバランス条件を制御する。   Further, as the imaging condition change process stop condition in the search control process for the optimum imaging condition in step S603, the memory color is closest to the memory color in the control range such as the exposure condition, or a difference from the memory color is preset. It controls so that it may become below the threshold value. In this control, the imaging condition control circuit 12 controls exposure conditions and white balance conditions.

次に、図4のステップS403で実行される被写体候補抽出処理について説明する。図2に示した被写体候補抽出部10の内部の判定回路102は、特徴抽出回路101から出力される画像の特徴データと、検索条件設定部6から入力される上位カテゴり条件の画像の特徴データをマッチング処理する。その結果、人物の頭部や顔、上半身部分、または全身の画像の抽出と利用者(予め登録した人物)の識別を行うためのモジュールである。したがって、ソフトウエアモジュールもしくは回路モジュールとして実装される。   Next, the subject candidate extraction process executed in step S403 in FIG. 4 will be described. The determination circuit 102 in the subject candidate extraction unit 10 shown in FIG. 2 includes image feature data output from the feature extraction circuit 101 and feature data of higher category conditions input from the search condition setting unit 6. Matching process. As a result, it is a module for extracting an image of a person's head, face, upper body, or whole body and identifying a user (a person registered in advance). Therefore, it is mounted as a software module or a circuit module.

判定回路102で用いられるアルゴリズムは、本実施形態1でいえば、人体の頭部や顔抽出など周知の方式を用いればよい(例えば、本出願人による特許第3078166号公報など参照)。一般的には、それぞれの被写体候補のカテゴリ条件に応じた抽出ソフトウエアのライブラリまたは抽出パラメータの特徴データファイルとしてメモリに格納され、判定回路102は、メモリに格納された特徴データファイルを読み込んでアルゴリズムを実行する。   The algorithm used in the determination circuit 102 may be a known method such as human head or face extraction in the first embodiment (see, for example, Japanese Patent No. 3078166 by the present applicant). Generally, it is stored in a memory as a feature data file of an extraction software library or an extraction parameter corresponding to the category condition of each subject candidate, and the determination circuit 102 reads the feature data file stored in the memory and performs an algorithm Execute.

なお、人体頭部の画像の抽出および顔部位特徴の抽出処理に用いる低次の特徴の種類としては、色彩情報や動きベクトル情報が使用できる。さらに、他の低次の特徴量、例えば、特定範囲の方向成分と特定範囲の空間周波数を有するような幾何学的特徴、或いは本出願人に係る特許第3078166号公報に開示されるような局所的特徴要素などを用いてもよいことは言うまでも無い。   Note that color information and motion vector information can be used as the types of low-order features used for the extraction of the human head image and the facial part feature extraction process. Furthermore, other low-order feature quantities, for example, geometric features having a specific range of directional components and a specific range of spatial frequencies, or local features as disclosed in Japanese Patent No. 3078166 of the present applicant. Needless to say, a characteristic feature may be used.

次に、図4におけるステップS406の被写体候補選択処理について説明する。ステップS406の被写体候補選択処理は、CPU、メディアプロセッサ、コンフィギュラブルプロセッサその他各種の演算回路により実行される。この処理はステップS403での被写体候補抽出処理により得られた上位カテゴリ被写体候補から下位カテゴリ条件を満たす被写体候補が存在するか否かの判定を行う。具体的には、上位カテゴリ被写体候補の候補点を中心とし、下位カテゴリ条件に応じた画像の領域設定を行い、その領域の画像の特徴データを入力して、判定回路113で判定処理を行う。   Next, the subject candidate selection process in step S406 in FIG. 4 will be described. The subject candidate selection process in step S406 is executed by a CPU, a media processor, a configurable processor, and other various arithmetic circuits. In this process, it is determined whether or not there is a subject candidate that satisfies the lower category condition from the upper category subject candidates obtained by the subject candidate extraction process in step S403. Specifically, the image area is set according to the lower category condition with the candidate point of the upper category subject candidate as the center, the image feature data of the area is input, and the determination circuit 113 performs the determination process.

上位カテゴリ条件および下位カテゴリ条件の1例を、図7の(a)および(b)に示す表1および表2に示す。これらの条件は、ユーザの知人(登録人物)、年齢性別、服装や髪型などに関する特定のカテゴリに該当する人物が存在していることがある。或いは、複数の顔のうち一定以上の割合で、人の顔の状態が特定の状態にあること(例えば目が開いていること、カメラを向いていること、笑っていること)等、が挙げられる。一定以上の割合とは、たとえば、10のなかで8以上等である。しかしこの一定以上の割合は、選ばれた上位カテゴリおよび下位カテゴリで変わるものである。これらは上位カテゴリ条件(例:人物の検出撮像)と比べるとより詳細な条件に相当する。上位カテゴリ条件で被写体を絞り込み、絞り込んだ被写体の中でより詳細な条件を満たす被写体の有無を判定することにより高速かつ効率的な処理が実現できることは既に説明したとおりである。   An example of the upper category condition and the lower category condition is shown in Table 1 and Table 2 shown in FIGS. Under these conditions, there may be a person who falls into a specific category related to the user's acquaintance (registered person), age and gender, clothes, hairstyle, and the like. Or, the ratio of a person's face is in a specific state (for example, eyes are open, facing the camera, laughing) at a certain ratio or more among a plurality of faces. It is done. The ratio above a certain value is, for example, 8 or more out of 10. However, the ratio above a certain level varies depending on the selected upper category and lower category. These correspond to more detailed conditions as compared with the upper category conditions (for example, person detection imaging). As already described, it is possible to realize high-speed and efficient processing by narrowing down subjects under higher category conditions and determining whether or not there are subjects that satisfy more detailed conditions among the narrowed-down subjects.

次に、図4のステップS408で示す撮像条件制御処理について、図8に示すフローチャート図を用いて説明する。   Next, the imaging condition control process shown in step S408 of FIG. 4 will be described using the flowchart shown in FIG.

図4のステップS407で下位カテゴリ被写体候補の画像が選択されたら、現在の画像データは記録するのに値する画像データであると判断される。この場合、記録に先立ち、画像データの下位カテゴリ被写体候補の画像が存在する画像の対象領域について、撮像する画像データとして適性か否かがステップS801で判断される。適正であれば、図4のステップS409に進み、現在の撮像条件で得られている画像データを、記録再生回路14で記録媒体に記録し、撮像を完了する。   If an image of a lower category subject candidate is selected in step S407 in FIG. 4, it is determined that the current image data is image data worth recording. In this case, prior to recording, it is determined in step S801 whether the target area of the image in which the image of the lower category subject candidate of the image data is suitable as the image data to be captured. If it is appropriate, the process proceeds to step S409 in FIG. 4, and the image data obtained under the current imaging conditions is recorded on the recording medium by the recording / reproducing circuit 14 to complete the imaging.

しかし、ステップS801で不適正とされたならば、ステップS802に進み、制御の対象領域の撮像条件の再設定をする。制御の対象領域は、選択された下位カテゴリ被写体候補の画像位置にしたがって設定が変更される。その後ステップS803に進み、変更された撮像条件、制御の対象領域に従って撮像条件制御回路12で撮像条件を制御し、再びステップS801で判定する。この動作は適正となるまで繰り返され、適正となったならばこの処理を終了するそして、図4のステップS409に進み、設定が変更された撮像条件で得られている画像データを、記録再生回路14で記録媒体に記録し、撮像を完了する。   However, if it is determined to be inappropriate in step S801, the process proceeds to step S802, and the imaging condition of the control target area is reset. The setting of the control target area is changed according to the image position of the selected lower category subject candidate. Thereafter, the process proceeds to step S803, where the imaging condition control circuit 12 controls the imaging condition according to the changed imaging condition and the control target area, and the determination is again made in step S801. This operation is repeated until it becomes appropriate, and if it becomes appropriate, this process is terminated. Then, the process proceeds to step S409 in FIG. 4, and image data obtained under the imaging conditions whose settings have been changed is recorded on the recording / reproducing circuit. In step 14, the image is recorded on a recording medium, and imaging is completed.

以上説明した、実施形態1によれば、撮像を希望する被写体が、撮像を希望する状態にある画像データを自由に検索することが可能な検索装置を提供することが可能となる。さらに撮像装置に組み込むことにより、不要な画像データを記録することを避けることが可能な撮像装置を提供できる。   According to the first embodiment described above, it is possible to provide a search device that allows a subject who wishes to capture an image to freely search for image data in a state in which the imaging is desired. Furthermore, an image pickup apparatus that can avoid recording unnecessary image data can be provided by being incorporated in the image pickup apparatus.

<実施形態2>
本実施形態2は、実施形態1と同様に画像検索装置である撮像装置であり、主な構成要素は図1に示すものと同じであるので、以下の説明では構成要素は図1を引用する。ここでは実施形態1と同様に被写体のカテゴリ条件が、様々なカテゴリ条件に分解され、複合化されている場合を扱う。
<Embodiment 2>
The second embodiment is an image pickup apparatus that is an image search device as in the first embodiment, and the main components are the same as those shown in FIG. 1, and therefore, in the following description, the components refer to FIG. 1. . Here, as in the first embodiment, the case where the subject category conditions are decomposed into various category conditions and combined is handled.

特に本実施形態2では、条件の詳細を簡易に設定可能とするため、予めメニュー選択形式でカテゴリ条件を選択し、組み合わせ可能にしたことに特徴を備える。図9に表示部9に表示される検索条件設定画面のGUIの例を示す。先に実施形態1で説明したように、この画面は、検索条件設定部6の制御により表示されるものとする。なお、検索条件設定画面が表示される表示装置としては、本実施形態2の撮像装置100に設けられた表示部9とは異なる他の所定の端末の表示装置を使用することも可能である。   In particular, the second embodiment is characterized in that category conditions can be selected and combined in advance in a menu selection format so that the details of the conditions can be set easily. FIG. 9 shows an example of the GUI of the search condition setting screen displayed on the display unit 9. As described in the first embodiment, this screen is displayed under the control of the search condition setting unit 6. In addition, as a display device on which the search condition setting screen is displayed, a display device of another predetermined terminal different from the display unit 9 provided in the imaging device 100 according to the second embodiment can be used.

ここでは、カテゴリ条件の階層構造を図で示し、ユーザがその検索条件設定画面を見ながら直接タッチパネル等で指示するか、十字キーなどを含む操作部8で選択する。階層構造の最下階層部を特定し、設定することで、実際に撮像する対象の被写体が含まれる画像データの特定が行われる。   Here, the hierarchical structure of the category conditions is shown in the figure, and the user directly instructs with a touch panel or the like while viewing the search condition setting screen, or selects with the operation unit 8 including a cross key. By specifying and setting the lowest layer of the hierarchical structure, the image data including the subject to be actually imaged is specified.

例えば、人という上位カテゴリ条件の下にある服装というカテゴリがユーザにより選択された状態では、服装に関する画像、若しくはその服装を文字で表現した文字列が下位カテゴリ条件の画像の選択肢として表示される。カテゴリの階層構造は予め設定されている状態のものを使用しても良いが、ユーザが階層構造を特定することもできるものとする。   For example, in a state where a category of clothing under the upper category condition of person is selected by the user, an image relating to clothing or a character string expressing the clothing in characters is displayed as an option for the image of the lower category condition. The category hierarchy may be set in advance, but the user can also specify the hierarchy.

かくして、検索条件設定画面を使用してユーザにより設定された被写体条件(下位カテゴリ条件若しくは絞込みのカテゴリ条件)に応じて決まる画像の上位カテゴリ条件が少なくとも一つ自動的に生成されて被写体候補の抽出処理及び選択処理が実行される。これらの処理は実施形態1で説明した被写体候補抽出部10および被写体候補選択部11で実行される。   Thus, at least one higher category condition of the image determined according to the subject condition (lower category condition or narrowed category condition) set by the user using the search condition setting screen is automatically generated to extract subject candidates. Processing and selection processing are executed. These processes are executed by the subject candidate extraction unit 10 and the subject candidate selection unit 11 described in the first embodiment.

そして設定された被写体条件を満たす被写体候補の画像が選択されたら、この被写体候補を含む現在の画像データが符号化されて記録再生回路14により記録媒体に自動的に記録されてもよい。具体的には、「むっつりした表情で座っているAさん(男性)の撮像」のように複数のカテゴリ条件が複合している画像の場合を例として以下に説明する。   When a subject candidate image satisfying the set subject condition is selected, current image data including the subject candidate may be encoded and automatically recorded on the recording medium by the recording / reproducing circuit 14. Specifically, an example of an image in which a plurality of category conditions are combined, such as “image of Mr. A (male) sitting with a muddy expression” will be described below as an example.

この場合、被写体の識別(Aさんであること)に関する画像の条件、被写体の状態に関する画像の条件(表情と姿勢に関する条件)が複合している。この場合、上位カテゴリ条件としては、座っている人の検出、または、Aさんの検出、むっつりした表情の人の検出など、複合条件を構成する要素の一部を画像の上位カテゴリ条件とする。あるいは、複合条件を構成する要素の上位概念(例えば、人の検出撮像、男性の検出撮像)を画像の上位カテゴリ条件とする。   In this case, the image condition relating to the subject identification (being Mr. A) and the image condition relating to the subject state (condition relating to the expression and posture) are combined. In this case, as the upper category condition, a part of elements constituting the composite condition such as detection of a sitting person, detection of Mr. A, detection of a person with a dull expression, or the like is set as an upper category condition of an image. Alternatively, the superordinate concept (for example, human detection imaging and male detection imaging) of the elements constituting the composite condition is set as the upper category condition of the image.

このとき、上位カテゴリ条件に基づく画像の抽出結果として対応する上位カテゴリ被写体候補の画像が表示部9上でマーカなどを重畳表示させることができる。このときユーザは、上位カテゴリ条件で抽出された上位カテゴリ被写体候補の画像が妥当か否かを画像を見て判断し、不適切と判断された場合には、上位カテゴリ条件の変更をメニュー画面上で行うことができる。このような各種動作はユーザが検索条件設定部6に操作部8を用いて適宜行う。   At this time, the image of the upper category subject candidate corresponding to the image extraction result based on the upper category condition can be displayed with a marker or the like superimposed on the display unit 9. At this time, the user determines whether or not the image of the upper category subject candidate extracted under the upper category condition is appropriate by looking at the image. If it is determined as inappropriate, the user can change the upper category condition on the menu screen. Can be done. Such various operations are appropriately performed by the user using the operation unit 8 in the search condition setting unit 6.

以上説明した実施形態2においては、操作部8を操作して検索条件設定部6で検索条件を設定する場合、ユーザはメニュー画面を見ながら簡単に、上位カテゴリ条件および下位カテゴリ条件を満たす画像を設定することが可能となる。   In the second embodiment described above, when the search condition is set by the search condition setting unit 6 by operating the operation unit 8, the user can easily select images that satisfy the upper category condition and the lower category condition while looking at the menu screen. It becomes possible to set.

<実施形態3>
実施形態1、2では、予め定められた検索条件をGUI及び操作部8を使用して、検索条件設定部6から入力するように構成したが、検索条件は、新たに用意した画像データから取り出す構成とすることも可能である。図10は、実施形態3を示し、実施形態1、2の検索条件設定部6に対応する部分のみを示す。他の構成部分は基本的に実施形態1、2と同じ構成であり、図では省略されている。
<Embodiment 3>
In the first and second embodiments, a predetermined search condition is input from the search condition setting unit 6 using the GUI and the operation unit 8, but the search condition is extracted from newly prepared image data. A configuration is also possible. FIG. 10 shows the third embodiment, and shows only the part corresponding to the search condition setting unit 6 of the first and second embodiments. The other components are basically the same as those in the first and second embodiments, and are not shown in the figure.

図において、61は、検索条件画像入力部を示し、イメージリーダを含む。検索条件画像入力部61で読み込まれた画像は、所謂検索したい被写体候補の画像を含み、記憶回路62に記憶される。記憶回路62に記憶された画像データは、画像解析部63において含まれている被写体候補の画像の特徴データが解析されて抽出され特徴データ記憶回路64に記憶される。特徴データ記憶回路64からは、上位カテゴリ条件、下位カテゴリ条件およびそれぞれの画像の特徴データが出力される。これらの動作は、制御部65の制御にしたがって実行される。   In the figure, reference numeral 61 denotes a search condition image input unit, which includes an image reader. The image read by the search condition image input unit 61 includes a so-called candidate image to be searched and is stored in the storage circuit 62. The image data stored in the storage circuit 62 is extracted by analyzing the feature data of the subject candidate image included in the image analysis unit 63 and stored in the feature data storage circuit 64. The feature data storage circuit 64 outputs upper category conditions, lower category conditions, and feature data of each image. These operations are executed under the control of the control unit 65.

図10の検索条件設定部60において、検索条件画像入力部61は、検索条件を画像データ(典型的な検索したい被写体の画像もしくはユーザによるスケッチによる画像タなど)を入力する。したがって、画像読み取り装置を含む。検索条件画像入力部61で入力された画像データは記憶回路62に記憶される。この場合、検索条件画像入力部61は、必ずしも画像読み取り装置を使用して画像データを取り込む必要はなく、すでにデータ化された、検索したい被写体の画像データがあれば、外部の装置から取り込むことも可能である。いずれの画像データも記憶回路62に記憶される。記憶回路62に記憶された画像データは検索したい被写体の特徴データを抽出するために画像解析部63に供給される。   In the search condition setting unit 60 of FIG. 10, a search condition image input unit 61 inputs image data (such as a typical image of a subject to be searched or an image based on a sketch by a user) as a search condition. Therefore, the image reading apparatus is included. The image data input by the search condition image input unit 61 is stored in the storage circuit 62. In this case, the search condition image input unit 61 does not necessarily need to use the image reading device to capture the image data. If there is already imaged data of the subject to be retrieved, it may be retrieved from an external device. Is possible. Any image data is stored in the storage circuit 62. The image data stored in the storage circuit 62 is supplied to the image analysis unit 63 in order to extract feature data of a subject to be searched.

画像解析部63では、検索したい被写体の画像データに含まれる、検索したい被写体の特徴データを解析し、上位カテゴリ条件、下位カテゴリ条件を抽出する。抽出された上位カテゴリ条件、下位カテゴリ条件は、図9に示すような階層的カテゴリ表現での文字表示、若しくは類似のサンプルの画像データの画像を図1の表示部9に類似度の高い画像順に並べて表示ことによりユーザに確認させる。   The image analysis unit 63 analyzes the feature data of the subject to be searched included in the image data of the subject to be searched, and extracts the upper category condition and the lower category condition. The extracted upper category condition and lower category condition are the character display in the hierarchical category expression as shown in FIG. 9 or the image of the image data of the similar sample on the display unit 9 in FIG. Let the user confirm by displaying them side by side.

さらにユーザは、図9に示すように、階層的な構造で表示されたカテゴリ条件から、さらに上位カテゴリ条件、下位カテゴリ条件を絞ることも可能である。これらの一連の処理は、図1の制御部15からの指示に従い、制御部65が実行する。   Further, as shown in FIG. 9, the user can further narrow down the upper category conditions and the lower category conditions from the category conditions displayed in a hierarchical structure. The series of processing is executed by the control unit 65 in accordance with an instruction from the control unit 15 in FIG.

本実施形態3では、上記で説明するように、検索の対象となる被写体の画像データを入力して、検索の対象となる被写体の特徴データを抽出し、上位カテゴリ条件および下位カテゴリ条件を特定することが可能となる。この場合、被写体の上位カテゴリ条件、下位カテゴリ条件を階層的に表現されたカテゴリの分岐構造(木構造)の中の特定の階層レベルとして指定することができ、更にその階層構造の中で条件の絞込みも可能とされる。例えば、「笑っているAさん」というカテゴリは、図9に示すような階層的な分岐構造に示される各ノードでの被写体候補抽出処理を経て、最終的に該当する下位カテゴリ被写体を含む画像データが検索される。   In the third embodiment, as described above, image data of a subject to be searched is input, feature data of the subject to be searched is extracted, and upper category conditions and lower category conditions are specified. It becomes possible. In this case, the upper category condition and the lower category condition of the subject can be specified as a specific hierarchy level in the branch structure (tree structure) of the category expressed hierarchically, Narrowing is also possible. For example, the category “Mr. A who is laughing” has passed through subject candidate extraction processing at each node shown in the hierarchical branch structure as shown in FIG. Is searched.

以上のように検索カテゴリを階層的に分類表現する検索用データ構造を予め保持し、または生成することにより、検索処理を階層構造の上位カテゴリ条件から下位カテゴリ条件順に絞り込むことができる。ユーザはその途中経過を検索結果データとして確認することにより、適切な検索条件の画像を、途中結果を見ながら設定することができる。本実施形態3の場合、「笑っているAさんの画像検索」などのような検索条件では、「Aさんの画像」が上位カテゴリ条件、「笑っている表情の画像」がAさんに付帯する下位カテゴリ条件の画像として設定される。先ずAさんの画像を検索抽出し、然る後、笑っている表情の画像を検索することになる。なお、どちらを上位カテゴリ条件の画像とするかは、ユーザが設定することができる。   As described above, by previously storing or generating a search data structure that hierarchically classifies and expresses search categories, the search process can be narrowed down from the upper category conditions of the hierarchical structure to the lower category conditions. The user can set an image with an appropriate search condition while checking the intermediate result by checking the intermediate result as the search result data. In the case of the third embodiment, in a search condition such as “search for image of Mr. A who is laughing”, “image of Mr. A” is attached to the upper category condition, and “image of a smiling expression” is incidental to Mr. A. Set as an image of the lower category condition. First, Mr. A's image is searched and extracted, and then an image of a smiling expression is searched. Note that the user can set which image is to be the image of the upper category condition.

図11は、本実施形態3に係る画像検索装置における画像検索処理の基本フローを示したものである。先ず処理の開始後のステップS1101において、検索条件の設定を画像データの入力により行う。これは、図10に示した検索条件画像入力部61が備える画像読み取り装置でおこなわれる。しかし、外部のメモリ等から検索条件の画像として取り込んでも構わない。いずれにしても、検索したい被写体が含まれる画像である。   FIG. 11 shows a basic flow of image search processing in the image search apparatus according to the third embodiment. First, in step S1101 after the start of processing, search conditions are set by inputting image data. This is performed by the image reading device provided in the search condition image input unit 61 shown in FIG. However, it may be taken in as an image of a search condition from an external memory or the like. In any case, the image includes the subject to be searched.

その後ステップS1102に進み、画像解析部63と制御部65により検索カテゴリの階層構造の分析を行い、その被写体を検索するための上位カテゴリ条件および下位カテゴリ条件の特徴データを抽出する。そしてステップ1103に進み、そのカテゴリ条件の階層構造の表示を行う。カテゴリの階層構造は、図9に例示するものと同じであってもよい。ユーザは、表示部9に表示されたカテゴリ条件の階層構造を確認し、ステップS1104で修正が必要と判断するなら、ステップS1103にもどり、必要に応じて検索結果の修正等を行う。   Thereafter, the process proceeds to step S1102, where the image analysis unit 63 and the control unit 65 analyze the hierarchical structure of the search category, and extract feature data of the upper category condition and the lower category condition for searching for the subject. In step 1103, the hierarchical structure of the category condition is displayed. The hierarchical structure of categories may be the same as that illustrated in FIG. The user confirms the hierarchical structure of the category conditions displayed on the display unit 9, and if it is determined that correction is necessary in step S1104, the user returns to step S1103 and corrects the search result as necessary.

続いてステップS1105においては、現在撮像しようとする画像データから上位カテゴリ条件に基づく被写体候補の画像の抽出が実行される。その抽出結果はステップS1106に示すように表示部9に表示される。ステップS1107でこの結果に満足しない場合には、ステップS1103にもどり、必要に応じて分析結果の修正等を行い、再度検索を行うことになる。満足するのであれば、ステップS1108に進み、現在撮像しようとする画像データから下位カテゴリ条件に基づく被写体候補の画像の選択が実行され、ステップS1109では、その選択結果が表示される。すなわち、表示部9に表示された現在撮像しようとする画像データに選択された下位カテゴリ条件を満たす下位カテゴリ被写体候補の画像が識別可能に表示されることとなる。この結果に満足しない場合には、ステップS1110からステップS1103にもどり、修正した後に動作を繰り返すことになるが、満足するのであれば、一連の検索処理が終了する。   Subsequently, in step S1105, extraction of subject candidate images based on the upper category condition is performed from the image data to be captured at present. The extraction result is displayed on the display unit 9 as shown in step S1106. If the result is not satisfied in step S1107, the process returns to step S1103, the analysis result is corrected as necessary, and the search is performed again. If satisfied, the process proceeds to step S1108 to select an image of a subject candidate based on the lower category condition from the image data to be captured at present, and the selection result is displayed in step S1109. That is, the image of the candidate for the lower category subject that satisfies the selected lower category condition in the image data to be captured currently displayed on the display unit 9 is displayed in an identifiable manner. If this result is not satisfied, the process returns from step S1110 to step S1103, and the operation is repeated after correction. However, if satisfied, a series of search processing ends.

以上、本実施形態3では、特定人物や動物の状態を検知して自動撮像または検索する場合について説明した。しかし、対象となる被写体としては、人物や動物以外、例えば、車両その他の物品のうち、特定の物品を検出してその画像を自動入力することなどに適用してもよいことはいうまでもない。   As described above, in the third embodiment, the case where the state of the specific person or animal is detected and the automatic imaging or searching is performed has been described. However, it goes without saying that the target subject may be applied to the detection of a specific article and the automatic input of an image other than a person or animal, for example, a vehicle or other article. .

以上説明した、本発明の実施形態3によれば、検索条件として入力する画像、典型的には、検索対象の被写体が含まれる画像もしくはユーザによるスケッチ画像などの検索条件を満足する被写体候補の画像を抽出し、選択することが可能となる。   According to the third embodiment of the present invention described above, an image input as a search condition, typically an image of a subject candidate that satisfies the search condition such as an image including a subject to be searched or a sketch image by a user. Can be extracted and selected.

また、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給することによっても実施可能である。すなわち本発明の目的は、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても達成される。この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   The present invention can also be implemented by supplying a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus. That is, the object of the present invention can also be achieved by reading and executing a program code stored in a storage medium by a computer (or CPU or MPU) of the system or apparatus. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読出したプログラムコードを実行することで、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行いこともありうる。それにより、本発明は、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS or the like running on the computer performs actual processing based on an instruction of the program code. Some or all may be done. Thus, the present invention includes a case where the functions of the above-described embodiments are realized by the processing.

さらに本発明においては、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれて実施することも可能である。したがって、書込まれプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Furthermore, in the present invention, the program code read from the storage medium can be written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer. Therefore, the function of the above-described embodiment is realized by performing part or all of the actual processing by the CPU provided in the function expansion board or function expansion unit based on the written program code instruction. Is also included.

本発明の実施形態1に係る画像検索装置が組み込まれた撮像装置のブロック図である。1 is a block diagram of an imaging device in which an image search device according to Embodiment 1 of the present invention is incorporated. 本発明の実施形態1に係る画像検索装置の被写体候補抽出部の構成を示すブロック図である。It is a block diagram which shows the structure of the to-be-photographed object candidate extraction part of the image search device which concerns on Embodiment 1 of this invention. 本発明の実施形態1に係る画像検索装置の被写体候補選択部の構成を示すブロック図である。It is a block diagram which shows the structure of the to-be-photographed object candidate selection part of the image search device which concerns on Embodiment 1 of this invention. 本発明の実施形態1に係る画像検索装置の動作を説明するフローチャート図である。It is a flowchart figure explaining operation | movement of the image search device which concerns on Embodiment 1 of this invention. 本発明の実施形態1に係る画像検索装置で使用されるカテゴリ条件の階層構造の例を示す概念図である。It is a conceptual diagram which shows the example of the hierarchical structure of the category conditions used with the image search device which concerns on Embodiment 1 of this invention. 本発明の実施形態1に係る画像検索装置の動作を説明するフローチャート図である。It is a flowchart figure explaining operation | movement of the image search device which concerns on Embodiment 1 of this invention. 本発明の実施形態2に係る画像検索装置で使用されるカテゴリ条件の表を示す図である。It is a figure which shows the table | surface of the category conditions used with the image search device which concerns on Embodiment 2 of this invention. 本発明の実施形態2に係る画像検索装置の動作を説明するフローチャート図である。It is a flowchart figure explaining operation | movement of the image search device which concerns on Embodiment 2 of this invention. 本発明の実施形態2に係る画像検索装置で使用されるカテゴリ条件の階層構造の表示される画面の図である。It is a figure of the screen displayed of the hierarchical structure of the category conditions used with the image search device which concerns on Embodiment 2 of this invention. 本発明の実施形態3に係る画像検索装置で使用される検索条件設定部の構成を示すブロック図である。It is a block diagram which shows the structure of the search condition setting part used with the image search device which concerns on Embodiment 3 of this invention. 本発明の実施形態3に係る画像検索装置の動作を説明するフローチャート図である。It is a flowchart figure explaining operation | movement of the image search device which concerns on Embodiment 3 of this invention.

符号の説明Explanation of symbols

1 結像光学系
2 撮像素子
3 センサ周辺回路
4 記憶回路
5 撮像モード設定部
6、60 検索条件設定部
7 検索条件データ記憶部
8 操作部
9 表示部
10 被写体候補抽出部
11 被写体候補選択部
12 撮像条件制御回路
13 画像データ圧縮/伸長回路
14 記録再生回路
15、65 制御部
16 不揮発メモリ
61 検索条件画像入力部
62 記憶回路
63 画像解析部
64 特徴データ記憶回路
101 特徴抽出回路
102、113 判定回路
103 上位カテゴリ条件入力回路
111 上位カテゴリ被写体候補入力回路
112 下位カテゴリ条件入力回路
DESCRIPTION OF SYMBOLS 1 Imaging optical system 2 Image pick-up element 3 Sensor peripheral circuit 4 Memory circuit 5 Imaging mode setting part 6, 60 Search condition setting part 7 Search condition data storage part 8 Operation part 9 Display part 10 Subject candidate extraction part 11 Subject candidate selection part 12 Imaging condition control circuit 13 Image data compression / decompression circuit 14 Recording / reproducing circuit 15, 65 Control unit 16 Non-volatile memory 61 Search condition image input unit 62 Storage circuit 63 Image analysis unit 64 Feature data storage circuit 101 Feature extraction circuit 102, 113 Determination circuit 103 Upper Category Condition Input Circuit 111 Upper Category Subject Candidate Input Circuit 112 Lower Category Condition Input Circuit

Claims (19)

画像データを入力する画像入力手段と、
上位カテゴリ条件と、当該上位カテゴリ条件に対応付けられた下位カテゴリ条件とを含む被写体の検索条件を設定する検索条件設定手段と、
前記画像データに含まれる被写体から、前記上位カテゴリ条件を満たす上位カテゴリ被写体候補を抽出する被写体候補抽出手段と、
抽出された前記上位カテゴリ被写体候補に、前記上位カテゴリ条件に対応付けられた前記下位カテゴリ条件を満たす下位カテゴリ被写体候補を選択する選択手段と、
前記下位カテゴリ被写体候補が選択された場合に、前記データ画像に前記検索条件を満たす被写体候補が含まれる旨の表示を行う表示手段と、を備える、ことを特徴とする画像検索装置。
Image input means for inputting image data;
Search condition setting means for setting a subject search condition including a higher category condition and a lower category condition associated with the higher category condition;
Subject candidate extraction means for extracting upper category subject candidates that satisfy the upper category condition from subjects included in the image data;
A selection means for selecting, as the extracted upper category subject candidate, a lower category subject candidate that satisfies the lower category condition associated with the upper category condition;
An image search apparatus comprising: a display unit configured to display that the candidate data satisfying the search condition is included in the data image when the lower category subject candidate is selected.
前記上位カテゴリ条件は、人物を特定する条件を含む、ことを特徴とする請求項1に記載の画像検索装置。   The image search apparatus according to claim 1, wherein the upper category condition includes a condition for specifying a person. 前記検索条件設定手段は、前記上位カテゴリ条件及び下位カテゴリ条件を記憶する検索条件データ記憶手段を備える、ことを特徴とする請求項1に記載の画像検索装置。   The image search apparatus according to claim 1, wherein the search condition setting unit includes a search condition data storage unit that stores the upper category condition and the lower category condition. 前記下位カテゴリ条件は、前記上位カテゴリ条件により特定された人物の状態を特定する条件を含む、ことを特徴とする請求項2に記載の画像検索装置。   The image search apparatus according to claim 2, wherein the lower category condition includes a condition for specifying a state of a person specified by the upper category condition. 前記下位カテゴリ条件は、前記上位カテゴリ条件により特定された人物の顔の状態を特定する条件を含む、ことを特徴とする請求項2に記載の画像検索装置。   The image search apparatus according to claim 2, wherein the lower category condition includes a condition for specifying a face state of a person specified by the upper category condition. 前記下位カテゴリ条件は、前記上位カテゴリ条件により特定された人物の、前記特定された顔の状態を備える前記下位カテゴリ被写体候補が前記上位カテゴリ被写体候補の中で一定以上の割合で存在する条件を含む、ことを特徴とする請求項5に記載の画像検索装置。   The lower category condition includes a condition in which the lower category subject candidate having the specified face state of the person specified by the upper category condition exists at a certain ratio or more in the upper category subject candidate. The image search apparatus according to claim 5, wherein: 前記表示手段は、前記画像データとともに前記下位カテゴリ被写体候補を示す図形若しくはマーカを表示する、ことを特徴とする請求項1乃至6のいずれか1項に記載の画像検索装置。   The image search apparatus according to claim 1, wherein the display unit displays a graphic or a marker indicating the lower category subject candidate together with the image data. 前記表示手段は、さらに前記検索条件を表示する、ことを特徴とする請求項1乃至7のいずれか1項に記載の画像検索装置。   The image search apparatus according to claim 1, wherein the display unit further displays the search condition. 前記検索条件設定手段は、検索条件画像を入力する検索条件画像入力手段と、前記検索条件画像を解析して前記前記検索条件画像に含まれる被写体の前記上位カテゴリ条件および下位カテゴリ条件を出力する画像解析手段と、を備え、
前記画像解析手段からの前記上位カテゴリ条件および下位カテゴリ条件に係る出力に基づき前記検索条件を設定する、ことを特徴とする請求項1乃至8のいずれか1項に記載の画像検索装置。
The search condition setting unit is a search condition image input unit that inputs a search condition image, and an image that analyzes the search condition image and outputs the upper category condition and lower category condition of the subject included in the search condition image An analysis means,
The image search apparatus according to claim 1, wherein the search condition is set based on an output related to the upper category condition and the lower category condition from the image analysis unit.
前記検索条件データ記憶手段は、階層的な構造で前記検索条件を記憶し、
前記表示手段は、前記検索条件を階層的に表示する、ことを特徴とする請求項1乃至9のいずれか1項に記載の画像検索装置。
The search condition data storage means stores the search conditions in a hierarchical structure,
The image search apparatus according to claim 1, wherein the display unit displays the search conditions in a hierarchical manner.
前記上位カテゴリ条件は、被写体の種類を特定する条件であり、
前記下位カテゴリ条件は、被写体の状態を特定する条件である、ことを特徴とする請求項1乃至請求項10のいずれか1項に記載の画像検索装置。
The upper category condition is a condition for specifying the type of subject,
The image search device according to any one of claims 1 to 10, wherein the lower category condition is a condition for specifying a state of a subject.
前記上位カテゴリ条件は、被写体が人以外の動物を特定する条件であり、
前記下位カテゴリ条件は、被写体の種類、被写体の状態、被写体の数の少なくともいずれか1つについての条件である、ことを特徴とする請求項1乃至請求項10のいずれか1項に記載の画像検索装置。
The upper category condition is a condition for specifying an animal other than a human subject.
The image according to any one of claims 1 to 10, wherein the lower category condition is a condition for at least one of a type of a subject, a state of a subject, and the number of subjects. Search device.
画像データを入力する画像入力手段と、表示手段と、記録手段と、を備える撮像装置において、
上位カテゴリ条件と、当該上位カテゴリ条件に対応付けられた下位カテゴリ条件とを含む被写体の検索条件を設定する検索条件設定手段と、
前記画像データに含まれる被写体から、前記上位カテゴリ条件を満たす上位カテゴリ被写体候補を抽出する被写体候補抽出手段と、
抽出された前記上位カテゴリ被写体候補に、前記上位カテゴリ条件に対応付けられた前記下位カテゴリ条件を満たす下位カテゴリ被写体候補を選択する選択手段と、
前記下位カテゴリ被写体候補が選択された場合に、前記画像データに前記検索条件を満たす被写体候補が含まれる旨の表示を行う表示手段と、を備える画像検索装置を、さらに備える、ことを特徴とする撮像装置。
In an imaging apparatus comprising image input means for inputting image data, display means, and recording means,
Search condition setting means for setting a subject search condition including a higher category condition and a lower category condition associated with the higher category condition;
Subject candidate extraction means for extracting upper category subject candidates that satisfy the upper category condition from subjects included in the image data;
A selection means for selecting, as the extracted upper category subject candidate, a lower category subject candidate that satisfies the lower category condition associated with the upper category condition;
An image search device comprising: display means for displaying that the image data includes a candidate subject that satisfies the search condition when the lower category subject candidate is selected. Imaging device.
前記上位カテゴリ被写体候補の抽出の結果に従って、前記画像入力手段に含まれる露出制御機構または焦点検出制御機構のいずれか1つを制御する撮像条件制御手段を、さらに備える、ことを特徴とする請求項13に記載の撮像装置。   The imaging condition control means for controlling any one of an exposure control mechanism and a focus detection control mechanism included in the image input means according to a result of extraction of the upper category subject candidate. The imaging device according to 13. さらに、記録手段を備え、
前記記録手段は、前記下位カテゴリ被写体候補が選択された前記画像データを記録媒体に記録する、ことを特徴とする請求項14に記載の撮像装置。
Furthermore, a recording means is provided,
15. The imaging apparatus according to claim 14, wherein the recording unit records the image data in which the lower category subject candidate is selected on a recording medium.
前記撮像条件制御手段は、前記下位カテゴリ被写体候補の選択の結果に従って前記露出制御機構または前記焦点検出制御機構を制御する、ことを特徴とする請求項14または15に記載の撮像装置。   The imaging apparatus according to claim 14, wherein the imaging condition control unit controls the exposure control mechanism or the focus detection control mechanism according to a result of selection of the lower category subject candidate. 画像データを入力する画像入力工程と、
上位カテゴリ条件と、当該上位カテゴリ条件に対応付けられた下位カテゴリ条件とを含む被写体の検索条件を設定する検索条件設定工程と、
前記画像データに含まれる被写体から、前記上位カテゴリ条件を満たす上位カテゴリ被写体候補を抽出する被写体候補抽出工程と、
抽出された前記上位カテゴリ被写体候補に、前記上位カテゴリ条件に対応付けられた前記下位カテゴリ条件を満たす下位カテゴリ被写体候補を選択する選択工程と、
前記下位カテゴリ被写体候補が選択された場合に、前記画像データに前記検索条件を満たす被写体候補が含まれる旨の表示を行う表示工程と、を備える、ことを特徴とする画像検索装置の制御方法。
An image input process for inputting image data;
A search condition setting step for setting a subject search condition including a higher category condition and a lower category condition associated with the higher category condition;
A subject candidate extraction step of extracting a higher category subject candidate that satisfies the higher category condition from subjects included in the image data;
A selection step of selecting a lower category subject candidate that satisfies the lower category condition associated with the upper category condition as the extracted upper category subject candidate;
And a display step of displaying that the image data includes a candidate candidate that satisfies the search condition when the lower category subject candidate is selected.
請求項17に記載の画像検索装置の制御方法の手順をコンピュータに実行させるためのプログラム。   A non-transitory computer-readable storage medium storing a program for causing a computer to execute the procedure of the control method for an image search apparatus according to claim 17. 請求項17に記載の画像検索装置の制御方法の手順をコンピュータに実行させるためのプログラムを記憶したコンピュータ読み取り可能な記憶媒体。   A computer-readable storage medium storing a program for causing a computer to execute the procedure of the control method for an image search device according to claim 17.
JP2007011952A 2007-01-22 2007-01-22 Image search device, imaging device, control method of image search device, program, and storage medium Withdrawn JP2008178042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007011952A JP2008178042A (en) 2007-01-22 2007-01-22 Image search device, imaging device, control method of image search device, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007011952A JP2008178042A (en) 2007-01-22 2007-01-22 Image search device, imaging device, control method of image search device, program, and storage medium

Publications (1)

Publication Number Publication Date
JP2008178042A true JP2008178042A (en) 2008-07-31

Family

ID=39704696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007011952A Withdrawn JP2008178042A (en) 2007-01-22 2007-01-22 Image search device, imaging device, control method of image search device, program, and storage medium

Country Status (1)

Country Link
JP (1) JP2008178042A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012138679A (en) * 2010-12-24 2012-07-19 Nikon Corp Image processing device, image classification program, and image display program
JP2022064128A (en) * 2020-10-13 2022-04-25 キヤノン株式会社 Information processing equipment, estimation method, program, storage medium and physical condition management support system.
JP2025024100A (en) * 2020-06-30 2025-02-19 富士フイルム株式会社 Imaging support device, imaging device, imaging support method, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012138679A (en) * 2010-12-24 2012-07-19 Nikon Corp Image processing device, image classification program, and image display program
JP2025024100A (en) * 2020-06-30 2025-02-19 富士フイルム株式会社 Imaging support device, imaging device, imaging support method, and program
JP2022064128A (en) * 2020-10-13 2022-04-25 キヤノン株式会社 Information processing equipment, estimation method, program, storage medium and physical condition management support system.
JP7577503B2 (en) 2020-10-13 2024-11-05 キヤノン株式会社 Information processing device, estimation method, program, storage medium, and health management support system.

Similar Documents

Publication Publication Date Title
KR100867173B1 (en) Information processing apparatus, information processing method, and storage medium
US7043059B2 (en) Method of selectively storing digital images
KR100996066B1 (en) Facial image registration device, facial image registration method, and recording medium
JP5857122B2 (en) Video summary including features of interest
JP4574249B2 (en) Image processing apparatus and method, program, and imaging apparatus
CN103535023B (en) Include video summaries of specific people
US9020210B2 (en) Image processing system, image processing apparatus, image processing method, and program
US20130236162A1 (en) Video editing apparatus and method for guiding video feature information
KR20140016401A (en) Method and apparatus for capturing images
JP5288961B2 (en) Image processing apparatus and image processing method
KR20070102404A (en) Image display control device, its control method and its control program
JP2012198781A (en) Information processing apparatus, information processing method, and program
JP5106355B2 (en) Facial expression determination device, control method thereof, imaging device, and program
US20050200722A1 (en) Image capturing apparatus, image capturing method, and machine readable medium storing thereon image capturing program
US20190289225A1 (en) System and method for generating group photos
JP4989362B2 (en) IMAGING DEVICE, THROUGH IMAGE DISPLAY METHOD, AND CAPTURED IMAGE RECORDING METHOD
US20080170129A1 (en) Digital photographing apparatus and method for controlling the same
JP2005159781A (en) Image selection processing device, image selection method and program, and recording medium
JP6203188B2 (en) Similar image search device
JP2009223835A (en) Photographing device, image processor, and image processing method and program therefor
US20190320116A1 (en) Image pickup device and method for controlling same
JP2008178042A (en) Image search device, imaging device, control method of image search device, program, and storage medium
JP2005234686A (en) Expression recognition device, expression recognition method and program
JP2008090814A (en) Printing apparatus, image search method, and image search program
US20220327865A1 (en) Electronic device and control method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100406