Skip to main content
Log in

Pattern matching in a digitized image

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

For motivation purpose, imagine the followingcontinuous pattern-matching problem. Two continuous pictures, each consisting of unicolor regions, are given; one picture is called thescene and the other thepattern. The problem is to find all occurrences of the pattern in the scene.

As a step toward efficient algorithmic handling of the continuous pattern-matching problem by computers, where discretized representations are involved, we consider pattern-matching problems where the pattern and the text are specified either in terms of the “continuous” properties, or through other exemplar digitized images—a variety of alternative specifications is considered.

From the perspective of areas such as computer vision or image processing, our problem definitions identify an important gap in the fundamental theory of image formation and image processing—how to determine, even in the absence of noise, if a digitized image of a scene could contain an image of a given pattern. This is done using carefulaxiomatization.

Such a “digitized-based” approach may lead toward building on the theory of string-matching algorithms (in one, or higher, dimensions) for the benefit of algorithmic pattern matching in image processing.

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

  1. K. Abrahamson. Generalized string matching.SIAM J. Comput., 17:1039–1051, 1987.

    Article  MathSciNet  Google Scholar 

  2. A. V. Aho and M. J. Corasick, Efficient string matching,Comm. ACM, 18(6):333–340, 1975.

    Article  MATH  MathSciNet  Google Scholar 

  3. A. Apostolico, C. Iliopoulos, G. M. Landau, B. Schieber, and U. Vishkin. Parallel construction of a suffix tree with applications.Algorithmica, 3:347–365, 1988.

    Article  MATH  MathSciNet  Google Scholar 

  4. A. Amir and G. M. Landau, Fast parallel and serial multidimensional approximate array matching,Theoret. Comput. Sci., 81:97–115, 1991.

    Article  MATH  MathSciNet  Google Scholar 

  5. D. H. Ballard and C. M. Brown.Computer Vision, Prentice-Hall, Englewood Cliffs, NJ, 1982.

    Google Scholar 

  6. S. Ben-Yehuda and R. Y. Pinter. Symbolic layout improvement using string matching based local transformation.Proc. Decennial Caltech Conf. on VL SI, pp. 227–239, 1989.

  7. O. Berkman and U. Vishkin. Recursive star-tree parallel data-structure.SIAM J. Comput., 22(2):221–242, 1993.

    Article  MATH  MathSciNet  Google Scholar 

  8. M. B. Clowes. On seeing things.Artificial Intelligence, 2:79–116, 1971.

    Article  Google Scholar 

  9. M. Dubiner, Z. Galil and E. Magen. Faster tree pattern matching.Proc. 31th IEEE Symp. on Foundations of Computer Science, pp. 145–150, 1990.

  10. H. Edelsbrunner and L. Guibas. Topologically sweeping an arrangement.Proc. 18th ACM Symp. on Theory of Computing, pp. 389–403, 1986.

  11. S. Even, A Itai, and A. Shamir. On the complexity of timetables and multicommodity flow problems.SIAM J. Comp., 5(4):691–703, 1976.

    Article  MATH  MathSciNet  Google Scholar 

  12. S. Fortune. Stable maintenance of point set triangulations in two dimensions.Proc. 30th IEEE Symp. on Foundation of Computer Science, pp. 494–499, 1989.

  13. M. J. Fischer and M. S. Paterson. String matching and other products. InComplexity of Computation, R. M. Karp (Ed.). SIAM-AMS Proceedings, Vol. 7, pp. 113–125. SIAM, Philadelphia, PA, 1974.

    Google Scholar 

  14. D. A. Huffman. Impossible objects as nonsense sentences. InMachine Intelligence, B. Meltzer and D. Michie (Eds.), Vol. 6, pp. 295–323. Edinburgh University Press, Edinburgh, 1971.

    Google Scholar 

  15. D. Harel and R. E. Tarjan. Fast algorithms for finding nearest common ancestors.SIAM J. Comput., 13:338–355, 1984.

    Article  MATH  MathSciNet  Google Scholar 

  16. S. R. Kosaraju. Efficient tree pattern matching.Proc. 30th IEEE Symp. on Foundations of Computer Science, pp. 178–183, 1989.

  17. R. M. Karp, R. E. Miller, and A. L. Rosenberg. Rapid identification of repeated patterns in strings, trees and arrays.Proc. 4th ACM Symp. on Theory of Computing, pp. 125–136, 1972.

  18. E. S. Lander, R. Langridge, and D. M. Saccocio, A report on computing in molecular biology: mapping and interpreting biological information.Comm. ACM, 34(11):33–39, 1991.

    Article  Google Scholar 

  19. G. M. Landau and U. Vishkin. Efficient string matching withk differences.J. Comput. System Sci., 37:63–78, 1988.

    Article  MATH  MathSciNet  Google Scholar 

  20. G. M. Landau and U. Vishkin. Pattern matching in a digitized image.Proc. 3rd ACM-SIAM Symp. on Discrete Algorithms, pp. 453–462, 1992.

  21. E.M. McCreight. A space-economical suffix tree construction algorithm.J. Assoc. Comput. Mach., 23:262–272, 1976.

    MATH  MathSciNet  Google Scholar 

  22. V. Milenkovic. Double precision geometry: a general technique for calculating line and segment intersections using rounded arithmetic.Proc. 30th IEEE Symp. on Foundations of Computer Science, pp. 500–505, 1989.

  23. R. Y. Pinter. Efficient string matching with don't-care patterns. InCombinatorial Algorithms on Words, A. Apostolico and Z. Galil (Eds.). NATO ASI Series, Series F: Computer and System Sciences, Vol. 12, pp. 97–107. Springer-Verlag, New York, 1985.

    Google Scholar 

  24. A. Rosenfeld and S. Banerjee. Maximum-likelihood edge detection in digital signals. TR-492, Center for Automation Research, University of Maryland, College Park, March 1990.

    Google Scholar 

  25. A. Rosenfeld and A. C. Kak.Digital Picture Processing, 2nd edn. Academic Press, New York, 1982.

    Google Scholar 

  26. H. Samet.The Design and Analysis of Spatial Data Structures. Addison-Wesley, Reading, MA, 1990.

    Google Scholar 

  27. B. Schieber and U. Vishkin. On finding lowest common ancestors: simplification and parallelization.SIAM J. Comput., 17:1253–1262, 1988.

    Article  MATH  MathSciNet  Google Scholar 

  28. P. Weiner. Linear pattern matching algorithm.Proc. 14th IEEE Symp. on Switching and Automata Theory, pp. 1–11, 1973.

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by Alberto Apostolico.

This paper is the journal version of [LV2].

Partially supported by NSF Grants CCR-8908286 and CCR-9305873 and the New York State Science and Technology Foundation, Center for Advanced Technology in Telecommunications, Polytechnic University, Brooklyn, NY, USA.

Partially supported by NSF Grants CCR-8906949 and CCR-9111348.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Landau, G.M., Vishkin, U. Pattern matching in a digitized image. Algorithmica 12, 375–408 (1994). https://doi.org/10.1007/BF01185433

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01185433

Key words

Navigation