[go: up one dir, main page]

JP2005275979A - Image retrieving program - Google Patents

Image retrieving program Download PDF

Info

Publication number
JP2005275979A
JP2005275979A JP2004090465A JP2004090465A JP2005275979A JP 2005275979 A JP2005275979 A JP 2005275979A JP 2004090465 A JP2004090465 A JP 2004090465A JP 2004090465 A JP2004090465 A JP 2004090465A JP 2005275979 A JP2005275979 A JP 2005275979A
Authority
JP
Japan
Prior art keywords
image
search
searched
similar
degrees
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.)
Pending
Application number
JP2004090465A
Other languages
Japanese (ja)
Inventor
Kenichiro Ayaki
健一郎 綾木
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2004090465A priority Critical patent/JP2005275979A/en
Publication of JP2005275979A publication Critical patent/JP2005275979A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image retrieving program capable of retrieving a desired image with high accuracy from a group of retrieval images where images taken at a longitudinal position and images taken at a lateral position are mixed. <P>SOLUTION: The images respectively similar to a retrieval key image, an image obtained by turning the retrieval image by +90 degrees, and an image obtained by turning the retrieval key image by -90 degrees are retrieved from the group of retrieval images. Whereby the desired image can be retrieved with high accuracy even when the images taken at the longitudinal position and the images taken at the lateral position are mixed in the group of retrieval images. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は画像検索プログラムに係り、特に縦位置で撮影された画像と横位置で撮影された画像とが混在した検索対象画像群から検索キー画像に類似する画像を検索する画像検索プログラムに関する。   The present invention relates to an image search program, and more particularly to an image search program for searching an image similar to a search key image from a search target image group in which an image shot in a vertical position and an image shot in a horizontal position are mixed.

検索しようとする画像(検索キー画像)に特徴が類似した画像を検索対象画像群から検索する方法に関しては、さまざまな方法が提案されている(たとえば、特許文献1、2)。これら従来の画像検索方法は、抽出する特徴量に種々の違いはあるものの、一般的には検索しようとする検索キー画像から画像の特徴を表す色、形、テクスチャー構造などを示す特徴量を抽出し、検索対象となる検索対象画像群からも同様に特徴量を抽出する。そして、両特徴量間の類似度を検索対象それぞれに対して計算し、類似度が高いものを類似画像として抽出する。この際、特許文献2では、検索キー画像と検索対象画像群とのアスペクト比の違いを考慮して、類似画像の検索をできるようにしている。
特開2003−91727号公報 特開2003−122758号公報
Various methods have been proposed for searching for images similar in characteristics to the image to be searched (search key image) from the search target image group (for example, Patent Documents 1 and 2). Although these conventional image search methods have various differences in the feature values to be extracted, in general, feature values indicating the color, shape, texture structure, etc. representing the image features are extracted from the search key image to be searched. Similarly, the feature amount is extracted from the search target image group to be searched. Then, the similarity between both feature quantities is calculated for each search object, and the one with a high similarity is extracted as a similar image. At this time, in Patent Document 2, similar images can be searched in consideration of the difference in aspect ratio between the search key image and the search target image group.
JP 2003-91727 A JP 2003-122758 A

ところで、デジタルカメラで撮影する際、撮影者は被写体に応じてカメラを縦に構えて撮影したり、横に構えて撮影したりするが、記録される画像は、縦に構えて撮影した画像であっても、横に構えて撮影した画像と同じ状態で記録される。   By the way, when shooting with a digital camera, the photographer shoots with the camera held vertically or shoots horizontally according to the subject, but the recorded images are images taken with the camera held vertically. Even if it exists, it is recorded in the same state as an image taken by holding it sideways.

したがって、このように縦位置で撮影された画像と横位置で撮影された画像が混在するデジタルカメラの撮影画像に対して従来の画像検索方法で検索しても、縦位置で撮影された画像が含まれるため、精度よく検索することができないという欠点があった。   Therefore, even if a conventional image search method is used to search for an image captured by a digital camera in which an image captured in the vertical position and an image captured in the horizontal position are mixed, the image captured in the vertical position is not detected. Because it is included, there was a drawback that it was not possible to search with high accuracy.

本発明は、このような事情に鑑みてなされたもので、縦位置で撮影された画像と横位置で撮影された画像とが混在した検索対象画像群から目的とする画像を精度よく検索することができる画像検索プログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and accurately retrieves a target image from a search target image group in which an image shot in a vertical position and an image shot in a horizontal position are mixed. An object of the present invention is to provide an image search program capable of

請求項1に係る発明は、前記目的を達成するために、検索キー画像に類似する画像を検索対象画像群から検索するためにコンピュータを、検索キー画像を入力する画像入力手段、前記画像入力手段で入力された検索キー画像に類似する画像を検索対象画像群から検索する第1画像検索手段、前記画像入力手段で入力された検索キー画像を+90度回転させた画像に類似する画像を検索対象画像群から検索する第2画像検索手段、前記画像入力手段で入力された検索キー画像を−90度回転させた画像に類似する画像を検索対象画像群から検索する第3画像検索手段、前記第1画像検索手段、前記第2画像検索手段及び前記第3画像検索手段で検索された画像を出力する画像出力手段、として機能させることを特徴とする画像検索プログラムを提供する。   In order to achieve the above object, the invention according to claim 1 is directed to a computer for searching an image similar to a search key image from a search target image group, an image input means for inputting a search key image, and the image input means. A first image search means for searching an image similar to the search key image input in the search target image group, and an image similar to an image obtained by rotating the search key image input by the image input means by +90 degrees Second image search means for searching from the image group; third image search means for searching for an image similar to an image obtained by rotating the search key image input by the image input means by -90 degrees from the search target image group; An image search program that functions as one image search means, an image output means that outputs an image searched by the second image search means, and the third image search means. Subjected to.

本発明によれば、入力された検索キー画像、その検索キー画像を+90度回転させた画像、及び、検索キー画像を−90度回転させた画像それぞれに類似する画像を検索対象画像群から検索する。これにより、検索対象画像群に縦位置で撮影された画像と横位置で撮影された画像とが混在している場合であっても、目的とする画像を精度よく検索することができる。   According to the present invention, a search key image, an image obtained by rotating the search key image by +90 degrees, and an image similar to the image obtained by rotating the search key image by −90 degrees are searched from the search target image group. To do. As a result, even when an image shot in the vertical position and an image shot in the horizontal position are mixed in the search target image group, the target image can be searched with high accuracy.

また、請求項2に係る発明は、前記目的を達成するために、前記画像出力手段は、前記第2画像検索手段で検索された画像を−90度回転させて出力するとともに、前記第3画像検索手段で検索された画像を+90度回転させて出力することを特徴とする請求項1に記載の画像検索プログラムを提供する。   According to a second aspect of the present invention, in order to achieve the object, the image output means rotates the image searched by the second image search means by −90 degrees and outputs the third image. The image search program according to claim 1, wherein the image searched by the search means is rotated by +90 degrees and output.

本発明によれば、検索キー画像を−90度回転させた画像に類似する画像として検索された画像については、+90度回転されて出力され、検索キー画像を+90度回転させた画像に類似する画像として検索された画像については、−90度回転させて出力される。これにより、縦位置で撮影された画像に関しては、縦位置に直されて結果が出力される。   According to the present invention, an image searched as an image similar to an image obtained by rotating the search key image by −90 degrees is output after being rotated by +90 degrees, and similar to an image obtained by rotating the search key image by +90 degrees. An image retrieved as an image is output after being rotated by −90 degrees. As a result, the image taken at the vertical position is corrected to the vertical position and the result is output.

また、請求項3に係る発明は、前記目的を達成するために、検索キー画像に類似する画像を検索対象画像群から検索するためにコンピュータを、検索キー画像を入力する画像入力手段、前記画像入力手段で入力された検索キー画像に類似する画像を検索対象画像群から検索する第1画像検索手段、前記画像入力手段で入力された検索キー画像に類似する画像をそれぞれ+90度回転させた検索対象画像群から検索する第2画像検索手段、前記画像入力手段で入力された検索キー画像に類似する画像をそれぞれ−90度回転させた検索対象画像群から検索する第3画像検索手段、前記第1画像検索手段、前記第2画像検索手段及び前記第3画像検索手段で検索された画像を出力する画像出力手段、として機能させることを特徴とする画像検索プログラムを提供する。   According to a third aspect of the present invention, there is provided an image input means for inputting a search key image, the image input means for searching for an image similar to the search key image from the search target image group, and the image. A first image search unit that searches an image similar to the search key image input by the input unit from the search target image group, and a search that rotates an image similar to the search key image input by the image input unit by +90 degrees, respectively. Second image search means for searching from the target image group; third image search means for searching from the search target image group obtained by rotating images similar to the search key image input by the image input means by -90 degrees; An image search program characterized by functioning as one image search means, an image output means for outputting images searched by the second image search means and the third image search means. To provide a gram.

本発明によれば、画像入力手段で入力された検索キー画像に類似する画像を検索対象画像群から検索するとともに、+90度回転させた検索対象画像群と−90度回転させた検索対象画像群とから検索する。これにより、検索対象画像群に縦位置で撮影された画像と横位置で撮影された画像とが混在している場合であっても、目的とする画像を精度よく検索することができる。   According to the present invention, an image similar to the search key image input by the image input means is searched from the search target image group, the search target image group rotated by +90 degrees, and the search target image group rotated by -90 degrees. And search from. As a result, even when an image shot in the vertical position and an image shot in the horizontal position are mixed in the search target image group, the target image can be searched with high accuracy.

また、請求項4に係る発明は、前記目的を達成するために、前記画像出力手段は、前記第2画像検索手段で検索された画像を−90度回転させて出力するとともに、前記第3画像検索手段で検索された画像を+90度回転させて出力することを特徴とする請求項3に記載の画像検索プログラムを提供する。   According to a fourth aspect of the present invention, in order to achieve the object, the image output means rotates the image searched by the second image search means by -90 degrees and outputs the third image. 4. The image search program according to claim 3, wherein the image searched by the search means is output after being rotated by +90 degrees.

本発明によれば、−90度回転させた検索対象画像群から検索された画像については、+90度回転されて出力され、+90度回転させた検索対象画像群から検索された画像については、−90度回転させて出力される。これにより、縦位置で撮影された画像に関しては、縦位置に直されて結果が出力される。   According to the present invention, an image searched from a search target image group rotated by −90 degrees is output by being rotated by +90 degrees, and an image searched from a search target image group rotated by +90 degrees is − It is rotated 90 degrees and output. As a result, the image taken at the vertical position is corrected to the vertical position and the result is output.

本発明に係る画像検索プログラムによれば、縦位置で撮影された画像と横位置で撮影された画像とが混在した検索対象画像群から目的とする画像を精度よく検索することができる。   According to the image search program of the present invention, it is possible to accurately search for a target image from a search target image group in which an image shot at a vertical position and an image shot at a horizontal position are mixed.

以下、添付図面に従って本発明に係る画像検索プログラムを実施するための最良の形態について説明する。   The best mode for carrying out an image search program according to the present invention will be described below with reference to the accompanying drawings.

図1は本発明に係る画像検索プログラムによる画像検索処理が実行されるコンピュータ(パソコン)のシステム構成を示すブロック図である。   FIG. 1 is a block diagram showing a system configuration of a computer (personal computer) in which an image search process by an image search program according to the present invention is executed.

パソコン10は、一般的に用いられているタイプのコンピュータであり、本発明に係る画像検索プログラムを実行するとともに、システム全体の制御を行なう中央処理装置(CPU)12、CPU12における演算結果や画像データ等を一時的に格納するためのRAM14、オペレーティングシステム(OS)や本発明に係る画像検索プログラムや各種アプリケーションプログラム、画像データ等を格納するためのハードディスクドライブ(HDD)16、CD−ROMに記録されているデータを読み取るためのCD−ROMドライブ18、CPU12における演算結果や画像データ等を表示するための表示装置20、コマンドや数値等を入力するためのキーボード、マウスといった入力装置22、サーバとネットワークを通じて通信するためのモデム24等を備えており、これらは相互にバス26で接続されている。   The personal computer 10 is a commonly used type of computer. The computer 10 executes an image search program according to the present invention, and controls the entire system. Are stored in the RAM 14, the operating system (OS), the image search program according to the present invention, various application programs, the hard disk drive (HDD) 16 for storing image data, etc., and the CD-ROM. A CD-ROM drive 18 for reading stored data, a display device 20 for displaying calculation results and image data in the CPU 12, a keyboard for inputting commands and numerical values, an input device 22 such as a mouse, a server and a network To communicate through It includes a modem 24 or the like, which are connected to each other by a bus 26.

図2は、本発明に係る画像検索プログラムのメインウインドウの一実施形態を示す図であり、本発明に係る画像検索プログラムを画像閲覧プログラムを起動すると、このメインウインドウが表示装置20に表示される。   FIG. 2 is a diagram showing an embodiment of the main window of the image search program according to the present invention. When the image search program according to the present invention is activated, this main window is displayed on the display device 20. .

メインウインドウは、主として、検索キー画像を指定するための「検索キー画像指定領域」と、検索対象とする検索対象画像群が格納された場所を指定するための「検索対象指定領域」と、検索結果を表示するための「検索結果表示領域」と、検索実行を指示する「検索開始ボタン」とで構成されている。   The main window mainly includes a “search key image designation area” for designating a search key image, a “search target designation area” for designating a place where a search target image group to be searched is stored, and a search A “search result display area” for displaying the results and a “search start button” for instructing execution of the search are configured.

検索キー画像指定領域は、検索キー画像を表示するための「検索キー画像表示部」と、検索キー画像を選択するための「検索キー画像選択部」とで構成され、検索キー画像選択部で選択された画像が検索キー画像として検索キー画像表示部に表示される。   The search key image designation area includes a “search key image display unit” for displaying the search key image and a “search key image selection unit” for selecting the search key image. The selected image is displayed as a search key image on the search key image display unit.

検索キー画像選択部は、検索キー画像が格納された場所(フォルダ)を指定するための「格納場所入力部」を備えており、この格納場所入力部に特定の場所(フォルダ)を入力すると、その入力された場所(フォルダ)に格納されている画像ファイルが、「格納ファイル表示部」に一覧表示される。そして、この格納ファイル表示部に表示された画像ファイルの中から任意の画像ファイルを選択(マウスポインタでクリック)すると、その選択された画像が、「検索キー画像入力部」に入力されるとともに、検索キー画像表示部に表示される。そして、この検索キー画像表示部に表示された画像が検索キー画像に設定される。   The search key image selection unit includes a “storage location input unit” for designating a location (folder) in which the search key image is stored. When a specific location (folder) is input to the storage location input unit, A list of image files stored in the input location (folder) is displayed in the “stored file display section”. When an arbitrary image file is selected from the image files displayed on the stored file display unit (clicked with the mouse pointer), the selected image is input to the “search key image input unit”. Displayed on the search key image display section. The image displayed on the search key image display unit is set as the search key image.

なお、図2に示す例では、検索キー画像が格納された場所として、「MyPicture 」を指定し、検索キー画像として、画像ファイル「DSCF0001」を選択した場合を示している。   In the example shown in FIG. 2, “MyPicture” is designated as the location where the search key image is stored, and the image file “DSCF0001” is selected as the search key image.

検索対象指定領域は、検索対象画像群が格納された場所を指定するための「検索場所入力部」を備えており、この検索場所入力部に入力された場所(フォルダ)が検索場所に設定される。   The search target designation area includes a “search location input unit” for designating a location where the search target image group is stored, and the location (folder) input in this search location input unit is set as the search location. The

なお、図2に示す例では、検索対象として、Dドライブに格納された「ポートレート」というフォルダ名のフォルダを指定した場合を示している。   The example shown in FIG. 2 shows a case where a folder with a folder name “Portrait” stored in the D drive is designated as a search target.

検索結果表示領域は、表示形式を指定する「サムネイル表示ボタン」と「詳細表示ボタン」とを備えており、サムネイル表示ボタンをマウスポインタでクリックすると、検索された画像が、サムネイル表示形式で検索結果表示領域に出力表示される。一方、詳細表示ボタンをマウスポインタでクリックすると、検索された画像が、詳細表示形式(ファイル名の他、格納先を示すフォルダ名、ファイルの種類、ファイルサイズ、撮影日時、画像サイズ等の画像の詳細情報が表示される形式)で検索結果表示領域に出力表示される。   The search result display area has a “thumbnail display button” and a “detail display button” that specify the display format. Clicking the thumbnail display button with the mouse pointer displays the searched image in the thumbnail display format. The output is displayed in the display area. On the other hand, when the detail display button is clicked with the mouse pointer, the searched image is displayed in the detail display format (file name, folder name indicating the storage location, file type, file size, shooting date, image size, etc.). The detailed information is displayed in the search result display area.

さて、上記のメインウインドウにて検索キー画像と検索場所を指定し、検索開始ボタンをマウスポインタでクリックすると、指定された検索キー画像に特徴が類似した画像が、指定された検索場所から検索される。以下、この画像検索の処理の手順を図3に示すフローチャートに従って説明する。   Now, when you specify the search key image and search location in the main window and click the search start button with the mouse pointer, an image similar in characteristics to the specified search key image is searched from the specified search location. The The image search processing procedure will be described below with reference to the flowchart shown in FIG.

まず、検索キー画像に類似する画像を指定された検索場所、すなわち、指定された検索場所に格納されている画像群(検索対象画像群)の中から検索する(ステップS10)。この検索の結果から類似画像が検索されたか否か判定する(ステップS11)。そして、類似画像が検索されていなければ、ステップ13に進み、類似画像が検索されていれば、検索された画像を検索結果表示部に表示する(ステップS12)。   First, an image similar to the search key image is searched from the designated search location, that is, the image group (search target image group) stored in the designated search location (step S10). It is determined from the search result whether a similar image has been searched (step S11). If a similar image is not searched, the process proceeds to step 13. If a similar image is searched, the searched image is displayed on the search result display unit (step S12).

次に、検索キー画像を+90度回転させた画像を生成し、その画像に類似する画像を検索対象画像群の中から検索する(ステップS13)。この検索の結果から類似画像が検索されたか否か判定する(ステップS14)。そして、類似画像が検索されていなければ、ステップ16に進み、類似画像が検索されていれば、検索された画像を検索結果表示部に表示する(ステップS15)。   Next, an image obtained by rotating the search key image by +90 degrees is generated, and an image similar to the image is searched from the search target image group (step S13). It is determined from the search result whether a similar image has been searched (step S14). If a similar image has not been searched, the process proceeds to step 16. If a similar image has been searched, the searched image is displayed on the search result display unit (step S15).

次に、検索キー画像を−90度回転させた画像を生成し、その画像に類似する画像を検索対象画像群の中から検索する(ステップS16)。この検索の結果から類似画像が検索されたか否か判定する(ステップS17)。そして、類似画像が検索されいなければ、処理を終了し、類似画像が検索されていれば、検索された画像を検索結果表示部に表示する(ステップS18)。   Next, an image obtained by rotating the search key image by −90 degrees is generated, and an image similar to the image is searched from the search target image group (step S16). It is determined from the search result whether or not a similar image has been searched (step S17). If a similar image is not searched, the process is terminated. If a similar image is searched, the searched image is displayed on the search result display unit (step S18).

このように、検索キー画像そのものに類似する画像を検索するほか、検索キー画像を+90度回転させた画像及び検索キー画像を−90度回転させた画像に類似する画像をも検索することにより、検索対象画像群に縦位置で撮影された画像と横位置で撮影された画像とが混在している場合であっても、目的とする画像を精度よく検出することができる。   Thus, in addition to searching for an image similar to the search key image itself, an image similar to the image obtained by rotating the search key image by +90 degrees and the image obtained by rotating the search key image by −90 degrees are also searched. Even when an image captured in the vertical position and an image captured in the horizontal position are mixed in the search target image group, the target image can be detected with high accuracy.

なお、類似画像の検索方法については、公知の手法を用いるものとし、たとえば、検索キー画像から画像の特徴を表す色、形、テクスチャー構造などを示す特徴量を抽出するとともに、検索対象画像群の個々の画像についても同様に特徴量を抽出し、抽出した検索キー画像の特徴量と類似度が高い画像を検索対象画像群から抽出する。   As a similar image search method, a known method is used. For example, a feature amount indicating a color, a shape, a texture structure, or the like indicating a feature of an image is extracted from a search key image, and a search target image group is extracted. Similarly, the feature amount is extracted for each image, and an image having a high similarity to the feature amount of the extracted search key image is extracted from the search target image group.

本実施の形態では、検索キー画像そのものから抽出した特徴量と類似度が高い画像を指定された検索場所から検索するとともに、検索キー画像を+90度回転させて生成した画像、及び、検索キー画像を−90度回転させて生成した画像から抽出した特徴量と類似度が高い画像を指定された検索場所から検索する。   In the present embodiment, an image having a high degree of similarity with the feature amount extracted from the search key image itself is searched from the designated search location, and the search key image is generated by rotating the search key image by +90 degrees, and the search key image An image having a high similarity to the feature amount extracted from the image generated by rotating -90 degrees is searched from the designated search location.

上記のように、検索された画像は、検索結果表示部に表示されるが、この際、サムネイル表示が選択されている場合は、図2に示すように、検索された画像がサムネイル表示形式で検索結果表示領域に出力表示され、詳細表示形式が選択されている場合は、図4に示すように、検索された画像が詳細表示形式で検索結果表示領域に出力表示される。   As described above, the searched image is displayed in the search result display unit. At this time, if thumbnail display is selected, the searched image is displayed in the thumbnail display format as shown in FIG. When output and displayed in the search result display area and the detailed display format is selected, the searched image is output and displayed in the search result display area in the detailed display format as shown in FIG.

ところで、図2に示すように、サムネイル表示形式で表示させた場合、検索された画像をそのまま表示すると、縦位置で撮影された画像は+90度又は−90度回転した状態で表示される。   By the way, as shown in FIG. 2, when displaying in the thumbnail display format, if the searched image is displayed as it is, the image photographed in the vertical position is displayed in a state rotated by +90 degrees or -90 degrees.

そこで、図5に示すように、検索キー画像を+90度回転させた画像に類似する画像として検索された画像に関しては、−90度回転させて検索結果表示領域に表示させ、検索キー画像を−90度回転させた画像に類似する画像として検索された画像に関しては、+90度回転させて検索結果表示領域に表示させるようにすることが好ましい。   Therefore, as shown in FIG. 5, for an image searched as an image similar to an image obtained by rotating the search key image by +90 degrees, the image is rotated by -90 degrees and displayed in the search result display area. For an image searched as an image similar to an image rotated by 90 degrees, it is preferable to rotate it by +90 degrees and display it in the search result display area.

図6は、検索された縦位置画像を縦位置表示する場合の処理の手順を示すフローチャートである。   FIG. 6 is a flowchart illustrating a processing procedure when the retrieved vertical position image is displayed in the vertical position.

まず、検索キー画像に類似する画像を検索対象画像群の中から検索する(ステップS20)。この検索の結果から類似画像が検索されたか否か判定する(ステップS21)。そして、類似画像が検索されていなければ、ステップ23に進み、類似画像が検索されていれば、検索された画像をそのまま検索結果表示部に表示する(ステップS22)。   First, an image similar to the search key image is searched from the search target image group (step S20). It is determined from the search result whether a similar image has been searched (step S21). If a similar image is not searched, the process proceeds to step 23. If a similar image is searched, the searched image is displayed on the search result display unit as it is (step S22).

次に、検索キー画像を+90度回転させた画像を生成し、その画像に類似する画像を検索対象画像群の中から検索する(ステップS23)。この検索の結果から類似画像が検索されたか否か判定する(ステップS24)。そして、類似画像が検索されていなければ、ステップ26に進み、類似画像が検索されていれば、検索された画像を−90度回転させて検索結果表示部に表示する(ステップS25)。   Next, an image obtained by rotating the search key image by +90 degrees is generated, and an image similar to the image is searched from the search target image group (step S23). It is determined from the search result whether a similar image has been searched (step S24). If a similar image has not been searched, the process proceeds to step 26. If a similar image has been searched, the searched image is rotated by -90 degrees and displayed on the search result display unit (step S25).

次に、検索キー画像を−90度回転させた画像を生成し、その画像に類似する画像を検索対象画像群の中から検索する(ステップS26)。この検索の結果から類似画像が検索されたか否か判定する(ステップS27)。そして、類似画像が検索されていなければ、処理を終了し、類似画像が検索されていれば、検索された画像を+90度回転させて検索結果表示部に表示する(ステップS28)。   Next, an image obtained by rotating the search key image by −90 degrees is generated, and an image similar to the image is searched from the search target image group (step S26). It is determined from the search result whether a similar image has been searched (step S27). If a similar image has not been searched, the process ends. If a similar image has been searched, the searched image is rotated by +90 degrees and displayed on the search result display unit (step S28).

このように、検索キー画像を+90度回転させた画像に類似する画像として検索された画像に関しては、−90度回転させて検索結果表示領域に表示させ、検索キー画像を−90度回転させた画像に類似する画像として検索された画像に関しては、+90度回転させて検索結果表示領域に表示させることにより、図5に示すように、縦位置撮影された画像は縦位置で表示され、画像を容易に確認することができるようになる。   As described above, for an image searched as an image similar to an image obtained by rotating the search key image by +90 degrees, the search key image is rotated by −90 degrees and displayed in the search result display area, and the search key image is rotated by −90 degrees. With respect to an image searched as an image similar to the image, by rotating it by +90 degrees and displaying it in the search result display area, as shown in FIG. 5, the vertically shot image is displayed in the vertical position, and the image is displayed. It becomes possible to confirm easily.

なお、この検索結果表示領域に表示されたサムネイル又はファイル名(詳細表示形式時)をマウスポインタでクリックすると、画像閲覧プログラムが別ウインドウで起動し、選択したサムネイル又はファイル名の画像が表示装置20に表示されるものとする。   When the thumbnail or file name (in the detailed display format) displayed in the search result display area is clicked with the mouse pointer, the image browsing program is launched in a separate window, and the image of the selected thumbnail or file name is displayed on the display device 20. Shall be displayed.

次に、本発明に係る画像検索プログラムの第2の実施の形態について説明する。上記の実施の形態では、検索キー画像そのものに類似する画像を検索するとともに、検索キー画像を+90度及び−90度回転させた画像に類似する画像を検索するようにしていたが、第2の実施の形態では、検索対象側を回転させて画像を検索する。以下、この第2の実施の形態の画像検索の処理の手順について説明する。なお、検索キー画像及び検索場所の指定方法は上述した実施の形態と同じものとする。   Next, a second embodiment of the image search program according to the present invention will be described. In the above embodiment, an image similar to the search key image itself is searched, and an image similar to an image obtained by rotating the search key image by +90 degrees and −90 degrees is searched. In the embodiment, an image is searched by rotating the search target side. Hereinafter, the procedure of the image search process of the second embodiment will be described. Note that the search key image and the search location designation method are the same as those in the above-described embodiment.

図7は、第2の実施の形態の画像検索プログラムの画像検索の処理の手順を示すフローチャートである。   FIG. 7 is a flowchart illustrating a procedure of image search processing of the image search program according to the second embodiment.

まず、検索キー画像に類似する画像を指定された検索場所、すなわち、指定された検索場所に格納されている画像群(検索対象画像群)の中から検索する(ステップS30)。この検索の結果から類似画像が検索されたか否か判定する(ステップS31)。そして、類似画像が検索されていなければ、ステップ33に進み、類似画像が検索されていれば、検索された画像を検索結果表示部に表示する(ステップS32)。   First, an image similar to the search key image is searched from the designated search location, that is, the image group (search target image group) stored in the designated search location (step S30). It is determined from the search result whether a similar image has been searched (step S31). If a similar image is not searched, the process proceeds to step 33. If a similar image is searched, the searched image is displayed on the search result display unit (step S32).

次に、検索キー画像に類似する画像をそれぞれ+90度回転させた検索対象画像群の中から検索する(ステップS33)。この検索の結果から類似画像が検索されたか否か判定する(ステップS34)。そして、類似画像が検索されていなければ、ステップ36に進み、類似画像が検索されていれば、検索された画像を検索結果表示部に表示する(ステップS35)。   Next, an image similar to the search key image is searched from the search target image group rotated by +90 degrees (step S33). It is determined from the search result whether a similar image has been searched (step S34). If a similar image has not been searched, the process proceeds to step 36. If a similar image has been searched, the searched image is displayed on the search result display unit (step S35).

次に、検索キー画像に類似する画像をそれぞれ−90度回転させた検索対象画像群の中から検索する(ステップS36)。この検索の結果から類似画像が検索されたか否か判定する(ステップS37)。そして、類似画像が検索されていなければ、処理を終了し、類似画像が検索されていれば、検索された画像を検索結果表示部に表示する(ステップS38)。   Next, an image similar to the search key image is searched from the search target image group rotated by −90 degrees (step S36). It is determined from the search result whether or not a similar image has been searched (step S37). If a similar image has not been searched, the process is terminated. If a similar image has been searched, the searched image is displayed on the search result display unit (step S38).

このように、そのままの検索対象画像群の中から検索キー画像に類似する画像を検索するほか、+90度回転させた検索対象画像群及び−90度回転させた検索対象画像群の中からも検索することにより、上述した実施の形態と同様に、検索対象画像群に縦位置で撮影された画像と横位置で撮影された画像とが混在している場合であっても、目的とする画像を精度よく検出することができる。   Thus, in addition to searching for an image similar to the search key image from the search target image group as it is, search is also performed from the search target image group rotated by +90 degrees and the search target image group rotated by -90 degrees. As a result, as in the above-described embodiment, the target image can be obtained even when the image captured in the vertical position and the image captured in the horizontal position are mixed in the search target image group. It can be detected with high accuracy.

なお、この場合も検索された画像は検索結果表示部に表示される。そして、表示形式として、サムネイル表示が選択されている場合は、検索された画像がサムネイル表示形式で検索結果表示領域に出力表示され(図2参照)、詳細表示形式が選択されている場合は、検索された画像が詳細表示形式で検索結果表示領域に出力表示される。   In this case as well, the searched image is displayed on the search result display unit. When thumbnail display is selected as the display format, the searched image is output and displayed in the search result display area in the thumbnail display format (see FIG. 2). When the detailed display format is selected, The searched image is output and displayed in the search result display area in the detailed display format.

また、サムネイル表示形式で表示する場合は、上記実施の形態と同様に縦位置で撮影された画像は+90度又は−90度回転した状態で表示させることが好ましい。すなわち、+90度回転させた検索対象画像群から検索された画像に関しては、−90度回転させて検索結果表示領域に表示させ、−90度回転させた検索対象画像群から検索された画像に関しては、+90度回転させて検索結果表示領域に表示させる(図5参照)。   Further, when displaying in the thumbnail display format, it is preferable to display the image taken in the vertical position in a state rotated by +90 degrees or −90 degrees as in the above embodiment. That is, for an image searched from the search target image group rotated by +90 degrees, an image searched from the search target image group rotated by -90 degrees and displayed in the search result display area and rotated by -90 degrees is displayed. , Rotated by +90 degrees and displayed in the search result display area (see FIG. 5).

図8は、縦位置撮影された画像を縦位置表示する場合の処理の手順を示すフローチャートである。   FIG. 8 is a flowchart showing a processing procedure in a case where an image shot in the vertical position is displayed in the vertical position.

まず、検索キー画像に類似する画像を検索対象画像群の中から検索する(ステップS40)。この検索の結果から類似画像が検索されたか否か判定する(ステップS41)。そして、類似画像が検索されていなければ、ステップ43に進み、類似画像が検索されていれば、検索された画像をそのまま検索結果表示部に表示する(ステップS42)。   First, an image similar to the search key image is searched from the search target image group (step S40). It is determined from the search result whether a similar image has been searched (step S41). If a similar image is not searched, the process proceeds to step 43. If a similar image is searched, the searched image is displayed as it is on the search result display unit (step S42).

次に、検索キー画像に類似する画像をそれぞれ+90度回転させた検索対象画像群の中から検索する(ステップS43)。この検索の結果から類似画像が検索されたか否か判定する(ステップS44)。そして、類似画像が検索されていなければ、ステップ46に進み、類似画像が検索されていれば、検索された画像を−90度回転させて検索結果表示部に表示する(ステップS45)。   Next, an image similar to the search key image is searched from the search target image group rotated by +90 degrees (step S43). It is determined from the search result whether or not a similar image has been searched (step S44). If a similar image is not searched, the process proceeds to step 46. If a similar image is searched, the searched image is rotated by -90 degrees and displayed on the search result display unit (step S45).

次に、検索キー画像に類似する画像をそれぞれ−90度回転させた検索対象画像群の中から検索する(ステップS46)。この検索の結果から類似画像が検索されたか否か判定する(ステップS47)。そして、類似画像が検索されていなければ、処理を終了し、類似画像が検索されていれば、検索された画像を+90度回転させて検索結果表示部に表示する(ステップS48)。   Next, an image similar to the search key image is searched from the search target image group rotated by −90 degrees (step S46). It is determined from the search result whether or not a similar image has been searched (step S47). If a similar image has not been searched, the process ends. If a similar image has been searched, the searched image is rotated by +90 degrees and displayed on the search result display unit (step S48).

このように、それぞれ+90度回転させた検索対象画像群の中から検索された画像に関しては、−90度回転させて検索結果表示領域に表示させ、それぞれ−90度回転させた検索対象画像群の中から検索された画像に関しては、+90度回転させて検索結果表示領域に表示させることにより、図5に示すように、縦位置撮影された画像は縦位置で表示され、画像を容易に確認することができるようになる。   As described above, the images retrieved from the search target image group rotated by +90 degrees are displayed in the search result display area after being rotated by -90 degrees, and each of the search target image groups rotated by -90 degrees is displayed. With respect to the image searched from inside, by rotating it by +90 degrees and displaying it in the search result display area, as shown in FIG. 5, the image taken in the vertical position is displayed in the vertical position, and the image can be easily confirmed. Will be able to.

以上説明したように、本実施の形態の画像検索プログラムによれば、検索対象画像群に縦位置で撮影された画像と横位置で撮影された画像とが混在している場合であっても、目的とする画像を精度よく検索することができる。   As described above, according to the image search program of the present embodiment, even in the case where an image captured in the vertical position and an image captured in the horizontal position are mixed in the search target image group, The target image can be searched with high accuracy.

なお、本実施の形態で示したメインウインドウの表示形態は本発明に係る画像検索プログラムの一例であり、検索キー画像の入力形態、検索対象画像群の入力形態は他の表示形態を採用してもよい。また、結果の表示形態も上述した実施の形態の形式に限定されるものではく、たとえば他のウインドウで結果を表示させるようにしてもよい。   The display form of the main window shown in this embodiment is an example of the image search program according to the present invention, and the input form of the search key image and the input form of the search target image group adopt other display forms. Also good. Further, the result display form is not limited to the form of the above-described embodiment. For example, the result may be displayed in another window.

また、本実施の形態では、本発明をパーソナルコンピュータに実行させる場合を例に説明したが、デジタルカメラや画像再生装置等に組み込まれたコンピュータに本発明を実行させることもできる。これにより、これらの機器においても、本発明に係る画像検索の実施が可能になる。   Further, although cases have been described with the present embodiment as examples where the present invention is executed by a personal computer, the present invention can also be executed by a computer incorporated in a digital camera, an image reproduction device, or the like. Thereby, the image search according to the present invention can be performed also in these devices.

コンピュータのシステム構成を示すブロック図Block diagram showing system configuration of computer 画像検索プログラムのメインウインドウを示す図(サムネイル表示形式)Figure showing the main window of the image search program (thumbnail display format) 画像検索の処理の手順を示すフローチャートFlowchart showing image search processing procedure 画像検索プログラムのメインウインドウを示す図(詳細表示形式)Figure showing the main window of the image search program (detailed display format) 画像検索プログラムのメインウインドウを示す図(サムネイル表示形式)Figure showing the main window of the image search program (thumbnail display format) 検索された縦位置画像を縦位置表示する場合の処理の手順を示すフローチャートThe flowchart which shows the procedure of the process in the case of displaying the searched vertical position image vertically. 画像検索の処理の手順を示すフローチャートFlowchart showing image search processing procedure 検索された縦位置画像を縦位置表示する場合の処理の手順を示すフローチャートThe flowchart which shows the procedure of the process in the case of displaying the searched vertical position image vertically.

符号の説明Explanation of symbols

10…パソコン、12…中央処理装置(CPU)、14…RAM、16…ハードディスクドライブ(HDD)、18…CD−ROMドライブ、20…表示装置、22…入力装置、24…モデム、26…バス   DESCRIPTION OF SYMBOLS 10 ... Personal computer, 12 ... Central processing unit (CPU), 14 ... RAM, 16 ... Hard disk drive (HDD), 18 ... CD-ROM drive, 20 ... Display device, 22 ... Input device, 24 ... Modem, 26 ... Bus

Claims (4)

検索キー画像に類似する画像を検索対象画像群から検索するためにコンピュータを、
検索キー画像を入力する画像入力手段、
前記画像入力手段で入力された検索キー画像に類似する画像を検索対象画像群から検索する第1画像検索手段、
前記画像入力手段で入力された検索キー画像を+90度回転させた画像に類似する画像を検索対象画像群から検索する第2画像検索手段、
前記画像入力手段で入力された検索キー画像を−90度回転させた画像に類似する画像を検索対象画像群から検索する第3画像検索手段、
前記第1画像検索手段、前記第2画像検索手段及び前記第3画像検索手段で検索された画像を出力する画像出力手段、
として機能させることを特徴とする画像検索プログラム。
In order to search an image similar to the search key image from the search target image group,
Image input means for inputting a search key image,
First image search means for searching an image similar to the search key image input by the image input means from a search target image group;
Second image search means for searching an image similar to an image obtained by rotating the search key image input by the image input means by +90 degrees from a search target image group;
Third image search means for searching an image similar to an image obtained by rotating the search key image input by the image input means by -90 degrees from a search target image group;
Image output means for outputting the images searched by the first image search means, the second image search means and the third image search means;
An image search program characterized by functioning as
前記画像出力手段は、前記第2画像検索手段で検索された画像を−90度回転させて出力するとともに、前記第3画像検索手段で検索された画像を+90度回転させて出力することを特徴とする請求項1に記載の画像検索プログラム。   The image output means rotates the image searched by the second image search means by −90 degrees and outputs the image searched by the third image search means by rotating by +90 degrees. The image search program according to claim 1. 検索キー画像に類似する画像を検索対象画像群から検索するためにコンピュータを、
検索キー画像を入力する画像入力手段、
前記画像入力手段で入力された検索キー画像に類似する画像を検索対象画像群から検索する第1画像検索手段、
前記画像入力手段で入力された検索キー画像に類似する画像をそれぞれ+90度回転させた検索対象画像群から検索する第2画像検索手段、
前記画像入力手段で入力された検索キー画像に類似する画像をそれぞれ−90度回転させた検索対象画像群から検索する第3画像検索手段、
前記第1画像検索手段、前記第2画像検索手段及び前記第3画像検索手段で検索された画像を出力する画像出力手段、
として機能させることを特徴とする画像検索プログラム。
In order to search an image similar to the search key image from the search target image group,
Image input means for inputting a search key image,
First image search means for searching an image similar to the search key image input by the image input means from a search target image group;
Second image search means for searching from a search target image group obtained by rotating images similar to the search key image input by the image input means by +90 degrees,
Third image search means for searching from search target image groups obtained by rotating images similar to the search key image input by the image input means by -90 degrees,
Image output means for outputting the images searched by the first image search means, the second image search means and the third image search means;
An image search program characterized by functioning as
前記画像出力手段は、前記第2画像検索手段で検索された画像を−90度回転させて出力するとともに、前記第3画像検索手段で検索された画像を+90度回転させて出力することを特徴とする請求項3に記載の画像検索プログラム。   The image output means rotates the image searched by the second image search means by −90 degrees and outputs the image searched by the third image search means by rotating by +90 degrees. The image search program according to claim 3.
JP2004090465A 2004-03-25 2004-03-25 Image retrieving program Pending JP2005275979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004090465A JP2005275979A (en) 2004-03-25 2004-03-25 Image retrieving program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004090465A JP2005275979A (en) 2004-03-25 2004-03-25 Image retrieving program

Publications (1)

Publication Number Publication Date
JP2005275979A true JP2005275979A (en) 2005-10-06

Family

ID=35175567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004090465A Pending JP2005275979A (en) 2004-03-25 2004-03-25 Image retrieving program

Country Status (1)

Country Link
JP (1) JP2005275979A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009118040A (en) * 2007-11-05 2009-05-28 Olympus Imaging Corp Image retrieving device, and image retrieving method
JP2009277155A (en) * 2008-05-16 2009-11-26 Ricoh Co Ltd Image retrieval apparatus, image retrieval method, information processing program and recording medium
JP2009290798A (en) * 2008-05-30 2009-12-10 Hitachi Ltd Image retrieval apparatus and image retrieval method
JP2010061285A (en) * 2008-09-02 2010-03-18 Yahoo Japan Corp Image retrieval device
JP2010072749A (en) * 2008-09-16 2010-04-02 Olympus Imaging Corp Image search device, digital camera, image search method, and image search program
JP2013055668A (en) * 2012-10-10 2013-03-21 Olympus Imaging Corp Image reproduction device and image reproduction method
JP2021093226A (en) * 2021-03-22 2021-06-17 富士フイルム株式会社 Image extraction device, image extraction method, image extraction program, and recording medium in which program of the same is stored

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11191159A (en) * 1997-12-25 1999-07-13 Casio Comput Co Ltd Image output device and its program recording medium
JPH11191109A (en) * 1997-12-26 1999-07-13 Toshiba Corp Object search apparatus and method
JP2002358522A (en) * 2001-05-31 2002-12-13 Olympus Optical Co Ltd Image selection support device, image selection support method, and image selection support program
JP2003256427A (en) * 2002-02-27 2003-09-12 Fuji Xerox Co Ltd Image retrieval device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11191159A (en) * 1997-12-25 1999-07-13 Casio Comput Co Ltd Image output device and its program recording medium
JPH11191109A (en) * 1997-12-26 1999-07-13 Toshiba Corp Object search apparatus and method
JP2002358522A (en) * 2001-05-31 2002-12-13 Olympus Optical Co Ltd Image selection support device, image selection support method, and image selection support program
JP2003256427A (en) * 2002-02-27 2003-09-12 Fuji Xerox Co Ltd Image retrieval device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009118040A (en) * 2007-11-05 2009-05-28 Olympus Imaging Corp Image retrieving device, and image retrieving method
JP2009277155A (en) * 2008-05-16 2009-11-26 Ricoh Co Ltd Image retrieval apparatus, image retrieval method, information processing program and recording medium
JP2009290798A (en) * 2008-05-30 2009-12-10 Hitachi Ltd Image retrieval apparatus and image retrieval method
JP2010061285A (en) * 2008-09-02 2010-03-18 Yahoo Japan Corp Image retrieval device
JP2010072749A (en) * 2008-09-16 2010-04-02 Olympus Imaging Corp Image search device, digital camera, image search method, and image search program
JP2013055668A (en) * 2012-10-10 2013-03-21 Olympus Imaging Corp Image reproduction device and image reproduction method
JP2021093226A (en) * 2021-03-22 2021-06-17 富士フイルム株式会社 Image extraction device, image extraction method, image extraction program, and recording medium in which program of the same is stored
JP7203877B2 (en) 2021-03-22 2023-01-13 富士フイルム株式会社 Image extraction device, image extraction method, image extraction program, and recording medium storing the program

Similar Documents

Publication Publication Date Title
US8078627B2 (en) File management apparatus, method for controlling file management apparatus, computer program, and storage medium
US8212784B2 (en) Selection and display of media associated with a geographic area based on gesture input
JP5371489B2 (en) Image management apparatus, control method therefor, program, and storage medium
JP4844636B2 (en) Document management system, document management method, and document management program
US20060085474A1 (en) Image storage apparatus and program therefor
JP2009112550A (en) Game device, image processing method, program, and information recording medium
JP5627332B2 (en) Data retrieval apparatus, control method therefor, and computer program
US7085767B2 (en) Data storage method and device and storage medium therefor
US8850359B2 (en) Image processor and image processing method
JP2008108200A (en) Information extracting apparatus and method, program, and storage medium
JP2005301889A (en) Image comparison program
JP2006293751A (en) Information management program, and information management apparatus
JP2008170900A (en) Information processing apparatus, information browsing method, information browsing program, and recording medium
JP2005275979A (en) Image retrieving program
JP2007322847A (en) Image display method, apparatus and program
US20040177067A1 (en) Directory search method, directory search apparatus, program for implementing and operating the same, and memory medium
JP2010113655A (en) Image processor, control method of image processor, and control program
EP3467830A1 (en) Information processing method for displaying images, information processing apparatus, and storage medium
US20130191782A1 (en) Information processing apparatus, control method thereof, and program
JP2005244614A (en) Electronic camera device and recording medium
JP5362427B2 (en) Search result display method and apparatus, and search result display program
JP4674728B2 (en) Image selecting apparatus, image selecting apparatus control method, program, and recording medium
JP2006171891A (en) Image management device, image management method, and image management program
JP5298484B2 (en) Document processing device
JP2006285847A (en) Image retrieval system and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060530

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090406

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090825