A nearly optimal sensor placement algorithm for boundary coverage
Introduction
Several computer vision and robotics tasks require multiple visual sensors, or the displacement of one visual sensor in multiple positions. Sensor placement is an active area of research. The survey [1] on sensor positioning refers in particular to tasks as reconstruction and inspection. The surveys [2], [3], [4] are mainly devoted to object and environment inspection. Tasks such as surveillance, inspection and image based rendering, usually refer to known objects or environments, and are categorized as model-based view planning or robot vision [1], [5], [6].
Practical sensor planning problems require considering several constraints, such as minimum and maximum distance, incidence, feature visibility and lighting. Visibility is clearly the fundamental constraint for any kind of task where optical sensors are involved. The sensor is usually modeled as a point. A feature of an object is said to be visible from the sensor, or not occluded, if any segment joining a point of the feature and the sensor does not intersect the environment or the object itself (usually excluding boundary points).
Although in general the sensor location problem is 3D, in several cases it can be restricted to 2D. This is, for instance, the case of buildings, which can be modeled as objects obtained by extrusion.
Assuming that the sensors are omni-directional or rotating, for tasks such as surveillance, the 2D visibility constraint is modeled by the classic Art Gallery problem, which requires observing or “covering” the interior of a polygonal environment with a minimum set of sensors. We call this the interior covering (IC) problem.
Other tasks, such as inspection or image based rendering when the geometry, but not the texture, of the environment is known, require observing only the boundary, in 2D the edges of a polygonal environment. Observing the edges with a minimum set of sensors is the problem tackled in this paper. We call this the edge covering (EC) problem. As it will be discussed in detail in Section 2, EC and IC are different problems, which is not always recognized in the literature.
Joining the locations of a set of IC or EC sensor is a technique used for robot motion planning in static environments (see, for instance, Refs. [7], [8]).
Unfortunately, the EC problem, as well as the original IC problem and several of their variations, is NP-hard, and no exact finite algorithm, not even exponential, is known for locating a minimum set of sensors. However, this is an important practical problem and “good” approximation algorithms for average practical cases are sorely needed. In our view, a “good” practical algorithm should not only be computationally feasible, but also provide a set of sensors whose cardinality, on the average, is not far from optimum.
Several heuristic algorithms for this problem have been presented, but they do not match these requirements, since it is unknown how close to the optimum is the cardinality of the solution provided.
In this paper, after discussing the available approximation algorithms, we present a new EC sensor positioning technique. The algorithm is incremental and converges toward the optimal solution. A key feature of the algorithm is that it computes a lower bound, specific of the polygonal environment considered, for the minimum number of guards. It allows evaluating the quality of the solution obtained at each step, and halting the algorithm if the solution is satisfactory.
The algorithm refines a starting approximate solution provided by an integer edge covering (IEC) algorithm, where each edge must be observed entirely by at least one sensor. A set of rules, aimed to reduce the computation, is provided for refining locally the current solution. The proposed technique can also easily take into account other geometrical constraints such as range and incidence.
The algorithm has been implemented and tested on several hundreds of polygonal floor maps. According to the experimental results, the algorithm is a “good” practical algorithm. In fact, the cardinality of the covers supplied by the algorithm is always very close to, and in several cases coincident with, the lower bound, and therefore optimal or nearly optimal. Concerning running times, the algorithm works well for several tens of edges. When the number of edges increases, a simplification of the algorithm reduces running times affecting only slightly the quality of the solution. This allows dealing with polygons with a few hundreds of edges, which appears sufficient for many practical cases. A preliminary version of the algorithm has been presented in Ref. [9], and some preliminary results in Ref. [10]. An enhanced version of the algorithm, also taking into account range and incidence constraints, has also been implemented and tested.
The paper is organized as follows. In Section 2, we summarize the relevant Art Gallery theory and discuss the existing sensor location approximate algorithms. Section 3 describes our sensor positioning algorithm. In Section 4, we present and discuss the experimental results. Section 5 is devoted to the enhanced algorithm taking into account range and incidence constraints. Conclusions and directions of future research are discussed in Section 6.
Section snippets
Art Gallery problems
In this section, we summarize the relevant Art Gallery problem theory, and discuss the algorithms presented for its solution.
Description of the proposed algorithm
We have seen in the previous section that the approximation EC algorithms in the literature are polynomial, even if this does not always guarantee feasibility in practical cases. Closeness to the minimal cardinality, or optimal, solution, has not been investigated. This is due to the difficulty of evaluating the quality of the solution, which seems to require the minimal cardinality of the guard set, that no known algorithm can provide.
On the contrary, our approach is aimed at balancing on the
Experimental results
To understand if the approach described yields an effective practical tool, we have implemented the algorithm and tested its behavior over about 400 pseudo-random polygons. For each polygon, running times, difference between the solution and the lower bound and some other data have been recorded. We stress again that if the cardinality of a solution is equal to the lower bound, the solution is optimal; otherwise, the difference from optimum is at most the difference with the lower bound. The
Taking into account range and incidence
The algorithm can be easily extended to take into account other geometrical constraints. We have implemented an enhanced version that also takes into account: (a) minimal and maximal distances between the sensors and the observed boundary points, and (b) minimal angle of incidence between an edge and the viewline. These constraints are those considered in several other papers on edge covering, as Refs. [23], [24], [25], [26]. For each edge these constraints define a region of P where
Conclusions and future work
We have implemented and tested a new EC incremental sensor positioning algorithm. Other approximate sensor location algorithms, mostly polynomial, are reported in the scientific literature, but their performances with regard to the quality of the solution produced, or closeness to optimality, is unknown.
The difference of our approach is that it is aimed at balancing computation times and closeness to optimality. The key elements of the algorithm are: (1) IECA, the integer edge covering
About the Author—A. BOTTINO was born in Torino, Italy, in 1971. He received his master degree in Computer Science Engineering and his PhD from Politecnico di Torino in 1995 and 2000. He is currently a researcher in Computer Science at the Dipartimento di Automatica e Informatica of the same university. He is the author of several journal and conference papers. His current research interests include computer graphics, computer vision, motion capture systems and object oriented technology.
References (37)
- et al.
A survey of automated visual inspection
Comput. Visual Image Understanding
(1995) - et al.
Panning for complete sensor coverage in inspection
Comput. Visual Image Understanding
(1995) - et al.
Covering polygons is hard
J. Algorithms
(1994) - et al.
Guarding galleries and terrains
Inform. Proc. Lett.
(2006) - et al.
Automatic camera layout to satisfy task-specific and floor plan-specific coverage requirements
Comput. Vision Image Understanding
(2006) - et al.
The visual potential: one convex polygon
Comput. Vision Image Proc.
(1989) - et al.
An exact algorithm for the maximum clique problem
Oper. Res. Lett.
(1990) - et al.
View planning for automated three-dimensional object reconstruction and inspection
ACM Comput. Surv.
(2003) - et al.
A survey of sensor planning in computer vision
IEEE Trans. Robot Autom.
(1995) - S.Y. Chen, Y.F. Li, Automatic sensor placement for model-based robot vision, Department of Manufacturing Engineering...
Model-based planning of optimal sensor placement for inspection
IEEE Trans. Robot Autom.
Art Gallery Theorems and Algorithms
Recent results in art galleries
IEEE Proc.
Art Gallery and illumination problems
Cited by (19)
Proactive 2D model-based scan planning for existing buildings
2018, Automation in ConstructionCitation Excerpt :Amit et al. [30] provided experimental results with different greedy heuristics that were designed to solve the problem. In order to improve the optimality of the greedy solution to the problem, Bottino and Laurentini [31] proposed using a lower bound of sensor positions for a given polygon to refine the solution iteratively. To extend González-Baños's work and make the derived data acquisition positions more suitable for laser scanning, data overlap between the scanning positions was included as a constraint in the first phase (i.e., a offline planning phase) of Blaer and Allen's approach [16].
A nearly optimal algorithm for covering the interior of an Art Gallery
2011, Pattern RecognitionCitation Excerpt :Finally, the extension of the IC algorithm for accounting other constrains is discussed in Section 6. The incremental Edge Covering (EC) has been presented in [2,3]. It starts from an initial solution optimal for the Integer Edge Covering (IEC) problem, where each edge is required to be entirely observed by at least one sensor.
Polygon exploration with time-discrete vision
2010, Computational Geometry: Theory and ApplicationsA new lower bound for evaluating the performances of sensor location algorithms
2009, Pattern Recognition LettersA practical algorithm with performance guarantees for the art gallery problem
2021, Leibniz International Proceedings in Informatics, LIPIcs
About the Author—A. BOTTINO was born in Torino, Italy, in 1971. He received his master degree in Computer Science Engineering and his PhD from Politecnico di Torino in 1995 and 2000. He is currently a researcher in Computer Science at the Dipartimento di Automatica e Informatica of the same university. He is the author of several journal and conference papers. His current research interests include computer graphics, computer vision, motion capture systems and object oriented technology.
About the Author—A. LAURENTINI was born in Genova and received the degree of Ingegneria Elettronica from the Politecnico di Milano in 1963. In 1965 he joined the Politecnico di Torino, where he is now professor of Computer Science at the Dipartimento di Automatica ed Informatica. He is a member of IEEE and ACM, and author of more than 80 scientific papers. His current research interests include computer vision, computer graphics and computational geometry.