# An incremental Hausdorff distance calculation algorithm

Research output: Journal Publications and Reviews (RGC: 21, 22, 62) › 21_Publication in refereed journal › peer-review

## Author(s)

## Detail(s)

Original language | English |
---|---|

Pages (from-to) | 506-517 |

Journal / Publication | Proceedings of the VLDB Endowment |

Volume | 4 |

Issue number | 8 |

Publication status | Published - May 2011 |

Externally published | Yes |

## Link(s)

## Abstract

The Hausdorff distance is commonly used as a similarity measure between two point sets. Using this measure, a set X is considered similar to Y iff every point in X is close to at least one point in Y. Formally, the Hausdorff distance HAUSDIST(X, Y) can be computed as the MAX-MIN distance from X to Y, i.e., find the maximum of the distance from an element in X to its nearest neighbor (NN) in Y. Although this is similar to the closest pair and farthest pair problems, computing the Hausdorff distance is a more challenging problem since its MAX-MIN nature involves both maximization and minimization rather than just one or the other. A traditional approach to computing HAUSDIST(X, Y) performs a linear scan over X and utilizes an index to help compute the NN in Y for each x in X. We present a pair of basic solutions that avoid scanning X by applying the concept of aggregate NN search to searching for the element inX that yields the Hausdorff distance. In addition, we propose a novel method which incrementally explores the indexes of the two sets X and Y simultaneously. As an example application of our techniques, we use the Hausdorff distance as a measure of similarity between two trajectories (represented as point sets). We also use this example application to compare the performance of our proposed method with the traditional approach and the basic solutions. Experimental results show that our proposed method outperforms all competitors by one order of magnitude in terms of the tree traversal cost and total response time.

## Citation Format(s)

**An incremental Hausdorff distance calculation algorithm.** / Nutanong, Sarana; Jacox, Edwin H.; Samet, Hanan.

Research output: Journal Publications and Reviews (RGC: 21, 22, 62) › 21_Publication in refereed journal › peer-review