Skip to main content
Log in

Relaxing the Triangle Inequality in Pattern Matching

  • Published:
International Journal of Computer Vision Aims and scope Submit manuscript

Abstract

Any notion of “closeness” in pattern matching should have the property that if A is close to B, and B is close to C, then A is close to C. Traditionally, this property is attained because of the triangle inequality (d(A, C) ≤ d(A, B) + d(B, C), where d represents a notion of distance). However, the full power of the triangle inequality is not needed for this property to hold. Instead, a “relaxed triangle inequality” suffices, of the form d(A, C) ≤ c(d(A, B) + d(B, C)), where c is a constant that is not too large. In this paper, we show that one of the measures used for distances between shapes in (an experimental version of) IBM's QBIC1 ("Query by Image Content") system (Niblack et al., 1993) satisfies a relaxed triangle inequality, although it does not satisfy the triangle inequality.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  • Arkin, E.M., Chew, L.P., Huttenlocher, D.P., Kedem, K., and Mitchell, J.S.B. 1990. An efficiently computable metric for comparing polygonal shapes. In Proc. First ACM-SIAM Symp. on Discrete Algorithms, San Francisco, CA, pp. 129-137.

  • Cortelazzo, G., Mian, G.A., Vezzi, G., and Zamperoni, P. 1994. Trademark shapes description by string-matching techniques. Pattern Recognition27(8):1005-1018.

    Article  Google Scholar 

  • Huttenlocher, D.P., Rucklidge, W.J., and Klanderman, G.A. 1992. Comparing images using the Hausdorff distance under translation. In Proc. IEEE Conf. on Computer Vision and Pattern Recognition, Champaign, IL, pp. 654-656.

  • Jain, A.K. 1989. Fundamentals of Digital Image Processing. Prentice-Hall: Englewood Cliffs, NJ.

    Google Scholar 

  • Kim, Y-S. and Kim, W-Y. 1997. Content-based trademark retrieval system using visually salient feature. In Proc. IEEE Conf. on Computer Vision and Pattern Recognition, San Juan, Puerto Rico, pp. 307-312.

  • McConnell, R., Kwok, R., Curlander, J.C., Kober, W., and Pang, S.S. 1991. Ψ-S correlation and dynamic time warping: two methods for tracking ice floes in SAR images. IEEE Trans. Geoscience and Remote Sensing29(6):1004-1012.

    Article  Google Scholar 

  • Mehtre, B.M., Kankanhalli, M.S., and Lee, W.F. 1997. Shape measures for content based image retrieval: a comparison. Information Processing and Management33(3):319-337.

    Article  Google Scholar 

  • Mumford, D. 1991. Mathematical theories of shape: do they model perception? In Proc. Conf. on Geometric Methods in Computer Vision, San Diego, CA, SPIE volume 1570, pp. 2-10.

    Google Scholar 

  • Niblack, W., Barber, R., Equitz, W., Flickner, M., Glasman, E., Petkovic, D., and Yanker, P. 1993. The QBIC project: querying images by content using color, texture and shape. In Proc. Conf. on Storage and Retrieval for Image and Video Databases, San Jose, CA, SPIE volume 1908, pp. 173-181. QBIC Web server is http://wwwqbic.almaden.ibm.com/.

    Google Scholar 

  • Niblack, W. and Yin, J. 1995. A pseudo-distance measure for 2D shapes based on turning angle. In Proc. IEEE Int. Conf. on Image Processing, Washington, DC.

  • Scassellati, B., Alexopoulos, S., and Flickner, M. 1994. Retrieving images by 2D shape: a comparison of computation methods with human perceptual judgments. In Proc. Conf. on Storage and Retrieval for Image and Video Databases II, San Jose, CA, SPIE volume 2185, pp. 2-14.

    Google Scholar 

  • Taubin, G. and Cooper, D.B. 1991. Recognition and positioning of rigid objects using algebraic moment invariants. In Proc. Conf. on Geometric Methods in Computer Vision, San Diego, CA, SPIE volume 1570, pp. 175-186.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Fagin, R., Stockmeyer, L. Relaxing the Triangle Inequality in Pattern Matching. International Journal of Computer Vision 30, 219–231 (1998). https://doi.org/10.1023/A:1008023416823

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1008023416823

Navigation