Method and apparatus for image retrieval6961724Abstract A method and an apparatus for retrieving images which allows easy retrieval of a desired image from an image database stored in an electronic or optical recording medium or a communication network. As the first step of searching, through the menu entry section, the user enters multi-leveled retrieval requests for the keywords associated with an image. Received the requests, the retrieval section evaluates the user's necessity for the image based on at least the entered requests and the number of the requests. Then the retrieved image is displayed on the screen, according to the calculated necessity. The method and apparatus thus provide the user with a much-needed image in order of precedence by qualifying the user's necessity for the image. Claims 1. A method of retrieving an image from at least one of an information-storage medium and an information network, said method comprising: Description FIELD OF THE INVENTION
With such a structure, the present invention can provide the user with a much-needed image in order of precedence by quantifying the degree of necessity for an individual image. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 shows a block diagram, in which arrows indicate the flow of the process, of the image retrieval apparatus of the present invention in accordance with a first preferred embodiment. FIG. 2 shows a display of a tag entry section. FIG. 3 shows a display of a menu entry section. DESCRIPTION OF THE PREFERRED EMBODIMENTS The preferred embodiments of the present invention are described hereinafter with reference to the accompanying drawings. First Preferred Embodiment The embodiment of the present invention is described hereinafter with reference to the accompanying drawings. FIG. 1 is a block diagram indicative of the structure of the image retrieval apparatus. The explanation below will be described the case in which the apparatus comprises a personal computer and other peripheral devices. Although description referred to input and output sections assumes the case using an internet-browser, similar configuration is also possible even in a game machine having a simple entry function. In FIG. 1, scanner 1 converts an image into an electronic image signal to store it in an electronic medium. Tag entry section 2 is used for tagging a keyword to the electronic image signal. The user inputs a retrieval request signal in menu entry section 4 in order to search a desired image. Image output section 5 outputs an obtained electronic image signal. In tag section 2, menu entry section 4 and image output section 5, display screens are used for inputting and displaying. Image retrieval section 3:
Image retrieval section 3 includes hard disk 32, entering/correcting section 31, rating section 33, sorter 34, and communicator 35. Entering/correcting section 31 writes an electronic image signal and a tag signal into hard disk 32, which stores the both signals. Rating section 33 evaluates a necessity signal indicating the degree of necessity for an image, using the retrieval request signal handed from menu entry section 4, and the tag signal tagging to each electronic image signal stored in hard disk 32. Sorter 34 sorts the electronic image signals such that the image signal having a higher necessity signal comes first, and outputs the sorted signals to image output section 5. Communicator 35 searches, via network 36, an image from accumulated data in a communication network. Now will be described the workings of such structured image retrieval apparatus. When the user converts an image such as an illustration into an electronic image signal with scanner 1, the image signal is set on an address, provided a file name. Then the user starts up the browser installed in his/her PC and selects the image entry page by clicking to start up tag entry section 2. In response to the operation, the browser displays tag entry screen 21 shown in FIG. 2. When the user selects NEW IMAGE ENTRY in the screen, tag entry section 2 consults entering/correcting section 31 the number which is newly assigned to the electronic image signal to be added. In the embodiment, the already stored image signals have serial numbers from 1, so that the number next to which is given to the previously added image signal will be assigned to the image to be added. Tag entry section 2 displays image number 26, electronic image signal 22, keywords 24, which are received from entering/correcting section 31, and virtual buttons 25 shown next to each keyword. Here, an original image signal is scaled down and displayed as electronic image signal 22. The keywords are classified into some groups, for example, in FIG. 2, they are grouped by field, place, and scene. Each class has plural keywords. The user can click on desired one of virtual buttons 25 in the screen to add a tag signal to the image signal to be entered. When the user clicks on Confirmation button 23 in the screen, the image signal is stored with the corresponding tag signal into hard disk 32 as a file addressable by a number. Suppose that tag signal "Tm", which corresponds to the electronic image signal addressed by number "m", has classes in numbers of "Nc". Tag signal "Tm" can be expressed in vectors in numbers of "Nc". Furthermore, suppose that class "c" has keywords in numbers of "Kc". In this case, each vector of tag signal "Tm" is expressed in "Kc"-dimensional vector, where suppose that the component corresponding to the keyword specified a tag is set to 1, while the component with no tag is set to 0. For example, tag signal "Tm" is expressed as follows:
When correcting the tag signal tagged to the entered image signal, the user starts up tag entry section 2 as in the case of the entry operation, then selects CORRECTION in the screen. In response to the selection, tag entry section 2 prompts for the assigned number to the electronic image signal stored in hard disk 32. According to the number entered by the user, tag entry section 2 reads, via entering/correcting section 31, the specified image signal with the tag signal and displays them. Then the user operates similarly to the entry operation as the entry operation described above and completes the correction of tag signals. When searching an image, the user starts up the browser and selects the image retrieval page by clicking to start up menu entry section 4. When menu entry section 4 comes up, menu 310 shown in FIG. 3 appears. Menu 310 contains a long list of keywords, indicators 330 graduated in multi level by which the importance of each keyword is indicated, and a pair of buttons for each keyword: one for increasing the level of the degree of the importance, the other for decreasing it. The user can set the degree of importance (e.g. assigning a priority) for each keyword: the degree of importance for a keyword is increased by clicking the level-up button on the right side to move the pointer of each indicator 330, while it is decreased by clicking the level-down button on the left side. Through such operation, the user enters a retrieval request signal to search a desired image then clicks on searching button 320. In response to clicking menu, menu entry section 4 sends the entered retrieval request signal to rating section 33. In the embodiment, suppose that retrieval request signal "C" has "Nc" classes and class "c" has "Kc" keywords. In this case, signal "C" can be expressed "Nc" vectors. Each vector of signal "C" is expressed in "Kc"-dimensional vector, where suppose that the component corresponding to the keyword specified a selection criteria, i.e., the "j"th keyword in class "c", is set to "q (c, j)" as the value indicated by the indicator, the rest of the components are set to 0. For example:
In the embodiment, it is effective such that the value "q (c, j)" accepts 0 or positive values. In addition to 0 and positive values, it is effective such that the value "q (c, j)" further accepts negative values, which clearly indicates a negative meaning against the importance for a keyword. Received retrieval request signal "C", rating section 33 sequentially reads electronic image signal "Im" and tag signal "Tm", which are addressable by number "m", and evaluates necessity signal "Nm" for each vector of tag signal "Tm". According to the embodiment, if there are few non-zero values in each component of request signal "C", the necessity signal of the image signal in which there are few non-zero values in tag signal's component is increased. On the other hand, if there are many non-zero values in each component of request signal "C", the necessity signal of the image signal in which there are many non-zero values in tag signal's component is increased. The definition is based on a tendency described below. For example, assuming that the illustration, in which a doctor's upper body is sketched, is the one to be retrieved, the tag signal would be tagged to the keyword "doctor" only. On the other hand, when the illustration, in which many strollers in the park or many stores on the street, is desired, plural keywords, such as "homemaker", "children", and "shopping mall", are expected to have tag signals simultaneously. In the embodiment, the necessity signal is employed such that the keywords belong to the same class are ORed, while the keywords between different classes are ANDed, where the AND and OR are logical operators. Using tag signal "Tm" and retrieval request signal "C", necessity signal "TNm" for an electronic image signal is calculated by the expression below: "Nm (c)" indicates the degree of necessity for class "c" calculated by the expression below: Where,
The expression is made of two terms to evaluate the degree of necessity of the electronic image signal, that is:
2) the second term in which the electronic image signal with fewer tags has a higher degree of necessity. Which term is mainly used for the calculation in the expression depends on the number of non-zero components of the retrieval request signal with reference to the value of "offset", and the value of "defuse". In more detail, the contributions of the first term and second term depends on whether the number of non-zero components of the retrieval request signal is larger or smaller than the value of "offset". When number of non-zero components is close to the value of "offset", the degrees of contribution to the calculation from the two terms above are determined by the value of "defuse". Then, which terms above mainly contribute to the calculation changes with rapidity determined by the value of "defuse" in the neighborhood of the point that the number of no-zero components equals the value of "offset", which is the turning point of the change. In the embodiment, it is preferable to have the value of "offset" ranging from 3 to 6, and the value of "defuse" ranging from 2 to 4. In addition, it is effective that different classes may have different "offset"s and "defuse"s. It is also effective that necessity signal "TNm" is the sum of necessity signal "Nm (c)" of each class, where each "Nm (c)" is modified by assigning a weight prior to being summed. When employing this way, it is preferable to assign more weights to an important class in the search. Rating section 33 sends number "m" which addresses an electronic image signal and, necessity signal "TNm" corresponding to the image signal to sorter 34. Received these signals, sorter 34 generates an output signal in which the image signals are sorted in order of decreasing the rating of the necessity signal "TNm", then transmits the output signal to image output section 5. In the embodiment, the output signal is a Hyper Text Markup Language (HTML)-written source. Received the output signal, image output section 5 displays it on the screen. As for the calculation of the degree of necessity, following ways are also available for good results.
The notable point of the embodiment is in that a tendency often observed in tagging to images is used for the calculation of the degree of necessity. For example, assuming that an illustration is the desired one, in which a doctor's upper body is sketched, the tag signal would be tagged to the keyword "doctor" only. On the other hand, when the illustration, in which many strollers in the park or many stores on the street, is desired, plural keywords, such as "homemaker", "children", and "shopping mall", are expected to have tag signals simultaneously. The necessity calculation is not limited to the way described above as long as such tendency is effectively used. Although the explanation using the apparatus shown in FIG. 1 is given above, it is not limited to, as long as a similar way is employed, to obtain good results. As described above, the present invention:
In other words, it enables to provide an improved human-computer interface that searches much-needed images based on the multi-leveled retrieval request entered by users and outputs the retrieved images in order of precedence.
|
Same subclass Same class Consider this |
||||||||||
