FINDING AN OPTIMAL BRIDGE BETWEEN TWO POLYGONS

2002 ◽  
Vol 12 (03) ◽  
pp. 249-261 ◽  
Author(s):  
XUEHOU TAN

Let π(a,b) denote the shortest path between two points a, b inside a simple polygon P, which totally lies in P. The geodesic distance between a and b in P is defined as the length of π(a,b), denoted by gd(a,b), in contrast with the Euclidean distance between a and b in the plane, denoted by d(a,b). Given two disjoint polygons P and Q in the plane, the bridge problem asks for a line segment (optimal bridge) that connects a point p on the boundary of P and a point q on the boundary of Q such that the sum of three distances gd(p′,p), d(p,q) and gd(q,q′), with any p′ ∈ P and any q′ ∈ Q, is minimized. We present an O(n log 3 n) time algorithm for finding an optimal bridge between two simple polygons. This significantly improves upon the previous O(n2) time bound. Our result is obtained by making substantial use of a hierarchical structure that consists of segment trees, range trees and persistent search trees, and a structure that supports dynamic ray shooting and shortest path queries as well.

1995 ◽  
Vol 05 (04) ◽  
pp. 369-395 ◽  
Author(s):  
ESTHER M. ARKIN ◽  
JOSEPH S.B. MITCHELL ◽  
SUBHASH SURI

We develop a data structure for answering link distance queries between two arbitrary points in a simple polygon. The data structure requires O(n3) time and space for its construction and answers link distance queries in O(log n) time, after which a minimum-link path can be reported in time proportional to the number of links. Here, n denotes the number of vertices of the polygon. Our result extends to link distance queries between pairs of segments or polygons. We also propose a simpler data structure for computing a link distance approximately, where the error is bounded by a small additive constant. Finally, we also present a scheme for approximating the link and the shortest path distance simultaneously.


1995 ◽  
Vol 05 (01n02) ◽  
pp. 145-170 ◽  
Author(s):  
JOHN HERSHBERGER

We provide optimal parallel solutions to several shortest path and visibility problems set in triangulated simple polygons. Let P be a triangulated simple polygon with n vertices, preprocessed to support shortest path queries. We can find the shortest path tree from any point inside P in O(log n) time using O(n/log n) processors. In the game bounds, we can preprocess P for shooting queries (a query can be answered in O(log n) time by a uniprocessor). Given a set S of m points inside P, we can find an implicit representation of the relative convex hull of S in O(log(nm)) time with O(m) processors. If the relative convex hull has k edges, we can explicitly produce these edges in O(log(nm)) time with O(k/log(nm)) processors. All of these algorithms are deterministic and use the CREW PRAM model.


1997 ◽  
Vol 07 (01n02) ◽  
pp. 85-121 ◽  
Author(s):  
Yi-Jen Chiang ◽  
Roberto Tamassia

We present efficient algorithms for shortest-path and minimum-link-path queries between two convex polygons inside a simple polygon P, which acts as an obstacle to be avoided. Let n be the number of vertices of P, and h the total number of vertices of the query polygons. We show that shortest-path queries can be performed optimally in time O( log h + log n) (plus O(k) time for reporting the k edges of the path) using a data structure with O(n) space and preprocessing time, and that minimum-link-path queries can be performed in optimal time O( log h + log n) (plus O(k) to report the k links), with O(n3) space and preprocessing time. We also extend our results to the dynamic case, and give a unified data structure that supports both queries for convex polygons in the same region of a connected planar subdivision [Formula: see text]. The update operations consist of insertions and deletions of edges and vertices. Let n be the current number of vertices in [Formula: see text]. The data structure uses O(n) space, supports updates in O( log 2 n) time, and performs shortest-path and minimum-link-path queries in times O( log h+ log 2n) (plus O(k) to report the k edges of the path) and O( log h + k log 2 n), respectively. Performing shortest-path queries is a variation of the well-studied separation problem, which has not been efficiently solved before in the presence of obstacles. Also, it was not previously known how to perform minimum-link-path queries in a dynamic environment, even for two-point queries.


1996 ◽  
Vol 06 (02) ◽  
pp. 205-225 ◽  
Author(s):  
SVEN SCHUIERER

We present a data structure that allows to preprocess a rectilinear polygon with n vertices such that, for any two query points, the shortest path in the rectilinear link or L1-metric can be reported in time O( log n+k) where k is the link length of the shortest path. If only the distance is of interest, the query time reduces to O( log n). Furthermore, if the query points are two vertices, the distance can be reported in time O(1) and a shortest path can be constructed in time O(1+k). The data structure can be computed in time O(n) and needs O(n) storage. As an application we present a linear time algorithm to compute the diameter of a simple rectilinear polygon w.r.t. the L1-metric.


1999 ◽  
Vol 09 (01) ◽  
pp. 81-96 ◽  
Author(s):  
BINAY K. BHATTACHARYA ◽  
ASISH MUKHOPADHYAY ◽  
GODFRIED T. TOUSSAINT

A simple polygon P is said to be weakly extrenally visible from a line segment L if it lies outside P and for every point p on the boundary of P there is a point q on L such that no point in the interior of [Formula: see text] lies inside P. In this paper, a linear time algorithm is proposed for computing a shortest line segment from which P is weakly externally visible. This is done by a suitable generalization of a linear time algorithm which solves the same problem for a convex polygon.


1989 ◽  
Vol 39 (2) ◽  
pp. 126-152 ◽  
Author(s):  
Leonidas J. Guibas ◽  
John Hershberger

2016 ◽  
Vol 25 (05) ◽  
pp. 1640002 ◽  
Author(s):  
Jan Gaura ◽  
Eduard Sojka

Measuring the distance is an important task in many clustering and image-segmentation algorithms. The value of the distance decides whether two image points belong to a single or, respectively, to two different image segments. The Euclidean distance is used quite often. In more complicated cases, measuring the distances along the surface that is defined by the image function may be more appropriate. The geodesic distance, i.e. the shortest path in the corresponding graph, has become popular in this context. The problem is that it is determined on the basis of only one path that can be viewed as infinitely thin and that can arise accidentally as a result of imperfections in the image. Considering the k shortest paths can be regarded as an effort towards the measurement of the distance that is more reliable. The drawback remains that measuring the distance along several paths is burdened with the same problems as the original geodesic distance. Therefore, it does not guarantee significantly better results. In addition to this, the approach is computationally demanding. This paper introduces the resistance-geodesic distance with the goal to reduce the possibility of using a false accidental path for measurement. The approach can be briefly characterised in such a way that the path of a certain chosen width is sought for, which is in contrast to the geodesic distance. Firstly, the effective conductance is computed for each pair of the neighbouring nodes to determine the local width of the path that could possibly run through the arc connecting them. The width computed in this way is then used for determining the costs of arcs; the arcs whose use would lead to a small width of the final path are penalised. The usual methods for computing the shortest path in a graph are then used to compute the final distances. The corresponding theory and the experimental results are presented in this paper.


Sign in / Sign up

Export Citation Format

Share Document