JP2010250657A - Printing apparatus, image processing apparatus, image processing method and computer program - Google Patents

Printing apparatus, image processing apparatus, image processing method and computer program Download PDF

Info

Publication number
JP2010250657A
JP2010250657A JP2009100733A JP2009100733A JP2010250657A JP 2010250657 A JP2010250657 A JP 2010250657A JP 2009100733 A JP2009100733 A JP 2009100733A JP 2009100733 A JP2009100733 A JP 2009100733A JP 2010250657 A JP2010250657 A JP 2010250657A
Authority
JP
Japan
Prior art keywords
search
image
condition
stage
image processing
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
JP2009100733A
Other languages
Japanese (ja)
Inventor
David Patrick Rohan
パトリック ローハン デイビッド
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 JP2009100733A priority Critical patent/JP2010250657A/en
Priority to US12/762,219 priority patent/US20100268732A1/en
Priority to CN201010164602A priority patent/CN101866348A/en
Publication of JP2010250657A publication Critical patent/JP2010250657A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5838Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve user convenience in image processing that performs an image search. <P>SOLUTION: An image processing apparatus includes: a condition designation window display unit that displays a condition designation window which includes condition designation regions by stages for designating search conditions for features of image contents in a plurality of search stages in series relations with one another, and a plurality of tags that designate display states of the condition designation regions by stages as tags corresponding to the plurality of search stages; a search condition setting unit that sets the search conditions in the plurality of search stages in accordance with the designations through the condition designation window; and an image search unit that sequentially performs image searches for the plurality of search stages by using the set search conditions. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、画像検索を行う画像処理に関する。   The present invention relates to image processing for performing image search.

画像の属性(例えば撮影日時や撮影モード)に関する検索条件や、画像の内容の特徴(例えば所定のテンプレート画像に対する類似度)に関する検索条件を設定し、複数の画像の中から検索条件に適合する画像を検出する画像検索を行う画像処理が知られている(例えば特許文献1参照)。   A search condition related to image attributes (for example, shooting date and time and shooting mode) and a search condition related to image content characteristics (for example, similarity to a predetermined template image) are set, and an image that satisfies the search condition from a plurality of images Image processing for performing image search for detecting the image is known (see, for example, Patent Document 1).

特開2004−272314号公報JP 2004-272314 A

従来の画像検索を行う画像処理では、画像検索に用いられる検索条件を指定する場合等において、ユーザー利便性の点で向上の余地があった。   In the conventional image processing for performing image search, there is room for improvement in terms of user convenience when specifying a search condition used for image search.

本発明は、上記の課題を解決するためになされたものであり、画像検索を行う画像処理において、ユーザー利便性を向上させることを目的とする。   SUMMARY An advantage of some aspects of the invention is to improve user convenience in image processing for performing an image search.

上記課題の少なくとも一部を解決するために、本発明は、以下の形態または適用例として実現することが可能である。   In order to solve at least a part of the above problems, the present invention can be realized as the following forms or application examples.

[適用例1]画像検索を行う画像処理装置であって、
直列関係を有する複数の検索ステージのそれぞれにおける画像内容の特徴に関する検索条件を指定するためのステージ別条件指定領域と、前記複数の検索ステージのそれぞれに対応するタグであって前記ステージ別条件指定領域の表示状態を指定する複数のタグと、を含む条件指定ウィンドウを表示する条件指定ウィンドウ表示部と、
前記条件指定ウィンドウを介した指定に従い、前記複数の検索ステージのそれぞれにおける前記検索条件を設定する検索条件設定部と、
設定された前記検索条件を用いて前記複数の検索ステージの画像検索を順次実行する画像検索部と、を備える、画像処理装置。
Application Example 1 An image processing apparatus that performs an image search,
A stage-specific condition designation area for designating a search condition relating to the characteristics of image contents in each of a plurality of search stages having a serial relationship, and a tag corresponding to each of the plurality of search stages, the stage-specific condition designation area A condition specification window display for displaying a condition specification window including a plurality of tags for specifying the display state of
A search condition setting unit that sets the search condition in each of the plurality of search stages according to the specification through the condition specifying window;
An image search unit that sequentially executes image search of the plurality of search stages using the set search conditions.

この画像処理装置では、条件指定ウィンドウが表示され、条件指定ウィンドウを介した指定に従い複数の検索ステージのそれぞれにおける検索条件が設定され、設定された検索条件を用いた複数の検索ステージの画像検索が順次実行される。ここで、条件指定ウィンドウは、直列関係を有する複数の検索ステージのそれぞれにおける画像内容の特徴に関する検索条件を指定するためのステージ別条件指定領域と、複数の検索ステージのそれぞれに対応するタグであってステージ別条件指定領域の表示状態を指定する複数のタグと、が含まれる。従って、ユーザーは、タグによってステージ別条件指定領域の表示状態を切り替えつつ、複数の検索ステージのそれぞれにおける画像内容の特徴に関する検索条件を指定することができる。そのため、この画像処理装置では、画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, a condition designation window is displayed, search conditions in each of a plurality of search stages are set according to the designation through the condition designation window, and image retrieval of a plurality of search stages using the set search conditions is performed. It is executed sequentially. Here, the condition designation window is a condition designation area for each stage for designating a search condition related to the feature of the image content in each of a plurality of search stages having a serial relationship, and tags corresponding to each of the plurality of search stages. And a plurality of tags for designating the display state of the stage-specific condition designation area. Therefore, the user can specify the search condition regarding the feature of the image content in each of the plurality of search stages while switching the display state of the stage-specific condition specifying area by the tag. Therefore, in this image processing apparatus, user convenience can be improved in image processing for performing image search.

[適用例2]適用例1に記載の画像処理装置であって、
前記ステージ別条件指定領域は、処理速度と処理精度との少なくとも一方が互いに異なる画像検索を実現する複数の前記検索条件の内の1つを、採用する前記検索条件として指定する領域である、画像処理装置。
[Application Example 2] The image processing apparatus according to Application Example 1,
The stage-specific condition designation area is an area for designating one of the plurality of search conditions that realizes an image search in which at least one of processing speed and processing accuracy is different as the search condition to be adopted. Processing equipment.

この画像処理装置では、ユーザーは、条件指定ウィンドウのステージ別条件指定領域を介して、処理速度と処理精度との少なくとも一方が互いに異なる画像検索を実現する複数の検索条件の内の1つを採用する検索条件として指定することができ、所望の処理速度および処理精度での画像検索を実現する検索条件を容易に設定することができる。そのため、この画像処理装置では、画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, the user adopts one of a plurality of search conditions that realize image search in which at least one of processing speed and processing accuracy is different from each other via the stage-specific condition specifying area of the condition specifying window. The search condition can be specified as a search condition to be performed, and a search condition for realizing an image search with a desired processing speed and processing accuracy can be easily set. Therefore, this image processing apparatus can improve user convenience in image processing.

[適用例3]適用例1または適用例2に記載の画像処理装置であって、
前記条件指定ウィンドウ表示部は、前記検索ステージの数を指定するステージ数指定領域を含む前記条件指定ウィンドウを表示し、
前記検索条件設定部は、前記条件指定ウィンドウを介して指定された数の前記検索ステージのそれぞれにおける前記検索条件を設定する、画像処理装置。
[Application Example 3] The image processing apparatus according to Application Example 1 or Application Example 2,
The condition designating window display unit displays the condition designating window including a stage number designating area for designating the number of the search stages,
The image processing apparatus, wherein the search condition setting unit sets the search condition in each of a number of the search stages specified via the condition specifying window.

この画像処理装置では、検索ステージの数を指定するステージ数指定領域を含む条件指定ウィンドウが表示され、条件指定ウィンドウを介して指定された数の検索ステージのそれぞれにおける検索条件が設定されるため、ユーザーは、それぞれ独立して検索条件を設定可能な検索ステージ(検索段階)の数を容易に指定することができる。そのため、この画像処理装置では、画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, a condition designation window including a stage number designation area for designating the number of search stages is displayed, and search conditions for each of the number of search stages designated via the condition designation window are set. The user can easily specify the number of search stages (search stages) in which search conditions can be set independently. Therefore, in this image processing apparatus, user convenience can be improved in image processing for performing image search.

[適用例4]適用例1ないし適用例3のいずれかに記載の画像処理装置であって、さらに、
画像検索の基準としてのクエリー画像を設定するクエリー画像設定部を備え、
前記検索条件設定部は、前記特徴についての前記クエリー画像との類似度に関する前記検索条件を設定する、画像処理装置。
Application Example 4 The image processing apparatus according to any one of Application Examples 1 to 3, further comprising:
A query image setting unit for setting a query image as a reference for image search;
The said search condition setting part is an image processing apparatus which sets the said search condition regarding the similarity with the said query image about the said characteristic.

この画像処理装置では、画像検索の基準としてのクエリー画像が設定され、画像内容の特徴についてのクエリー画像との類似度に関する検索条件が設定され、設定された検索条件を用いた複数の検索ステージの画像検索が順次実行される。そのため、この画像処理装置では、画像内容の特徴についてのクエリー画像との類似度に関する検索条件を用いた画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, a query image as a reference for image search is set, a search condition regarding similarity to the query image with respect to the feature of the image content is set, and a plurality of search stages using the set search condition are set. Image retrieval is performed sequentially. Therefore, in this image processing apparatus, user convenience can be improved in image processing in which an image search is performed using a search condition relating to the similarity to the query image with respect to the feature of the image content.

[適用例5]適用例4に記載の画像処理装置であって、
前記クエリー画像設定部は、画像ファイルの指定と、描画と、色の指定と、のいずれかの方法により特定される画像を、前記クエリー画像として設定する、画像処理装置。
[Application Example 5] The image processing apparatus according to Application Example 4,
The query image setting unit sets an image specified by any one of an image file designation, a drawing, and a color designation as the query image.

この画像処理装置では、画像ファイルの指定と、描画と、色の指定と、のいずれかの方法により特定される画像がクエリー画像として設定されるため、ユーザーは、所望の画像を容易にクエリー画像に設定することができる。そのため、この画像処理装置では、画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, an image specified by any one of image file designation, drawing, and color designation is set as a query image, so that a user can easily select a desired image as a query image. Can be set to Therefore, in this image processing apparatus, user convenience can be improved in image processing for performing image search.

[適用例6]適用例4または適用例5に記載の画像処理装置であって、
前記クエリー画像設定部は、画像検索により検出された画像の1つを新たな前記クエリー画像として設定する、画像処理装置。
Application Example 6 The image processing apparatus according to Application Example 4 or Application Example 5,
The said query image setting part is an image processing apparatus which sets one of the images detected by the image search as a new said query image.

この画像処理装置では、画像検索により検出された画像の1つが新たなクエリー画像として設定されるため、例えば所望する画像により近いと考えられる検出画像を新たなクエリー画像として設定することよりユーザーはより効率的に所望の検索結果に到達することが可能となる。そのため、この画像処理装置では、画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, since one of the images detected by the image search is set as a new query image, for example, the user is more likely to set a detected image that is considered closer to the desired image as a new query image. It becomes possible to reach a desired search result efficiently. Therefore, in this image processing apparatus, user convenience can be improved in image processing for performing image search.

[適用例7]適用例4ないし適用例6のいずれかに記載の画像処理装置であって、
前記検索条件設定部は、画像の領域毎に重み付けされた前記類似度に関する前記検索条件を設定する、画像処理装置。
Application Example 7 The image processing apparatus according to any one of Application Example 4 to Application Example 6,
The said search condition setting part is an image processing apparatus which sets the said search condition regarding the said similarity weighted for every area | region of the image.

この画像処理装置では、画像の領域毎に重み付けされた類似度に関する検索条件を設定することができ、ユーザーは、画像の特定の領域を重視した(あるいは軽視した)画像検索を行うことができ、所望の画像をより容易に効率的に検索することができる。そのため、この画像処理装置では、画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, it is possible to set a search condition related to the similarity weighted for each area of the image, and the user can perform an image search that emphasizes (or neglects) a specific area of the image, A desired image can be searched more easily and efficiently. Therefore, in this image processing apparatus, user convenience can be improved in image processing for performing image search.

[適用例8]適用例4ないし適用例7のいずれかに記載の画像処理装置であって、
前記検索条件設定部は、画像の色空間のチャンネル毎に重み付けされた前記類似度に関する前記検索条件を設定する、画像処理装置。
Application Example 8 The image processing apparatus according to any one of Application Example 4 to Application Example 7,
The image processing apparatus, wherein the search condition setting unit sets the search condition related to the similarity weighted for each channel of an image color space.

この画像処理装置では、画像の色空間のチャンネル毎に重み付けされた類似度に関する検索条件を設定することができ、ユーザーは、画像の特定のチャンネルを重視した(あるいは軽視した)画像検索を行うことができ、所望の画像をより容易に効率的に検索することができる。そのため、この画像処理装置では、画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, it is possible to set a search condition related to the degree of similarity weighted for each channel in the color space of the image, and the user performs an image search that emphasizes (or neglects) a specific channel of the image. The desired image can be searched more easily and efficiently. Therefore, in this image processing apparatus, user convenience can be improved in image processing for performing image search.

[適用例9]適用例1ないし適用例8のいずれかに記載の画像処理装置であって、
前記画像検索部は、前記直列関係における前段の前記検索ステージの画像検索において検出された画像を対象に、後段の前記検索ステージの画像検索を行う、画像処理装置。
[Application Example 9] The image processing apparatus according to any one of Application Example 1 to Application Example 8,
The image search unit is an image processing device that performs an image search of the subsequent search stage for an image detected in the image search of the previous search stage in the serial relationship.

この画像処理装置では、直列関係における前段の検索ステージの画像検索において検出された画像を対象に後段の検索ステージの画像検索が行われるため、前段検索ステージの検索条件を調整することにより後段検索ステージの対象画像数を調整することができるため、画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, since the image search of the subsequent search stage is performed on the image detected in the image search of the previous search stage in the serial relation, the subsequent search stage is adjusted by adjusting the search conditions of the previous search stage. Since the number of target images can be adjusted, user convenience can be improved in image processing for performing image search.

[適用例10]適用例1ないし適用例9のいずれかに記載の画像処理装置であって、
前記検索条件設定部は、前記画像内容の特徴に関する検索条件に加えて、画像の属性に関する検索条件を設定し、
前記画像検索部は、前記画像の属性に関する検索条件と前記画像内容の特徴に関する検索条件とを用いて画像検索を行う、画像処理装置。
Application Example 10 The image processing apparatus according to any one of Application Example 1 to Application Example 9,
The search condition setting unit sets a search condition related to the attribute of the image in addition to the search condition related to the feature of the image content,
The image search unit is an image processing device that performs an image search using a search condition relating to an attribute of the image and a search condition relating to a feature of the image content.

この画像処理装置では、画像内容の特徴に関する検索条件に加えて画像の属性に関する検索条件が設定され、画像の属性に関する検索条件と画像内容の特徴に関する検索条件とを用いた画像検索が行われうため、所望の画像を検出する画像検索をより容易に効率的に実現することができ、画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, in addition to the search condition relating to the feature of the image content, the search condition relating to the attribute of the image is set, and the image search using the search condition relating to the attribute of the image and the search condition relating to the feature of the image content is performed. Therefore, an image search for detecting a desired image can be realized more easily and efficiently, and user convenience can be improved in image processing for performing an image search.

[適用例11]適用例1ないし適用例10のいずれかに記載の画像処理装置であって、
前記条件指定ウィンドウ表示部は、前記タグを介した指定に従い、同時に1つのみの前記検索ステージに対応する前記ステージ別条件指定領域が表示された前記条件指定ウィンドウを表示する、画像処理装置。
[Application Example 11] The image processing apparatus according to any one of Application Example 1 to Application Example 10,
The condition designation window display unit displays the condition designation window in which the stage-specific condition designation areas corresponding to only one search stage are displayed at the same time according to designation via the tag.

この画像処理装置では、条件指定ウィンドウにおいて同時に1つのみの検索ステージに対応するステージ別条件指定領域が表示されるため、ユーザーは、表示されたステージ別条件指定領域において条件指定を行うことにより、容易に確実に1つの検索ステージについての検索条件を指定することができる。そのため、この画像処理装置では、画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, since the condition specifying area for each stage corresponding to only one search stage is displayed at the same time in the condition specifying window, the user can specify the condition in the displayed condition specifying area for each stage, A search condition for one search stage can be easily and reliably specified. Therefore, in this image processing apparatus, user convenience can be improved in image processing for performing image search.

[適用例12]適用例1ないし適用例11のいずれかに記載の画像処理装置であって、
前記特徴は、画像における色の分布を表す特徴と、画像のウェーブレット分解により算出される特徴と、の少なくとも一方である、画像処理装置。
Application Example 12 The image processing apparatus according to any one of Application Example 1 to Application Example 11,
The image processing apparatus, wherein the feature is at least one of a feature representing a color distribution in an image and a feature calculated by wavelet decomposition of the image.

この画像処理装置では、画像内容の特徴として、画像における色の分布を表す特徴と、画像のウェーブレット分解により算出される特徴と、の少なくとも一方に関する検索条件を指定した画像検索を行う画像処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, a user in image processing that performs an image search specifying a search condition for at least one of a feature representing color distribution in an image and a feature calculated by wavelet decomposition of the image as a feature of the image content. Convenience can be improved.

[適用例13]適用例1ないし適用例12のいずれかに記載の画像処理装置であって、さらに、
画像検索により検出された検出画像の中から印刷すべき検出画像を設定する印刷画像設定部と、
印刷すべき検出画像の印刷を行う印刷部と、を備える、画像処理装置。
Application Example 13 The image processing apparatus according to any one of Application Examples 1 to 12, further comprising:
A print image setting unit for setting a detection image to be printed from detection images detected by image search;
An image processing apparatus comprising: a printing unit that prints a detection image to be printed.

この画像処理装置では、画像検索により検出された検出画像の中から印刷すべき検出画像が設定され、印刷すべき検出画像の印刷が行われるため、画像検索により検出された画像の印刷処理においてユーザー利便性を向上させることができる。   In this image processing apparatus, the detection image to be printed is set from the detection images detected by the image search, and the detection image to be printed is printed. Therefore, the user is required to print the image detected by the image search. Convenience can be improved.

[適用例14]適用例13に記載の画像処理装置であって、さらに、
検出画像を一覧表示する検出画像表示エリアと、印刷すべき検出画像を指定するための印刷指定エリアと、を含む検索結果ウィンドウを表示する検索結果ウィンドウ表示部を備え、
前記印刷画像設定部は、前記検索結果ウィンドウにおいて、ユーザーの所定の操作に応じて前記印刷指定エリアに表示された画像に対応する検出画像を印刷すべき検出画像として設定する、画像処理装置。
[Application Example 14] The image processing apparatus according to Application Example 13, further comprising:
A search result window display unit for displaying a search result window including a detection image display area for displaying a list of detection images and a print designation area for designating a detection image to be printed;
The print image setting unit, in the search result window, sets a detection image corresponding to an image displayed in the print designation area as a detection image to be printed in response to a user's predetermined operation.

この画像処理装置では、検出画像を一覧表示する検出画像表示エリアと印刷すべき検出画像を指定するための印刷指定エリアとを含む検索結果ウィンドウが表示され、検索結果ウィンドウにおいて、ユーザーの所定の操作に応じて印刷指定エリアに表示された画像に対応する検出画像が印刷すべき検出画像として設定されるため、ユーザーは印刷すべき検出画像を容易に指定することができる。   In this image processing apparatus, a search result window including a detection image display area for displaying a list of detection images and a print designation area for designating detection images to be printed is displayed. In the search result window, a predetermined operation by a user is displayed. Accordingly, since the detection image corresponding to the image displayed in the print designation area is set as the detection image to be printed, the user can easily designate the detection image to be printed.

なお、本発明は、種々の態様で実現することが可能であり、例えば、画像処理方法および装置、画像検索方法および装置、印刷方法および装置、これらの方法または装置の機能を実現するためのコンピュータープログラム、そのコンピュータープログラムを記録した記録媒体、そのコンピュータープログラムを含み搬送波内に具現化されたデータ信号、等の形態で実現することができる。   It should be noted that the present invention can be realized in various modes. For example, an image processing method and apparatus, an image search method and apparatus, a printing method and apparatus, and a computer for realizing the functions of these methods or apparatuses The present invention can be realized in the form of a program, a recording medium recording the computer program, a data signal including the computer program and embodied in a carrier wave, and the like.

本発明の第1実施例における画像処理装置としてのプリンター100の構成を概略的に示す説明図である。1 is an explanatory diagram schematically showing a configuration of a printer 100 as an image processing apparatus in a first embodiment of the present invention. FIG. 第1実施例における画像検索・印刷処理の流れを示すフローチャートである。6 is a flowchart showing a flow of image search / print processing in the first embodiment. 初期ウィンドウW1の一例を示す説明図である。It is explanatory drawing which shows an example of the initial window W1. 初期ウィンドウW1の一例を示す説明図である。It is explanatory drawing which shows an example of the initial window W1. 検索オプションウィンドウW2の一例を示す説明図である。It is explanatory drawing which shows an example of search option window W2. 検索オプションウィンドウW2の一例を示す説明図である。It is explanatory drawing which shows an example of search option window W2. メタデータ利用検索の検索条件の選択肢の一例を示す説明図である。It is explanatory drawing which shows an example of the search condition choice of metadata utilization search. 画像内容利用検索の検索条件の選択肢の一例を示す説明図である。It is explanatory drawing which shows an example of the search condition choice of an image content use search. 検索オプションウィンドウW2の一例を示す説明図である。It is explanatory drawing which shows an example of search option window W2. 検索実行処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a search execution process. 検索結果ウィンドウW3の一例を示す説明図である。It is explanatory drawing which shows an example of search result window W3. 検索オプションウィンドウW2の一例を示す説明図である。It is explanatory drawing which shows an example of search option window W2. 第2実施例における画像処理装置としてのプリンター100aの構成を概略的に示す説明図である。It is explanatory drawing which shows roughly the structure of the printer 100a as an image processing apparatus in 2nd Example. 第2実施例における画像検索・印刷処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the image search and printing process in 2nd Example. 検索条件設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a search condition setting process. 選択肢テーブルCTの一例を示す説明図である。It is explanatory drawing which shows an example of choice table CT. 検索条件設定処理において検索ステージおよび検索条件が設定される様子を具体的に示す説明図である。It is explanatory drawing which shows a mode that a search stage and a search condition are set in a search condition setting process.

次に、本発明の実施の形態を実施例に基づいて以下の順序で説明する。
A.第1実施例:
A−1.画像処理装置の構成:
A−2.画像検索・印刷処理:
A−3.特徴量距離算出方法:
A−3−1.カラーヒストグラムに関して:
A−3−2.Haarウェーブレットに関して:
B.第2実施例:
C.変形例:
Next, embodiments of the present invention will be described in the following order based on examples.
A. First embodiment:
A-1. Configuration of image processing device:
A-2. Image search / print processing:
A-3. Feature distance calculation method:
A-3-1. Regarding the color histogram:
A-3-2. Regarding Haar wavelets:
B. Second embodiment:
C. Variation:

A.第1実施例:
A−1.画像処理装置の構成:
図1は、本発明の第1実施例における画像処理装置としてのプリンター100の構成を概略的に示す説明図である。本実施例のプリンター100は、メモリーカードMC等から取得した画像データに基づき画像を印刷する、いわゆるダイレクトプリントに対応したインクジェット式カラープリンターである。プリンター100は、プリンター100の各部を制御するCPU110と、ROMやRAMによって構成された内部メモリー120と、ボタンやタッチパネルにより構成された操作部140と、液晶ディスプレイにより構成された表示部150と、プリンターエンジン160と、カードインターフェース(カードI/F)170と、を備えている。プリンター100は、さらに、他の機器(例えばデジタルスチルカメラやパーソナルコンピューター)とのデータ通信を行うためのインターフェースを備えているとしてもよい。プリンター100の各構成要素は、バスを介して互いに接続されている。
A. First embodiment:
A-1. Configuration of image processing device:
FIG. 1 is an explanatory diagram schematically showing the configuration of a printer 100 as an image processing apparatus according to the first embodiment of the present invention. The printer 100 of this embodiment is an ink jet color printer that supports so-called direct printing, in which an image is printed based on image data acquired from a memory card MC or the like. The printer 100 includes a CPU 110 that controls each unit of the printer 100, an internal memory 120 configured by a ROM and a RAM, an operation unit 140 configured by buttons and a touch panel, a display unit 150 configured by a liquid crystal display, and a printer. An engine 160 and a card interface (card I / F) 170 are provided. The printer 100 may further include an interface for performing data communication with other devices (for example, a digital still camera or a personal computer). Each component of the printer 100 is connected to each other via a bus.

プリンターエンジン160は、印刷データに基づき印刷を行う印刷機構である。カードインターフェース170は、カードスロット172に挿入されたメモリーカードMCとの間でデータのやり取りを行うためのインターフェースである。なお、本実施例では、メモリーカードMCに画像データを含む画像ファイルが格納されている。   The printer engine 160 is a printing mechanism that performs printing based on print data. The card interface 170 is an interface for exchanging data with the memory card MC inserted into the card slot 172. In this embodiment, an image file including image data is stored in the memory card MC.

内部メモリー120には、画像処理部200と、表示処理部310と、印刷処理部320と、が格納されている。画像処理部200は、所定のオペレーティングシステムの下で、画像検索・印刷処理を実行するためのコンピュータープログラムである。本実施例の画像検索・印刷処理は、検索条件に適合する画像を検出する画像検索を行うと共に、検出された画像の印刷を行う処理である。画像検索・印刷処理については、後に詳述する。   The internal memory 120 stores an image processing unit 200, a display processing unit 310, and a print processing unit 320. The image processing unit 200 is a computer program for executing image search / print processing under a predetermined operating system. The image search / printing process according to the present embodiment is a process of performing an image search for detecting an image that matches a search condition and printing the detected image. The image search / print process will be described in detail later.

画像処理部200は、プログラムモジュールとして、画像検索部210を含んでいる。画像検索部210は、ウィンドウ表示制御部211と、クエリー画像設定部212と、検索条件設定部213と、類似度算出部216と、印刷画像設定部217と、を含んでいる。これら各部の機能については、後述の画像検索・印刷処理の説明において詳述する。   The image processing unit 200 includes an image search unit 210 as a program module. The image search unit 210 includes a window display control unit 211, a query image setting unit 212, a search condition setting unit 213, a similarity calculation unit 216, and a print image setting unit 217. The functions of these units will be described in detail in the description of image search / print processing described later.

表示処理部310は、表示部150を制御して、表示部150上に処理メニューやメッセージを含むウィンドウ画面、画像等を表示させるディスプレイドライバである。印刷処理部320は、画像データから印刷データを生成し、プリンターエンジン160を制御して、印刷データに基づく画像の印刷を実行するためのコンピュータープログラムである。CPU110は、内部メモリー120から、これらのプログラム(画像処理部200、表示処理部310、印刷処理部320)を読み出して実行することにより、これら各部の機能を実現する。   The display processing unit 310 is a display driver that controls the display unit 150 to display a window screen including a processing menu and a message, an image, and the like on the display unit 150. The print processing unit 320 is a computer program for generating print data from image data, controlling the printer engine 160, and printing an image based on the print data. The CPU 110 reads out and executes these programs (the image processing unit 200, the display processing unit 310, and the print processing unit 320) from the internal memory 120, thereby realizing the functions of these units.

A−2.画像検索・印刷処理:
図2は、第1実施例における画像検索・印刷処理の流れを示すフローチャートである。本実施例の画像検索・印刷処理は、複数のターゲット画像の中から検索条件に適合する画像を検出する画像検索を行い、検出された画像の印刷を行う処理である。本実施例のプリンター100は、画像の属性に基づく画像検索に加えて、画像内容の特徴に基づく画像検索を実行可能である。画像内容の特徴に基づく画像検索は、画像検索の対象となるターゲット画像の中から、画像内容の所定の特徴に関して、画像検索における基準としてのクエリー画像との類似度(類似の程度)が大きい画像を検出することにより行われる。より具体的には、画像内容の所定の特徴に関するクエリー画像とターゲット画像との類似度を表す特徴量距離が算出され、特徴量距離が最大特徴量距離以下のターゲット画像が検出される。ターゲット画像は任意に設定可能であるが、本実施例では、メモリーカードMCに格納された画像(画像ファイルに含まれる画像データ)がターゲット画像として設定されるものとする。
A-2. Image search / print processing:
FIG. 2 is a flowchart showing the flow of image search / print processing in the first embodiment. The image search / printing process of the present embodiment is a process of performing an image search for detecting an image that meets a search condition from a plurality of target images, and printing the detected image. The printer 100 according to the present exemplary embodiment can execute an image search based on the feature of the image content in addition to the image search based on the image attribute. The image search based on the feature of the image content is an image having a high degree of similarity (similarity) with the query image as a reference in the image search with respect to a predetermined feature of the image content from the target images to be searched. This is done by detecting. More specifically, a feature amount distance representing the similarity between the query image related to a predetermined feature of the image content and the target image is calculated, and a target image whose feature amount distance is equal to or less than the maximum feature amount distance is detected. Although the target image can be arbitrarily set, in this embodiment, it is assumed that an image stored in the memory card MC (image data included in the image file) is set as the target image.

操作部140(図1)を介したユーザーからの指示に応じて画像検索・印刷処理(図2)が開始されると、ウィンドウ表示制御部211は、表示処理部310を制御して、表示部150に初期ウィンドウW1を表示させる(ステップS110)。図3は、初期ウィンドウW1の一例を示す説明図である。初期ウィンドウW1は、画像検索におけるクエリー画像や、画像検索タイプを指定するためのユーザーインターフェースを含むウィンドウである。   When image search / print processing (FIG. 2) is started in response to an instruction from the user via the operation unit 140 (FIG. 1), the window display control unit 211 controls the display processing unit 310 to display the display unit. The initial window W1 is displayed at 150 (step S110). FIG. 3 is an explanatory diagram showing an example of the initial window W1. The initial window W1 is a window including a query image for image search and a user interface for designating an image search type.

本実施例では、3つの異なる方法でクエリー画像を指定することが可能となっている。すなわち、クエリー画像を指定する方法として、画像ファイルの指定による方法(T1)と、描画による方法(T2)と、色選択による方法(T3)と、が用意されている。図3に示すように、初期ウィンドウW1には、3つのクエリー画像指定方法のそれぞれに対応するユーザーインターフェースが含まれている。   In this embodiment, it is possible to specify a query image by three different methods. That is, as a method for specifying a query image, a method (T1) by designating an image file, a method (T2) by drawing, and a method (T3) by color selection are prepared. As shown in FIG. 3, the initial window W1 includes user interfaces corresponding to the three query image designating methods.

すなわち、初期ウィンドウW1(図3)には、画像ファイルの指定による方法(T1)用のインターフェースとして、画像ファイルの位置を特定するパスを入力するための入力ボックスBo11と、画像ファイルを階層選択するためのウィンドウを表示させるブラウズボタンBu13と、が含まれている。ユーザーは、入力ボックスBo11に画像ファイルのパスを直接入力したり、ブラウズボタンBu13を押下することにより表示されるウィンドウにおいて画像ファイルを選択したりすることにより、クエリー画像として設定すべき画像を指定することができる。   That is, in the initial window W1 (FIG. 3), as an interface for the method (T1) by designating an image file, an input box Bo11 for inputting a path for specifying the position of the image file and a hierarchical selection of the image file are selected. And a browse button Bu13 for displaying a window for the purpose. The user designates an image to be set as a query image by directly inputting the path of the image file in the input box Bo11 or by selecting an image file in a window displayed by pressing the browse button Bu13. be able to.

また、初期ウィンドウW1(図3)には、描画による方法(T2)用のインターフェースとして、複数の色の異なるカラーボタンを含むカラーパレットボタンBu23と、複数の径の異なる筆ボタンを含む筆径指定ボタンBu24と、が含まれている。ユーザーは、カラーパレットボタンBu23や筆径指定ボタンBu24を利用して描画エリアAr21に画像を描画することにより、クエリー画像として設定すべき画像を指定することができる。なお、初期ウィンドウW1には、画像を消去するためのクリアーボタンBu25も含まれている。また、初期ウィンドウW1における描画処理は、例えばJavaスクリプト(登録商標)描画ツールを利用して実現される。   In addition, in the initial window W1 (FIG. 3), as an interface for the drawing method (T2), a color palette button Bu23 including a plurality of color buttons of different colors and a stroke diameter specification including a plurality of brush buttons of different diameters. And a button Bu24. The user can designate an image to be set as a query image by drawing an image in the drawing area Ar21 using the color palette button Bu23 or the stroke diameter designation button Bu24. The initial window W1 also includes a clear button Bu25 for erasing the image. The drawing process in the initial window W1 is realized by using, for example, a Java script (registered trademark) drawing tool.

また、初期ウィンドウW1(図3)には、色選択による方法(T3)用のインターフェースとして、所定の表色系(例えばHSV表色系やRGB表色系)における各チャンネルの値を入力する入力ボックスBo31と、色のグラデーションにおける1点を指定することにより色を選択するための色指定エリアAr31と、特定の色軸(例えば色相の軸や彩度の軸)に沿った位置を指定するためのスライダーSl31と、が含まれている。ユーザーは、入力ボックスBo31に所定の表色系における各チャンネルの値を入力したり、色指定エリアAr31における1点を指定したり、スライダーSl31における軸に沿った位置を指定したりすることにより、特定の1色を選択することができ、これによりクエリー画像として設定すべき画像(選択された1色により構成されるベタ画像)を指定することができる。なお、ユーザーにより選択された色は、色表示エリアAr32に表示される。また、入力ボックスBo31において、複数の表色系における各チャンネルの値は互いに対応付けられており、例えば、HSV表色系におけるあるチャンネルの値を変更すると、RGB表色系やCMY表色系における各チャンネルの値が自動的に変更される。なお、入力ボックスBo31におけるラジオボタンは、スライダーSl31における軸を指定するためのものであり、例えば、HSV表色系におけるSチャネルの位置にあるラジオボタンを選択すると、スライダーSl31は彩度の軸に対応するものとなる。また、初期ウィンドウW1における色選択による方法(T3)用の複数のインターフェース間も互いに対応付けられており、例えば、色指定エリアAr31における1点を指定すると、指定された点の色を表す各表色系における値が入力ボックスBo31に表示される。また、コード表示ボックスBo32には、指定された色を表すコードが表示される。初期ウィンドウW1における色選択処理は、例えばJavaスクリプトカラーパレットを利用して実現される。   The initial window W1 (FIG. 3) is an input for inputting the value of each channel in a predetermined color system (for example, HSV color system or RGB color system) as an interface for the color selection method (T3). Box Bo31, color designation area Ar31 for selecting a color by designating one point in the color gradation, and a position along a specific color axis (for example, a hue axis or a saturation axis) The slider Sl31 is included. The user inputs a value of each channel in a predetermined color system in the input box Bo31, designates one point in the color designation area Ar31, or designates a position along the axis in the slider Sl31. One specific color can be selected, whereby an image to be set as a query image (a solid image composed of the selected one color) can be designated. The color selected by the user is displayed in the color display area Ar32. In the input box Bo31, the values of the channels in the plurality of color systems are associated with each other. For example, when the value of a channel in the HSV color system is changed, the values in the RGB color system and the CMY color system are used. The value of each channel is automatically changed. The radio button in the input box Bo31 is for designating the axis in the slider Sl31. For example, when the radio button at the position of the S channel in the HSV color system is selected, the slider Sl31 is set to the saturation axis. It will be corresponding. Further, a plurality of interfaces for the method (T3) by color selection in the initial window W1 are also associated with each other. For example, when one point in the color designation area Ar31 is designated, each table representing the color of the designated point A value in the color system is displayed in the input box Bo31. In the code display box Bo32, a code representing the designated color is displayed. The color selection process in the initial window W1 is realized using, for example, a Java script color palette.

また、本実施例では、画像検索タイプとして、通常のサーチとクイックサーチとの2種類が用意されている。通常のサーチは、検索条件を詳細に設定して画像検索を実行する検索タイプであり、クイックサーチは、検索条件の詳細設定を行わず、デフォルト設定された検索条件を用いて画像検索を実行する検索タイプである。初期ウィンドウW1には、クエリー画像を設定する上記3つの方法(T1,T2,T3)のそれぞれについて、通常のサーチを開始するためのボタン(Bu11,Bu21,Bu31)と、クイックサーチを開始するためのボタン(Bu12,Bu22,Bu32)と、が含まれている。   In this embodiment, two types of image search types, a normal search and a quick search, are prepared. Normal search is a search type in which search conditions are set in detail and image search is executed. Quick search does not perform detailed settings of search conditions, and performs image search using the default search conditions. Search type. In the initial window W1, for each of the above three methods (T1, T2, T3) for setting a query image, a button (Bu11, Bu21, Bu31) for starting a normal search and a quick search are started. Button (Bu12, Bu22, Bu32).

初期ウィンドウW1(図3)において、画像検索を開始するためのボタンの1つがユーザーにより選択されると、クエリー画像設定部212(図1)がクエリー画像を設定し(図2のステップS120)、画像検索部210が検索タイプを設定する(ステップS130)。すなわち、ユーザーにより選択されたボタンに対応する検索タイプ(通常のサーチまたはクイックサーチ)が、使用する検索タイプとして設定されると共に、選択されたボタンに対応するクエリー画像指定方法により指定された画像が、クエリー画像として設定される。図4には、描画によりクエリー画像を指定する場合における初期ウィンドウW1の一例を示している。例えば図4に示すように、ユーザーにより描画エリアAr21に画像が描画され、描画によるクエリー画像指定方法に対応する通常のサーチを開始するためのボタンBu21が選択されると、描画により生成された画像がクエリー画像として設定され、通常のサーチが検索タイプとして設定される。   When one of the buttons for starting the image search is selected by the user in the initial window W1 (FIG. 3), the query image setting unit 212 (FIG. 1) sets the query image (step S120 in FIG. 2), The image search unit 210 sets a search type (step S130). That is, the search type (normal search or quick search) corresponding to the button selected by the user is set as the search type to be used, and the image specified by the query image specifying method corresponding to the selected button is displayed. Are set as query images. FIG. 4 shows an example of the initial window W1 when a query image is designated by drawing. For example, as shown in FIG. 4, when the user draws an image in the drawing area Ar21 and selects the button Bu21 for starting a normal search corresponding to the query image designation method by drawing, the image generated by the drawing Is set as the query image, and normal search is set as the search type.

初期ウィンドウW1(図3)において通常のサーチを開始するためのボタン(Bu11,Bu21,Bu31)が選択され、通常のサーチが検索タイプとして設定されると(図2のステップS140:No)、ウィンドウ表示制御部211(図1)は、表示処理部310を制御して、表示部150に検索オプションウィンドウW2を表示させる(ステップS150)。図5は、検索オプションウィンドウW2の一例を示す説明図である。検索オプションウィンドウW2は、画像検索における検索条件を詳細に指定するためのユーザーインターフェースを含むウィンドウである。なお、検索オプションウィンドウW2は、本発明における条件指定ウィンドウに相当し、ウィンドウ表示制御部211と表示処理部310と表示部150とは、本発明における条件指定ウィンドウ表示部として機能する。   When the button (Bu11, Bu21, Bu31) for starting a normal search is selected in the initial window W1 (FIG. 3) and the normal search is set as a search type (step S140: No in FIG. 2), the window The display control unit 211 (FIG. 1) controls the display processing unit 310 to display the search option window W2 on the display unit 150 (step S150). FIG. 5 is an explanatory diagram showing an example of the search option window W2. The search option window W2 is a window including a user interface for specifying search conditions in image search in detail. The search option window W2 corresponds to a condition designation window in the present invention, and the window display control unit 211, the display processing unit 310, and the display unit 150 function as a condition designation window display unit in the present invention.

図5に示すように、検索オプションウィンドウW2には、クエリー画像を表示するクエリー画像表示エリアAr41と、クエリー画像の属性(ファイルネームやファイルサイズ)を表示する属性表示エリアAr42と、が含まれている。また、上述したように、本実施例のプリンター100は、画像の属性を表すメタデータに基づく画像検索(以下、「メタデータ利用検索」とも呼ぶ)と、画像内容の特徴に基づく画像検索(以下、「画像内容利用検索」とも呼ぶ)と、を実行可能である。そのため、検索オプションウィンドウW2は、メタデータ利用検索の検索条件を指定するためのメタデータ条件指定エリアAr43と、画像内容利用検索の検索条件を指定するための内容条件指定エリアAr45と、を含んでいる。   As shown in FIG. 5, the search option window W2 includes a query image display area Ar41 for displaying a query image, and an attribute display area Ar42 for displaying attributes (file name and file size) of the query image. Yes. Further, as described above, the printer 100 according to the present exemplary embodiment can perform an image search based on metadata representing image attributes (hereinafter also referred to as “metadata use search”) and an image search based on image content characteristics (hereinafter referred to as “metadata use search”). , Also called “image content use search”). Therefore, the search option window W2 includes a metadata condition designation area Ar43 for designating search conditions for metadata usage search, and a content condition designation area Ar45 for designating search conditions for image content usage search. Yes.

検索オプションウィンドウW2(図5)において、メタデータ条件指定エリアAr43付近に配置されたプラスボタンBu45は、メタデータ利用検索の検索条件を追加するためのボタンである。プラスボタンBu45が選択されると、図6に示すように、メタデータ条件指定エリアAr43に、メタデータ利用検索の1つの検索条件を指定するためのボックスの組が追加表示される。また、マイナスボタンBu46は、メタデータ利用検索の1つの検索条件を削除するためのボタンである。   In the search option window W2 (FIG. 5), a plus button Bu45 arranged near the metadata condition specifying area Ar43 is a button for adding a search condition for metadata use search. When the plus button Bu45 is selected, as shown in FIG. 6, a set of boxes for specifying one search condition for metadata use search is additionally displayed in the metadata condition specification area Ar43. The minus button Bu46 is a button for deleting one search condition for the metadata use search.

図6に示すように、メタデータ利用検索の1つの検索条件を指定するためのボックスの組は、メタデータのタイプを指定するためのボックスBo51と、メタデータの項目を指定するためのボックスBo52と、検索条件における不等号等を指定するためのボックスBo53と、検索条件における値を指定するためのボックスBo54と、により構成されている。ボックスBo51,52,53における指定は、プルダウンメニューの中からの選択により行われる。図7は、メタデータ利用検索の検索条件の選択肢の一例を示す説明図である。本実施例では、図7に示すように、メタデータのタイプの選択肢(ボックスBo51における選択肢)として、Exif情報と一般情報との2つが設定されている。また、メタデータの項目の選択肢(ボックスBo52における選択肢)として、Exif情報に対応するものとしては、カメラメーカーやカメラモデル、撮影日時等が設定されており、一般情報に対応するものとしては、ファイルサイズや画像のサイズ(幅、高さ)、検出された顔画像の数等が設定されている。ユーザーはボックスBo51,52,53において所望の選択肢を選択すると共に、ボックスBo54において値を入力することにより、例えば「ファイルサイズが1,000kBより小さい」といった検索条件を指定することができる。   As shown in FIG. 6, a set of boxes for specifying one search condition for metadata use search includes a box Bo51 for specifying a metadata type and a box Bo52 for specifying a metadata item. And a box Bo53 for designating an inequality sign in the search condition and a box Bo54 for designating a value in the search condition. The designation in the boxes Bo51, 52, 53 is performed by selection from the pull-down menu. FIG. 7 is an explanatory diagram showing an example of search condition options for the metadata usage search. In the present embodiment, as shown in FIG. 7, two types of information, ie, Exif information and general information, are set as metadata type options (options in the box Bo51). In addition, as options corresponding to Exif information, camera manufacturer, camera model, shooting date and time, etc. are set as metadata item options (options in the box Bo52). A size, an image size (width, height), the number of detected face images, and the like are set. The user can specify a search condition such as “file size is smaller than 1,000 kB” by selecting a desired option in the boxes Bo51, 52 and 53 and inputting a value in the box Bo54.

なお、メタデータ条件指定エリアAr43においてメタデータ利用検索の検索条件が複数指定された場合には、各検索条件の関係が「and」であるのか「or」であるのかを指定するボックス(非図示)が表示され、各検索条件相互の関係が指定可能となる。また、メタデータ条件指定エリアAr43において検索条件が1つも指定されないと、メタデータ利用検索は行われないこととなる。   When a plurality of metadata use search conditions are specified in the metadata condition specification area Ar43, a box for specifying whether the relationship between the search conditions is “and” or “or” (not shown). ) Is displayed, and the relationship between the search conditions can be specified. Further, if no search condition is specified in the metadata condition specifying area Ar43, the metadata use search is not performed.

本実施例のプリンター100は、画像内容利用検索において、直列関係を有する複数の検索ステージ(検索段階)を設定することができる。画像内容利用検索において複数の検索ステージが設定されると、直列関係における前段の検索ステージにおいて検索条件に適合するとして検出された画像が、後段の検索ステージの対象画像となる。   The printer 100 according to the present exemplary embodiment can set a plurality of search stages (search stages) having a serial relationship in an image content use search. When a plurality of search stages are set in the image content use search, an image detected as satisfying the search condition in the previous search stage in the serial relationship becomes the target image in the subsequent search stage.

検索オプションウィンドウW2(図5)において、内容条件指定エリアAr45付近に配置されたプラスボタンBu43は、画像内容利用検索の検索ステージを追加するためのボタンである。プラスボタンBu43が選択されると、1つの検索ステージが追加され、内容条件指定エリアAr45に、1つの検索ステージにおける検索条件を規定する検索ステージ規定エリアAr46が追加される。また、マイナスボタンBu44は、1つの検索ステージを削除するためのボタンである。各検索ステージには、検索ステージ規定エリアAr46の表示状態を指定するためのタグTa41が対応付けられており、検索ステージが複数設定された場合には、タグTa41の選択に従い、1つの検索ステージに対応する検索ステージ規定エリアAr46が表示されると共に、他の検索ステージに対応する検索ステージ規定エリアAr46は非表示の状態となる。なお、検索オプションウィンドウW2において、プラスボタンBu43およびマイナスボタンBu44は、本発明におけるステージ数指定領域に相当し、検索ステージ規定エリアAr46は、本発明におけるステージ別条件指定領域に相当する。内容条件指定エリアAr45において検索ステージが1つも設定されないと、画像内容利用検索は行われないこととなる。   In the search option window W2 (FIG. 5), a plus button Bu43 arranged near the content condition designation area Ar45 is a button for adding a search stage for image content use search. When the plus button Bu43 is selected, one search stage is added, and a search stage defining area Ar46 that defines search conditions in one search stage is added to the content condition specifying area Ar45. The minus button Bu44 is a button for deleting one search stage. Each search stage is associated with a tag Ta41 for designating the display state of the search stage definition area Ar46. When a plurality of search stages are set, one search stage is selected according to the selection of the tag Ta41. The corresponding search stage definition area Ar46 is displayed, and the search stage definition area Ar46 corresponding to another search stage is not displayed. In the search option window W2, the plus button Bu43 and the minus button Bu44 correspond to the stage number designation area in the present invention, and the search stage definition area Ar46 corresponds to the stage-specific condition designation area in the present invention. If no search stage is set in the content condition designation area Ar45, the image content use search is not performed.

検索オプションウィンドウW2(図5)における検索ステージ規定エリアAr46は、対応する検索ステージにおける検索条件を指定する領域である。本実施例では、検索条件を用いて画像検索を行う場合に処理の速度と精度との少なくとも一方が互いに異なるような複数の検索条件の選択肢の中からの選択により検索条件を指定することが可能となっている。検索ステージ規定エリアAr46には、検索条件を指定する条件指定エリアAr47と、画像を複数の領域に分割した領域毎の重みを指定する重み指定エリアAr48と、が含まれている。図5に示すように、条件指定エリアAr47は、シグネチャーメソッドを指定するためのボックスBo41と、メトリックタイプを指定するためのボックスBo42と、カラースペースを指定するためのボックスBo43と、色空間の各カラーチャンネルの重みを指定するためのボックスBo44と、最大特徴量距離を指定するためのボックスBo45と、最大検出数を指定するためのボックスBo46と、を含んでいる。   The search stage definition area Ar46 in the search option window W2 (FIG. 5) is an area for designating search conditions in the corresponding search stage. In the present embodiment, when performing an image search using a search condition, it is possible to specify the search condition by selecting from a plurality of search condition options in which at least one of processing speed and accuracy is different from each other. It has become. The search stage defining area Ar46 includes a condition specifying area Ar47 for specifying a search condition and a weight specifying area Ar48 for specifying a weight for each area obtained by dividing an image into a plurality of areas. As shown in FIG. 5, the condition specifying area Ar47 includes a box Bo41 for specifying a signature method, a box Bo42 for specifying a metric type, a box Bo43 for specifying a color space, and each color space. A box Bo44 for specifying the weight of the color channel, a box Bo45 for specifying the maximum feature amount distance, and a box Bo46 for specifying the maximum number of detections are included.

条件指定エリアAr47(図5)のボックスBo41,42,43における指定は、プルダウンメニューの中からの選択により行われる。図8は、画像内容利用検索の検索条件の選択肢の一例を示す説明図である。ボックスBo43により指定されるカラースペースは、検索条件の設定に用いられる色空間であり、本実施例では、図8に示すように、カラースペースの選択肢として、RGBとLABとYUVとHSVとが設定されている。   The designation in the boxes Bo41, 42, 43 in the condition designation area Ar47 (FIG. 5) is performed by selection from the pull-down menu. FIG. 8 is an explanatory diagram illustrating an example of search condition options for the image content use search. The color space specified by the box Bo43 is a color space used for setting search conditions. In this embodiment, RGB, LAB, YUV, and HSV are set as color space options as shown in FIG. Has been.

条件指定エリアAr47(図5)のボックスBo41により指定されるシグネチャーメソッドは、画像内容利用検索に用いられる画像内容の特徴である。本実施例では、図8に示すように、シグネチャーメソッドの選択肢として、カラーヒストグラムとHaar(ハール)ウェーブレットとの2つが設定されている。また、ボックスBo42により指定されるメトリックタイプは、画像内容の所定の特徴に関するクエリー画像とターゲット画像との類似度を算出する方法(類似度を表す指標値および当該指標値を算出する方法)である。本実施例では、図8に示すように、カラーヒストグラムに対応するメトリックタイプの選択肢として、スタンダードヒストグラムと、相関ヒストグラムと、カラーモーメントと、コンバインドフィーチャーと、が設定されており、Haarウェーブレットに対応するメトリックタイプの選択肢として、高速低精度のメトリックM1と、中速中精度のメトリックM2と、低速高精度のメトリックM3と、リアルメトリックとしてのメトリックM4と、が設定されている。   The signature method designated by the box Bo41 in the condition designation area Ar47 (FIG. 5) is a feature of the image content used for the image content use search. In this embodiment, as shown in FIG. 8, two options of a color histogram and a Haar wavelet are set as signature method options. The metric type specified by the box Bo42 is a method for calculating the similarity between the query image and the target image related to a predetermined feature of the image content (an index value indicating the similarity and a method for calculating the index value). . In this embodiment, as shown in FIG. 8, standard histograms, correlation histograms, color moments, and combined features are set as metric type options corresponding to color histograms, which correspond to Haar wavelets. As a metric type option, a high-speed and low-precision metric M1, a medium-speed and medium-precision metric M2, a low-speed and high-precision metric M3, and a metric M4 as a real metric are set.

シグネチャーメソッドとしてのカラーヒストグラム(図8参照)は、所定の色空間で表現された画像の色の分布を表す特徴である。本実施例では、カラーヒストグラムとして、色空間を規定するチャンネルのそれぞれを量子化して設定した複数のカラービンのそれぞれにおける画素度数分布が用いられる。例えばRGB色空間が用いられる場合には、RGBの各チャンネルが4等分に量子化され(すなわち、例えば各チャンネルの値の範囲が0から255である場合には、0〜63、64〜127、128〜191、192〜255の4つのレンジに量子化され)て設定される64個のカラービンのそれぞれにおける画素度数分布が用いられる。シグネチャーメソッドとしてカラーヒストグラムを採用した場合には、Haarウェーブレットを採用した場合と比較して、演算量が少ないために画像検索の速度が向上する一方、カラーヒストグラムは空間情報を有さないために画像検索の精度が低下する場合が多い。例えば、人間による解釈上は類似度の低い画像であっても、画像全体としての色の分布の特徴が類似している画像が検出されてしまう可能性がある。なお、カラービンを設定する際の量子化のレベルは各チャンネルで同じである必要はない。例えば、HSV色空間が用いられる場合には、HチャンネルがSチャンネルおよびVチャンネルより細かく量子化されるものとしてもよい。   A color histogram (see FIG. 8) as a signature method is a feature representing the color distribution of an image expressed in a predetermined color space. In this embodiment, the pixel frequency distribution in each of a plurality of color bins set by quantizing each of the channels defining the color space is used as the color histogram. For example, when an RGB color space is used, each RGB channel is quantized into four equal parts (that is, when the value range of each channel is 0 to 255, for example, 0 to 63, 64 to 127). , 128 to 191, and 192 to 255, which are quantized into four ranges), the pixel frequency distribution in each of the 64 color bins set is used. When the color histogram is used as the signature method, the image search speed is improved because the amount of calculation is small compared to the case where the Haar wavelet is used, while the color histogram has no spatial information. Often the accuracy of the search is reduced. For example, even if the image has a low similarity in terms of human interpretation, there is a possibility that an image having similar color distribution characteristics as the entire image may be detected. Note that the level of quantization when setting color bins need not be the same for each channel. For example, when the HSV color space is used, the H channel may be quantized more finely than the S channel and the V channel.

カラーヒストグラムに対応するメトリックタイプの選択肢としてのスタンダードヒストグラム(図8参照)は、複数のカラービンのそれぞれにおける画素度数そのものを利用して、カラーヒストグラムに関するクエリー画像とターゲット画像との類似度を算出する方法である。また、相関ヒストグラムは、カラービンにおける画素度数の累積値を利用して、クエリー画像とターゲット画像との類似度を算出する方法である。例えばN個のカラービンのそれぞれにおける画素度数をHi(i=1,2,3,・・・,N)とすると、画素度数の累積値Cj(j=1,2,3,・・・,N)は、以下の式(1)により算出される。メトリックタイプとして相関ヒストグラムを採用した場合には、スタンダードヒストグラムと比較して、画像検索の速度は若干低下するが、量子化誤差を原因とするミスマッチの発生を抑制することができるため、画像検索の精度は向上する。   The standard histogram (see FIG. 8) as a metric type option corresponding to the color histogram uses the pixel frequency itself in each of the plurality of color bins to calculate the similarity between the query image related to the color histogram and the target image. Is the method. The correlation histogram is a method for calculating the similarity between the query image and the target image using the cumulative value of the pixel frequency in the color bin. For example, assuming that the pixel frequency in each of the N color bins is Hi (i = 1, 2, 3,..., N), the cumulative value Cj (j = 1, 2, 3,. N) is calculated by the following equation (1). When the correlation histogram is adopted as the metric type, the image search speed is slightly lower than that of the standard histogram, but the occurrence of mismatch due to quantization error can be suppressed. Accuracy is improved.

Figure 2010250657
Figure 2010250657

また、カラーヒストグラムに対応するメトリックタイプの選択肢としてのカラーモーメント(図8参照)は、カラービンにおける画素度数の平均μ、分散σ2、歪度γ3の3つのカラーモーメントを利用して、カラーヒストグラムに関するクエリー画像とターゲット画像との類似度を算出する方法である。また、コンバインドフィーチャーは、3つのカラーモーメント(平均μ、分散σ2、歪度γ3)を結合した指標Fを利用して、クエリー画像とターゲット画像との類似度を算出する方法である。平均μと分散σ2と歪度γ3と結合した指標Fとは、それぞれ以下の式(2)〜(5)により算出される。なお、式(5)におけるWFは実験により設定される重み係数である。メトリックタイプとしてカラーモーメントやコンバインドフィーチャーを採用した場合には、スタンダードヒストグラムと比較して、画像検索の速度は高速となるが、画像検索の精度は低下する。 Further, the color moment (see FIG. 8) as a metric type option corresponding to the color histogram uses three color moments of an average μ of pixel frequencies, a variance σ 2 , and a skewness γ 3 in a color bin. This is a method of calculating the similarity between the query image related to the histogram and the target image. The combined feature is a method of calculating the similarity between the query image and the target image using an index F obtained by combining three color moments (average μ, variance σ 2 , and skewness γ 3 ). The index F combined with the average μ, the variance σ 2, and the skewness γ 3 is calculated by the following equations (2) to (5), respectively. Incidentally, a weighting coefficient is W F in equation (5) is set by experiment. When a color moment or combined feature is adopted as the metric type, the image search speed is faster than the standard histogram, but the image search accuracy is lowered.

Figure 2010250657
Figure 2010250657
Figure 2010250657
Figure 2010250657
Figure 2010250657
Figure 2010250657
Figure 2010250657
Figure 2010250657

シグネチャーメソッドとしてのHaarウェーブレットは、Haarウェーブレットをベースとして用いた画像のウェーブレット分解により算出されるウェーブレット係数である。シグネチャーメソッドとしてHaarウェーブレットを採用した場合には、カラーヒストグラムを採用した場合と比較して、演算量が多いために画像検索の速度が低下する一方、Haarウェーブレットは画像の空間情報を有するために画像検索の精度が向上する場合が多い。   The Haar wavelet as a signature method is a wavelet coefficient calculated by wavelet decomposition of an image using the Haar wavelet as a base. When the Haar wavelet is used as the signature method, the image search speed is reduced due to a large amount of calculation compared to the case where the color histogram is adopted, whereas the Haar wavelet has the spatial information of the image, so In many cases, the accuracy of search is improved.

Haarウェーブレットに対応するメトリックタイプの選択肢としての高速低精度のメトリックM1と中速中精度のメトリックM2と低速高精度のメトリックM3とは、すべて、画像のHaarウェーブレット分解により算出されるHaarウェーブレット係数を利用して、クエリー画像とターゲット画像との類似度を算出する方法である。高速低精度のメトリックM1と中速中精度のメトリックM2と低速高精度のメトリックM3とは、Haarウェーブレット分解を行う際の画像の解像度が互いに異なっている。すなわち、高速低精度のメトリックM1は、比較的低解像度の画像を対象としたHaarウェーブレット分解により算出されるHaarウェーブレット係数を利用する方法であり、中速中精度のメトリックM2は、中程度の解像度の画像を対象としたHaarウェーブレット分解により算出されるHaarウェーブレット係数を利用する方法であり、低速高精度のメトリックM3は、比較的高解像度の画像を対象としたHaarウェーブレット分解により算出されるHaarウェーブレット係数を利用する方法である。Haarウェーブレット分解の対象となる画像の解像度が高解像度になるほど、画像検索の速度は低速となるが、画像検索の精度は向上する。   The high-speed low-accuracy metric M1, the medium-speed medium-accuracy metric M2, and the low-speed high-accuracy metric M3, which are metric type options corresponding to the Haar wavelet, all have Haar wavelet coefficients calculated by Haar wavelet decomposition of the image. This is a method of calculating the similarity between the query image and the target image. The high-speed low-accuracy metric M1, the medium-speed medium-accuracy metric M2, and the low-speed high-accuracy metric M3 have different image resolutions when performing Haar wavelet decomposition. That is, the high-speed and low-precision metric M1 is a method that uses the Haar wavelet coefficient calculated by Haar wavelet decomposition for a relatively low-resolution image, and the medium-speed and medium-precision metric M2 has a medium resolution. This is a method of using Haar wavelet coefficients calculated by Haar wavelet decomposition for an image of the same, and the low-speed and high-precision metric M3 is a Haar wavelet calculated by Haar wavelet decomposition for a relatively high-resolution image. This is a method using a coefficient. The higher the resolution of the image to be subjected to Haar wavelet decomposition, the slower the image search speed, but the more accurate the image search.

また、メトリックタイプの選択肢としてのリアルメトリックM4も、画像のHaarウェーブレット分解により算出されるHaarウェーブレット係数を利用して、クエリー画像とターゲット画像との類似度を算出する方法である。リアルメトリックM4は、クエリー画像とターゲット画像との類似度(特徴量距離)を算出する際に対称性のある方法を用いる点が、メトリックM1、メトリックM2、メトリックM3とは異なっている。   The real metric M4 as a metric type option is also a method of calculating the similarity between the query image and the target image by using the Haar wavelet coefficient calculated by Haar wavelet decomposition of the image. The real metric M4 is different from the metric M1, the metric M2, and the metric M3 in that a symmetric method is used when calculating the similarity (feature amount distance) between the query image and the target image.

なお、画像の所定の特徴に関するクエリー画像とターゲット画像との類似度(特徴量距離)を算出する具体的方法については、後述の「A−3.特徴量距離算出方法:」において説明する。   A specific method for calculating the similarity (feature amount distance) between the query image and the target image relating to a predetermined feature of the image will be described later in “A-3. Feature amount distance calculation method”.

なお、シグネチャーメソッドとしてHaarウェーブレットが選択された場合には、図9に示すように、検索オプションウィンドウW2の条件指定エリアAr47にウェーブレット係数数Cuを指定するボックスBo49が表示される。ウェーブレット係数数Cuは、Haarウェーブレットに関するクエリー画像とターゲット画像との類似度(特徴量距離)を算出する際に用いられる(1チャンネルあたりの)ウェーブレット係数の数である。ウェーブレット係数数Cuは、画像の圧縮率の小ささを表す指標値とも言える。すなわち、Haarウェーブレット係数全体の個数をCaとすると、最も値の小さい(Ca−Cu)個のウェーブレット係数は切り捨てられる(すなわち値がゼロにされる)。ウェーブレット係数数Cuが小さいほど、類似度の算出処理は高速低精度となり、ウェーブレット係数数が大きいほど、類似度の算出処理は低速高精度となる。   When Haar wavelet is selected as the signature method, a box Bo49 for designating the number of wavelet coefficients Cu is displayed in the condition designating area Ar47 of the search option window W2, as shown in FIG. The wavelet coefficient number Cu is the number of wavelet coefficients (per channel) used when calculating the similarity (feature amount distance) between the query image and the target image related to the Haar wavelet. It can be said that the wavelet coefficient number Cu is an index value representing a small image compression rate. That is, assuming that the total number of Haar wavelet coefficients is Ca, the (Ca-Cu) wavelet coefficients having the smallest value are discarded (that is, the value is made zero). The smaller the wavelet coefficient number Cu, the higher the speed and accuracy of the similarity calculation process, and the higher the wavelet coefficient number, the lower the speed and precision of the similarity calculation process.

条件指定エリアAr47(図5)におけるボックスBo44により指定される色空間の各カラーチャンネルの重みは、画像内容の特徴に関するクエリー画像とターゲット画像との類似度の算出に反映される各カラーチャンネルの重みである。条件指定エリアAr47におけるボックスBo45により指定される最大特徴量距離は、画像検索におけるクエリー画像とターゲット画像との類似度(特徴量距離)の閾値である。すなわち、当該検索ステージでは、クエリー画像とターゲット画像との類似度(特徴量距離)が最大特徴量距離以下であるターゲット画像が検出される。条件指定エリアAr47におけるボックスBo46により指定される最大検出数は、当該検索ステージにおいて検索条件に適合するとして検出されるターゲット画像の許容最大数である。   The weight of each color channel in the color space designated by the box Bo44 in the condition designation area Ar47 (FIG. 5) is the weight of each color channel reflected in the calculation of the similarity between the query image and the target image regarding the feature of the image content. It is. The maximum feature amount distance designated by the box Bo45 in the condition designation area Ar47 is a threshold value of the similarity (feature amount distance) between the query image and the target image in the image search. That is, at the search stage, a target image whose similarity (feature amount distance) between the query image and the target image is equal to or less than the maximum feature amount distance is detected. The maximum number of detections designated by the box Bo46 in the condition designation area Ar47 is the allowable maximum number of target images that are detected as meeting the search condition in the search stage.

検索オプションウィンドウW2(図5)における検索ステージ規定エリアAr46の重み指定エリアAr48は、格子状に複数(本実施例では16個)の領域に分割されており、各領域には重み指定ボックスBo47とチェックボックスBo48とが配置されている。重み指定エリアAr48には、クエリー画像が表示され、これにより、クエリー画像が複数の領域に分割される。重み指定ボックスBo47は、クエリー画像とターゲット画像との類似度(特徴量距離)の算出における画像の各領域の重みを指定するためのボックスである。また、ある分割領域のチェックボックスBo48のチェックを外すことにより、クエリー画像とターゲット画像との類似度の算出において、当該領域をまったく考慮しないことを指定することができる。   The weight specification area Ar48 of the search stage definition area Ar46 in the search option window W2 (FIG. 5) is divided into a plurality of (16 in this embodiment) areas in a grid pattern, and each area has a weight specification box Bo47. A check box Bo48 is arranged. A query image is displayed in the weight designation area Ar48, and thereby the query image is divided into a plurality of regions. The weight designation box Bo47 is a box for designating the weight of each area of the image in calculating the similarity (feature amount distance) between the query image and the target image. In addition, by deselecting the check box Bo48 of a certain divided area, it is possible to specify that the area is not considered at all in calculating the similarity between the query image and the target image.

ユーザーは、検索オプションウィンドウW2(図5)の検索ステージ規定エリアAr46の条件指定エリアAr47および重み指定エリアAr48において、シグネチャーメソッドやメトリックタイプを選択したり、カラースペースを選択したり、各チャンネルの重みを指定したり、画像の各領域の重みを指定したりすることにより、各検索ステージにおけるクエリー画像とターゲット画像との類似度(特徴量距離)の算出方法を個別に指定することができる。また、ユーザーは、条件指定エリアAr47において最大特徴量距離を指定することにより、各検索ステージの閾値、すなわち、各検索ステージにおいてクエリー画像とどの程度類似したターゲット画像を検出するかを指定することができる。また、ユーザーは、条件指定エリアAr47において最大検出数を指定することにより、各検索ステージにおいて検出される画像の上限を指定することができる。   The user selects a signature method, a metric type, a color space, and a weight for each channel in the condition specification area Ar47 and the weight specification area Ar48 of the search stage definition area Ar46 in the search option window W2 (FIG. 5). Or the weight of each region of the image can be specified, and the method of calculating the similarity (feature amount distance) between the query image and the target image at each search stage can be individually specified. In addition, the user can designate the maximum feature amount distance in the condition designation area Ar47 to designate the threshold value of each search stage, that is, how much a target image similar to the query image is detected in each search stage. it can. In addition, the user can designate the upper limit of images detected in each search stage by designating the maximum number of detections in the condition designation area Ar47.

ユーザーにより、検索オプションウィンドウW2(図5)のメタデータ条件指定エリアAr43において検索条件が指定されると、検索条件設定部213(図1)は、メタデータ利用検索における検索条件を設定する(図2のステップS160)。また、ユーザーにより、検索オプションウィンドウW2の内容条件指定エリアAr45において検索ステージ数が指定されると、検索条件設定部213は、画像内容利用検索の検索ステージ数を設定する(ステップS170)。また、ユーザーにより、検索ステージ規定エリアAr46において検索条件が指定されると、検索条件設定部213は、画像内容利用検索の各検索ステージにおける検索条件を設定する(ステップS180)。なお、検索条件設定部213は、検索ステージ規定エリアAr46における指定に基づき、各検索ステージの実行順序も設定する。本実施例では、各検索ステージにステージ番号(図5における「ステージ1」等)が付されており、ステージ番号の小さい検索ステージから順に実行される。   When the user specifies a search condition in the metadata condition specification area Ar43 of the search option window W2 (FIG. 5), the search condition setting unit 213 (FIG. 1) sets the search condition in the metadata use search (FIG. 1). 2 step S160). When the number of search stages is specified in the content condition specification area Ar45 of the search option window W2 by the user, the search condition setting unit 213 sets the number of search stages for image content use search (step S170). When the search condition is specified in the search stage definition area Ar46 by the user, the search condition setting unit 213 sets the search condition in each search stage of the image content use search (step S180). The search condition setting unit 213 also sets the execution order of each search stage based on the designation in the search stage definition area Ar46. In this embodiment, a stage number (such as “stage 1” in FIG. 5) is assigned to each search stage, and the search stages are executed in ascending order.

検索オプションウィンドウW2(図5)は、検索実行ボタンBu41と戻るボタンBu42とを含んでいる。検索オプションウィンドウW2において戻るボタンBu42が選択されると、表示部150(図1)に再度初期ウィンドウW1(図3)が表示される。検索オプションウィンドウW2において検索実行ボタンBu41が選択されると、検索実行処理(図2のステップS190)が開始される。   The search option window W2 (FIG. 5) includes a search execution button Bu41 and a return button Bu42. When the return button Bu42 is selected in the search option window W2, the initial window W1 (FIG. 3) is displayed again on the display unit 150 (FIG. 1). When the search execution button Bu41 is selected in the search option window W2, search execution processing (step S190 in FIG. 2) is started.

また、初期ウィンドウW1(図3)において、ユーザーにより、クイックサーチを開始するためのボタン(Bu12,Bu22,Bu32)が選択されると(図2のステップS140:Yes)、検索オプションウィンドウW2を利用した検索条件の詳細設定(ステップS150〜S180)がスキップされ、予めデフォルト設定された検索条件を用いた検索実行処理(ステップS190)が開始される。   When the user selects a button (Bu12, Bu22, Bu32) for starting a quick search in the initial window W1 (FIG. 3) (step S140: Yes in FIG. 2), the search option window W2 is used. The detailed search condition setting (steps S150 to S180) is skipped, and the search execution process (step S190) using the default search condition is started.

図10は、検索実行処理の流れを示すフローチャートである。ステップS410では、画像検索部210(図1)が、メタデータに基づく条件判定を行う。具体的には、画像検索部210は、ターゲット画像の画像ファイルを解析してメタデータを取得し、取得されたメタデータにより特定されるターゲット画像の属性が、設定されたメタデータに関する検索条件(例えば「ファイルサイズが1,000kBより小さい」といった検索条件、図6参照)に適合するか否かを判定する。画像検索部210は、検索条件に適合しないと判定されたターゲット画像を、以降の検索処理対象から除外する。なお、検索オプションウィンドウW2(図5)のメタデータ条件指定エリアAr43において1つの検索条件も指定されなかった場合には、ステップS410の処理はスキップされる。   FIG. 10 is a flowchart showing the flow of search execution processing. In step S410, the image search unit 210 (FIG. 1) performs condition determination based on the metadata. Specifically, the image search unit 210 analyzes the image file of the target image to acquire metadata, and the attribute of the target image specified by the acquired metadata is a search condition regarding the set metadata ( For example, it is determined whether or not a search condition such as “file size is smaller than 1,000 kB” (see FIG. 6) is satisfied. The image search unit 210 excludes the target image determined not to meet the search condition from the subsequent search processing targets. If one search condition is not specified in the metadata condition specification area Ar43 of the search option window W2 (FIG. 5), the process of step S410 is skipped.

ステップS420(図10)では、画像検索部210(図1)が、画像内容利用検索の検索ステージの1つを選択する。上述したように、本実施例では、ステージ番号の小さい検索ステージから順に選択される。例えば、図5に示すように、ステージ番号1の検索ステージ「ステージ1」とステージ番号2の検索ステージ「ステージ2」との2つ検索ステージが設定されている場合には、まず検索ステージ「ステージ1」が選択される。   In step S420 (FIG. 10), the image search unit 210 (FIG. 1) selects one of the search stages for the image content use search. As described above, in this embodiment, the search stages are selected in order from the search stage having the smallest stage number. For example, as shown in FIG. 5, when two search stages of a search stage “stage 1” of stage number 1 and a search stage “stage 2” of stage number 2 are set, first, the search stage “stage” 1 "is selected.

ステップS430(図10)では、画像検索部210(図1)が、特徴量距離に基づく条件判定を行う。具体的には、画像検索部210の類似度算出部216が、選択された検索ステージについて設定された検索条件に従い、画像内容の特徴に関するクエリー画像とターゲット画像との類似度(特徴量距離)を算出し、顔特徴位置特定部210が算出された特徴量距離が最大特徴量距離以下であるか否かを判定する。画像検索部210は、算出された特徴量距離が最大特徴量距離より大きいと判定されたターゲット画像を、以降の検索処理対象から除外する。   In step S430 (FIG. 10), the image search unit 210 (FIG. 1) performs condition determination based on the feature amount distance. Specifically, the similarity calculation unit 216 of the image search unit 210 calculates the similarity (feature amount distance) between the query image and the target image relating to the feature of the image content according to the search condition set for the selected search stage. The face feature position specifying unit 210 calculates whether or not the calculated feature amount distance is equal to or less than the maximum feature amount distance. The image search unit 210 excludes the target image determined that the calculated feature amount distance is larger than the maximum feature amount distance from subsequent search processing targets.

例えば、選択された検索ステージについて設定されている検索条件において、図5に示すように、シグネチャーメソッドが「カラーヒストグラム」であり、メトリックタイプが「スタンダードヒストグラム」であり、カラースペースが「RGB」である場合には、クエリー画像とターゲット画像とのそれぞれについてRGB色空間における各カラービンの画素度数Hiが特徴量として算出され、両者の特徴量(画素度数Hi)の類似度を表す特徴量距離が算出される。そして、算出された特徴量距離が最大特徴量距離(例えば100)以下であるか否かが判定される。また、シグネチャーメソッドが「Haarウェーブレット」であり、メトリックタイプが「メトリックM1」であり、カラースペースが「RGB」である場合には、クエリー画像とターゲット画像とのそれぞれについてRGB色空間におけるHaarウェーブレット係数が算出され、Haarウェーブレット係数に基づき両者の類似度を表す特徴量距離が算出される。なお、条件指定エリアAr47のボックスBo44においてカラーチャンネルの重みが設定されている場合や、重み指定エリアAr48において分割領域の重みが設定されている場合には、重みを考慮して特徴量距離が算出される。また、クエリー画像の特徴量の算出は1度だけ行われればよい。また、ターゲット画像やクエリー画像の特徴量の算出は、検索実行処理前に予め行われるとしてもよい。他のシグネチャーメソッドやメトリックタイプについても、同様である。特徴量距離の算出方法については、後に詳述する。 For example, in the search conditions set for the selected search stage, as shown in FIG. 5, the signature method is “color histogram”, the metric type is “standard histogram”, and the color space is “RGB”. In some cases, the pixel frequency H i of each color bin in the RGB color space is calculated as a feature value for each of the query image and the target image, and the feature value represents the similarity between the feature values (pixel frequency H i ) of both. A distance is calculated. Then, it is determined whether or not the calculated feature amount distance is equal to or less than a maximum feature amount distance (for example, 100). When the signature method is “Haar wavelet”, the metric type is “metric M1”, and the color space is “RGB”, the Haar wavelet coefficient in the RGB color space for each of the query image and the target image. Is calculated, and a feature distance indicating the similarity between the two is calculated based on the Haar wavelet coefficient. When the weight of the color channel is set in the box Bo44 of the condition specifying area Ar47 or when the weight of the divided area is set in the weight specifying area Ar48, the feature amount distance is calculated in consideration of the weight. Is done. Further, the feature amount of the query image needs to be calculated only once. In addition, the feature amount of the target image or query image may be calculated in advance before the search execution process. The same applies to other signature methods and metric types. A method for calculating the feature distance will be described in detail later.

ステップS440(図10)では、画像検索部210(図1)が、この時点で除外されていないターゲット画像の数が、設定された最大検出数(図5のボックスBo46参照)以下であるか否かを判定する。除外されていないターゲット画像の数が最大検出数より大きい場合には(ステップS440:No)、ターゲット画像の数が最大検出数以下となるように、最大検出数を超える数のターゲット画像を特徴量距離が大きいものから順に選択して除外する(ステップS450)。一方、除外されていないターゲット画像の数が最大検出数以下である場合には(ステップS440:Yes)、ステップS450の処理はスキップされる。   In step S440 (FIG. 10), the image search unit 210 (FIG. 1) determines whether or not the number of target images not excluded at this time is equal to or smaller than the set maximum number of detections (see box Bo46 in FIG. 5). Determine whether. When the number of target images that are not excluded is larger than the maximum number of detections (step S440: No), the number of target images that exceed the maximum number of detections is determined so that the number of target images is equal to or less than the maximum number of detections. The items with the largest distance are selected and excluded in order (step S450). On the other hand, when the number of target images that are not excluded is equal to or smaller than the maximum number of detections (step S440: Yes), the process of step S450 is skipped.

ステップS460(図10)では、画像検索部210(図1)が、すべての検索ステージが選択されたか否かを判定する。まだ未選択の検索ステージがある場合には(ステップS460:No)、ステージ番号の最も小さい未選択の検索ステージが選択され(ステップS420)、選択された検索ステージについて設定されている検索条件を用いた画像内容利用検索が実行される(ステップS430〜S450)。なお、本実施例では、2番目以降の検索ステージにおける条件判定においては、当該検索ステージにおいて算出された特徴量距離のみが考慮されるものとしている。ただし、2番目以降の検索ステージにおける条件判定において、当該検索ステージにおいて算出された特徴量距離と、実行済みの検索ステージにおいて算出された特徴量距離と、の合計距離が算出され、合計距離が閾値としての最大特徴量合計距離以下であるか否かの判定が行われるものとしてもよい。ステップS460において検索ステージがすべて選択されたと判定されると(ステップS460:Yes)、検索実行処理は完了する。このとき、除外されていないターゲット画像が、画像検索における検出画像Diとなる。   In step S460 (FIG. 10), the image search unit 210 (FIG. 1) determines whether all search stages have been selected. If there is still an unselected search stage (step S460: No), the unselected search stage having the smallest stage number is selected (step S420), and the search condition set for the selected search stage is used. The used image content use search is executed (steps S430 to S450). In this embodiment, in the condition determination in the second and subsequent search stages, only the feature amount distance calculated in the search stage is considered. However, in the condition determination in the second and subsequent search stages, the total distance between the feature amount distance calculated in the search stage and the feature amount distance calculated in the executed search stage is calculated, and the total distance is a threshold value. It may be determined whether or not the maximum feature amount total distance is less than or equal to. If it is determined in step S460 that all the search stages have been selected (step S460: Yes), the search execution process is completed. At this time, the target image that is not excluded becomes the detected image Di in the image search.

検索実行処理(図2のステップS190)が完了すると、ウィンドウ表示制御部211(図1)は、表示処理部310を制御して、表示部150に検索結果ウィンドウW3を表示させる(ステップS200)。図11は、検索結果ウィンドウW3の一例を示す説明図である。検索結果ウィンドウW3は、検索実行処理において検出されたターゲット画像(検出画像Di)を一覧表示するためのウィンドウである。すなわち、図11に示すように、検索結果ウィンドウW3には、クエリー画像表示エリアAr61に加えて、検出画像表示エリアAr62が含まれている。検出画像表示エリアAr62には、検出画像Diがクエリー画像との総合的な類似度を表すランク順(スコアの小さい順)に並べて表示される。各検出画像Diのスコアは、特徴量距離に基づき算出される。本実施例では、画像内容利用検索の最終検索ステージにおいて算出された特徴量距離がスコアとされる。これは、一般に、最終検索ステージに対しては精度の最も高いシグネチャーメソッドやメトリックタイプが設定されることが多いからである。なお、スコアは、画像内容利用検索の各検索ステージにおいて算出された特徴量距離の合計や平均であるとしてもよいし、各検索ステージにおいて算出された特徴量距離の重み付け合計や重み付け平均であるとしてもよい。   When the search execution process (step S190 in FIG. 2) is completed, the window display control unit 211 (FIG. 1) controls the display processing unit 310 to display the search result window W3 on the display unit 150 (step S200). FIG. 11 is an explanatory diagram showing an example of the search result window W3. The search result window W3 is a window for displaying a list of target images (detected images Di) detected in the search execution process. That is, as shown in FIG. 11, the search result window W3 includes a detection image display area Ar62 in addition to the query image display area Ar61. In the detected image display area Ar62, the detected images Di are displayed side by side in a rank order (in ascending order of score) indicating the overall similarity to the query image. The score of each detected image Di is calculated based on the feature amount distance. In the present embodiment, the feature amount distance calculated in the final search stage of the image content use search is used as the score. This is because generally the most accurate signature method and metric type are often set for the final search stage. The score may be the sum or average of feature amount distances calculated in each search stage of image content use search, or may be the weighted sum or weighted average of feature amount distances calculated in each search stage. Also good.

検索結果ウィンドウW3(図11)には、条件変更ボタンBu61が含まれている。ユーザーにより条件変更ボタンBu61が選択されると(図2のステップS210:Yes)、検索オプションウィンドウW2(図5)が再度表示され(ステップS150)、検索条件の再設定や検索の再実行(ステップS160〜S200)が可能となる。   The search result window W3 (FIG. 11) includes a condition change button Bu61. When the condition change button Bu61 is selected by the user (step S210: Yes in FIG. 2), the search option window W2 (FIG. 5) is displayed again (step S150), and the search condition is reset and the search is re-executed (step S160 to S200) becomes possible.

検索結果ウィンドウW3(図11)の検出画像表示エリアAr62には、検出画像Diのそれぞれに対応したクエリー設定ボタンBu62が含まれている。クエリー設定ボタンBu62は、検出画像Diを新たなクエリー画像として設定することを指示するためのボタンである。検索結果ウィンドウW3において、ユーザーによりクエリー設定ボタンBu62が選択されると(図2のステップS220:Yes)、選択されたクエリー設定ボタンBu62に対応する検出画像Diが新たなクエリー画像とするクエリー画像の再設定(ステップS230)が実行され、検索オプションウィンドウW2が再度表示される(ステップS150)。図12には、検索結果ウィンドウW3(図11)において、検出画像Di(14)に対応するクエリー設定ボタンBu62が選択された場合に、検出画像Di(14)が新たなクエリー画像として設定された検索オプションウィンドウW2を示している。ユーザーは、検出画像Diを新たなクエリー画像とする画像検索を検索条件はそのままで実行したり、検索条件を変更して実行したりすることができる。   The detected image display area Ar62 of the search result window W3 (FIG. 11) includes query setting buttons Bu62 corresponding to the detected images Di. The query setting button Bu62 is a button for instructing to set the detected image Di as a new query image. When the query setting button Bu62 is selected by the user in the search result window W3 (step S220 in FIG. 2: Yes), the detected image Di corresponding to the selected query setting button Bu62 is a new query image. The resetting (step S230) is executed, and the search option window W2 is displayed again (step S150). In FIG. 12, when the query setting button Bu62 corresponding to the detected image Di (14) is selected in the search result window W3 (FIG. 11), the detected image Di (14) is set as a new query image. A search option window W2 is shown. The user can execute an image search using the detected image Di as a new query image without changing the search condition, or change the search condition.

また、検索結果ウィンドウW3(図11)には、印刷指定エリアAr63が含まれている。ユーザーは、検索結果ウィンドウW3において、例えば検出画像Diのアイコンを印刷指定エリアAr63にドラッグアンドドロップして、印刷指定エリアAr63に検出画像DiのアイコンICを表示させることにより、印刷すべき検出画像Diを指定することができる(図2のステップS240)。図11の例では、2つの検出画像Diが印刷すべき画像に指定されている。印刷指定エリアAr63には、印刷実行ボタンBu64と印刷指定解除ボタンBu65とが含まれている。ユーザーは、印刷指定エリアAr63に表示された画像のアイコンICを選択すると共に印刷指定解除ボタンBu65を選択することにより(または画像のアイコンICを印刷指定解除ボタンBu65上にドラッグアンドドロップすることにより)、当該画像の印刷指定を解除することができる。また、ユーザーは、印刷実行ボタンBu64を選択することにより、印刷指定エリアAr63に表示されたアイコンICに対応する検出画像Diの印刷実行開始を指示することができる。印刷実行開始が指示されると、印刷処理部320(図1)は、指定された検出画像Diの画像データに基づき印刷データを生成し、プリンターエンジン160を制御して、検出画像Diの印刷を実行する(図2のステップS250)。   The search result window W3 (FIG. 11) includes a print designation area Ar63. In the search result window W3, for example, the user drags and drops the icon of the detection image Di to the print designation area Ar63, and displays the icon IC of the detection image Di in the print designation area Ar63, thereby detecting the detection image Di to be printed. Can be designated (step S240 in FIG. 2). In the example of FIG. 11, two detection images Di are designated as images to be printed. The print designation area Ar63 includes a print execution button Bu64 and a print designation release button Bu65. The user selects the icon IC of the image displayed in the print designation area Ar63 and selects the print designation release button Bu65 (or drags and drops the image icon IC onto the print designation release button Bu65). The print designation of the image can be canceled. In addition, the user can instruct the start of print execution of the detected image Di corresponding to the icon IC displayed in the print designation area Ar63 by selecting the print execution button Bu64. When an instruction to start printing is given, the print processing unit 320 (FIG. 1) generates print data based on the image data of the designated detection image Di, and controls the printer engine 160 to print the detection image Di. This is executed (step S250 in FIG. 2).

以上説明したように、本実施例のプリンター100による画像検索・印刷処理では、ユーザーは検索オプションウィンドウW2(図5)を介して画像検索の検索条件を詳細に指定することができる。すなわち、検索オプションウィンドウW2は、直列関係を有する複数の検索ステージのそれぞれにおける画像内容の特徴に関する検索条件を指定するための検索ステージ規定エリアAr46と、検索ステージ規定エリアAr46の表示状態を指定する各検索ステージに対応するタグTa41と、が含まれており、ユーザーは、タグTa41を介して検索ステージ規定エリアAr46の表示状態を切り替えつつ、各検索ステージの検索条件を容易に指定することができる。検索オプションウィンドウW2を介して検索条件が指定されると、検索オプションウィンドウW2を介した指定に従い複数の検索ステージのそれぞれにおける検索条件が設定され、設定された検索条件が用いられて複数の検索ステージの画像検索が順次実行される。このため、本実施例のプリンター100による画像検索・印刷処理では、画像検索を行う画像処理においてユーザー利便性を向上させることができる。   As described above, in the image search / print processing by the printer 100 of this embodiment, the user can specify the search conditions for the image search in detail via the search option window W2 (FIG. 5). That is, the search option window W2 specifies a search stage definition area Ar46 for specifying a search condition relating to the feature of the image content in each of a plurality of search stages having a serial relationship, and each of the display states of the search stage definition area Ar46 The tag Ta41 corresponding to the search stage is included, and the user can easily specify the search condition of each search stage while switching the display state of the search stage defining area Ar46 via the tag Ta41. When a search condition is specified through the search option window W2, search conditions in each of a plurality of search stages are set according to the specification through the search option window W2, and a plurality of search stages are used using the set search conditions. The image search is sequentially executed. For this reason, in the image search / print processing by the printer 100 of the present embodiment, user convenience can be improved in image processing for performing image search.

また、本実施例のプリンター100による画像検索・印刷処理では、検索オプションウィンドウW2の検索ステージ規定エリアAr46において、画像検索処理の速度と精度との少なくとも一方が互いに異なるような複数の検索条件(シグネチャーメソッドやメトリックタイプ、ウェーブレット係数数等)の選択肢の中から選択することにより検索条件を指定することができるため、所望の処理精度および処理速度での画像内容利用検索を実現でき、画像検索におけるユーザー利便性を向上させることができる。例えば、1つ目の検索ステージについては比較的高速低精度の検索処理が実現されるシグネチャーメソッド(例えばカラーヒストグラム)を利用した検索条件を設定すると共に、2つ目の検索ステージについては比較的低速高精度の検索処理が実現されるシグネチャーメソッド(例えばHaarウェーブレット)を利用した検索条件を設定することにより、1つ目の検索ステージで大量のターゲット画像に対する高速な条件判定を行うと共に、高精度な条件判定を行う2つ目の検索ステージの対象となるターゲット画像の数を抑制することができ、処理精度と処理速度とのバランスの良い画像内容利用検索を実現することができる。同様に、例えば、1つ目の検索ステージについては比較的高速低精度の検索処理が実現されるメトリックタイプ(例えばメトリックM1)を利用した検索条件を設定すると共に、2つ目の検索ステージについては比較的低速高精度の検索処理が実現されるメトリックタイプ(例えばメトリックM3)を利用した検索条件を設定することによっても、処理精度と処理速度とのバランスの良い画像内容利用検索を実現することができる。これらの場合において、1つ目の検索ステージの最大特徴量距離(すなわち条件判定の閾値)を調整することにより、2つ目の検索ステージの対象となるターゲット画像の数を調整することができ、画像内容利用検索における処理精度と処理速度とのバランスを調整することができる。また、各シグネチャーメソッドや各メトリックタイプは固有の検出特性を有するため、互いに異なるシグネチャーメソッドやメトリックタイプを用いる複数の検索ステージを用いて画像内容利用検索を行うことにより、検索ステージ間で検出特性の補完がなされ、人間による解釈上は類似度の低い画像が検出されてしまう可能性を低減することができる。また、本実施例のプリンター100による画像検索・印刷処理では、メタデータ利用検索と画像内容利用検索とを組み合わせることができるため、画像検索におけるユーザー利便性をさらに向上させることができる。   In the image search / print processing by the printer 100 of this embodiment, a plurality of search conditions (signatures) in which at least one of the speed and accuracy of the image search processing is different from each other in the search stage defining area Ar46 of the search option window W2. The search conditions can be specified by selecting from the choices of method, metric type, number of wavelet coefficients, etc., so the image content use search can be realized with the desired processing accuracy and processing speed. Convenience can be improved. For example, a search condition using a signature method (for example, a color histogram) that realizes a relatively high-speed and low-accuracy search process is set for the first search stage, and relatively slow for the second search stage. By setting a search condition using a signature method (for example, Haar wavelet) that realizes a high-precision search process, high-speed condition determination is performed for a large number of target images in the first search stage, and a high-precision The number of target images that are targets of the second search stage for performing the condition determination can be suppressed, and an image content use search with a good balance between processing accuracy and processing speed can be realized. Similarly, for example, for the first search stage, a search condition using a metric type (for example, metric M1) that realizes relatively high-speed and low-accuracy search processing is set, and for the second search stage, By setting a search condition using a metric type (for example, metric M3) that realizes a relatively low-speed and high-precision search process, it is possible to realize an image content use search with a good balance between the process accuracy and the process speed. it can. In these cases, by adjusting the maximum feature amount distance (that is, the threshold for condition determination) of the first search stage, the number of target images that are targets of the second search stage can be adjusted, It is possible to adjust the balance between the processing accuracy and the processing speed in the image content use search. In addition, each signature method and each metric type has a unique detection characteristic, so by performing a search using image content using multiple search stages that use different signature methods and metric types, the detection characteristic can be changed between the search stages. Complementation is performed, and the possibility that an image having a low similarity in human interpretation will be detected can be reduced. Further, in the image search / print processing by the printer 100 of the present embodiment, since the metadata use search and the image content use search can be combined, the user convenience in the image search can be further improved.

また、本実施例のプリンター100による画像検索・印刷処理では、検索オプションウィンドウW2が検索ステージ数を増減するためのインターフェース(プラスボタンBu43およびマイナスボタンBu44)を含むため、ユーザーは容易に検索ステージの数を指定することができ、画像内容利用検索におけるユーザー利便性を向上させることができる。   In the image search / print processing by the printer 100 according to the present embodiment, the search option window W2 includes an interface (plus button Bu43 and minus button Bu44) for increasing or decreasing the number of search stages, so that the user can easily search for the search stage. The number can be specified, and the user convenience in the image content use search can be improved.

また、本実施例のプリンター100による画像検索・印刷処理では、画像内容利用検索の基準としてのクエリー画像が設定され、画像内容の特徴についてのクエリー画像との類似度に関する検索条件が設定されるため、所定の画像内容の特徴に関してクエリー画像と類似する画像を検出する画像内容利用検索を実現することができる。また、本実施例のプリンター100による画像検索・印刷処理では、初期ウィンドウW1(図3)において、画像ファイルの指定と、描画と、色の指定と、のいずれかの方法によりクエリー画像を指定することができるため、クエリー画像と類似する画像を検出する画像内容利用検索におけるユーザー利便性を向上させることができる。また、本実施例のプリンター100による画像検索・印刷処理では、画像検索により検出された検出画像Diの1つを新たなクエリー画像として設定することができるため、例えば所望する画像により近いと考えられる検出画像Diを新たなクエリー画像として設定することよりユーザーはより効率的に所望の検索結果に到達することが可能となり、画像内容利用検索におけるユーザー利便性をさらに向上させることができる。   Further, in the image search / print processing by the printer 100 of this embodiment, a query image is set as a reference for the image content use search, and a search condition regarding the similarity to the query image for the feature of the image content is set. It is possible to realize an image content use search that detects an image similar to the query image with respect to the characteristics of the predetermined image content. In the image search / print processing by the printer 100 of the present embodiment, the query image is specified by any one of the image file specification, the drawing, and the color specification in the initial window W1 (FIG. 3). Therefore, it is possible to improve user convenience in an image content use search for detecting an image similar to the query image. Further, in the image search / print processing by the printer 100 according to the present embodiment, one of the detected images Di detected by the image search can be set as a new query image. By setting the detected image Di as a new query image, the user can reach a desired search result more efficiently, and the user convenience in the image content use search can be further improved.

また、本実施例のプリンター100による画像検索・印刷処理では、検索オプションウィンドウW2が画像の領域毎の重みを指定する重み指定エリアAr48を含んでいるため、画像の領域毎に重み付けされた類似度に関する検索条件を設定することができ、画像内容利用検索におけるユーザー利便性をさらに向上させることができる。同様に、本実施例のプリンター100による画像検索・印刷処理では、検索オプションウィンドウW2が色空間の各チャンネルの重みを指定するボックスBo44を含んでいるため、画像の色空間のチャンネル毎に重み付けされた類似度に関する検索条件を設定することができ、画像内容利用検索におけるユーザー利便性をさらに向上させることができる。   Further, in the image search / print processing by the printer 100 of this embodiment, the search option window W2 includes the weight designation area Ar48 for designating the weight for each area of the image, so the similarity weighted for each area of the image. Search conditions can be set, and user convenience in image content use search can be further improved. Similarly, in the image search / print processing by the printer 100 of the present embodiment, the search option window W2 includes the box Bo44 for specifying the weight of each channel in the color space, so that the weight is assigned to each channel in the image color space. It is possible to set a search condition related to the similarity and further improve the user convenience in the image content use search.

また、本実施例のプリンター100による画像検索・印刷処理では、画像検索により検出された検出画像Diの中から印刷すべき検出画像を設定し、印刷すべき検出画像Diの印刷を行うことができる。本実施例のプリンター100による画像検索・印刷処理では、検索結果ウィンドウW3(図11)が検出画像Diを一覧表示する検出画像表示エリアAr62と、印刷すべき検出画像Diを指定するための印刷指定エリアAr63と、を含み、ユーザーの所定の操作に応じて印刷指定エリアAr63に表示された画像(アイコンIC)に対応する検出画像Diが印刷すべき検出画像Diとして設定されるため、ユーザーは容易に印刷すべき検出画像Diを指定することができ、画像検索・印刷処理におけるユーザー利便性を向上させることができる。   In the image search / print processing by the printer 100 of this embodiment, a detection image to be printed can be set from the detection images Di detected by the image search, and the detection image Di to be printed can be printed. . In the image search / print processing by the printer 100 of the present embodiment, the search result window W3 (FIG. 11) displays a detection image display area Ar62 for displaying a list of detection images Di, and a print specification for specifying the detection image Di to be printed. Since the detection image Di corresponding to the image (icon IC) displayed in the print designation area Ar63 is set as the detection image Di to be printed according to the user's predetermined operation, the user can easily perform the operation. The detected image Di to be printed can be specified, and the user convenience in the image search / print processing can be improved.

A−3.特徴量距離算出方法:
以下、上述した検索実行処理(図10)の特徴量距離に基づく条件判定処理(ステップS430)において類似度算出部216による特徴量距離を算出する具体的方法について説明する。特徴量距離は、画像内容の所定の特徴に関するクエリー画像とターゲット画像との類似度を表す指標である。
A-3. Feature distance calculation method:
Hereinafter, a specific method for calculating the feature amount distance by the similarity calculation unit 216 in the condition determination process (step S430) based on the feature amount distance of the search execution process (FIG. 10) described above will be described. The feature amount distance is an index representing the degree of similarity between the query image and the target image related to a predetermined feature of the image content.

A−3−1.カラーヒストグラムに関して:
本実施例では、画像内容利用検索の条件設定(図2のステップS180)において、シグネチャーメソッドがカラーヒストグラムに設定された場合のメトリックタイプの選択肢は、スタンダードヒストグラムと、相関ヒストグラムと、カラーモーメントと、コンバインドフィーチャーと、の4つが設定されている(図8参照)。メトリックタイプがスタンダードヒストグラムに設定された場合、特徴量距離D(Q,T)の二乗D2(Q,T)は、以下の式(6)により算出される。式(6)において、HQiはクエリー画像のi番目のカラービンの画素度数であり、HTiはターゲット画像のi番目のカラービンの画素度数であり、Nはカラービンの個数である。
A-3-1. Regarding the color histogram:
In the present embodiment, the metric type choices when the signature method is set to the color histogram in the image content usage search condition setting (step S180 in FIG. 2) are the standard histogram, the correlation histogram, the color moment, Four combined features are set (see FIG. 8). When the metric type is set to the standard histogram, the square D 2 (Q, T) of the feature amount distance D (Q, T) is calculated by the following equation (6). In Expression (6), H Qi is the pixel frequency of the i-th color bin of the query image, H Ti is the pixel frequency of the i-th color bin of the target image, and N is the number of color bins.

Figure 2010250657
Figure 2010250657

メトリックタイプが相関ヒストグラムに設定された場合、特徴量距離D(Q,T)の二乗D2(Q,T)は、以下の式(7)により算出される。式(7)において、CQjはクエリー画像の1番目からj番目までのカラービンの画素度数HQiの累積値であり(上記式(1)参照)、CTjはターゲット画像の1番目からj番目までのカラービンの画素度数HTiの累積値であり、Nはカラービンの個数である。 When the metric type is set to the correlation histogram, the square D 2 (Q, T) of the feature amount distance D (Q, T) is calculated by the following equation (7). In Expression (7), C Qj is a cumulative value of the pixel frequencies H Qi of the first to jth color bins of the query image (see Expression (1) above), and C Tj is the first to j of the target image. This is the cumulative value of the pixel frequency H Ti of the first color bin, and N is the number of color bins.

Figure 2010250657
Figure 2010250657

メトリックタイプがカラーモーメントに設定された場合、特徴量距離D(Q,T)は、以下の式(8)により算出される。式(8)において、DRED(Q,T)は、Rチャンネルにおける特徴量距離であり、以下の式(9)により算出される。式(9)において、μQおよびμTはそれぞれクエリー画像およびターゲット画像のRチャンネルについてのカラービンにおける画素度数Hiの平均であり(上記式(2)参照)、σQおよびσTはそれぞれクエリー画像およびターゲット画像のRチャンネルについてのカラービンにおける画素度数Hiの分散の平方根(標準偏差)であり(上記式(3)参照)、γQおよびγTはそれぞれクエリー画像およびターゲット画像のRチャンネルについてのカラービンにおける画素度数Hiの歪度の3乗根であり(上記式(4)参照)、wμ、wσ、wγは、実験により設定される重み係数である。また、式(8)におけるDGREEN(Q,T)およびDBLUE(Q,T)は、それぞれ、G,Bチャンネルにおける特徴量距離であり、式(9)と同様の式により算出される。 When the metric type is set to color moment, the feature amount distance D (Q, T) is calculated by the following equation (8). In Expression (8), D RED (Q, T) is a feature amount distance in the R channel, and is calculated by the following Expression (9). In Equation (9), μ Q and μ T are the average pixel frequencies H i in the color bin for the R channel of the query image and the target image, respectively (see Equation (2) above), and σ Q and σ T are respectively The square root (standard deviation) of the variance of the pixel frequency H i in the color bin for the R channel of the query image and the target image (see equation (3) above), and γ Q and γ T are the R of the query image and the target image, respectively. It is the cube root of the skewness of the pixel frequency H i in the color bin for the channel (see the above equation (4)), and w μ , w σ , and w γ are weighting factors set by experiment. Further, D GREEN (Q, T) and D BLUE (Q, T) in equation (8) are feature amount distances in the G and B channels, respectively, and are calculated by the same equation as equation (9).

Figure 2010250657
Figure 2010250657
Figure 2010250657
Figure 2010250657

メトリックタイプがコンバインドフィーチャーに設定された場合も、特徴量距離D(Q,T)は、上記式(8)により算出される。ただし、この場合には、式(8)において、DRED(Q,T)は、以下の式(10)により算出される。式(10)において、FQおよびFTはそれぞれクエリー画像およびターゲット画像のRチャンネルについての結合指標であり(上記式(5)参照)、wRは実験により設定される重み係数である。式(8)におけるDGREEN(Q,T)およびDBLUE(Q,T)は、式(10)と同様の式により算出される。 Even when the metric type is set to the combined feature, the feature amount distance D (Q, T) is calculated by the above equation (8). In this case, however, D RED (Q, T) in equation (8) is calculated by the following equation (10). In the equation (10), F Q and F T are coupling indices for the R channel of the query image and the target image, respectively (see the above equation (5)), and w R is a weighting factor set by experiment. D GREEN (Q, T) and D BLUE (Q, T) in Expression (8) are calculated by the same expression as Expression (10).

Figure 2010250657
Figure 2010250657

A−3−2.Haarウェーブレットに関して:
本実施例では、画像内容利用検索の条件設定(図2のステップS180)において、シグネチャーメソッドがHaarウェーブレットに設定された場合のメトリックタイプの選択肢は、高速低精度のメトリックM1と、中速中精度のメトリックM2と、低速高精度のメトリックM3と、リアルメトリックとしてのメトリックM4と、が設定されている(図8参照)。上述したように、メトリックM1、M2、M3は、Haarウェーブレット分解を行う際の画像の解像度が互いに異なっているのみであり、特徴量距離の算出方法は同じである。メトリックタイプがメトリックM1、M2、M3に設定された場合、特徴量距離D(Q,T)は、以下の式(11)により算出される。式(11)において、kはHaarウェーブレット分解の対象画像の幅および高さであり、Q(i,j)およびT(i,j)はそれぞれクエリー画像およびターゲット画像のHaarウェーブレット分解結果の座標(i,j)におけるウェーブレット係数である。ここで、ウェーブレット係数としては、より小さい値を有する所定数のウェーブレット係数が切り捨てられた後、量子化が行われた値が用いられる。ウェーブレット係数の切り捨ては、検索オプションウィンドウW2(図9)のボックスBo49において指定されたウェーブレット係数数Cuに基づき、値の最も大きいウェーブレット係数数Cuのウェーブレット係数がそのまま残され、それ以外のウェーブレット係数(比較的値の小さい係数)の値がゼロにされる処理である。また、本実施例におけるウェーブレット係数の量子化は、正の値を+1に変換すると共に負の値を−1に変換する処理であり、以下の式(12)により規定される。また、式(11)において、w(i,j)は実験により設定される重み係数である。また、式(11)において、[Q(i,j)≠1T(i,j)]は、クエリー画像のウェーブレット係数とターゲット画像のウェーブレット係数との比較値であり、以下の式(13)により規定される。すなわち、特徴量距離D(Q,T)は、クエリー画像のウェーブレット係数がゼロでない座標についての、クエリー画像のウェーブレット係数とターゲット画像のウェーブレット係数との比較値の重み付け総和である。
A-3-2. Regarding Haar wavelets:
In this embodiment, in the image content use search condition setting (step S180 in FIG. 2), the metric type options when the signature method is set to Haar wavelet are the high-speed and low-precision metric M1 and the medium-speed and medium-precision. Metric M2, low-speed and high-precision metric M3, and metric M4 as a real metric are set (see FIG. 8). As described above, the metrics M1, M2, and M3 differ only in the resolution of images when performing Haar wavelet decomposition, and the feature amount distance calculation method is the same. When the metric type is set to the metrics M1, M2, and M3, the feature amount distance D (Q, T) is calculated by the following equation (11). In Equation (11), k is the width and height of the target image of Haar wavelet decomposition, and Q (i, j) and T (i, j) are the coordinates (Haar wavelet decomposition results of the query image and target image, respectively) i, j) is the wavelet coefficient. Here, as the wavelet coefficient, a value obtained by performing quantization after a predetermined number of wavelet coefficients having smaller values are rounded down is used. Wavelet coefficient truncation is based on the wavelet coefficient number Cu specified in the box Bo49 of the search option window W2 (FIG. 9), leaving the wavelet coefficient of the wavelet coefficient number Cu having the largest value as it is, and other wavelet coefficients ( This is a process in which the value of the coefficient having a relatively small value is set to zero. In addition, the quantization of the wavelet coefficient in the present embodiment is a process of converting a positive value to +1 and a negative value to −1, and is defined by the following equation (12). In equation (11), w (i, j) is a weighting coefficient set by experiment. Further, in the equation (11), [Q (i , j) ≠ 1 T (i, j)] is a comparative value of the wavelet coefficients of wavelet coefficients and the target image of the query image, the following equation (13) It is prescribed by. That is, the feature amount distance D (Q, T) is a weighted sum of comparison values between the wavelet coefficient of the query image and the wavelet coefficient of the target image with respect to coordinates where the wavelet coefficient of the query image is not zero.

Figure 2010250657
Figure 2010250657
Figure 2010250657
Figure 2010250657
Figure 2010250657
Figure 2010250657

なお、上記式(11)は、特徴量距離D(Q,T)の算出処理の高速化のために、種々の改良を含んでいる。すなわち、上記式(11)では、量子化されたウェーブレット係数が用いられること、スケーリング関数係数(座標(0,0)に対応する係数)が省略されること、クエリー画像のウェーブレット係数Q(i,j)がゼロである座標については総和の対象から除外し、Q(i,j)がゼロでない座標のみを総和の対象とすること、といった改良がなされている。なお、シグネチャーメソッドがHaarウェーブレットに設定された場合における特徴量距離D(Q,T)の算出については、C. E. Jacobs、A. Finkelstein、D. H. Salesin著「Fast Multiresolution Image Querying」(Proceedings of 1995 ACM SIGGRAPH Conference, Los Angeles CA, USA, Aug. 9-11, pp. 277-286, 1995)に記載されているので、ここでは詳細な説明を省略する。   The above equation (11) includes various improvements for speeding up the calculation processing of the feature amount distance D (Q, T). That is, in the above equation (11), the quantized wavelet coefficient is used, the scaling function coefficient (coefficient corresponding to the coordinates (0, 0)) is omitted, and the wavelet coefficient Q (i, Coordinates where j) is zero are excluded from the summation target, and only coordinates where Q (i, j) is not zero are subject to summation. Regarding the calculation of the feature distance D (Q, T) when the signature method is set to Haar wavelet, “Fast Multiresolution Image Querying” by CE Jacobs, A. Finkelstein and DH Salesin (Proceedings of 1995 ACM SIGGRAPH Conference , Los Angeles CA, USA, Aug. 9-11, pp. 277-286, 1995), and detailed description thereof is omitted here.

本実施例において、メトリックタイプとしてのリアルメトリックM4は、Linear Approximating and Eliminating Search Algorithm(以下、略して「LAESA」とも呼ぶ)と呼ばれる検索アルゴリズムを用いた画像検索方法に用いられる検索条件である。LAESAは、ピボットベースの検索アルゴリズムの1つである。ピボットベースの検索アルゴリズムは、検索処理中における距離計算量を低減するために、事前処理として予め設定された複数のピボットポイントとの間の距離を算出し、検索処理の際には、検索条件を満たす可能性のないポイントを検出して距離算出の対象から除外する検索アルゴリズムである。ピボットベースの検索アルゴリズムやLAESAについては、Maria Luisa Mico, Jose Oncina著「A new version of the Nearest-Neighbour Approximating and Eliminating Search Algorithm (AESA) with linear preprocessing time and memory requirements」(Pattern Recognition Letters vol.15,p.9-p.7 1994年1月)や、Edgar Chavez, J.L. Marroquin, Ricardo Baeza-Yates,著「Spaghettis: An Array Based Algorithm for Similarity Queries in Metric Spaces」(spire,pp.38, String Processing and Information Retrieval Symposium & International Workshop on Groupware, 1999)に記載されているので、ここでは詳細な説明を省略する。   In this embodiment, the real metric M4 as a metric type is a search condition used in an image search method using a search algorithm called Linear Approximating and Eliminating Search Algorithm (hereinafter also referred to as “LAESA” for short). LAESA is one of the pivot-based search algorithms. The pivot-based search algorithm calculates distances between a plurality of pivot points set in advance as pre-processing in order to reduce the distance calculation amount during the search processing. This is a search algorithm that detects points that are not likely to be satisfied and excludes them from the target of distance calculation. For the pivot-based search algorithm and LAESA, Maria Luisa Mico, Jose Oncina, “A new version of the Nearest-Neighbour Approximating and Eliminating Search Algorithm (AESA) with linear preprocessing time and memory requirements” (Pattern Recognition Letters vol.15, p.9-p.7 January 1994), Edgar Chavez, JL Marroquin, Ricardo Baeza-Yates, “Spaghettis: An Array Based Algorithm for Similarity Queries in Metric Spaces” (spire, pp. 38, String Processing and Information Retrieval Symposium & International Workshop on Groupware, 1999), detailed description is omitted here.

LAESAのようなピボットベースの検索アルゴリズムを利用した画像検索方法を採用する場合には、特徴量距離D(Q,T)の算出方法として、対称性のある方法を採用する必要がある。対称性のある方法とは、クエリー画像とターゲット画像との関係を逆にしても、両者の間の特徴量距離が不変である特徴量距離算出方法であり、以下の式(14)を満たす方法である。   When an image search method using a pivot-based search algorithm such as LAESA is employed, it is necessary to employ a symmetric method as a calculation method of the feature amount distance D (Q, T). The symmetric method is a feature amount distance calculation method in which the feature amount distance between the query image and the target image remains unchanged even when the relationship between the query image and the target image is reversed, and a method that satisfies the following equation (14) It is.

Figure 2010250657
Figure 2010250657

上述したメトリックタイプがメトリックM1、M2、M3に設定された場合の特徴量距離D(Q,T)の算出方法(上記式(11))は、Q(i,j)がゼロである座標が総和の対象から外されているため、対称性を有さない。そのため、この算出方法は、メトリックタイプがリアルメトリックM4に設定された場合に採用することはできない。   When the above-described metric type is set to the metrics M1, M2, and M3, the feature amount distance D (Q, T) calculation method (the above formula (11)) has coordinates where Q (i, j) is zero. Since it is excluded from the summation target, it has no symmetry. Therefore, this calculation method cannot be used when the metric type is set to the real metric M4.

本実施例では、メトリックタイプがリアルメトリックM4に設定された場合の特徴量距離D(Q,T)を、以下の式(15)により規定される方法で算出するものとしている。式(15)において、kはHaarウェーブレット分解の対象画像の幅および高さであり、Q(i,j)およびT(i,j)はそれぞれクエリー画像およびターゲット画像のHaarウェーブレット分解結果の座標(i,j)におけるウェーブレット係数(切り捨ておよび量子化後の値)であり、w(i,j)は実験により設定される重み係数である。また、式(15)において、[Q(i,j)=2T(i,j)]は、クエリー画像のウェーブレット係数とターゲット画像のウェーブレット係数との比較値であり、以下の式(16)により規定される。 In this embodiment, the feature amount distance D (Q, T) when the metric type is set to the real metric M4 is calculated by a method defined by the following equation (15). In Equation (15), k is the width and height of the target image of Haar wavelet decomposition, and Q (i, j) and T (i, j) are the coordinates (Haar wavelet decomposition results of the query image and target image, respectively) i, j) is a wavelet coefficient (value after truncation and quantization), and w (i, j) is a weighting coefficient set by experiment. Further, in the equation (15), [Q (i , j) = 2 T (i, j)] is a comparative value of the wavelet coefficients of wavelet coefficients and the target image of the query image, the following equation (16) It is prescribed by.

Figure 2010250657
Figure 2010250657
Figure 2010250657
Figure 2010250657

式(15)に示すように、メトリックタイプがリアルメトリックM4に設定された場合の特徴量距離D(Q,T)は、クエリー画像のウェーブレット係数Q(i,j)がゼロでない座標についての、クエリー画像のウェーブレット係数とターゲット画像のウェーブレット係数との比較値の重み付け総和と、ターゲット画像のウェーブレット係数T(i,j)がゼロでない座標についての、重み係数w(i、j)の総和と、の和とである。   As shown in Expression (15), the feature amount distance D (Q, T) when the metric type is set to the real metric M4 is the coordinate for which the wavelet coefficient Q (i, j) of the query image is not zero. A weighted sum of the comparison values of the wavelet coefficients of the query image and the target image, and the sum of the weighting factors w (i, j) for coordinates where the wavelet coefficients T (i, j) of the target image are not zero; Is the sum of

式(15)を上記式(11)と比較するとわかるように、式(15)では、ターゲット画像のウェーブレット係数T(i,j)がゼロでない座標に対応する重み係数w(i,j)の総和が補正項として付加されている。式(15)により規定される特徴量距離D(Q,T)の算出方法は、以下、式(17)を用いて説明するように、対称性を有する。   As can be seen by comparing the equation (15) with the above equation (11), in the equation (15), the weight coefficient w (i, j) corresponding to the coordinates where the wavelet coefficient T (i, j) of the target image is not zero. The sum is added as a correction term. The method of calculating the feature amount distance D (Q, T) defined by the equation (15) has symmetry as described below using the equation (17).

Figure 2010250657
Figure 2010250657

式(17)の最上段は、式(15)と同じである。式(17)の2段目は、以下に説明するように、式(17)の最上段と等価である。すなわち、まずQ(i,j)=T(i,j)(≠0)の場合、|Q(i,j)−T(i,j)|−|T(i,j)|=−|T(i,j)|=−1という等式が成立する。次に、Q(i,j)≠T(i,j)であって、T(i,j)=0の場合、|Q(i,j)−T(i,j)|−|T(i,j)|=|Q(i,j)|=1という等式が成立する。最後に、Q(i,j)≠T(i,j)であって、T(i,j)≠0の場合、|Q(i,j)−T(i,j)|−|T(i,j)|=2−1=1という等式が成立する。従って、すべての場合に、式(17)の2段目の[|Q(i,j)−T(i,j)|−|T(i,j)|]は、式(17)の最上段の[Q(i,j)=2T(i,j)]と等しい。 The uppermost stage of Expression (17) is the same as Expression (15). The second stage of Expression (17) is equivalent to the uppermost stage of Expression (17), as will be described below. That is, first, when Q (i, j) = T (i, j) (≠ 0), | Q (i, j) −T (i, j) | − | T (i, j) | = − | The equation T (i, j) | = −1 holds. Next, when Q (i, j) ≠ T (i, j) and T (i, j) = 0, | Q (i, j) −T (i, j) | − | T ( i, j) | = | Q (i, j) | = 1. Finally, when Q (i, j) ≠ T (i, j) and T (i, j) ≠ 0, | Q (i, j) −T (i, j) | − | T ( i, j) | = 2-1 = 1. Therefore, in all cases, [| Q (i, j) −T (i, j) | − | T (i, j) |] in the second stage of Expression (17) It is equal to [Q (i, j) = 2 T (i, j)] in the upper stage.

T(i,j)≠0の場合、|T(i,j)|=1という等式が成立するため、式(17)の3段目は、式(17)の2段目と等価である。式(17)の3段目の第1項において、T(i,j)=0の場合には|T(i,j)|=0となるため、T(i,j)≠0の条件を外しても第1項の総和は同じである。また、式(17)の3段目の第2項において、Q(i,j)=0の場合には|Q(i,j)−T(i,j)|−|T(i,j)|=0となるため、Q(i,j)≠0の条件を外しても第2項の総和は同じである。従って、式(17)の3段目は、4段目のように書き改めることができる。また、式(17)の4段目における第1項と第2項とを結合することにより、式(17)の4段目は、5段目のように書き改めることができる。式(17)の5段目は、上記式(14)が成立するため、対称性を有する。従って、式(17)の5段目と等価である式(15)も対称性を有することとなる。   When T (i, j) ≠ 0, the equation | T (i, j) | = 1 holds, so the third stage of Expression (17) is equivalent to the second stage of Expression (17). is there. In the first term of the third stage of Expression (17), when T (i, j) = 0, | T (i, j) | = 0, so the condition of T (i, j) ≠ 0 Even if is removed, the sum of the first term is the same. Further, in the second term of the third stage of Expression (17), when Q (i, j) = 0, | Q (i, j) −T (i, j) | − | T (i, j ) | = 0, so that the sum of the second term is the same even if the condition of Q (i, j) ≠ 0 is removed. Therefore, the third level of equation (17) can be rewritten as the fourth level. Further, by combining the first term and the second term in the fourth stage of Expression (17), the fourth stage of Expression (17) can be rewritten as the fifth stage. The fifth stage of Expression (17) has symmetry because Expression (14) is established. Therefore, the equation (15) equivalent to the fifth stage of the equation (17) also has symmetry.

以上説明したように、上記式(15)により規定される特徴量距離D(Q,T)の算出方法は、対称性を有するため、ピボットベースの検索アルゴリズムを利用した画像検索を行う場合の特徴量距離D(Q,T)の算出方法として採用可能である。上記式(15)により規定される特徴量距離D(Q,T)の算出方法は、クエリー画像のウェーブレット係数Q(i,j)とターゲット画像のウェーブレット係数T(i,j)との比較値の総和(式(15)の右辺の第2項)の計算において、クエリー画像のウェーブレット係数Q(i,j)がゼロである場合が除外されているため、特徴量距離D(Q,T)の算出速度を向上させることができる。また、上記式(15)の右辺の第1項(補正項)は、ターゲット画像のみに依存しクエリー画像には依存しないため、画像検索処理の事前処理として計算しておくことが可能である。従って、上記式(15)の特徴量距離D(Q,T)の算出方法により、LAESAのようなピボットベースの検索アルゴリズムを利用した画像検索処理の処理速度の高速化、処理時間の抑制を実現することができる。   As described above, the calculation method of the feature amount distance D (Q, T) defined by the above equation (15) has symmetry, and thus features when performing image search using a pivot-based search algorithm. It can be adopted as a method for calculating the quantity distance D (Q, T). The calculation method of the feature amount distance D (Q, T) defined by the above equation (15) is a comparison value between the wavelet coefficient Q (i, j) of the query image and the wavelet coefficient T (i, j) of the target image. Since the case where the wavelet coefficient Q (i, j) of the query image is zero is excluded in the calculation of the sum of the two (the second term on the right side of Expression (15)), the feature amount distance D (Q, T) The calculation speed of can be improved. Further, the first term (correction term) on the right side of the above equation (15) depends only on the target image and not on the query image, and thus can be calculated as a pre-processing of the image search processing. Therefore, the calculation method of the feature amount distance D (Q, T) in the above equation (15) realizes an increase in the processing speed of the image search processing using a pivot-based search algorithm such as LAESA and a reduction in the processing time. can do.

B.第2実施例:
図13は、第2実施例における画像処理装置としてのプリンター100aの構成を概略的に示す説明図である。第2実施例のプリンター100aは、画像検索部210が、許容時間設定部218と最小画像数設定部219とを含む点と、内部メモリー120に選択肢テーブルCTが格納されている点と、が、図1に示した第1実施例とは異なっている。プリンター100aのその他の構成は、第1実施例と同様である。
B. Second embodiment:
FIG. 13 is an explanatory diagram schematically showing a configuration of a printer 100a as an image processing apparatus in the second embodiment. In the printer 100 a of the second embodiment, the image search unit 210 includes an allowable time setting unit 218 and a minimum image number setting unit 219, and the option table CT is stored in the internal memory 120. This is different from the first embodiment shown in FIG. Other configurations of the printer 100a are the same as those in the first embodiment.

図14は、第2実施例における画像検索・印刷処理の流れを示すフローチャートである。第1実施例の画像検索・印刷処理(図2)では、検索ステージの数や各検索ステージにおける検索条件はユーザーの指定に従い設定されるが、第2実施例の画像検索・印刷処理では、検索ステージの数や各検索ステージにおける検索条件が自動的に設定される。   FIG. 14 is a flowchart showing the flow of image search / print processing in the second embodiment. In the image search / print processing (FIG. 2) of the first embodiment, the number of search stages and the search conditions in each search stage are set according to the user's specification. In the image search / print processing of the second embodiment, search is performed. The number of stages and search conditions at each search stage are automatically set.

画像検索・印刷処理(図14)が開始されると、まず、クエリー画像が設定される(ステップS120)。クエリー画像の設定処理は、第1実施例と同様に実行される。次に、検索条件設定処理が実行される(ステップS132)。図15は、検索条件設定処理の流れを示すフローチャートである。検索条件設定処理は、画像検索における検索ステージの数と各検索ステージにおける検索条件とを自動的に設定する処理である。   When the image search / print process (FIG. 14) is started, a query image is first set (step S120). The query image setting process is executed in the same manner as in the first embodiment. Next, search condition setting processing is executed (step S132). FIG. 15 is a flowchart showing the flow of search condition setting processing. The search condition setting process is a process for automatically setting the number of search stages in the image search and the search conditions in each search stage.

本実施例の検索条件設定処理では、検索ステージの検索条件を規定する要素(図9参照)の内、メトリックタイプと最大特徴量距離との2つについて、自動設定が行われる。上述したように、メトリックタイプは、画像内容の特徴についてのクエリー画像との類似度を表す指標値と当該指標値の算出方法とを規定する。また、最大特徴量距離は、特徴量距離に基づく条件判定における閾値である。検索ステージの検索条件を規定する他の要素については、予め設定された値が採用される。本実施例では、シグネチャーメソッドとしてHaarウェーブレットが採用され、カラースペースとしてRGBが採用され、ウェーブレット係数数および最大検出数はデフォルト値が採用され、カラーチャンネル重みや分割領域重みはデフォルト設定(すべての重みが1.0である設定)が採用されるものとする。なお、本実施例では、メタデータ利用検索は実行されないものとする。   In the search condition setting process of this embodiment, automatic setting is performed for two of the metric type and the maximum feature amount distance among the elements (see FIG. 9) that define the search conditions of the search stage. As described above, the metric type defines an index value that represents the degree of similarity of the image content feature with the query image and a method for calculating the index value. The maximum feature amount distance is a threshold value in condition determination based on the feature amount distance. For other elements that define the search conditions of the search stage, preset values are adopted. In this embodiment, Haar wavelet is adopted as a signature method, RGB is adopted as a color space, default values are adopted for the number of wavelet coefficients and the maximum number of detections, and color channel weights and division area weights are set to default values (all weights). Is set to 1.0). In this embodiment, it is assumed that the metadata use search is not executed.

検索条件設定処理において選択可能なメトリックタイプの選択肢は、予め設定され、選択肢テーブルCTに規定されている。図16は、選択肢テーブルCTの一例を示す説明図である。本実施例の選択肢テーブルCTには、メトリックタイプの選択肢として、高速低精度のメトリックM1と、中速中精度のメトリックM2と、低速高精度のメトリックM3と、の3つが設定されている。なお、本実施例では、各メトリックタイプの処理速度を、画像1,000枚あたりの処理時間(秒)で表している。この処理速度は、プリンター100aにより処理が行われる場合の実験値もしくは理論値である。   Metric type options that can be selected in the search condition setting process are set in advance and defined in the option table CT. FIG. 16 is an explanatory diagram illustrating an example of the option table CT. In the option table CT of this embodiment, three types of metrics, that is, a high-speed / low-accuracy metric M1, a medium / medium-accuracy metric M2, and a low-speed / high-accuracy metric M3 are set. In this embodiment, the processing speed of each metric type is represented by processing time (seconds) per 1,000 images. This processing speed is an experimental value or a theoretical value when processing is performed by the printer 100a.

図17は、検索条件設定処理において検索ステージおよび検索条件が設定される様子を具体的に示す説明図である。以下、図15のフローチャートと図17の説明図とを参照して、検索条件設定処理について説明する。   FIG. 17 is an explanatory diagram specifically showing how search stages and search conditions are set in the search condition setting process. The search condition setting process will be described below with reference to the flowchart in FIG. 15 and the explanatory diagram in FIG.

検索条件設定処理(図15)のステップS520では、許容時間設定部218(図13)が、図示しないユーザーインターフェースを介したユーザーの指定に従い、許容所要時間Tmaxを設定する。許容所要時間Tmaxは、すべての検索ステージを通じた画像検索に要する時間として許容される最長時間である。すなわち、検索条件設定処理では、すべての検索ステージを通じた画像検索が許容所要時間Tmax内に完了する範囲で、検索ステージ数と各検索ステージにおける検索条件とが設定される。なお、許容所要時間Tmaxは、デフォルト値が使用されるものとしてもよい。   In step S520 of the search condition setting process (FIG. 15), the allowable time setting unit 218 (FIG. 13) sets the allowable required time Tmax according to the user's specification via a user interface (not shown). The allowable required time Tmax is the longest time allowed as the time required for image search through all search stages. That is, in the search condition setting process, the number of search stages and the search conditions in each search stage are set within a range where image search through all search stages is completed within the allowable required time Tmax. Note that a default value may be used for the allowable required time Tmax.

ステップS530(図15)では、最小画像数設定部219(図13)が、図示しないユーザーインターフェースを介したユーザーの指定に従い、最小検出画像数NDminを設定する。最小検出画像数NDminは、すべての検索ステージを通じた画像検索において検出される検出画像Diの数の最小値である。すなわち、検索条件設定処理では、すべての検索ステージを通じた画像検索において検出される検出画像Diの数が最小検出画像数NDmin以上となる範囲で、検索ステージ数と各検索ステージにおける検索条件とが設定される。なお、最小検出画像数NDminは、例えば、検索結果ウィンドウW3(図11)における1頁内に表示可能な検出画像Diの数に基づき設定される。最小検出画像数NDminは、デフォルト値が使用されるものとしてもよい。   In step S530 (FIG. 15), the minimum image number setting unit 219 (FIG. 13) sets the minimum detected image number NDmin in accordance with a user designation via a user interface (not shown). The minimum number of detected images NDmin is the minimum value of the number of detected images Di detected in the image search through all the search stages. That is, in the search condition setting process, the number of search stages and the search conditions in each search stage are set in a range where the number of detected images Di detected in the image search through all the search stages is equal to or greater than the minimum detected image number NDmin. Is done. The minimum number of detected images NDmin is set based on, for example, the number of detected images Di that can be displayed within one page in the search result window W3 (FIG. 11). A default value may be used for the minimum number of detected images NDmin.

ステップS540(図15)では、検索条件設定部213(図13)が、精度の最も良いメトリックタイプを主ステージSm用のメトリックタイプとして選択する。ここで、主ステージSmとは、最後に実行される検索ステージである。図16に示すように、本実施例では、精度の最も良いメトリックタイプはメトリックM3であるため、メトリックM3が主ステージSm用のメトリックタイプに設定される。図17に示したケース1では、主ステージSm用のメトリックタイプとしてメトリックM3が選択されている。   In step S540 (FIG. 15), the search condition setting unit 213 (FIG. 13) selects the most accurate metric type as the metric type for the main stage Sm. Here, the main stage Sm is a search stage executed last. As shown in FIG. 16, in this embodiment, the metric type with the best accuracy is the metric M3, and therefore the metric M3 is set as the metric type for the main stage Sm. In case 1 shown in FIG. 17, the metric M3 is selected as the metric type for the main stage Sm.

ステップS550(図15)では、検索条件設定部213(図13)が、主ステージSmの所要検索時間Trmを算出し、所要検索時間Trmが許容所要時間Tmax以下であるか否かを判定する。所要検索時間Trmが許容所要時間Tmax以下であると判定された場合には、精度の最も良いメトリックタイプを採用した主ステージSmのみで許容所要時間Tmax内に検索処理を完了することが可能であるため、精度の最も良いメトリックタイプを採用した主ステージSmのみにより構成される検索条件が設定される。例えば、メトリックM3を採用した主ステージSmによる所要検索時間Trmは0.8秒である(図16参照)。なお、本実施例の説明では、時間は画像1,000枚あたりの時間として表現するものとする。図17に示したケース1では、許容所要時間Tmaxが0.9秒と設定されているため、所要検索時間Trmは許容所要時間Tmax以下であると判定される。従って、ケース1では、メトリックM3を採用した主ステージSmのみにより構成される検索条件が設定される。この場合には、検索条件設定部213が、最大検出数に基づき主ステージSmの最大特徴量距離(閾値)を決定し(ステップS640)、検索条件設定処理が完了する。   In step S550 (FIG. 15), the search condition setting unit 213 (FIG. 13) calculates the required search time Trm of the main stage Sm, and determines whether the required search time Trm is less than or equal to the allowable required time Tmax. If it is determined that the required search time Trm is less than or equal to the allowable required time Tmax, it is possible to complete the search process within the allowable required time Tmax with only the main stage Sm that employs the most accurate metric type. Therefore, a search condition composed only of the main stage Sm adopting the metric type having the best accuracy is set. For example, the required search time Trm by the main stage Sm adopting the metric M3 is 0.8 seconds (see FIG. 16). In the description of this embodiment, time is expressed as time per 1,000 images. In case 1 shown in FIG. 17, since the allowable required time Tmax is set to 0.9 seconds, it is determined that the required search time Trm is less than or equal to the allowable required time Tmax. Accordingly, in case 1, a search condition constituted only by the main stage Sm adopting the metric M3 is set. In this case, the search condition setting unit 213 determines the maximum feature amount distance (threshold value) of the main stage Sm based on the maximum number of detections (step S640), and the search condition setting process is completed.

ステップS550(図15)において、所要検索時間Trmが許容所要時間Tmaxより大きいと判定された場合には、精度の最も良いメトリックタイプを採用した主ステージSmのみでは許容所要時間Tmax内に検索処理を完了することができない。この場合には、検索条件設定部213(図13)は、主ステージSmに設定されたメトリックタイプよりも高速のメトリックタイプの選択肢の有無を判定する(ステップS560)。ステップS560において、より高速のメトリックタイプの選択肢が無いと判定された場合には、許容所要時間Tmax内に画像検索を完了させることが不可能であるため、メトリックタイプの選択肢の変更設定が行われ(ステップS670)、再度ステップS540以降の処理が実行される。   If it is determined in step S550 (FIG. 15) that the required search time Trm is greater than the allowable required time Tmax, only the main stage Sm adopting the metric type having the best accuracy performs the search process within the allowable required time Tmax. Cannot be completed. In this case, the search condition setting unit 213 (FIG. 13) determines whether or not there is a metric type option faster than the metric type set in the main stage Sm (step S560). If it is determined in step S560 that there is no faster metric type option, it is impossible to complete the image search within the allowable required time Tmax, so the metric type option is changed and set. (Step S670), the processing after step S540 is executed again.

ステップS560(図15)において、より高速のメトリックタイプの選択肢が有ると判定された場合には、検索条件設定部213(図13)が、選択肢の内で速度最高のメトリックタイプを前段ステージSp用のメトリックタイプとして選択する(ステップS570)。図17に示したケース2では、許容所要時間Tmaxが0.3秒と設定されているため、ステップS550で所要検索時間Trm(0.8秒)は許容所要時間Tmaxより大きいと判定される(ケース2の1段目参照)。この場合には、速度最高のメトリックタイプであるメトリックM1(図16参照)が前段ステージSp用のメトリックタイプに設定される(ケース2の2段目参照)。   When it is determined in step S560 (FIG. 15) that there is a faster metric type option, the search condition setting unit 213 (FIG. 13) selects the metric type with the highest speed among the options for the previous stage Sp. Is selected as the metric type (step S570). In case 2 shown in FIG. 17, since the allowable required time Tmax is set to 0.3 seconds, it is determined in step S550 that the required search time Trm (0.8 seconds) is larger than the allowable required time Tmax ( (Refer to the first stage of Case 2). In this case, the metric M1 (see FIG. 16), which is the metric type with the highest speed, is set as the metric type for the previous stage Sp (see the second stage in Case 2).

ステップS580(図15)では、検索条件設定部213(図13)が、前段ステージSpの所要検索時間Trpを算出し、所要検索時間Trpが許容所要時間Tmax以下であるか否かを判定する。前段ステージSpの所要検索時間Trpが許容所要時間Tmaxより大きいと判定された場合には、速度最高のメトリックタイプを採用しても許容所要時間Tmax内に画像検索を完了させることが不可能であるため、メトリックタイプの選択肢の変更設定が行われ(ステップS670)、再度ステップS540以降の処理が実行される。   In step S580 (FIG. 15), the search condition setting unit 213 (FIG. 13) calculates the required search time Trp of the preceding stage Sp, and determines whether the required search time Trp is less than or equal to the allowable required time Tmax. If it is determined that the required search time Trp of the preceding stage Sp is larger than the allowable required time Tmax, it is impossible to complete the image search within the allowable required time Tmax even if the metric type with the highest speed is adopted. Therefore, the metric type option change setting is performed (step S670), and the processing from step S540 onward is executed again.

ステップS580(図15)において、前段ステージSpの所要検索時間Trpが許容所要時間Tmax以下であると判定された場合には、検索条件設定部213(図13)が、主ステージSmの許容入力画像数NImaxを算出する(ステップS590)。許容入力画像数NImaxは、主ステージSmの対象となるターゲット画像の数として許容される最大数である。許容入力画像数NImaxは、許容所要時間Tmaxと所要検索時間Trpとの差分を、主ステージSmのメトリックタイプの速度で除することにより算出される。図17に示したケース2(ケース2の2段目参照)では、主ステージSmにメトリックM3が設定され、前段ステージSpにメトリックM1が設定されているため、許容所要時間Tmax(0.3秒)と所要検索時間Trp(0.1秒)との差分(0.2秒)が、メトリックM3の速度(0.8秒/1,000枚)で除され、許容入力画像数NImaxは250枚と算出される。   If it is determined in step S580 (FIG. 15) that the required search time Trp of the preceding stage Sp is less than or equal to the allowable required time Tmax, the search condition setting unit 213 (FIG. 13) allows the allowable input image of the main stage Sm. The number NImax is calculated (step S590). The allowable input image number NImax is the maximum number allowed as the number of target images that are the target of the main stage Sm. The allowable input image number NImax is calculated by dividing the difference between the allowable required time Tmax and the required search time Trp by the metric type speed of the main stage Sm. In case 2 shown in FIG. 17 (see the second stage of case 2), the metric M3 is set in the main stage Sm, and the metric M1 is set in the preceding stage Sp. ) And the required search time Trp (0.1 seconds) is divided by the speed of the metric M3 (0.8 seconds / 1,000 images), and the allowable input image number NImax is 250 images. Is calculated.

ステップS600(図15)では、検索条件設定部213(図13)が、許容入力画像数NImaxに基づき、前段ステージSpの最大特徴量距離(閾値)を決定する。前段ステージSpの最大特徴量距離は、前段ステージSpにおける検出画像Diの数が許容入力画像数NImax以下となるように、決定される。   In step S600 (FIG. 15), the search condition setting unit 213 (FIG. 13) determines the maximum feature amount distance (threshold value) of the preceding stage Sp based on the allowable input image number NImax. The maximum feature amount distance of the preceding stage Sp is determined so that the number of detected images Di in the preceding stage Sp is equal to or less than the allowable input image number NImax.

ステップS610(図15)では、検索条件設定部213(図13)が、検出画像数NDが最小検出画像数NDmin以上であるか否かを判定する。検出画像数NDは、すべての検索ステージ(主ステージSmおよび前段ステージSp)を通じた画像検索において検出される検出画像Diの数である。ステップS610において、検出画像数NDが最小検出画像数NDmin以上であると判定された場合には、検索条件設定部213が、最大検出数に基づき主ステージSmの最大特徴量距離(閾値)を決定し(ステップS640)、検索条件設定処理が完了する。   In step S610 (FIG. 15), the search condition setting unit 213 (FIG. 13) determines whether or not the number of detected images ND is greater than or equal to the minimum number of detected images NDmin. The detected image number ND is the number of detected images Di detected in the image search through all the search stages (the main stage Sm and the previous stage Sp). If it is determined in step S610 that the detected image number ND is equal to or greater than the minimum detected image number NDmin, the search condition setting unit 213 determines the maximum feature amount distance (threshold value) of the main stage Sm based on the maximum detected number. (Step S640), and the search condition setting process is completed.

ステップS610(図15)において、検出画像数NDが最小検出画像数NDminより小さいと判定された場合には、検索条件設定部213(図13)は、主ステージSm用のメトリックタイプとして未選択の選択肢が有るか否かを判定する(ステップS620)。ステップS620において、未選択の選択肢が無いと判定された場合には、メトリックタイプの選択肢の変更設定が行われ(ステップS670)、再度ステップS540以降の処理が実行される。   If it is determined in step S610 (FIG. 15) that the detected image number ND is smaller than the minimum detected image number NDmin, the search condition setting unit 213 (FIG. 13) has not been selected as the metric type for the main stage Sm. It is determined whether there is an option (step S620). If it is determined in step S620 that there are no unselected options, metric type option change setting is performed (step S670), and the processes in and after step S540 are executed again.

一方、ステップS620(図15)において、未選択の選択肢が有ると判定された場合には、検索条件設定部213は、未選択の選択肢の中で精度の最も良いメトリックタイプを主ステージSm用のメトリックタイプとして選択する(ステップS630)。なお、このとき、前段ステージSpはキャンセルされる。図17に示したケース3では、主ステージSmにメトリックM3が設定され、前段ステージSpにメトリックM1が設定された場合に、検出画像数NDが最小検出画像数NDminより小さいと判定されるものとする(ケース3の2段目参照)。この場合には、未選択の選択肢の中で精度の最も良いメトリックタイプであるメトリックM2(図16参照)が、主ステージSm用のメトリックタイプとして選択される(ケース3の3段目参照)。   On the other hand, if it is determined in step S620 (FIG. 15) that there are unselected options, the search condition setting unit 213 selects the metric type having the best accuracy among the unselected options for the main stage Sm. The metric type is selected (step S630). At this time, the previous stage Sp is canceled. In case 3 shown in FIG. 17, when the metric M3 is set in the main stage Sm and the metric M1 is set in the previous stage Sp, it is determined that the detected image number ND is smaller than the minimum detected image number NDmin. (Refer to the second stage of Case 3). In this case, the metric M2 (see FIG. 16), which is the most accurate metric type among the unselected options, is selected as the metric type for the main stage Sm (see the third stage of case 3).

ステップS630(図15)において主ステージSm用のメトリックタイプが再選択された後には、再度ステップS550以降の処理が実行される。図17に示したケース3(ケース3の3段目参照)では、主ステージSmにメトリックM2が設定された後のステップS550における判定において、主ステージSmの所要検索時間Trm(0.5秒)が許容所要時間Tmax(0.2秒)より大きいと判定される。この場合には、速度最高のメトリックM1が前段ステージSp用のメトリックタイプとして選択され(ステップS570)、許容入力画像数NImaxが算出され(ステップS590)、前段ステージSpの最大特徴量距離(閾値)が決定され(ステップS600)、検出画像数NDが最小検出画像数NDmin以上であるか否かの判定が行われる(ステップS610)。ステップS610の判定において、検出画像数NDが最小検出画像数NDmin以上であると判定されると(ケース4の4段目参照)、主ステージSmの最大特徴量距離(閾値)が決定され(ステップS640)、検索条件設定処理が完了する。   After the metric type for the main stage Sm is reselected in step S630 (FIG. 15), the processing from step S550 is executed again. In case 3 shown in FIG. 17 (see the third stage of case 3), in the determination in step S550 after the metric M2 is set in the main stage Sm, the required search time Trm (0.5 seconds) of the main stage Sm. Is determined to be greater than the allowable required time Tmax (0.2 seconds). In this case, the metric M1 with the highest speed is selected as the metric type for the preceding stage Sp (step S570), the allowable input image number NImax is calculated (step S590), and the maximum feature amount distance (threshold value) of the preceding stage Sp. Is determined (step S600), and it is determined whether or not the number of detected images ND is greater than or equal to the minimum number of detected images NDmin (step S610). If it is determined in step S610 that the number of detected images ND is equal to or greater than the minimum number of detected images NDmin (see the fourth stage of case 4), the maximum feature amount distance (threshold) of the main stage Sm is determined (step S610). S640), the search condition setting process is completed.

検索条件設定処理(図14のステップS132)が完了すると、図2に示した第1実施例と同様に、設定された検索条件を用いた検索実行処理(図14のステップS190)以降の処理が実行される。   When the search condition setting process (step S132 in FIG. 14) is completed, the process after the search execution process (step S190 in FIG. 14) using the set search condition is performed as in the first embodiment shown in FIG. Executed.

以上説明したように、第2実施例の画像検索・印刷処理では、画像検索の許容所要時間Tmaxが設定され、許容所要時間Tmaxに基づき、画像検索の検索ステージ数と、各検索ステージにおける検索条件が設定され、設定された検索条件を利用した検索ステージの画像検索が順次実行される。そのため、第2実施例の画像検索・印刷処理では、画像検索における検索ステージ数および検索条件を自動的に設定することが可能となり、ユーザー利便性を向上させることができる。   As described above, in the image search / print process according to the second embodiment, the allowable required time Tmax for image search is set. Based on the allowable required time Tmax, the number of search stages for image search and the search conditions in each search stage are set. Is set, and image search of the search stage using the set search condition is sequentially executed. Therefore, in the image search / print process of the second embodiment, it is possible to automatically set the number of search stages and search conditions in the image search, thereby improving user convenience.

すなわち、第2実施例の画像検索・印刷処理では、画像検索の基準としてのクエリー画像が設定され、各検索ステージについて、画像内容の特徴についてのクエリー画像との類似度を表す指標値(特徴量距離)と当該指標値の算出方法(メトリックM1,M2,M3)と当該指標値についての閾値(最大特徴量距離)とを特定する検索条件が設定され、各検索ステージにおいて設定された算出方法で指標値が算出され、閾値を用いた判定により画像が検出される。そのため、第2実施例の画像検索・印刷処理では、画像検索における検索ステージ数と、類似度を表す指標値と指標値の算出方法と指標値についての閾値とを特定する検索条件と、を自動的に設定することが可能となり、ユーザー利便性を向上させることができる。   That is, in the image search / print processing of the second embodiment, a query image is set as a reference for image search, and an index value (feature value) representing the similarity of the image content feature to the query image for each search stage. The search condition for specifying the distance), the index value calculation method (metrics M1, M2, M3) and the threshold value (maximum feature amount distance) for the index value is set, and the calculation method set in each search stage is used. An index value is calculated, and an image is detected by determination using a threshold value. Therefore, in the image search / print processing of the second embodiment, the number of search stages in image search, the index value indicating similarity, the index value calculation method, and the search condition for specifying the threshold value for the index value are automatically set. User convenience, and user convenience can be improved.

また、第2実施例の画像検索・印刷処理では、処理速度と処理精度との少なくとも一方が互いに異なる予め設定された複数の算出方法(メトリックM1,M2,M3)の内の1つが選択されて検索条件が設定されるため、処理速度と処理精度とのバランスが考慮された最適な検索ステージ数および検索条件が自動的に設定され、ユーザー利便性をさらに向上させることができる。すなわち、第2実施例の画像検索・印刷処理では、すべての検索ステージを通じた画像検索が許容所要時間Tmax内に完了する範囲で、処理精度のより良好な算出方法が選択されるように検索条件が設定されるため、処理速度と処理精度とのバランスが考慮された最適な検索ステージ数および検索条件が自動的に設定される。   In the image search / print process of the second embodiment, one of a plurality of preset calculation methods (metrics M1, M2, M3) in which at least one of processing speed and processing accuracy is different from each other is selected. Since the search condition is set, the optimum number of search stages and the search condition considering the balance between the processing speed and the processing accuracy are automatically set, and the user convenience can be further improved. That is, in the image search / print processing of the second embodiment, the search condition is selected so that a calculation method with better processing accuracy is selected within a range where the image search through all the search stages is completed within the allowable required time Tmax. Therefore, the optimum number of search stages and search conditions are automatically set in consideration of the balance between processing speed and processing accuracy.

また、第2実施例の画像検索・印刷処理では、最小検出画像数NDminが設定され、すべての検索ステージを通じた画像検索において検出される検出画像Diの数が最小検出画像数NDmin以上となる範囲で、処理精度の良好な画像検索を実現する検索条件がより多く採用されるように、検索ステージ数と各検索ステージにおける検索条件とが設定されるため、検出画像Diの数が小さくなりすぎることのない範囲で処理速度と処理精度とのバランスが考慮された最適な検索ステージ数および検索条件が自動的に設定される。   In the image search / print process of the second embodiment, the minimum number of detected images NDmin is set, and the range in which the number of detected images Di detected in the image search through all the search stages is equal to or greater than the minimum number of detected images NDmin. Therefore, since the number of search stages and the search conditions at each search stage are set so that more search conditions for realizing an image search with good processing accuracy are adopted, the number of detected images Di is too small. The optimum number of search stages and search conditions are automatically set in consideration of the balance between the processing speed and the processing accuracy within the range where there is no such problem.

また、第2実施例の画像検索・印刷処理では、自動的に設定された検索条件を利用した画像検索において検出された検出画像Diの印刷を行うことができる。   Further, in the image search / print process of the second embodiment, the detected image Di detected in the image search using the automatically set search condition can be printed.

C.変形例:
なお、この発明は上記の実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。
C. Variation:
The present invention is not limited to the above-described examples and embodiments, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.

C1.変形例1:
上記各実施例では、メモリーカードMCに格納された画像(画像データ(画像ファイル))をターゲット画像として画像検索・印刷処理が実行されるとしているが、画像検索・印刷処理におけるターゲット画像は任意に設定可能である。例えば、内部メモリー120(図1)の所定の領域に格納された画像がターゲット画像として設定されるとしてもよいし、プリンター100とケーブルやネットワークを介して接続された他の機器の有する記憶領域に格納された画像がターゲット画像として設定されるとしてもよい。
C1. Modification 1:
In each of the above embodiments, the image search / print processing is executed using the image (image data (image file)) stored in the memory card MC as the target image. However, the target image in the image search / print processing is arbitrarily selected. It can be set. For example, an image stored in a predetermined area of the internal memory 120 (FIG. 1) may be set as a target image, or in a storage area of another device connected to the printer 100 via a cable or a network. The stored image may be set as the target image.

C2.変形例2:
上記各実施例における初期ウィンドウW1や検索オプションウィンドウW2、検索結果ウィンドウW3の内容やレイアウトは、あくまで一例であり、種々変形が可能である。これらのウィンドウは、プリンター100の実行可能な処理に応じて適宜変形することができる。例えば、上記各実施例では、プリンター100が、3つの方法(画像ファイル指定、描画、色選択)でクエリー画像を指定することができるとしているが、3つの方法のいずれかによる方法ではクエリー画像を指定することができないとしてもよいし、3つの方法以外の方法(例えば予め設定されたテンプレート画像を選択する方法)によりクエリー画像を指定することができるとしてもよい。初期ウィンドウW1(図3)は、プリンター100において可能なクエリー画像の指定方法に応じて適宜変形される。
C2. Modification 2:
The contents and layout of the initial window W1, the search option window W2, and the search result window W3 in the above embodiments are merely examples, and various modifications can be made. These windows can be modified as appropriate according to processing that can be executed by the printer 100. For example, in each of the above embodiments, the printer 100 can specify a query image by three methods (image file designation, drawing, and color selection). However, in any of the three methods, a query image can be designated. The query image may not be specified, or the query image may be specified by a method other than the three methods (for example, a method of selecting a preset template image). The initial window W1 (FIG. 3) is appropriately modified according to the query image designation method possible in the printer 100.

また、上記各実施例で説明したメタデータ利用検索の検索条件を規定する各要素における選択肢(カメラメーカー、カメラモデル、ファイルサイズ等、図7参照)は、あくまで一例であり、種々変形可能である。これらの要素や選択肢の変形に応じて、検索オプションウィンドウW2(図5)は適宜変形される。また、プリンター100がメタデータ利用検索を実行可能である必要はなく、検索オプションウィンドウW2がメタデータ利用検索の検索条件を指定するためのメタデータ条件指定エリアAr43を含んでいる必要はない。   Further, the options (camera manufacturers, camera models, file sizes, etc., see FIG. 7) in each element that define the search conditions for the metadata use search described in the above embodiments are merely examples, and can be variously modified. . The search option window W2 (FIG. 5) is appropriately modified according to the deformation of these elements and options. Further, the printer 100 does not need to be able to execute the metadata use search, and the search option window W2 does not have to include the metadata condition specifying area Ar43 for specifying the search condition for the metadata use search.

また、上記各実施例で説明した画像内容利用検索の検索条件を規定する要素(シグネチャーメソッド、メトリックタイプ、カラースペース等、図5、9参照)や、各要素における選択肢(カラーヒストグラム、Haarウェーブレット等、図8参照)は、あくまで一例であり、種々変形可能である。これらの要素や選択肢の変形に応じて、検索オプションウィンドウW2(図5)は適宜変形される。例えば、検索条件を規定する要素として、カラーチャンネル重みや分割領域重みが含まれる必要はない。また、検索条件を規定する要素の1つであるシグネチャーメソッドの選択肢として、色空間やSHAハッシュサム、Haarウェーブレット以外のウェーブレットベースを利用したウェーブレット係数といった他の選択肢が設定されているとしてもよい。また、シグネチャーメソッドがHaarウェーブレットと設定された場合のメトリックタイプの選択肢として、ウェーブレット係数数(図9のボックスBo49参照)の互いに異なる複数の特徴量距離算出方法の選択肢が設定されるとしてもよい。   In addition, the elements that define the search conditions for the image content use search described in the above embodiments (signature method, metric type, color space, etc., see FIGS. 5 and 9), and options in each element (color histogram, Haar wavelet, etc.) FIG. 8) is merely an example, and various modifications can be made. The search option window W2 (FIG. 5) is appropriately modified according to the deformation of these elements and options. For example, color channel weights and divided region weights do not need to be included as elements that define the search conditions. In addition, other options such as a color space, a SHA hash sum, and a wavelet coefficient using a wavelet base other than the Haar wavelet may be set as a signature method option that is one of the elements that define the search condition. Further, as a metric type option when the signature method is set to Haar wavelet, a plurality of feature value distance calculation method options having different wavelet coefficient numbers (see box Bo49 in FIG. 9) may be set.

C3.変形例3:
上記各実施例におけるクエリー画像とターゲット画像との類似度を表す指標値としての特徴量距離の算出方法は、あくまで一例であり、種々変形可能である。例えば、シグネチャーメソッドがHaarウェーブレットと設定され、メトリックタイプがメトリックM1と設定された場合の特徴量距離D(Q,T)の算出式(式(11)においては、処理の高速化のため、クエリー画像のウェーブレット係数Q(i,j)がゼロである座標については総和の対象から除外されているが、Q(i,j)がゼロである座標も総和の対象としてもよい。また、式(11)において、クエリー画像およびターゲット画像のウェーブレット係数Q(i,j)およびT(i,j)は、量子化されたものが用いられるとしているが、量子化される前の係数が用いられるとしてもよい。メトリックタイプがリアルメトリックM4と設定された場合も同様である。
C3. Modification 3:
The method for calculating the feature amount distance as an index value representing the degree of similarity between the query image and the target image in each of the above embodiments is merely an example, and various modifications can be made. For example, when the signature method is set to Haar wavelet and the metric type is set to metric M1, the calculation formula for the feature amount distance D (Q, T) (the expression (11) uses a query for speeding up the processing). The coordinates where the wavelet coefficient Q (i, j) of the image is zero are excluded from the object of summation, but the coordinates where Q (i, j) is zero may be the object of summation. 11), the wavelet coefficients Q (i, j) and T (i, j) of the query image and the target image are quantized, but the coefficients before being quantized are used. The same applies when the metric type is set to real metric M4.

C4.変形例4:
上記第2実施例における検索条件設定処理(図15)では、検索ステージ数と、各検索ステージにおけるメトリックタイプが自動的に設定されるとしているが、検索条件設定処理において、各検索ステージにおけるシグネチャーメソッドとメトリックタイプとの組み合わせが自動的に設定されるとしてもよい。すなわち、処理速度と処理精度との少なくとも一方が異なる複数のシグネチャーメソッドとメトリックタイプとの組み合わせの選択肢が予め設定され、許容所要時間Tmaxを用いた判定に基づき複数の選択肢の中から特定の組み合わせを選択することより、シグネチャーメソッドとメトリックタイプとが自動的に設定されるとしてもよい。また、検索条件設定処理において、メタデータ利用検索の実行要否やメタデータ利用検索の検索条件が自動的に設定されるとしてもよい。例えば、メタデータ利用検索における条件判定の閾値としての合致項目率(条件が設定された項目(カメラメーカーやファイルサイズ)の数に対する条件合致項目の数の比)や、複数のキーワードを利用可能なメタデータ利用検索における条件判定の閾値としての合致キーワード率(設定されたキーワード数に対する合致キーワード数の比)が自動的に設定されるものとしてもよい。これらは、例えば、主ステージSmの許容入力画像数NImaxが算出された場合に(図15のステップS590)、許容入力画像数NImaxに基づき自動的に設定される。この場合には、合致項目率や合致キーワード率は、クエリー画像とターゲット画像との類似度を表す指標値として用いられる。
C4. Modification 4:
In the search condition setting process (FIG. 15) in the second embodiment, the number of search stages and the metric type at each search stage are automatically set. In the search condition setting process, the signature method at each search stage is set. And a combination of metric type may be automatically set. That is, combinations of a plurality of signature methods and metric types that differ in at least one of processing speed and processing accuracy are preset, and a specific combination is selected from a plurality of options based on the determination using the allowable required time Tmax. By selecting, the signature method and the metric type may be automatically set. Further, in the search condition setting process, the necessity of executing the metadata use search and the search condition of the metadata use search may be automatically set. For example, the matching item rate (ratio of the number of condition matching items to the number of items for which conditions are set (camera maker and file size)) as a threshold for condition determination in metadata search and a plurality of keywords can be used The matching keyword rate (ratio of the number of matching keywords to the set number of keywords) as a threshold for condition determination in the metadata use search may be automatically set. These are automatically set based on the allowable input image number NImax, for example, when the allowable input image number NImax of the main stage Sm is calculated (step S590 in FIG. 15). In this case, the match item rate and the match keyword rate are used as index values representing the similarity between the query image and the target image.

また、上記第2実施例の検索条件設定処理(図15)では、検索条件が1つ(主ステージSm)もしくは2つ(主ステージSmおよび前段ステージSp)の検索ステージで構成されるように自動設定されるが、検索条件が3つ以上の検索ステージで構成されるように自動設定されるとしてもよい。また、上記第2実施例の検索条件設定処理において、最小検出画像数NDminの設定(ステップS530)および最小検出画像数NDminを用いた判定(ステップS610)は省略可能である。   In the search condition setting process (FIG. 15) of the second embodiment, the search condition is automatically configured to include one (main stage Sm) or two (main stage Sm and previous stage Sp) search stages. Although it is set, the search condition may be automatically set so as to include three or more search stages. In the search condition setting process of the second embodiment, the setting of the minimum detected image number NDmin (step S530) and the determination using the minimum detected image number NDmin (step S610) can be omitted.

C5.変形例5:
上記各実施例における画像処理装置としてのプリンター100の構成はあくまで一例であり、プリンター100の構成は種々変更可能である。また、上記各実施例では、画像処理装置としてのプリンター100による画像検索・印刷処理を説明したが、処理の一部または全部がサーバーやパーソナルコンピューター、デジタルスチルカメラ、デジタルビデオカメラ等の他の種類の画像処理装置により実行されるものとしてもよい。また、プリンター100はインクジェットプリンターに限らず、他の方式のプリンター、例えばレーザプリンターや昇華型プリンターであるとしてもよい。
C5. Modification 5:
The configuration of the printer 100 as the image processing apparatus in each of the above embodiments is merely an example, and the configuration of the printer 100 can be variously changed. In each of the above-described embodiments, the image search / print process by the printer 100 as the image processing apparatus has been described. It may be executed by the image processing apparatus. The printer 100 is not limited to an ink jet printer, and may be another type of printer such as a laser printer or a sublimation printer.

上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部をハードウェアに置き換えるようにしてもよい。   In each of the above embodiments, a part of the configuration realized by hardware may be replaced with software, and conversely, a part of the configuration realized by software may be replaced by hardware. .

また、本発明の機能の一部または全部がソフトウェアで実現される場合には、そのソフトウェア(コンピュータープログラム)は、コンピューター読み取り可能な記録媒体に格納された形で提供することができる。この発明において、「コンピューター読み取り可能な記録媒体」とは、フレキシブルディスクやCD−ROMのような携帯型の記録媒体に限らず、各種のRAMやROM等のコンピューター内の内部記憶装置や、ハードディスク等のコンピューターに固定されている外部記憶装置も含んでいる。   In addition, when part or all of the functions of the present invention are realized by software, the software (computer program) can be provided in a form stored in a computer-readable recording medium. In the present invention, the “computer-readable recording medium” is not limited to a portable recording medium such as a flexible disk or a CD-ROM, but an internal storage device in a computer such as various RAMs and ROMs, a hard disk, etc. It also includes an external storage device fixed to the computer.

100…プリンター
110…CPU
120…内部メモリー
140…操作部
150…表示部
160…プリンターエンジン
170…カードインターフェース
172…カードスロット
200…画像処理部
210…画像検索部
211…ウィンドウ表示制御部
212…クエリー画像設定部
213…検索条件設定部
216…類似度算出部
217…印刷画像設定部
218…許容時間設定部
219…最小画像数設定部
310…表示処理部
320…印刷処理部
100 ... Printer 110 ... CPU
DESCRIPTION OF SYMBOLS 120 ... Internal memory 140 ... Operation part 150 ... Display part 160 ... Printer engine 170 ... Card interface 172 ... Card slot 200 ... Image processing part 210 ... Image search part 211 ... Window display control part 212 ... Query image setting part 213 ... Search condition Setting unit 216 ... Similarity calculation unit 217 ... Print image setting unit 218 ... Allowable time setting unit 219 ... Minimum image number setting unit 310 ... Display processing unit 320 ... Print processing unit

Claims (17)

画像検索を行う画像処理装置であって、
直列関係を有する複数の検索ステージのそれぞれにおける画像内容の特徴に関する検索条件を指定するためのステージ別条件指定領域と、前記複数の検索ステージのそれぞれに対応するタグであって前記ステージ別条件指定領域の表示状態を指定する複数のタグと、を含む条件指定ウィンドウを表示する条件指定ウィンドウ表示部と、
前記条件指定ウィンドウを介した指定に従い、前記複数の検索ステージのそれぞれにおける前記検索条件を設定する検索条件設定部と、
設定された前記検索条件を用いて前記複数の検索ステージの画像検索を順次実行する画像検索部と、を備える、画像処理装置。
An image processing apparatus for performing image search,
A stage-specific condition designation area for designating a search condition relating to the characteristics of image contents in each of a plurality of search stages having a serial relationship, and a tag corresponding to each of the plurality of search stages, the stage-specific condition designation area A condition specification window display for displaying a condition specification window including a plurality of tags for specifying the display state of
A search condition setting unit that sets the search condition in each of the plurality of search stages according to the specification through the condition specifying window;
An image search unit that sequentially executes image search of the plurality of search stages using the set search conditions.
請求項1に記載の画像処理装置であって、
前記ステージ別条件指定領域は、処理速度と処理精度との少なくとも一方が互いに異なる画像検索を実現する複数の前記検索条件の内の1つを、採用する前記検索条件として指定する領域である、画像処理装置。
The image processing apparatus according to claim 1,
The stage-specific condition designation area is an area for designating one of the plurality of search conditions that realizes an image search in which at least one of processing speed and processing accuracy is different as the search condition to be adopted. Processing equipment.
請求項1または請求項2に記載の画像処理装置であって、
前記条件指定ウィンドウ表示部は、前記検索ステージの数を指定するステージ数指定領域を含む前記条件指定ウィンドウを表示し、
前記検索条件設定部は、前記条件指定ウィンドウを介して指定された数の前記検索ステージのそれぞれにおける前記検索条件を設定する、画像処理装置。
The image processing apparatus according to claim 1 or 2, wherein
The condition designating window display unit displays the condition designating window including a stage number designating area for designating the number of the search stages,
The image processing apparatus, wherein the search condition setting unit sets the search condition in each of a number of the search stages specified via the condition specifying window.
請求項1ないし請求項3のいずれかに記載の画像処理装置であって、さらに、
画像検索の基準としてのクエリー画像を設定するクエリー画像設定部を備え、
前記検索条件設定部は、前記特徴についての前記クエリー画像との類似度に関する前記検索条件を設定する、画像処理装置。
The image processing apparatus according to any one of claims 1 to 3, further comprising:
A query image setting unit for setting a query image as a reference for image search;
The said search condition setting part is an image processing apparatus which sets the said search condition regarding the similarity with the said query image about the said characteristic.
請求項4に記載の画像処理装置であって、
前記クエリー画像設定部は、画像ファイルの指定と、描画と、色の指定と、のいずれかの方法により特定される画像を、前記クエリー画像として設定する、画像処理装置。
The image processing apparatus according to claim 4,
The query image setting unit sets an image specified by any one of an image file designation, a drawing, and a color designation as the query image.
請求項4または請求項5に記載の画像処理装置であって、
前記クエリー画像設定部は、画像検索により検出された画像の1つを新たな前記クエリー画像として設定する、画像処理装置。
The image processing apparatus according to claim 4 or 5, wherein
The said query image setting part is an image processing apparatus which sets one of the images detected by the image search as a new said query image.
請求項4ないし請求項6のいずれかに記載の画像処理装置であって、
前記検索条件設定部は、画像の領域毎に重み付けされた前記類似度に関する前記検索条件を設定する、画像処理装置。
An image processing apparatus according to any one of claims 4 to 6,
The said search condition setting part is an image processing apparatus which sets the said search condition regarding the said similarity weighted for every area | region of the image.
請求項4ないし請求項7のいずれかに記載の画像処理装置であって、
前記検索条件設定部は、画像の色空間のチャンネル毎に重み付けされた前記類似度に関する前記検索条件を設定する、画像処理装置。
An image processing apparatus according to any one of claims 4 to 7,
The image processing apparatus, wherein the search condition setting unit sets the search condition related to the similarity weighted for each channel of an image color space.
請求項1ないし請求項8のいずれかに記載の画像処理装置であって、
前記画像検索部は、前記直列関係における前段の前記検索ステージの画像検索において検出された画像を対象に、後段の前記検索ステージの画像検索を行う、画像処理装置。
An image processing apparatus according to any one of claims 1 to 8,
The image search unit is an image processing device that performs an image search of the subsequent search stage for an image detected in the image search of the previous search stage in the serial relationship.
請求項1ないし請求項9のいずれかに記載の画像処理装置であって、
前記検索条件設定部は、前記画像内容の特徴に関する検索条件に加えて、画像の属性に関する検索条件を設定し、
前記画像検索部は、前記画像の属性に関する検索条件と前記画像内容の特徴に関する検索条件とを用いて画像検索を行う、画像処理装置。
An image processing apparatus according to any one of claims 1 to 9, wherein
The search condition setting unit sets a search condition related to the attribute of the image in addition to the search condition related to the feature of the image content,
The image search unit is an image processing device that performs an image search using a search condition relating to an attribute of the image and a search condition relating to a feature of the image content.
請求項1ないし請求項10のいずれかに記載の画像処理装置であって、
前記条件指定ウィンドウ表示部は、前記タグを介した指定に従い、同時に1つのみの前記検索ステージに対応する前記ステージ別条件指定領域が表示された前記条件指定ウィンドウを表示する、画像処理装置。
An image processing apparatus according to any one of claims 1 to 10,
The condition designation window display unit displays the condition designation window in which the stage-specific condition designation areas corresponding to only one search stage are displayed at the same time according to designation via the tag.
請求項1ないし請求項11のいずれかに記載の画像処理装置であって、
前記特徴は、画像における色の分布を表す特徴と、画像のウェーブレット分解により算出される特徴と、の少なくとも一方である、画像処理装置。
An image processing apparatus according to any one of claims 1 to 11,
The image processing apparatus, wherein the feature is at least one of a feature representing a color distribution in an image and a feature calculated by wavelet decomposition of the image.
請求項1ないし請求項12のいずれかに記載の画像処理装置であって、さらに、
画像検索により検出された検出画像の中から印刷すべき検出画像を設定する印刷画像設定部と、
印刷すべき検出画像の印刷を行う印刷部と、を備える、画像処理装置。
The image processing apparatus according to any one of claims 1 to 12, further comprising:
A print image setting unit for setting a detection image to be printed from detection images detected by image search;
An image processing apparatus comprising: a printing unit that prints a detection image to be printed.
請求項13に記載の画像処理装置であって、さらに、
検出画像を一覧表示する検出画像表示エリアと、印刷すべき検出画像を指定するための印刷指定エリアと、を含む検索結果ウィンドウを表示する検索結果ウィンドウ表示部を備え、
前記印刷画像設定部は、前記検索結果ウィンドウにおいて、ユーザーの所定の操作に応じて前記印刷指定エリアに表示された画像に対応する検出画像を印刷すべき検出画像として設定する、画像処理装置。
The image processing apparatus according to claim 13, further comprising:
A search result window display unit for displaying a search result window including a detection image display area for displaying a list of detection images and a print designation area for designating a detection image to be printed;
The print image setting unit, in the search result window, sets a detection image corresponding to an image displayed in the print designation area as a detection image to be printed in response to a user's predetermined operation.
画像検索を行う画像処理方法であって、
(a)直列関係を有する複数の検索ステージのそれぞれにおける画像内容の特徴に関する検索条件を指定するためのステージ別条件指定領域と、前記複数の検索ステージのそれぞれに対応するタグであって前記ステージ別条件指定領域の表示状態を指定する複数のタグと、を含む条件指定ウィンドウを表示する工程と、
(b)前記条件指定ウィンドウを介した指定に従い、前記複数の検索ステージのそれぞれにおける前記検索条件を設定する工程と、
(c)設定された前記検索条件を用いて前記複数の検索ステージの画像検索を順次実行する工程と、を備える、画像処理方法。
An image processing method for performing image search,
(A) a stage-specific condition designation area for designating a search condition relating to the feature of the image content in each of a plurality of search stages having a serial relationship, and a tag corresponding to each of the plurality of search stages, A step of displaying a condition designation window including a plurality of tags for designating a display state of the condition designation area;
(B) setting the search condition in each of the plurality of search stages according to the specification through the condition specifying window;
(C) An image processing method comprising: sequentially executing image searches of the plurality of search stages using the set search conditions.
画像検索を行う画像処理のためのコンピュータープログラムであって、
直列関係を有する複数の検索ステージのそれぞれにおける画像内容の特徴に関する検索条件を指定するためのステージ別条件指定領域と、前記複数の検索ステージのそれぞれに対応するタグであって前記ステージ別条件指定領域の表示状態を指定する複数のタグと、を含む条件指定ウィンドウを表示する条件指定ウィンドウ表示機能と、
前記条件指定ウィンドウを介した指定に従い、前記複数の検索ステージのそれぞれにおける前記検索条件を設定する検索条件設定機能と、
設定された前記検索条件を用いて前記複数の検索ステージの画像検索を順次実行する画像検索機能と、を、コンピューターに実現させる、コンピュータープログラム。
A computer program for image processing that performs image search,
A stage-specific condition designation area for designating a search condition relating to the characteristics of image contents in each of a plurality of search stages having a serial relationship, and a tag corresponding to each of the plurality of search stages, the stage-specific condition designation area A condition specification window display function for displaying a condition specification window including a plurality of tags for specifying the display state of
A search condition setting function for setting the search condition in each of the plurality of search stages according to the specification through the condition specifying window;
A computer program that causes a computer to realize an image search function that sequentially executes image search of the plurality of search stages using the set search conditions.
印刷装置であって、
直列関係を有する複数の検索ステージのそれぞれにおける画像内容の特徴に関する検索条件を指定するためのステージ別条件指定領域と、前記複数の検索ステージのそれぞれに対応するタグであって前記ステージ別条件指定領域の表示状態を指定する複数のタグと、を含む条件指定ウィンドウを表示する条件指定ウィンドウ表示部と、
前記条件指定ウィンドウを介した指定に従い、前記複数の検索ステージのそれぞれにおける前記検索条件を設定する検索条件設定部と、
設定された前記検索条件を用いて前記複数の検索ステージの画像検索を順次実行する画像検索部と、
画像検索により検出された画像を印刷する印刷部と、を備える、印刷装置。
A printing device,
A stage-specific condition designation area for designating a search condition relating to the characteristics of image contents in each of a plurality of search stages having a serial relationship, and a tag corresponding to each of the plurality of search stages, the stage-specific condition designation area A condition specification window display for displaying a condition specification window including a plurality of tags for specifying the display state of
A search condition setting unit that sets the search condition in each of the plurality of search stages according to the specification through the condition specifying window;
An image search unit that sequentially executes image search of the plurality of search stages using the set search conditions;
And a printing unit that prints an image detected by the image search.
JP2009100733A 2009-04-17 2009-04-17 Printing apparatus, image processing apparatus, image processing method and computer program Withdrawn JP2010250657A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2009100733A JP2010250657A (en) 2009-04-17 2009-04-17 Printing apparatus, image processing apparatus, image processing method and computer program
US12/762,219 US20100268732A1 (en) 2009-04-17 2010-04-16 Printing apparatus, image processing apparatus, image processing method, and computer program
CN201010164602A CN101866348A (en) 2009-04-17 2010-04-16 Printing equipment, image processing apparatus, image processing method and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009100733A JP2010250657A (en) 2009-04-17 2009-04-17 Printing apparatus, image processing apparatus, image processing method and computer program

Publications (1)

Publication Number Publication Date
JP2010250657A true JP2010250657A (en) 2010-11-04

Family

ID=42958076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009100733A Withdrawn JP2010250657A (en) 2009-04-17 2009-04-17 Printing apparatus, image processing apparatus, image processing method and computer program

Country Status (3)

Country Link
US (1) US20100268732A1 (en)
JP (1) JP2010250657A (en)
CN (1) CN101866348A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915955A (en) * 2015-05-27 2015-09-16 上海交通大学 Image-segmentation-based picture searching method

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9569541B2 (en) * 2009-12-31 2017-02-14 Microsoft Technology Licensing, Llc Evaluating preferences of content on a webpage
CN103034646B (en) * 2011-09-30 2016-04-13 北大方正集团有限公司 The search method of PDF sample file and device
CN104731952B (en) * 2015-03-31 2017-02-15 努比亚技术有限公司 Method and device for checking pictures
CN106156111B (en) * 2015-04-03 2021-10-19 北京中知智慧科技有限公司 Patent document retrieval method, device and system
US10063414B2 (en) 2016-05-13 2018-08-28 Cisco Technology, Inc. Updating a transport stack in a content centric network
CN109002749B (en) * 2017-12-11 2022-01-04 罗普特科技集团股份有限公司 Suspect face identification and determination method
CN110019910A (en) * 2017-12-29 2019-07-16 上海全土豆文化传播有限公司 Image search method and device
CN117519616B (en) * 2023-11-08 2024-04-09 广州市森扬电子科技有限公司 Method, equipment and storage medium for improving uniformity of printed image

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001034631A (en) * 1999-07-22 2001-02-09 Olympus Optical Co Ltd Image file device and data base production method of the image file device
JP2002140341A (en) * 2000-11-02 2002-05-17 Sekisui House Ltd Method and device for retrieving image, and database structure
JP2006338313A (en) * 2005-06-01 2006-12-14 Nippon Telegr & Teleph Corp <Ntt> Similar image retrieving method, similar image retrieving system, similar image retrieving program, and recording medium
JP2007172077A (en) * 2005-12-19 2007-07-05 Fuji Xerox Co Ltd Image search system, method thereof, and program thereof
JP2007179098A (en) * 2005-12-26 2007-07-12 Canon Inc Image processing device, image retrieving method, device, and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6895104B2 (en) * 2001-02-16 2005-05-17 Sac Technologies, Inc. Image identification system
JP2004348706A (en) * 2003-04-30 2004-12-09 Canon Inc Information processing device, information processing method, storage medium, and program
JP4388301B2 (en) * 2003-05-08 2009-12-24 オリンパス株式会社 Image search apparatus, image search method, image search program, and recording medium recording the program
JP2006033646A (en) * 2004-07-20 2006-02-02 Sony Corp Information processing system, information processing method, and computer program
JP4574438B2 (en) * 2005-05-20 2010-11-04 シャープ株式会社 DATA PROCESSING SETTING DEVICE, DATA PROCESSING SETTING METHOD, DATA PROCESSING SETTING PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
US7801392B2 (en) * 2005-07-21 2010-09-21 Fuji Xerox Co., Ltd. Image search system, image search method, and storage medium
JP2007026386A (en) * 2005-07-21 2007-02-01 Fuji Xerox Co Ltd Image search system and method
JP2008200071A (en) * 2007-02-16 2008-09-04 Toshiba Corp Magnetic resonance imaging apparatus and image display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001034631A (en) * 1999-07-22 2001-02-09 Olympus Optical Co Ltd Image file device and data base production method of the image file device
JP2002140341A (en) * 2000-11-02 2002-05-17 Sekisui House Ltd Method and device for retrieving image, and database structure
JP2006338313A (en) * 2005-06-01 2006-12-14 Nippon Telegr & Teleph Corp <Ntt> Similar image retrieving method, similar image retrieving system, similar image retrieving program, and recording medium
JP2007172077A (en) * 2005-12-19 2007-07-05 Fuji Xerox Co Ltd Image search system, method thereof, and program thereof
JP2007179098A (en) * 2005-12-26 2007-07-12 Canon Inc Image processing device, image retrieving method, device, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915955A (en) * 2015-05-27 2015-09-16 上海交通大学 Image-segmentation-based picture searching method

Also Published As

Publication number Publication date
CN101866348A (en) 2010-10-20
US20100268732A1 (en) 2010-10-21

Similar Documents

Publication Publication Date Title
JP2010250657A (en) Printing apparatus, image processing apparatus, image processing method and computer program
JP2010250658A (en) Printing apparatus, image processing apparatus, image processing method, and computer program
US6463432B1 (en) Apparatus for and method of retrieving images
US8086045B2 (en) Image processing device with classification key selection unit and image processing method
US8699789B2 (en) Document classification using multiple views
US8532377B2 (en) Image ranking based on abstract concepts
JP4859025B2 (en) Similar image search device, similar image search processing method, program, and information recording medium
US7925650B2 (en) Image management methods, image management systems, and articles of manufacture
US8589457B1 (en) Training scoring models optimized for highly-ranked results
US7508998B2 (en) Image search apparatus, image search method, program, and storage medium
US20090024580A1 (en) Compositional balance and color driven content retrieval
EP1564660A1 (en) Image feature set analysis of transform coefficients including color, edge and texture
US20110202543A1 (en) Optimising content based image retrieval
US20080030792A1 (en) Image search system, image search server, and control method therefor
US8666992B2 (en) Privacy preserving method for querying a remote public service
JP4214568B2 (en) Image data sequential display device, image data sequential display method, and recording medium
US8385656B2 (en) Image processing apparatus, image processing method and program
AU2004218694A1 (en) Systems and methods for indexing and retrieving images
JP5515417B2 (en) Image processing method and apparatus, and computer program therefor
US20090287692A1 (en) Information processing apparatus and method for controlling the same
JP2010250659A (en) Printer, image processor, image processing method, and computer program
US9020955B2 (en) Compositional balance driven content retrieval
JP2010271769A (en) Image processing method and apparatus, and computer program therefor
KR20000014123A (en) Image likeness weighted value adjustment device and method and contents base image search system and method using thereof
US20210216540A1 (en) Accessible and efficient search process using clustering

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120405

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130604

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20130731