Interactively ranking image search results using color layout relevance
This disclosure describes various exemplary user interfaces, methods, and computer program products for the interactively ranking image search results refinement method using a color layout. The method includes receiving a text query for an image search, presenting image search results in a structured presentation based on the text query and information from an interest color layout. The process creates image search results that may be selected by the user based on color selection palettes or color layout specification schemes. Then the process ranks the image search results by sorting the results according to similarity scores between color layouts from the image search results and the interest color layout from a user based on the color selection palettes and the color layout specification schemes.
Latest Microsoft Patents:
The subject matter relates generally to image searching, and more specifically, to refining image search results through interactions with the image visual information.
BACKGROUNDThe rapid development of commercial image search engines allows users to easily retrieve a large number of images, simply by typing in a text query usually on a search engine. However, a problem with the existing search engines is the search results only use a relevance of surrounding text information of images associated with the text query. The existing search engines do not use image visual information in providing search results. As a result, there are ongoing efforts to improve image search results by leveraging the image content, which includes useful image visual information.
The growth of digital image content has made it more of a challenge to browse through the large amount of search results. To help with retrieving images, techniques have been tried for image search results refinement. Two conventional techniques commonly employed to assist with results refinement are content based reranking and IntentSearch.
Content based reranking may rely on image clustering and categorization to provide a high-level description of a set of images. While content based reranking uses visual information to reorder the search results, it does not take into consideration the intent of the user. On the other hand, IntentSearch provides an interface to allow users to indicate a few images of interests, and automatically attempts to guess the intent of the user to reorder image search results. However, guessing the intent of the user is somewhat difficult based on selected images. Thus, these conventional approaches do not really address the intent of the user for the images along with using image visual information.
Therefore, it is desirable to find ways to refine image search results through user interactions with the image visual information.
SUMMARYThis Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In view of the above, this disclosure describes various exemplary user interfaces, methods, and computer program products for interactively ranking image search results using a color layout relevance, as part of image retrieval. The interactively ranking image search results using a color layout relevance method includes presenting image search results in a structured presentation based on the text query submitted by a user and information from the user for an interest color layout. The process enables an interactive design of selecting from color selection palettes or color layout specification schemes. Next, a similarity evaluation compares similarities between the interest color layout and the color layouts corresponding to all of the images in the search results. Then the process orders the image search results according to calculated similarities scores.
Thus, this disclosure allows the user to interact with the image search results, which addresses the intent of the user. As a result, this interactively ranking image search results using a color layout relevance process uses a color layout relevance approach to make it more convenient for the user to specify the color layout of interest without requiring any special knowledge or skills.
The Detailed Description is set forth with reference to the accompanying figures. The teachings are described with reference to the accompanying figures. In the figures, the left-most digit(s) of a reference number identifies the figure in which the reference number first appears. The use of the same reference numbers in different figures indicates similar or identical items.
Overview
This disclosure is directed to various exemplary user interfaces, methods, and computer program products for interactively ranking image search results using a color layout relevance for image retrieval. There are conventional image retrieval techniques to handle image search using text query. These techniques typically focus on text query without leveraging the image visual information and are not concerned with the intent of the user. Thus, the interactively ranking image search results using a color layout relevance described herein allows users to search for images by leveraging the rich and useful image visual information and incorporating user input on interest color layout in the process to refine image search results.
In one aspect, the interactively ranking image search results using a color layout relevance process uses a color layout extraction, an interest color layout specification, and a layout ranker. The color layout extraction is performed for each image after the image is crawled from an internet. Furthermore, the process receives user input for the interest color layout and reorders the image search results based on the intent of the user. The layout ranker includes a similarity evaluation between interest color layout and color layout of an image. In particular the similarity includes a color appearance compatibility, a spatial distribution consistency, and a contextual layout similarity.
In another aspect, the process using the interactively ranking image search results using a color layout relevance provides an interactive user interface. The user interface allows users to easily scribble to indicate interest color layout. In addition, the user interface allows users to pick out colors of interest and to specify a color layout.
The described interactively ranking image search results using color layout relevance method offers advantages to the user in terms of convenience, flexibility, and adaptability to the user during image retrieval. Furthermore, the interactively ranking image search results using color layout relevance method described offers low storage requirement, representativeness with proposed layout similarity and color layouts, and efficiency as the computing cost of feature extraction is low. By way of example and not limitation, the interactively ranking image search results using color layout relevance method described herein may be applied to many contexts and environments. For example, the interactively ranking image search results using color layout relevance method may be implemented to support image retrieval by web searching, on search engines, with web-scale applications, on enterprise networks, on content websites, on content blogs, with multimedia, and the like.
Illustrative System
Shown is a computing device 102 found on the client side. Computing devices 102 that are suitable for use with the system 100, include, but are not limited to, a personal computer, a laptop computer, a desktop computer, a workstation computer, a personal digital assistance, a cellular phone, a smart phone, and the like. The computing device 102 on the client side may include a monitor 104 or a display to show the image results for the interactively ranking image search results using color layout relevance, as part of image retrieval.
The system 100 may include interactively ranking image search results using color layout relevance as, for example, but not limited to, a tool, a method, a solver, software, an application program, a service, technology resources which include access to the internet, part of a web browser, part of a commercial or a small search engine, and the like. Here, the interactively ranking image search results using color layout relevance is implemented as an application program 106. In other implementations, interactively ranking image search results using color layout relevance is provided as a service or part of a commercial search engine.
The term, interactively ranking image search results using color layout relevance application program 106, may be used interchangeably with the terms, interactively ranking image search refinement, color layout relevance, or interactively ranking image research results.
The color layout relevance application program 106 makes it more convenient for a user 108 in searching for images. Traditional techniques for image retrieval only address the text query. When in reality, an image is usually associated with text, rich and useful image visual information. As mentioned, these traditional techniques focused on text query without leveraging the image visual information and are not concerned with the intent of the user. This has been a problem for image retrieval in satisfying the intent of the user. These traditional approaches process each text query, without consideration of intent of the user. There are other conventional techniques that attempted to guess at the intent of the user, which is not very effective or accurate.
In an implementation, an initial input for the color layout relevance application program 106 is a specific text query 110 submitted by the user 108. The specific text query 110 submitted by the user 108 is based on an intent or goals of the user. For example, the user 108 may desire to find certain returned images to assist in their work. The user 108 may be an illustrator desiring certain search images for a presentation, a poster design, slides, and the like.
The server side of the system 100 includes a color layout extraction 112 that may be located on a server 114. There may be one or more servers, databases, or processors located on the server side. On the server side, the images are crawled from the internet 116, and meta data are attached with the images. The images may contain text attached. For example, a search engine may attach text to the images, i.e., MS Live Image Search. The color layout extraction 112 includes off-line image meta data extraction, which includes performing color layout extraction 112 for each image after the image is crawled from the internet.
As mentioned above, the color layout extraction 112 includes images, texts, and color layout. The color layout extraction 112 offers several properties: low storage, representativeness, and efficiency. Low storage is one of the main requirements in web-scale applications. This requirement is due to a large number of images, and a need to precompute the associated features to avoid on-line computation. Representativeness deals with how the extracted features can express the spatial layout characteristics. Moreover, with the proposed layout similarity evaluation scheme, different color layouts can be easily discriminated using this feature. Efficiency keeps the cost as low as possible to compute a feature extraction. This is desired in dealing with web-scale number of images.
Once the user 108 types in a specific text query 110, image search results are returned from the server 114, which operates similar to an existing image search engine, i.e., MS Live Image Search. Implementation of the color layout relevance application program 106 includes, but is not limited to, image retrieval by web searching on the internet 116, using search engines, enterprise networks, content websites, content blogs, and the like. After the images are returned, the user 108 may select from colors of interest and specify interest color layout 118 on the image search results. Then the process evaluates similarities to compare interest color layout and the color layouts corresponding to all of the images in the search results.
Then, the images are ordered based on the calculated similarities. As shown here, the color layout relevance application program 106 delivers an reordering of the image search results 120, where ranking similarity scores are ordered for ranking in image retrieval evaluation. Thus, the color layout relevance application program 106 evaluates the text query 110, receives user 108 input on colors of interest and interest color layout 118, and returns relevant ordered image search results 120 to the user 108. The image search results are based on a specific query and intent of the user 108 along with interest color layout selections by the user 108.
Illustrative Overview Process
Illustrated in
Block 202 represents a text ranker for ranking the text. Text ranker 202 takes the text information from the color layout extraction 112. This process 202 receives the specific text query 110 from the user 108 to rank the text. Text ranker 202 is performed online, which uses the specified text query 110 as input submitted by the user 108.
Block 204 represents the image search results I: I5, I10, I1, . . . IK that are generated from the text ranker 202, which is online. These image search results 204 generated have been ranked according to text submitted 110 by the user 108. However, these image search results are not the final image search results, as the color layout relevance application program 106 uses feedback on interest color layout from the user 108 to provide final image search results.
Block 206 represents a layout ranker for ranking the images according to the interest color layout from the user. Layout ranker 206 is performed online, which receives as input the images 204 and their associated color layout and input from by the user 108 for the interest color layout. In this process, the color layouts of the images are used to compare with the interest color layout by the user and then the similarities between the color layout of images and interest color layout are used to reorder the images. The layout ranker 206 includes two substeps: similarity evaluation (SE) scheme 210 and image ranking (IR) 212. Similarity evaluation (SE) scheme 210 satisfies two properties: computationally efficient and discriminative. Computationally efficient means precomputing both color similarity and layout component-wise similarity lookup tables to avoid online computation. Discriminative means the similarity evaluation scheme has an ability to discriminate among the different color layouts. Image ranking (IR) 212 is obtained by directly sorting the image search results 204 using a similarity score from the similarity evaluation scheme 210.
Block 208 representing interest color layout, which includes interest color selection (ICS) 214 and interest layout specification (ILS) 216. Interest color selection 214 provides color palettes to allow the user 108 to select from a color of interest. There are three types of palettes to choose from: a standard color palette, query-dependent palette, and colors from the search results. After the user 108 selects the interest color, the user 108 can then perform the interest layout specification 216. The user 108 may select from three different types of interest color layouts: free-scribbling, a template layout, query-dependent layouts, and a layout from an example image. More detailed discussion of the interest layout 208 follows in
Block 218 represents the image search results II: I3, I63, I31, . . . IJ that are generated from the layout ranker 206, which is online. These image search results II 218 generated have been ranked and reordered according to the similarities between the color layout of images and the interest color layout from interest color selection and interest layout specification provided by the user 108 and using image search results I 204. These are final image search results for the color layout relevance application program 106 until the user 108 starts the process by making a different interest color layout selection.
Block 202 represents ranking the text. This process 202 also receives a specific text query 110 from the user 108, as shown in the upper right block, to rank the text. Text ranker 202 is performed online, which uses the specified text query 110 as input submitted by the user 108 along with text information from the color layout extraction 112.
Block 204 represents the image search results I that are generated from the text ranker 202, which is online. These image search results I are not the final image search results. The image search results I 204 are used as input to the layout ranker 206.
Block 206 represents the layout ranker. The layout ranker 206 is performed online, which receives information for the interest color layout 208 as input from the user 108 along with the images 204 along with the associated color layouts corresponding to the images. As mentioned, the layout ranker 206 compares the color layouts of the images to the interest color layouts specified by the user 108. Then the similarities between the color layout of the images and the interest color layout are used to reorder the images.
Block 208 represents providing interest color layout to layout ranker 206. As mentioned earlier, interest color layout 208 allows the user 108 to select from a color of interest and to specify the interest color layout.
Layout ranker 206 sorts the images according to a similarity score. The process determines whether to perform ranking the layout 206 on the images. If the process 300 takes a No branch to block 302, the layout ranker will not be performed on the images.
Returning to layout ranker 206, if the process determines to perform ranking layout 206 on the images, the process 300 takes a Yes branch to block 304. Here, ranking layout 206 will be performed on the images.
Block 218 represents the color layout ranking results, which are the final image search results until the user starts the process again, by providing input on interest color layout or starting the process with a new text query. The image search results 218 are generated from the layout ranker 206, which is online. The final image search results for the color layout relevance application program 106 uses feedback on interest color layout 208 from the user 108 to provide final image search results 218 that have been reordered. Following the arrow from block 218, the user 108 may provide interest color layout input, which starts the reordering process.
Exemplary Interest Color Layout
Block 214 shows interest color selection, which provides color palettes to allow the user 108 to select from a color of interest. Interest color selection 214 follows two properties: easy-usage and intelligence.
Shown next in the process 400 are three types of palettes the user 108 may choose from: a standard color palette 402, a query-dependent palette 404, and colors from the search results 406. The standard color palette 402 organizes the colors without using the information from image search results. The query-dependent palette 404 mines image search results, and presents the most-frequent colors appearing in image search results. The colors from the search results 406 is a color palette generated directly using images selected from the image search results. Specifically, the user 108 can drag an image as the color palette, and select the colors from the image.
The user 108 selects the interest color 214 from one of the three types of palettes: the standard color palette 402, the query-dependent palette 404, or the colors from the search results 406. Once the user 108 has selected, the process 400 moves to the next selection.
The process 400 moves to interest layout specification 216. Here, the user 108 can specify the layouts using several specification schemes. The user 108 may select from four specification schemes: a free-scribbling 408, a template layout 410, query-dependent layouts 412, layout from an example image 414.
The free-scribbling 408 allows the user 108 to freely draw strokes to indicate the interest layout.
The template layout 410 allows the user 108 to select an interest layout from a set of templates, and can change the color lying in a stroke. The template layout 410 is common for all the text queries. The template layouts 410 include but are not limited to, designs with regions of rectangles or squares that may be overlying or positioned separately; regions of colors that are angled in various color schemes; regions of colors in cross hatch designs; regions of colors with several layers in overlying color schemes; and the like.
The query-dependent layouts 412 allows the user 108 to select layout types that have been predefined, based on the query submitted by the user 108. The query-dependent layouts 412 are mined from the image search results that correspond to the text query.
The layout from an example or a sample 414 allows the user 108 to select an example or a sample from the image search results. The user may draw on the example or sample image to indicate the interest color layout. Furthermore, the image may be dragged into the interface of interest color layout.
The process 400 moves to layout ranker 206 for ranking the images. Layout ranker 206 receives information for the interest layout 208 as input based on the interest color layout by the user 108 along with the image search results 204 associated with the corresponding color layouts generated from the text ranker 202.
As mentioned earlier, the layout ranker 206 includes two substeps: similarity evaluation (SE) scheme 210 and image ranking (IR) 212. Similarity evaluation (SE) scheme 210 satisfies two properties: computationally efficient and discriminative. Image ranking (IR) 212 is obtained by directly sorting the image search results 204 using a similarity score from the similarity evaluation scheme 210.
Block 218 represents color layout ranking results, which are the image search results II generated from the layout ranker 206. These image search results II 218 generated have been ranked according to the similarities between color layouts of images and interest color layout from interest color selection 214 and interest layout specification 216 provided by the user 108 and using image search results I 204.
Illustrative User Interface
Shown at 502 is a block illustrating the option for interest color layout. In this option is where the user 108 may scribble to specify the interest color layout. Also shown are options the user 108 may apply for the interest color layout, such as “undo, redo, clear”.
Shown at 504 is a block illustrating the option for interest colors. In this option is where the user 108 may freely select interest colors from the color palette.
Shown at 506 is a block illustrating the option for color layout template. In this option is where the user 108 may select predefined color layout templates, which includes query independent layout templates and query dependent layouts that are mined from the image search results corresponding to the query. Shown as options for the color layout templates are four different templates.
Shown at 508 are the image search results, the original results from text query or the results reordered based on the interest color layout, 1-20 images are shown.
Shown at 510 is a box checked for enabling color layout ranking. This box allows the user to be able to determine whether to turn on the feature for color layout ranking. There may be times when the user is looking for images without desiring the color layout ranking to be turned on.
The user interface for the color layout relevance application program 106 may include a browser toolbar integrated with the ranking image search results. This toolbar enables the user to view an item in the ranking image search results in a separate browser without interrupting the image research results. Also the user interface for the color layout relevance application program 106 may allow the user to save an item from the ranking image search results into a file, which enables the user to open the item in the file for later use, move the file to another computing device, or to share the file with another user.
Exemplary Color Layout Extraction
The image is first divided uniformly into g×g grids. For each grid (x, y), the color extraction process 600 aims to find several dominant colors, Cxy={cxyi}, represent the colors in this grid. The dominant colors are found by the following discussion. In each grid, the color layout relevance application program 106 calculates the frequencies for all the colors, and sort them according to the frequencies. The color layout extraction 112 selects the colors corresponding to the first k largest frequency such that fi-1<2fi, ∀i ≦ k and i≠1. The process finds g=8 works well in the process.
As preprocessing steps, the color layout extraction 112 first transforms the red, green, blue (RGB) color space into the hue, saturation, value (HSV) space, which is quantized into 12×4×4 i.e., totally 192 colors, and for each, the color layout relevance application program 106 performs a median filtering on the HSV images by setting the window width as 5.
After extracting the colors in each grid for each image, the color layout extraction 112 shows the representative color set as equation:
C=uxy Cxy.
Then for each color c ε C, the color layout extraction 112 compute the layout as a binary vector l such that
where k is one dimensional index of two dimensional indices (x,y). Then in summary, the color layouts of the image is represented by I={(cr,lt)}. This extraction process is very simple and can be efficiently performed. The extracted color layout feature can effectively represent the image layout, and is proved very valuable by combining the proposed similarity evaluation scheme.
Since l is a binary vector, the color layout relevance application program 106 represents it in a compact manner by several byte variables. i.e., [b1, . . . ,bn]T, which will definitely save the storage and bring fast similarity evaluation by using a precomputed lookup table. For convenience, the color layout relevance application program 106 will use the binary vector l in the following discussion.
Illustrative Color Layout Similarity Evaluation with Equations
The color layout relevance application program 106 evaluates the similarity between interest color layout and color layout of any image in image search results. Suppose the color layout of the image is denoted as I={(ck,lk)}, and the interest color layout is denoted as Q={(cq,1q)}. The similarity definition is composed of three aspects: a color appearance compatibility 702, a spatial distribution consistency 704, and a contextual layout similarity 706.
The color appearance compatibility is shown in a row identified by 702. Shown along row 702 in the first column is the interest color layout, in the second column the color layout of sample image 1, and in the third column the color layout of sample image 2. As shown along row 702, the sample image 1 in the second column is more compatible to the interest color layout in the first column than the sample image 2 in the third column.
The compatibility evaluation process can be described as follows. For each color in the interest color layout, the color layout relevance application program 106 compares the color layout for each interest color and the layouts of all the colors in the image, and aggregates the similarities with the color similarity as the weights to get the compatibility of the individual color layout with the image. Then, the color layout relevance application program 106 can obtain the overall compatibility by multiplying all the compatibilities. Mathematically, this process is formulated as:
where Cq and Ci are the representative color sets for interest color layout and image color layout, Zq is a normalization variable is equal to one norm of lq, ∥lq∥1, sa((cq, lq),) is to evaluate the compatibility between the individual color layout, (cq, lq), and the whole image color layout , sim(cq, ck) is the color similarity between cq and ck, sim(lq,lk) is the layout component-wise similarity or spatial occurrence consistency between lq and lk. The details of these two similarities will be discussed later.
Shown in a row identified by 704 is the spatial distribution consistency. Shown along row 704 in the first column is the interest color layout, in the second column is the color layout of sample image 1, and in the third column is the color layout of sample image 2. The difference between the sample image 1 in column 2 and the sample image 2 in column 3 lies in two grids. By using the compatibility evaluation equation shown:
The similarity measure may lead to the similar (even same) score. However, intuition may tell the user 108 that sample image 1 is more similar with the interest layout because the “aqua” color in sample image 2 appearing in the top region corresponding to the “blue” color in the interest color layout is more similar to the “green” color in the bottom region of the interest color layout. This is an example of the spatial relationship inconsistency of different colors. Therefore, the color layout relevance application program 106 introduces a spatial distribution consistency 704 evaluation scheme. Intuitively, it is preferred that the color appearing in the region corresponding to the interest color region should be less similar than the other interest colors. Thus, the color layout relevance application program 106 checks each region associated with each interest color and computes the spatial distribution consistency 704.
Mathematically, the spatial distribution consistency 704 is defined as
where Zq=∥lq∥1, asim(cq, ck, Cq) is the similarity between interest color cq and color ck, adjusted by all the interest colors cq. Combining it with the spatial occurrence consistency sim(lk,lq), the measure will reflect the consistency degree between the spatial relations of interest colors in interest color layout and the ones of colors in the image.
Shown in a row identified by 706 is the contextual layout similarity. Sometimes the user 108 may only scribble to indicate a rough color layout query. Due to the roughness, it is insufficient for layout similarity to only consider the scribbled regions. Shown in the first column is the interest color layout/propagation, in the second column is the sample image 1 and in the third column the sample image 2. It is clear that their similarities are the same, if the interest color layout is given as shown in the first column. However, the sample image 2 in the third column is more similar to the interest color layout than sample image 1 in the second column.
The color layout relevance application program 106 proposes a scheme to “generalize” interest color layout. The color layout relevance application program 106 processes the query color layout by viewing the scribbled regions as seeds. Specifically, the color layout relevance application program 106 adopts the front propagation scheme to propagate the seeded colors. To differentiate the propagated region from the original color region, the color layout relevance application program 106 assigns different weights to the propagated regions according to the distance from the seed regions.
For computational efficiency, the color layout relevance application program 106 assigns only two different weights for the propagated color, i.e., setting weight as 0.5 for the near region, and 0.25 for the far region. The propagation in the first column along row 706 shows a propagation example in which the weights are differentiated by the color saturation. The color layout relevance application program 106 denotes the propagated weighted color layouts as
sc(Q,)=sa1(
where sa1(
where Zq, sa((cq,
After obtaining all the above three similarities, the whole similarity between I and Q is written as equation:
s(Q,)=αasa(Q,)+αsss(Q,)+αcsc(Q,)
where αa, αs and αc are the weights for different similarity aspects. The color layout relevance application program 106 assigns a less weight to sc(•,•) since it is a generalized similarity. The equation performs well when αa=αs=10×αc.
Illustrative Color and Layout Component-Wise Similarity
The color similarity is evaluated in the HSV color space based on the distance. The color distance between ci and cj is defined in equation as:
where [hi, si, vi]T=ci and [hj, sj, vj]T=cj. Based on this distance, the color layout relevance application program 106 can define color similarity as shown in the equation below as:
where dmax=maxmn d(cm, cn) and β=2 and β=2.
Practice shows that users tend to be more sensitive to the H (hue) color component. Hence, the color layout relevance application program 106 may pay more attention on this H component. The color layout relevance application program 106 defines the similarity of H components as:
with h is range from [0,2π]. This assignment makes the similarity between different colors with large different of H component much smaller. Then, the overall color similarity is shown in the equation below as:
sim(ci,cj)=s(hi,hj)×s(ci,cj).
As mentioned before, the color layout relevance application program 106 has quantized the HSV space into 12×4×4 color, i.e., a total of 192 colors. The color layout relevance application program 106 precomputes their similarities and store them in a lookup table. In this manner, the color layout relevance application program 106 reduces the computation cost by only looking up the table instead of an on-line computation.
Illustrative Layout Component-Wise Similarity
The component-wise similarity between layouts is very simple and evaluated as the inner product, sim(lq,{hacek over (l)}k)=lqTlk. As mentioned before, l is a binary vector with entries equal to 0 or 1, and represented by a byte variable vector [b1, . . . ,bn]T as mentioned before. Hence the inner product can be quickly evaluated by the and operation as the following:
where the basic operation Λ is and operation on byte variables, and count (•) is the number of set bits. There are a total of 256 different values for a byte variable. To avoid online and operation, the color layout relevance application program 106 precomputes a 256×256 lookup table, in which each entry is the component-wise similarity.
Illustrative Free-Scribbling for Color Layout Relevance
Illustrative Color Layout Ranking Results
Illustrative Operating System for Color Layout Relevance
Memory 1004 may store programs of instructions that are loadable, embedded, or encoded, and executable on the processor 1002, as well as data generated during the execution of these programs. Depending on the configuration and type of computing device, memory 1004 may be volatile (such as RAM) and/or non-volatile (such as ROM, flash memory, etc.). The system 1000 may also include additional removable storage 1006 and/or non-removable storage 1008 including, but not limited to, magnetic storage, optical disks, and/or tape storage. The disk drives and their associated computer-readable medium may provide non-volatile storage of computer readable instructions, data structures, program modules, and other data for the communication devices.
Turning to the contents of the memory 1004 in more detail, may include an operating system 1010, the interactively ranking image search results using color layout relevance application program 106 for implementing all or a part of interactively ranking image search results using color layout relevance method. For example, the system 1000 illustrates architecture of these components residing on one system or one server. Alternatively, these components may reside in multiple other locations, servers, or systems. For instance, all of the components may exist on a client side. Furthermore, two or more of the illustrated components may combine to form a single component at a single location.
In one implementation, the memory 1004 includes the interactively ranking image search results using color layout relevance application program 106, a data management module 1012, and an automatic module 1014. The data management module 1012 stores and manages storage of information, such as color layout extraction information, images, and the like, and may communicate with one or more local and/or remote databases or services. The automatic module 1014 allows the process to operate without human intervention.
Memory 1004, removable storage 1006, and non-removable storage 1008 are all examples of computer storage medium. Additional types of computer storage medium that may be present include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by the computing device 104.
The system 1000 may also contain communications connection(s) 1016 that allow processor 1002 to communicate with servers, the user terminals, and/or other devices on a network. Communications connection(s) 1016 is an example of communication medium. Communication medium typically embodies computer readable instructions, data structures, and program modules. By way of example, and not limitation, communication medium includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. The term computer readable medium as used herein includes both storage medium and communication medium.
The system 1000 may also include input device(s) 1018 such as a keyboard, mouse, pen, voice input device, touch input device, etc., and output device(s) 1020, such as a display, speakers, printer, etc. The system 1000 may include a database hosted on the processor 1002. All these devices are well known in the art and need not be discussed at length here.
The subject matter described above can be implemented in hardware, or software, or in both hardware and software. Although embodiments of click-through log mining for ads have been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts are disclosed as exemplary forms of exemplary implementations of click-through log mining for ads. For example, the methodological acts need not be performed in the order or combinations described herein, and may be performed in any combination of one or more acts.
Claims
1. A method for interactively ranking image search results by using a color layout relevance, implemented at least in part by a computing device, the method comprising:
- extracting color layouts for images after the images are crawled from the internet;
- receiving a text query for an image search;
- evaluating a similarity between an interest color layout and a color layout of any image in an image search results, wherein the similarity is based on a color appearance compatibility, a spatial distribution consistency, and a contextual layout similarity, wherein the color appearance compatibility, the spatial distribution consistency, and the contextual layout similarity are based on a color similarity and a layout component-wise similarity; and
- reordering the image search results based on evaluated similarities between color layouts of images and the interest color layout from the user according to a selection of a color selection palette and a color layout specification scheme.
2. The method of claim 1, wherein the color selection palettes comprises a standard color palette, a query dependent color palette, and a color palette using colors from image search results.
3. The method of claim 1, wherein the color layout specification scheme comprises at least one of:
- a free-scribbling to allow a user to freely draw strokes to indicate an interest layout;
- a template layout to allow the user to select an interest layout from a set of templates, which are common for text queries; and
- query-dependent layouts to allow the user to select an interest layout from a set of query-dependent templates, which are mined from image search results corresponding to the text query; and
- a layout from a sample image to allow the user to select a sample image from the search results and to draw on the sample image to indicate the interest color layout.
4. The method of claim 1, wherein the color appearance compatibility comprises a degree that the colors in the image corresponding to the interest layout region are similar to the colors in the interest color layout.
5. The method of claim 1, wherein the spatial distribution consistency comprises that the color appearing in the region corresponding to the interest color region should be less similar than the other interest colors.
6. The method of claim 1, wherein the contextual layout similarity comprises assigning different weights to a propagated color, the weights are set according to a distance of the grid containing the propagated color from seeded grids.
7. A computing device comprising a processor; a memory storing computer-readable instructions executed on the processor, the computer-readable instructions comprising instructions for:
- receiving a text query for an image search;
- extracting a color layout;
- measuring a similarity based on a color appearance compatibility, a spatial distribution consistency, a contextual layout similarity, a color similarity, and a layout component-wise similarity;
- providing interactive options for the image search results with color selection palettes and color layout specification schemes;
- reordering the image search results using a color layout ranking; and
- presenting ranked image search results in a structured presentation based on the text query and information from the interest color layout.
8. The computing device of claim 7, wherein the color appearance compatibility comprises a degree that the colors in the image corresponding to the interest layout region are similar to the colors in the interest color layout.
9. The computing device of claim 7, wherein the spatial distribution consistency comprises that the color appearing in the region corresponding to the interest color region should be less similar than the other interest colors.
10. The computing device of claim 7, wherein the contextual layout similarity comprises assigning different weights to a propagated color, the weights are set according to a distance of the grid containing the propagated color from seeded grids.
11. The computing device of claim 7, wherein the color selection palettes to indicate interest colors comprises:
- a standard color palette, wherein colors are organized without using information from the image search results;
- a query-dependent color palette, wherein colors that appear most-frequently in the image search results; and
- a color palette generated from selecting images from the image search results.
12. The computing device of claim 7, wherein the color specification scheme comprises:
- a free-scribbling to allow a user to freely draw strokes to indicate an interest layout;
- a template layout to allow the user to select an interest layout from a set of templates, which are common for text queries;
- query-dependent layouts to allow the user to select an interest layout from a set of query-dependent templates, which are mined from image search results corresponding to the text query; and
- a layout from an example image to allow the user to select a sample image from the search results and to draw on the example image to indicate the interest color layout.
13. The computing device of claim 7, further comprising a checkbox feature for turning on a color layout ranking.
Type: Grant
Filed: Dec 22, 2008
Date of Patent: Feb 5, 2013
Patent Publication Number: 20100158412
Assignee: Microsoft Corporation (Redmond, WA)
Inventors: Jingdong Wang (Beijing), Shipeng Li (Beijing), Xian-Sheng Hua (Beijing), Yinghai Zhao (Hefei Anhui)
Primary Examiner: Jason M Repko
Assistant Examiner: Siamak Harandi
Application Number: 12/341,953
International Classification: G06K 9/60 (20060101);