Translating a Convex Polygon to Contain a Maximum Number of Points

Abstract Given a set S of n points in the plane and a convex polygon P with m vertices, we consider the problem of finding a translation of P that contains the maximum number of points in S . We present two different solutions. Our first algorithm uses standard line-sweep techniques and requires O( nk log( nm ) + m ) time where k is the maximum number of points contained. Our second algorithm requires O( nk log( mk ) + m ) time, which is the asymptotically fastest known algorithm for this problem. Both algorithms require optimal O( m + n ) space. The algorithms also solve in the same running time the bichromatic variant of the problem, where we are given two point sets A and B and the goal is to maximize the number of points covered from A while minimizing the number of points covered from B .

[1]  David Eppstein,et al.  Iterated nearest neighbors and finding minimal polytopes , 1993, SODA '93.

[2]  David M. Mount,et al.  A parallel algorithm for enclosed and enclosing triangles , 1992, Int. J. Comput. Geom. Appl..

[3]  G. Toussaint Solving geometric problems with the rotating calipers , 1983 .

[4]  David G. Kirkpatrick,et al.  Tentative Prune-and-Search for Computing Fixed-Points with Applications to Geometric Computation , 1995, Fundam. Informaticae.

[5]  Micha Sharir,et al.  Computing the Smallest K-enclosing Circle and Related Problems , 1994, Comput. Geom..

[6]  Alok Aggarwal,et al.  An Optimal Algorithm for Finding Minimal Enclosing Triangles , 1986, J. Algorithms.

[7]  Matthew Dickerson,et al.  Optimal placement of convex polygons to maximize point containment , 1996, SODA '96.

[8]  Michiel H. M. Smid,et al.  Sequential and parallel algorithms for the k closest pairs problem , 1995, Int. J. Comput. Geom. Appl..

[9]  Victor Klee,et al.  Finding the Smallest Triangles Containing a Given Convex Polygon , 1985, J. Algorithms.

[10]  Michael Ian Shamos,et al.  Computational geometry: an introduction , 1985 .

[11]  Yehezkel Lamdan,et al.  Object recognition by affine invariant matching , 2011, Proceedings CVPR '88: The Computer Society Conference on Computer Vision and Pattern Recognition.

[12]  Mark H. Overmars,et al.  New upper bounds in Klee's measure problem , 1988, [Proceedings 1988] 29th Annual Symposium on Foundations of Computer Science.

[13]  Micha Sharir,et al.  On the union of Jordan regions and collision-free translational motion amidst polygonal obstacles , 1986, Discret. Comput. Geom..

[14]  Michiel H. M. Smid,et al.  Static and Dynamic Algorithms for k-Point Clustering Problems , 1993, J. Algorithms.

[15]  Mark H. Overmars,et al.  New Upper Bounds in Klee's Measure Problem , 1991, SIAM J. Comput..