Efficient image matching for large sets of images
Abstract
A system and method to detect similarities between images. The system and method allow comparisons between a query image and one or more catalog images in a manner that is resilient to scanning, scaling, rotating, cropping and other distortions of the query image. The system includes an image processing module that determines and/or calculates principle features of a catalog image and constructs a feature vector using one or more of the principle features. The system also includes a matching module that matches a query image to one or more catalog images. The system finds matches based on a distance measure of features present in the query image and features present in the catalog images.
Claims
exact text as granted — not AI-modifiedI/We claim:
1 . A method in a computing system for matching a query image against a catalog of images to identify semi-identical images, the method comprising:
maintaining an inverted index to a catalog of images, each image in the catalog of images characterized by vectors associated with principle feature points of the image, the inverted index comprised of hash values of the vectors associated with each image; receiving a query image that is to be searched against the catalog of images; characterizing the received query image by:
extracting principal feature points from the query image;
creating vectors characterizing the extracted principal feature points; and
generating hash values for each of the vectors characterizing the query image; and
searching the catalog of images to find semi-identical images to the query image by:
comparing the query image hash values with the inverted index to the catalog of images;
identifying a set of catalog images having a predetermined number of hash values in common with the query image hash values;
identifying a number of geometric inliers in each image in the identified set of catalog images; and
identifying, from the set of catalog images, a set of near-identical images based on images that have a total number of geometric inliers that exceed a threshold value.
2 . The method of claim 1 , wherein the hash value of vectors are calculated using a k-d tree.
3 . The method of claim 2 , wherein the k-d tree has a predetermined number of vectors.
4 . The method of claim 1 , wherein the number of hash values characterizing a catalog image is less than the number of hash values characterizing the query image.
5 . The method of claim 1 , wherein the set of near-identical images is further based on normalizing the total number of geometric inliers for an image by the number of hash values characterizing the image.
6 . The method of claim 1 , wherein the geometric inliers are identified by a random sample consensus (RANSAC) algorithm.
7 . The method of claim 1 , further comprising pre-processing the catalog of images to remove unwanted aspects from images in the catalog.
8 . The method of claim 7 , wherein the catalog of images is pre-processed using a support vector machine (SVM) to remove principle feature points associated with an image.
9 . The method of claim 7 , wherein the catalog of images is pre-processed by comparison with a catalog of unwanted features to remove unwanted features from an image.
10 . A computer-readable medium containing instructions that, when executed on a processor, cause the processor to implement a method for matching a query image against a catalog of images to identify semi-identical images, the method comprising:
maintaining an inverted index to a catalog of images, each image in the catalog of images characterized by vectors associated with principle feature points of the image, the inverted index comprised of hash values of the vectors associated with each image; receiving a query image that is to be searched against the catalog of images; characterizing the received query image by:
extracting principal feature points from the query image;
creating vectors characterizing the extracted principal feature points; and
generating hash values for each of the vectors characterizing the query image; and
searching the catalog of images to find semi-identical images to the query image by:
comparing the query image hash values with the inverted index to the catalog of images;
identifying a set of catalog images having a predetermined number of hash values in common with the query image hash values;
identifying a number of geometric inliers in each image in the identified set of catalog images; and
identifying, from the set of catalog images, a set of near-identical images based on images that have a total number of geometric inliers that exceed a threshold value.
11 . The computer-readable medium of claim 10 , wherein the number of hash values characterizing a catalog image is less than the number of hash values characterizing the query image.
12 . The computer-readable medium of claim 10 , wherein the set of near-identical images is further based on normalizing the total number of geometric inliers for an image by the number of hash values characterizing the image.
13 . The computer-readable medium of claim 10 , wherein the geometric inliers are identified by a random sample consensus (RANSAC) algorithm.
14 . The computer-readable medium of claim 10 , further comprising pre-processing the catalog of images to remove unwanted aspects from images in the catalog.
15 . The computer-readable medium of claim 14 , wherein the catalog of images is pre-processed using a support vector machine (SVM) to remove principle feature points associated with an image.
16 . The computer-readable medium of claim 14 , wherein the catalog of images is pre-processed by comparison with a catalog of unwanted features to remove unwanted features from an image.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.