Graph-based online image queries
AssigneeInternational Business Machines Corporation
InventorsJui-Hsin Lai, Ching-Yung Lin, Lifeng Nai, Yinglong Xia
Life of this patent
Estimating the term…
Abstract
A query image is obtained. In a database including a plurality of reference image graphs, at least one of the reference image graphs, with feature vectors similar to the query image, is identified. Image querying is carried out by graph traversal on the at least one of the reference image graphs with the feature vectors similar to the query image. An image from the at least one of the reference image graphs having a highest matching score in the graph traversal is returned as a response to the query image. techniques for building the database are also disclosed.
Claims17
A method comprising:
- obtaining a query image;
- in a database comprising a plurality of reference image graphs, identifying at least one of said reference image graphs with feature vectors similar to said query image, each reference image graph comprising two or more images having similar feature vectors, each of said two or more images being connected to at least one other of said two or more images based on an image similarity;
- carrying out image querying by graph traversal on said at least one of said reference image graphs with said feature vectors similar to said query image;
- returning, as a response to said query image, an image from said at least one of said reference image graphs having a highest matching score in said graph traversal;
- and calculating a mean feature vector and variations of the feature vectors;
- using said mean feature vector, said variations of said feature vectors, and a Gaussian distribution to determine a lower similarity threshold and a higher similarity threshold;
- and building said database using said lower similarity threshold and said higher similarity threshold.
A system comprising:
- a plurality of hardware servers;
- a database application executing in a workload layer on top of said plurality of hardware servers;
- and
- a network interface in data communication with said database application;
- wherein:
- said database application obtains a query image over said network interface;
- said database application comprises a plurality of reference image graphs, and identifies at least one of said reference image graphs with feature vectors similar to said query image, each reference image graph comprising two or more images having similar feature vectors, each of said two or more images being connected to at least one other of said two or more images based on an image similarity;
- said database application carries out image querying by graph traversal on said at least one of said reference image graphs with said feature vectors similar to said query image;
- and
- said database application returns, as a response to said query image, via said network interface, an image from said at least one of said reference image graphs having a highest matching score in said graph traversal;
- wherein said database adds new images by:
- obtaining a first uploaded image as a candidate to be added to said database;
- comparing said first uploaded image to existing reference image graphs;
- eliminating said first uploaded image from consideration for addition to a given one of said reference image graphs to which it is insufficiently similar;
- and
- adding said first uploaded image to another given one of said reference image graphs to which it is sufficiently similar, but not so similar that it does not convey useful information.
A non-transitory computer readable medium comprising computer executable instructions which when executed by a computer cause the computer to perform the method of:
- obtaining a query image;
- in a database comprising a plurality of reference image graphs, identifying at least one of said reference image graphs with feature vectors similar to said query image, each reference image graph comprising two or more images having similar feature vectors, each of said two or more images being connected to at least one other of said two or more images based on an image similarity;
- carrying out image querying by graph traversal on said at least one of said reference image graphs with said feature vectors similar to said query image;
- and
- returning, as a response to said query image, an image from said at least one of said reference image graphs having a highest matching score in said graph traversal;
- wherein said method further comprises calculating a mean feature vector and variations of the feature vectors;
- using said mean feature vector, said variations of said feature vectors, and a Gaussian distribution to determine a lower similarity threshold and a higher similarity threshold;
- and
- building said database using said lower similarity threshold and said higher similarity threshold.
Dependencies are inferred from the claim text.