Patent ID: 7921120

Claim:
A computer readable medium storing software that, when executed by a processor, causes an apparatus or system to perform a method for recognizing images, the images including a query image and a plurality of reference images, comprising: (a) generating a matrix of similarity scores of the reference images, wherein the similarity score of each reference image versus itself forms a diagonal matrix element and similarity scores of the reference images one versus another form non-diagonal matrix elements; (b) calculating a similarity inverse matrix by transforming the matrix of similarity scores into a matrix that, when multiplied by said similarity matrix will yield an identity matrix in which said diagonal matrix elements are equal to 1 and said non-diagonal matrix elements are equal to 0; (c) generating a query vector having as each element a similarity score of the query image versus one of said reference images; (d) calculating an adjusted query vector equal to the product of said query vector and said similarity inverse matrix; and (e) using said adjusted query vector to compare the query and reference images; wherein the query image is a two-dimensional image and each of the reference images is a pre-stored two-dimensional image.