The calculation of the next best view from multiple 3D scans is an extension to the method described above. Scan matching is used to align the 3D scans to calculate the precise scan position. Polygons are calculated from each single 3D scan and aligned with the precise position. A modified version of Vatti's polygon clipping algorithm [13] is used to merge the polygons. The modification is necessary to ensure the labeling of the edges (seen, unseen), while creating the union of the polygons (fig. 3). A new 3D scan is clipped against the union of the previous scans.
The performance of the proposed planning module can be estimated as follows: The first step converts data points into lines. The Hough transform runs in ( is the maximal distance of a data point in a single 3D scan). Generating candidate points is done in and their evaluation is also in ( is the number of candidates and the number of lines). Vatti's polygon clipping algorithm runs in ( is the sum of edges of both polygons). The whole planning algorithm takes on scenes of up to 2 seconds, running on a Pentium-III-800.