Skip to main content
Log in

Small Candidate Set for Translational Pattern Search

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

In this paper, we study the following pattern search problem: Given a pair of point sets A and B in fixed dimensional space \(\mathbb {R}^d\), with \(|B| = n,|A| = m\) and \(n \ge m\), the pattern search problem is to find the translations \(\mathcal {T}\)’s of A such that each of the identified translations induces a matching between \(\mathcal {T}(A)\) and a subset \(B'\) of B with cost no more than some given threshold, where the cost is defined as the minimum bipartite matching cost of \(\mathcal {T}(A)\) and \(B'\). We present a novel algorithm to produce a small set of candidate translations for the pattern search problem. For any \(B' \subseteq B\) with \(|B'| = |A|\), there exists at least one translation \(\mathcal {T}\) in the candidate set such that the minimum bipartite matching cost between \(\mathcal {T}(A)\) and \(B'\) is no larger than \((1+\epsilon )\) times the minimum bipartite matching cost between A and \(B'\) under any translation (i.e., the optimal translational matching cost). We also show that there exists an alternative solution to this problem, which constructs a candidate set of size \(O_{d,\epsilon }(n \log ^2 n)\) in \(O_{d,\epsilon }(n \log ^2 n)\) time with high probability of success. As a by-product of our construction, we obtain a weak \(\epsilon \)-net for hypercube ranges, which significantly improves the construction time and the size of the candidate set. Our technique can be applied to a number of applications, including the translational pattern matching problem.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  1. Alt, H., Guibas, L.J.: Discrete geometric shapes: Matching, interpolation, and approximation. In: Handbook of computational geometry, pp. 121–153. Elsevier (2000)

  2. Aronov, B., Ezra, E., Sharir, M.: Small-size \(\backslash \)eps-nets for axis-parallel rectangles and boxes. SIAM J. Comput. 39(7), 3248–3282 (2010)

    Article  MathSciNet  Google Scholar 

  3. Arya, S., Malamatos, T., Mount, D.M.: Space-time tradeoffs for approximate nearest neighbor searching. J. ACM (JACM) 57(1), 1 (2009)

    Article  MathSciNet  Google Scholar 

  4. Ben-Avraham, R., Henze, M., Jaume, R., Keszegh, B., Raz, O.E., Sharir, M., Tubis, I.: Minimum partial-matching and hausdorff rms-distance under translation: combinatorics and algorithms. In: European Symposium on Algorithms, pp. 100–111. Springer (2014)

  5. Cabello, S., Giannopoulos, P., Knauer, C.: On the parameterized complexity of d-dimensional point set pattern matching. In: International Workshop on Parameterized and Exact Computation, pp. 175–183. Springer (2006)

  6. Callahan, P.B., Kosaraju, S.R.: A decomposition of multidimensional point sets with applications to k-nearest-neighbors and n-body potential fields. Journal of the ACM 42(1), 67–90 (1995)

    Article  MathSciNet  Google Scholar 

  7. Chen, D.Z., Huang, Z., Liu, Y., Xu, J.: On clustering induced voronoi diagrams. SIAM Journal on Computing 46(6), 1679–1711 (2017)

    Article  MathSciNet  Google Scholar 

  8. Clarkson, K.L., Varadarajan, K.: Improved approximation algorithms for geometric set cover. Dis. & Comput. Geom. 37(1), 43–58 (2007)

    Article  MathSciNet  Google Scholar 

  9. Ding, H., Berezney, R., Xu, J.: k-prototype learning for 3d rigid structures. In: Advances in Neural Information Processing Systems, pp. 2589–2597 (2013)

  10. Ding, H., Stojkovic, B., Berezney, R., Xu, J.: Gauging association patterns of chromosome territories via chromatic median. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1296–1303 (2013)

  11. Ding, H., Xu, J.: Fptas for minimizing earth mover’s distance under rigid transformations. In: European Symposium on Algorithms, pp. 397–408. Springer (2013)

  12. Ezra, E.: A note about weak \(\epsilon \)-nets for axis-parallel boxes in d-space. Inf. Proces. Letters 110(18–19), 835–840 (2010)

    Article  MathSciNet  Google Scholar 

  13. Gavrilov, M., Indyk, P., Motwani, R., Venkatasubramanian, S.: Combinatorial and experimental methods for approximate point pattern matching. Algorithmica. 38(1), 59–90 (2004)

    Article  MathSciNet  Google Scholar 

  14. Goodrich, M.T., Mitchell, J.S., Orletsky, M.W.: Practical methods for approximate geometric pattern matching under rigid motions:(preliminary version). In: Proceedings of the tenth annual symposium on Computational geometry, pp. 103–112. ACM (1994)

  15. Har-Peled, S.: A replacement for voronoi diagrams of near linear size. In: Proceedings 42nd IEEE Symposium on Foundations of Computer Science, pp. 94–103. IEEE (2001)

  16. Haussler, D., Welzl, E.: \(\epsilon \)-nets and simplex range queries. Dis. & Comput. Geom. 2(2), 127–151 (1987)

    Article  MathSciNet  Google Scholar 

  17. Henze, M., Jaume, R., Keszegh, B.: On the complexity of the partial least-squares matching voronoi diagram. In: Proc. 29th European Workshop on Computational Geometry, pp. 193–196 (2013)

  18. Huttenlocher, D.P., Kedem, K., Sharir, M.: The upper envelope of voronoi surfaces and its applications. Dis. & Comput. Geom. 9(3), 267–291 (1993)

    Article  MathSciNet  Google Scholar 

  19. Kulkarni, J., Govindarajan, S.: New \(\epsilon \)-net constructions. In: Proceedings of the 22nd Annual Canadian Conference on Computational Geometry, Winnipeg, Manitoba, Canada, pp. 159–162. Citeseer (2010)

  20. Matoušek, J., Seidel, R., Welzl, E.: How to net a lot with little: Small \(\varepsilon \)-nets for disks and halfspaces. In: Proceedings of the sixth annual symposium on Computational geometry, pp. 16–22. ACM (1990)

  21. Rote, G.: Partial least-squares point matching under translations. In: Proc. 26th European Workshop on Computational Geometry, pp. 249–251. Citeseer (2010)

  22. Sehgal, N., Fritz, A.J., Vecerova, J., Ding, H., Chen, Z., Stojkovic, B., Bhattacharya, S., Xu, J., Berezney, R.: Large-scale probabilistic 3d organization of human chromosome territories. Hum. Mol. Genet. 25(3), 419–436 (2015)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ziyun Huang.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

The research of the first and last authors was supported in part by NSF through grant CCF-1716400. The research of the last author was also supported by NSF through grant IIS-1910492. A preliminary version of this paper has appeared in the Proceedings of the 30th International Symposium on Algorithms and Computation(ISAAC 2019)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Huang, Z., Feng, Q., Wang, J. et al. Small Candidate Set for Translational Pattern Search. Algorithmica 84, 3034–3053 (2022). https://doi.org/10.1007/s00453-022-00997-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-022-00997-x

Navigation