TY - JOUR

T1 - Perfect Hash Table Algorithm for Image Databases Using Negative Associated Values

AU - Sabharwal, Chaman L.

AU - Bhatia, Sanjiv K.

N1 - A 2D string data structure allows for efficient spatial reasoning on an image database for query and retrieval. A 2D string can be converted to a set ...

PY - 1995/7/1

Y1 - 1995/7/1

N2 - A 2D string data structure allows for efficient spatial reasoning on an image database for query and retrieval. A 2D string can be converted to a set of triples leading to an elegant O (1) solution for image retrieval with simple queries using a perfect hash table. For complex queries, the retrieval complexity is linear in this approach and depends on the number of possible pairings of picture objects in the query. The perfect hash table computation for this problem is mapped directly to a permutation problem. In an earlier paper [S. K. Bhatia and C. L. Sabharwal, Pattern Recognition 27, 365–376 (1974)], we presented a set of heuristics that result in a fast computation of associated values, for picture objects, used in the calculation of hash addresses. In this paper, we present an additional heuristic leading to a 90% reduction in search space over our earlier algorithm. The new heuristic promises to generate a minimal perfect hash function for each experimental data set, which was not possible with the earlier algorithms. Mathematical analysis of complexity of the algorithms is presented and is supported by experimental results.

AB - A 2D string data structure allows for efficient spatial reasoning on an image database for query and retrieval. A 2D string can be converted to a set of triples leading to an elegant O (1) solution for image retrieval with simple queries using a perfect hash table. For complex queries, the retrieval complexity is linear in this approach and depends on the number of possible pairings of picture objects in the query. The perfect hash table computation for this problem is mapped directly to a permutation problem. In an earlier paper [S. K. Bhatia and C. L. Sabharwal, Pattern Recognition 27, 365–376 (1974)], we presented a set of heuristics that result in a fast computation of associated values, for picture objects, used in the calculation of hash addresses. In this paper, we present an additional heuristic leading to a 90% reduction in search space over our earlier algorithm. The new heuristic promises to generate a minimal perfect hash function for each experimental data set, which was not possible with the earlier algorithms. Mathematical analysis of complexity of the algorithms is presented and is supported by experimental results.

UR - https://www.sciencedirect.com/science/article/pii/003132039400178O

U2 - 10.1016/0031-3203(94)00178-O

DO - 10.1016/0031-3203(94)00178-O

M3 - Article

VL - 28

JO - Pattern Recognition

JF - Pattern Recognition

ER -