Two-Dimensional Scaled Pattern Matching

  • Reference work entry
  • First Online:
Encyclopedia of Algorithms
  • 68 Accesses

Years and Authors of Summarized Original Work

  • 2006; Amir, Chencinski

Problem Definition

Definition 1

Let T be a two-dimensional \( { n \times n } \) array over some alphabet Σ.

  1. 1.

    The unit pixels array for T (T1X) consists of n2 unit squares, called pixels in the real plane \( { \Re^2 } \). The corners of the pixel \( { T[i,j] } \) are \( (i-1,j-1), (i, j-1), (i-1,j), \) and \( { (i,j) } \). Hence the pixels of T form a regular \( { n \times n } \) array that covers the area between \( { (0,0), (n,0), (0,n), } \) and \( { (n,n) } \). Point \( { (0,0) } \) is the origin of the unit pixel array. The center of each pixel is the geometric center point of its square location. Each pixel \( { T[i,j] } \) is identified with the value from Σ that the original array T had in that position. Say that the pixel has a color or a character from Σ. See Fig. 1 for an example of the grid and pixel centers of a \( { 7 \times 7 } \) array.

    Figure 1
    figure 2023 figure 2023

    The grid and pixel centers of a unit pixel array for a \(...

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 1,599.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 1,999.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Amir A, Benson G, Farach M (1994) An alphabet independent approach to two dimensional pattern matching. SIAM J Comput 23(2):313–323

    Article  MathSciNet  MATH  Google Scholar 

  2. Amir A, Butman A, Crochemore M, Landau GM, Schaps M (2004) Two-dimensional pattern matching with rotations. Theor Comput Sci 314(1–2):173–187

    Article  MathSciNet  MATH  Google Scholar 

  3. Amir A, Butman A, Lewenstein M (1999) Real scaled matching. Inf Process Lett 70(4):185–190

    Article  MathSciNet  MATH  Google Scholar 

  4. Amir A, Butman A, Lewenstein M, Porat E (2003) Real two dimensional scaled matching. In: Proceedings of the 8th workshop on algorithms and data structures (WADS '03), pp 353–364

    Google Scholar 

  5. Amir A, Butman A, Lewenstein M, Porat E, Tsur D (2004) Efficient one dimensional real scaled matching. In: Proceedings of the 11th symposium on string processing and information retrieval (SPIRE'04), pp 1–9

    Google Scholar 

  6. Amir A, Calinescu G (2000) Alphabet independent and dictionary scaled matching. J Algorithm 36:34–62

    Article  MathSciNet  MATH  Google Scholar 

  7. Amir A, Chencinski E (2006) Faster two dimensional scaled matching. In: Proceedings of the 17th symposium on combinatorial pattern matching (CPM). LNCS, vol 4009. Springer, Berlin, pp 200–210

    Google Scholar 

  8. Amir A, Farach M (1992) Two dimensional dictionary matching. Inf Process Lett 44:233–239

    Article  MathSciNet  MATH  Google Scholar 

  9. Amir A, Landau G (1991) Fast parallel and serial multidimensional approximate array matching. Theor Comput Sci 81:97–115

    Article  MathSciNet  MATH  Google Scholar 

  10. Amir A, Landau GM, Vishkin U (1992) Efficient pattern matching with scaling. J Algorithm 13(1):2–32

    Article  MATH  Google Scholar 

  11. Amir A, Tsur D, Kapah O (2004) Faster two dimensional pattern matching with rotations. In: Proceedings of the 15th annual symposium on combinatorial pattern matching (CPM '04), pp 409–419

    Google Scholar 

  12. Fredriksson K, Mäkinen V, Navarro G (2004) Rotation and lighting invariant template matching. In: Proceedings of the 6th Latin American symposium on theoretical informatics (LATIN'04). LNCS, pp 39–48

    Google Scholar 

  13. Fredriksson K, Navarro G, Ukkonen E (2002) Optimal exact and fast approximate two dimensional pattern matching allowing rotations. In: Proceedings of the 13th annual symposium on combinatorial pattern matching (CPM 2002). LNCS, vol 2373, pp 235–248

    Google Scholar 

  14. Fredriksson K, Ukkonen E (1998) A rotation invariant filter for two-dimensional string matching. In: Proceedings of the 9th annual symposium on combinatorial pattern matching (CPM). LNCS, vol 1448. Springer, Berlin, pp 118–125

    Google Scholar 

  15. Landau GM, Vishkin U (1994) Pattern matching in a digitized image. Algorithmica 12(3/4):375–408

    Article  MathSciNet  MATH  Google Scholar 

  16. Vishkin U (1985) Optimal parallel pattern matching in strings. In: Proceedings of the 12th ICALP, pp 91–113

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Science+Business Media New York

About this entry

Cite this entry

Amir, A. (2016). Two-Dimensional Scaled Pattern Matching. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_444

Download citation

Publish with us

Policies and ethics

Navigation