Image search apparatus, method of controlling operation of same, and image search server
09805253 · 2017-10-31
Assignee
Inventors
Cpc classification
G06F16/58
PHYSICS
International classification
Abstract
An image search apparatus includes a display control device, a feature quantity calculation device, a scoring device for scoring the image based upon the values of the feature quantities calculated by the feature quantity calculation device, a first scoring control device, responsive to application of a first move command which moves an image being displayed in the candidate area to a search result area, for controlling the scoring device to raise the value of feature quantities, which correspond to the feature quantities of the image for which the first move command has been applied, and score the multiplicity of images based upon the raised values of the feature quantities, and an image placement decision device for deciding image placement in such a manner that a predetermined number of images having high scores obtained are displayed in the search result area, and other images are displayed in the candidate area.
Claims
1. An image search apparatus comprising: at least one hardware processor configured to control a display unit to display a plurality of images in a candidate area of a display screen, calculate, with regard to each image of a multiplicity of images, the values of feature quantities representing characteristics of the image, score the image based upon the values of the calculated feature quantities, responsive to application of a first move command which moves an image displayed in the candidate area to a search result area, raise the value of feature quantities, which correspond to the feature quantities of the image for which the first move command has been applied and score said multiplicity of images based upon the raised values of the feature quantities, and determine image assignment in such a manner that a predetermined number of images having high scores are displayed in the search result area of the display screen, and images other than the predetermined number of images are displayed in the candidate area of the display screen.
2. The apparatus according to claim 1, wherein said at least one hardware processor, in response to application of an image display command to display images in the determined assignment, controls the display unit so as to display the images in the decided placement.
3. The apparatus according to claim 1, wherein said at least one hardware processor controls the display unit so as to display a deletion area, in addition to the candidate area, on the display screen, and responsive to application of a second move command which moves an image being displayed in the candidate area or an image being displayed in the search result area to the deletion area, lowers the value of feature quantities, which correspond to the feature quantities of the image for which the second move command has been applied, and scores said multiplicity of images with the exception of said plurality of images based upon the lowered values of feature quantities.
4. The apparatus according to claim 1, wherein said at least one hardware processor, in response to application of a third move command which moves an image, which is being displayed in the search result area in accordance with the first move command, to the candidate area, scores the images upon restoring raised values of the feature quantities to original values.
5. The apparatus according to claim 1, wherein said at least one hardware processor, in response to application of a third move command which moves an image, which is being displayed in the search result area in accordance with the second move command, to the candidate area, scores the images upon restoring lowered values of the feature quantities to original values.
6. The apparatus according to claim 1, wherein the at least one hardware processor creates an electronic album using images displayed in the search result area.
7. An image search server constituting an image search system having a client computer and the image search server, comprising: a feature quantity calculation device for calculating, with regard to each image of a multiplicity of images, the values of feature quantities representing characteristics of the image; a scoring device for scoring the image based upon the values of the feature quantities calculated by said feature quantity calculation device; wherein a plurality of images having high scores obtained by said scoring device are displayed in a search result area of a display screen of said client computer and images other than the plurality of images are displayed in a candidate area of the display screen; and a first scoring control device, responsive to application of a first move command which moves an image being displayed in the candidate area, which has been formed on the display screen of said client computer, to the search result area, for controlling said scoring device so as to raise the value of feature quantities, which correspond to the feature quantities of the image for which the first move command has been applied, and score said multiplicity of images based upon the raised values of the feature quantities.
8. The server according to claim 7, further comprising a second scoring control device, responsive to application of a second move command which moves an image being displayed in the candidate area, which has been formed on the display screen of said client computer, or an image being displayed in the search result area, to a deletion area, for controlling said scoring device so as to lower the value of feature quantities, which correspond to the feature quantities of the image for which the second move command has been applied, and score said multiplicity of images based upon the lowered values of feature quantities.
9. A method of controlling operation of an image search apparatus, comprising steps of: controlling a display unit so as to display a plurality of images in a candidate area of a display screen; calculating, with regard to each image of a multiplicity of images, the values of feature quantities representing characteristics of the image; scoring the image based upon the calculated values of the feature quantities; in response to application of a first move command which moves an image being displayed in the candidate area to a search result area, raising the value of feature quantities, which correspond to the feature quantities of the image for which the first move command has been applied, and scoring said multiplicity of images based upon the raised values of the feature quantities; and deciding image placement in such a manner that a predetermined number of images having high scores obtained by scoring are displayed in the search result area of the display screen, and images other than the predetermined number of images are displayed in the candidate area of the display screen.
10. A method of controlling operation of an image search server constituting an image search system having a client computer and the image search server, comprising steps of: calculating, with regard to each image of a multiplicity of images, the values of feature quantities representing characteristics of the image; scoring the image based upon the calculated values of the feature quantities; wherein a plurality of images having high scores obtained by scoring are displayed in a search result area of a display screen of the client computer and images other than the plurality of images are displayed in a candidate area of the display screen; and in response to application of a first move command which moves an image being displayed in the candidate area, which has been formed on the display screen of the client computer, to the search result area, raising the value of feature quantities, which correspond to the feature quantities of the image for which the first move command has been applied, and scoring said multiplicity of images based upon the raised values of the feature quantities.
11. A non-transitory computer readable medium storing a computer-readable program for controlling a computer of an image search apparatus so as to: control a display unit so as to display a plurality of images in a candidate area of a display screen; calculate, with regard to each image of a multiplicity of images, the values of feature quantities representing characteristics of the image; score the image based upon the values of the feature quantities calculated by said feature quantity calculation device; in response to application of a first move command which moves an image being displayed in the candidate area to a search result area, raise the value of feature quantities, which correspond to the feature quantities of the image for which the first move command has been applied, with regard to said multiplicity of images with the exception of said plurality of images, and score said multiplicity of images based upon the raised values of the feature quantities; and decide image placement in such a manner that a predetermined number of images having high scores obtained by scoring are displayed in the search result area of the display screen, and images other than the predetermined number of images are displayed in the candidate area of the display screen.
12. An image search server constituting an image search system having a client computer and the image search server, comprising: at least one hardware processor configured to calculate, with regard to each image of a multiplicity of images, the values of feature quantities representing characteristics of the image; score the image based upon the values of the feature quantities calculated by said feature quantity calculation device, a plurality of images having high scores being displayed in a search result area of a display screen of said client computer and images other than the plurality of images being displayed in a candidate area of the display screen; and responsive to application of a first move command which moves an image being displayed in the candidate area, which has been formed on the display screen of said client computer, to the search result area, raise the value of feature quantities, which correspond to the feature quantities of the image for which the first move command has been applied, and score said multiplicity of images based upon the raised values of the feature quantities.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
DESCRIPTION OF THE EMBODIMENTS
(17)
(18) The overall operation of the photobook creation apparatus 1 is controlled by a CPU 2.
(19) The photobook creation apparatus 1 includes a CD-ROM (Compact-Disc-Read-Only Memory) drive 6. By loading a CD-ROM 7 containing an operation program, described later, in the CD-ROM drive 6, the operation program is read and installed in the photobook creation apparatus 1. The photobook creation apparatus 1 is provided with a communication unit 10 as well. The operation program may be received by the communication unit 10 and the received operation program installed in the photobook creation apparatus 1.
(20) The photobook creation apparatus 1 includes a display device 4 controlled by a display control unit 3. A touch panel 5 has been formed on the display screen of the display device 4. A signal produced in response to touching of the touch panel 5 is input to the CPU 2. The photobook creation apparatus 1 is further provided with a hard disk 12, which is accessed by a hard-disk drive 11, and a memory card reader 8. When a memory card 9 storing image files representing a large number of images is loaded in the memory card reader 8, the image files are read by the memory card reader 8.
(21)
(22) The photobook creation apparatus 1 is so adapted that in a case where the photobook creation apparatus 1 according to this embodiment displays the automatically laid-out page of a photobook on a display screen and a user performs an editing operation for changing an image, the photobook creation apparatus 1 refers to the editing operation and arranges it so that images to be laid out on the page of the photobook will be images in line with user preference.
(23) The period of image capture of images to be included in the photobook is designated by the user (step 21). The memory card 9 (which may be some other medium) is loaded in the memory card reader 8 and image files representing a large number of images stored on the memory card 9 are read (step 22). The large number of images represented by the read image files are grouped based upon the date and time of image capture and an image list is formed for every group (step 23).
(24)
(25) The horizontal axis in
(26) When the images are grouped, an image list is created for every group.
(27)
(28) In group G1, 100 images from images I1 to I100 form this one group and an image list of these images is created. In group G2, 113 images from images I101 to I213 form this one group and an image list of these images is created. Image lists are created in similar fashion for the other groups as well.
(29) With reference again to
(30)
(31) The image feature quantity table contains values of feature quantities of the images, which are included in the image list, in correspondence with feature quantities (blurriness, brightness, composition, etc.) representing the characteristics of the images. For example, the values of the feature quantities blurriness, brightness and composition of the image I101 are u101, b101 and a101, respectively. Similarly, the values of the feature quantities blurriness, brightness and composition of the image I102 are u102, b102 and a102, respectively. The table similarly contains values of feature quantities regarding the other images I103 to I212 included in group G1.
(32) By calculating the values of the feature quantities of all images in all of the image lists, image feature quantity tables of the above kind are created with regard to all of the groups G1 to G21 obtained by grouping of the images.
(33) Next, a photobook page number n is set (step 25 in
(34)
(35) The feature quantity weighting coefficient table contains weighting coefficients in correspondence with feature quantities. The value of a feature quantity (see
(36) As will be described later in greater detail, weighting coefficients are changed in accordance with the editing operation performed by the user. For this reason, a history of weighting coefficients that prevail after the performance of editing operations is stored in the feature quantity weighting coefficient table in addition to the initial values of the weighting coefficients. For example, although k is the initial value for each of the feature quantities blurriness, brightness and composition, the weighting coefficients of the feature quantities blurriness, brightness and composition take on the values k1, k2 and k3, respectively, owing to a first-time editing operation.
(37) Next, all pages are added to an unviewed page list (step 27 in
(38)
(39) The unviewed page list indicates pages of the photobook that have not yet undergone editing by the user. Since even one page will not have been edited by the user in the initial state, all pages of the photobook are entered in the unviewed page list. Further, in this embodiment, a two-page spread of the photobook undergoes editing (although editing need not necessarily be applied to a two-page spread). Accordingly, pairs of pages, excluding the first page, have been added to the unviewed page list.
(40) Next, an nth page is deleted from the unviewed page list (step 28 in
(41) Next, the images in all of the image lists are scored utilizing the feature quantity weighting coefficients (step 29 in
(42)
(43) The score table contains the scores in correspondence with the images. The score of an image is the sum total of the values of the image feature quantities obtained by multiplying the feature quantities of the image, which are contained in the image feature quantity table of
(44) In this embodiment, first the photobook creation apparatus 1 performs layout with regard to pages other than page n (page 1 in this case because n=1 has been set) to be edited by the user.
(45)
(46) The virtual editing image 40 corresponds to an image actually displayed on the display screen of the display device 4 of the photobook creation apparatus 1. The virtual editing image 40 is created within the photobook creation apparatus 1 before it is actually displayed on the display screen. When an edit command regarding the created virtual editing image 40 is applied, the virtual editing image 40 is displayed on the display screen as an image for editing purposes and the user performs a layout change or the like while viewing the displayed image.
(47) The virtual editing image 40 includes a virtual candidate area 41, a virtual layout area 42 (a search result area of the present invention) and a virtual deletion area 43. The virtual layout area 42 is for displaying the layout of pages that constitute the photobook and it includes virtual pages 44 of a two-page spread corresponding to pages of the photobook. Images have been assigned to a left-side virtual page (page 2) 45 and to a right-side virtual page (page 3) 46. These images are those having the top ten high scores from among the images contained in the image list of group G2 corresponding to page 2 and page 3, as mentioned above. Images whose scores rank 11.sup.th and lower from among the images contained in the image list of group G2 corresponding to pages 2 and 3 have been assigned to the virtual candidate area 41. The virtual deletion area 43 need not necessarily be utilized.
(48) The image assigning processing shown in
(49) With reference again to
(50) If the editing of page n has not been completed (“NO” at step 32), page editing is performed by the user (step 33). If editing of page n has been completed (“YES” at step 32), then a check is made to determine whether the editing of all pages of the photobook has been completed (step 34). If such editing has not been completed (“NO” at step 34), the page number n to be edited next is designated by the user (step 35). Owing to the two-page spread, an even number would be designated. The page number n is set to the designated page number n (step 36) and the processing of the above-described steps 28 to 33 is repeated with regard to the set page number n.
(51)
(52) The editing image of the group corresponding to an nth page is displayed on the display screen (step 51). The editing image 40A, which corresponds to the above-described virtual editing image 40, includes a candidate area 41A, a layout area 42A and a deletion area 43A. The layout area 42A includes an image 44A of a two-page spread. Images having the top ten high scores are displayed in the two-page spread image 44A. However, the left-side page 45A of the two-page spread image 44A that includes the first page of the photobook does not include any images, and the right-side page 46A of the two-page spread image 44A becomes the first page of the photobook. Therefore, from among the images included in the image list of the group of the nth page, those having the top five high scores are displayed on the right-side page 46A, and those whose scores rank sixth and lower are displayed in the candidate area 41A. Images that are not required to be placed in the electronic album are displayed in the deletion area 43A.
(53) Using the editing image displayed on the display screen, the user changes the images and layout. For example, if an image being displayed in the candidate area 41A or deletion area 43A is moved onto the two-page spread image 44A in the layout area 42A by drag-and-drop (“YES” at step 52), as indicated by arrow 47A in
(54) Further, if an image being displayed in the candidate area 41A or layout area 42A is moved to the deletion area 43A (“YES” at step 54), as indicated by arrow 47B in
(55) Furthermore, if an image being displayed in the layout area 42A is moved to the candidate area 41A (“YES” at step 56), as indicated by arrow 47C in
(56) When weighting coefficients are changed by page editing in the manner described above, the images in all of the image lists are scored again utilizing the weighting coefficients that have been changed (step 29 in
(57) When a page number n is designated, a page image in which images in line with user preference have been laid out is actually displayed on the display screen, as mentioned above. In this way files representing the electronic album (photobook) are generated and the electronic album is created.
(58)
(59) The photobook creation apparatus 60 and image search server 61 are capable of communicating with each other via a network such as the Internet.
(60) The photobook creation apparatus 60 and image search server 61 have a configuration the same as that shown in
(61)
(62) Although all of the above-described processing is executed in the photobook creation apparatus 1, the processing described below is such that page editing is performed in the photobook creation apparatus 1 and layout in the image search server 61.
(63) In a manner similar to that described above, the period of image capture is set in the photobook creation apparatus 60 (step 71 in
(64) When image files representing a large number of images and data indicating the set time period are received by the image search server 61 (step 81 in
(65) An nth page (first page) is deleted from the unviewed page list (step 87 in
(66) An HTML (HyperText Markup Language) file representing the editing image (see
(67) If, when the HTML file sent from the image search server 61 is received by the photobook creation apparatus 60, the editing of the nth page has not been completed (“NO” at step 74 in
(68)
(69) With reference to
(70) When an image is moved from the candidate area or deletion area to the layout area (“YES” at step 52), in a manner similar to that set forth above, a command that changes the weighting coefficients of the feature quantities that correspond to the feature quantities of this image is sent to the image search server 61 (step 53A). When an image is moved from the candidate area or layout area to the deletion area (“YES” at step 54), a command that lowers the weighting coefficients of the feature quantities that correspond to the feature quantities of this moved image is sent to the image search server 61 (step 55A). When an image is moved from the deletion area or layout area to the candidate area (“YES” at step 56), a command that restores the changed weighting coefficients to the original weighting coefficients is sent to the image search server 61 (step 57A).
(71) With reference to
(72) In the foregoing embodiment, it may be arranged so that a trash can (area) for unwanted persons is provided on the display screen. If an image containing a person from among images being displayed on the display screen is moved to such a trash can for unwanted persons, the result will be a layout in which this person is not included in the photobook. In order to achieve this, the feature quantities indicative of the likenesses of individual persons are detected for every image, and the feature quantities indicative of the likenesses of these individuals (the feature quantities of Mr. A, the feature quantities of Mr. B and the feature quantities of Mr. C and so forth) are stored in the feature quantity table shown in
(73) Of course, a trash can for unwanted persons need not be provided anew. If the feature quantities of every person are entered beforehand in the feature quantity table shown in
(74)
(75)
(76) The client computer is connected to the Internet and accesses a desired shopping site. If a first keyword (“clock”, for instance) is input to the client computer (step 101 in
(77) When the data representing the first keyword is received by the image search server 61, images corresponding to the first keyword are read from an image database and a first image list is created (step 121 in
(78) An HTML file representing an HTML page in which images having the top ten scores will be laid out in a search result display area and images whose scores rank 11.sup.th and lower will be placed in a candidate area is created (step 125 in
(79) When the HTML file sent from the image search server 61 is received by the client computer, the search result image represented by this HTML file is displayed on the display screen of the display device of the client computer (step 103 in
(80) When the data representing the second keyword sent from the client computer is received by the image search server 61, images that match the second keyword are selected from within the first image list and a second image list is created (step 127 in
(81) When the HTML file sent from the image search server 61 is received by the client computer, the search result image represented by this HTML file is displayed on the display screen of the display device of the client computer (step 106 in
(82)
(83) The search result image 140 includes a candidate area 141, a search result area 142 and a deletion area 143. Commercial product images 152 having the top ten scores are displayed in the search result area 142, as mentioned above. Commercial product images 151 whose scores rank 11.sup.th and lower are displayed in the candidate area 141. If the search is not finished (“NO” at step 107 in
(84) When the move command sent from the client computer is received by the image search server 61 (“YES” at step 130 in
(85) In this way the weighting coefficients are updated and the images in the second image list are scored. An HTML file in which images having the top ten scores will be laid out in the search result area 142 and images whose scores rank 11.sup.th and lower will be displayed in the candidate area 141 is created (step 132 in
(86) As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims.