УДК 528.721.28
Ivo MILEV, Lothar GRUENDIG Germany, 2006
FEATURE LINE EXTRACTION IN LASER SCANNING DATA
1 INTRODUCTION
For the most engineering problems using the laser scan method for the data acquisition the main objective is then measuring and analyzing the dense discrete point data to derive the 3D models. Typically the measured data are large point clouds up to millions of points in the case of laser scanners with varying densities.
One class of reverse engineering methods is based on the segmentation of the point cloud into polygonal regions to fit an individual surface to each region. To avoid undesired smooth surfaces in regions with edges, edges of the scanned part (together with additional boundaries) should form the boundaries of each polygonal region.
Since in current program systems this segmentation has to be done manually, the subject of the paper are methods for the automated extraction of feature lines -strips end lines, real and theoretical edges. To be independent from special 3D scanners, no order information of the point cloud will be considered - the point cloud will be regarded as totally unsorted scattered data.
2 CLASSIFICATION OF FEATURE LINES
The different types of feature lines for engineering applications are:
- Step Edges: They appear due to scanner insufficiencies. Optical scanners only can measure, what can be seen from outside the part. In the case of holes and channels, normally only a few points at the beginning of these geometrical features can be recorded and step edges appear.
- Fold Edges: They are characterized by discontinuities in the first derivative across the edge and will be generated with separate surface patches in CAD modeling.
- Smooth Edges: By modeling of parts fold edges do not appear as often as commonly expected. Especially in the case of design surfaces, edges will be often modeled as smooth edges and the surface and edge modeling will be done with strip surfaces with a small radius of each strip. The smooth edge itself will be represented by four entities then: Two strips end lines, the edge line on the part and additionally a theoretical edge line "above" the part.
Figure 1: Feature lines for adjacent approximated surfaces
3 DATA PROCESSING
Two methods for the feature lines extraction:
- Automatic extraction of sharp edges based on robust curvature analysis of the whole point cloud. This is the high end solution and needs very powerful hardware.
- Interactive extraction of sharp edges and/or smooth edges (semi-automatic method).
- In the latter case strip end lines, the edge on the part and the theoretical edge line can be computed (see figure 1). The user will be requested to mark a region on the point cloud, where the algorithm will extract the feature lines. Here, the benefit of user interactions will be, that with a pre-segmentation of the point cloud the feature extraction can be done in real-time. Besides, the raw location of feature lines can mostly be seen by the user in the visualization of the point cloud. Optimized user interactions through rough marking of the edge to be detected, allow accurate detection of the strip end lines, the edge on the part and the theoretical edge, even if the accuracy of the cloud would be rather poor (noisy clouds).
Figure 2: Semiautomatic selection of feature lines
3.1 Computation of Point Curvature Values
Once the neighbors of each point pi of the point cloud within the search radius R have been determined, best fit planes Ei in each point depending only on the neighbors of pi can be computed.
With Taylor’s theorem, the best fit plane Ei can be interpreted as being a local approximation of the surface near the point pi. The normal vector of the plane Ei can then be interpreted as an approximation of the normal surface vector of the measured part. Fitting planes to point data is a well-known problem and is normally solved using least-squares methods (Rietdorf 2004). These methods are used here but are not explained in any detail. Once the normal vectors nj for the relevant points within the search radius R have been computed, point curvature values will be determined by applying a formula which gives an approximation of the average curvature of the surface of the part(Fig. 3). To apply this strategy, the orientation of the normal vectors of the neighbored points must be homogenous. This must be ascertained first, because the calculation of point normal vectors with the best fit planes Ei does not automatically result in a homogenous orientation of the normal vectors.
Figure 3: Curvature values to obtain the criterion for the location of strip end
points
3.2 Construction of Strip Surfaces based on Feature Lines
Regarding the presented conventional workflow, the need for an automation of the described steps is evident. The method described below is intended to be as automated as possible with special attention for producing results of high quality in means of accuracy to the measured point cloud and smoothness of the resulting feature lines.
The method computes the following vector elements:
- Two strip end lines in NURBS representation for each region, where a strip should be recomputed (Milev 2004);
- A theoretical edge line (NURBS representation), which specifies the position of the intersection curve of the extended surfaces, adjacent to the strip to construct. Of course the input for the method consists of the measured point cloud only; the adjacent surfaces to the strip need not to be generated before;
- An edge line on the part (NURBS representation). This line normally would not be needed for the construction of the strips. The edge line on the part can be used, if not a strip, but a sharp edge should be modeled, especially in the case of strip with very small radii.
Figure 4 shows each of the feature lines to be extracted.
After the strip end lines and the theoretical edge line were computed, two or more adjacent surfaces can be constructed using the theoretical edge line as a common boundary. Analogously the computation of the segment strips can be done using the two strip end lines as boundaries with existing strip generation and calculation tool. It's also possible, to use existing functions to compute normal blending surfaces instead of a special strip generator then, since the boundaries of the blending surfaces are determined by the strip end lines. Another possibility will be to use constrained surface fitting algorithms; then the segmented points will be fitted and the strip end lines can be considered as the constraints.
it
H
Feature line
Figure4: Semi automated extracted feature line on the surface
4. SURFACE PARAMETRIZATION
Interpolation of data, which might have been gathered by measurements of a physical quantity, or by sampling a function at scattered or periodic points of several variables, is a problem that occurs in many areas of science and engineering. Laser scanner, for example, measure the surface of a engineering object and these data are then used to construct a contour map of a region on this object with the same curvature. Especially in cases where the data are sampled by measurements, they are scattered, which means that the positions of the data points do not obey any regular pattern. Generally, a discrete set X .. X of points in d-dimensional space '.)?d and real valued data ft, i = 1,... n, are given, and the task
is to construct a continuous or sufficiently differentiable function s* : s.H that
satisfies the interpolation equations:
i = 1...n
Automated Multiple Spline Fitting for Curvature Analysis of Cross Section Points
Especially for automated multiple spline fitting, a well-known problem arises: On the one hand, the resulting spline curve should be accurate respectively to the cross section points, means the distances of the points to the fit curve need to be checked and should be rather small. On the other hand, if the resulting spline curve would follow the cross section points too closely, oscillations appear in the spline curve, if the scan data would be noisy (and it always is). The amount of oscillations of the spline curve normally will increase(fig. 5), if the distance to the points should decrease, but oscillating spline curves can be used for curvature analysis only with great difficulties. There is no real solution out of this classical reverse engineering paradox, but it can be (approximately) solved as good as possible.
Figure 5: Approximation of free-form surfaces via NURBS
5. LiDAR SENSORS AND FEATURE LINES
In order to ascertain accurate range and slant data, each discrete laser pulse and its corresponding reflection must be located in space and time from the point of origin (emission) to the point of detection (reflection from target). To do this, it is essential to have accurate position information on the aircraft’s trajectory, which is provided by the GPS subsystem. To achieve sub-meter accuracy, information on the in-flight position of the aircraft (specifically the position and orientation of the lidar sensor) must also be accurate. Therefore, all dynamic changes in the aircraft’s heading, pitch and roll must be measured and logged. This information is provided by a Position and Orientation System. To complicate matters, all three data streams—lidar, GPS and POS—dense as they are, must be synchronized to a universal time stamp that places all data events along one unifying timeline. Without temporal synchronization, all relative position, range and intensity data are useless for the purpose of measuring distances.
Airborne models are commonly generated from LIDAR scans by detecting features such as planar surfaces in the DSM or matching a predefined set of possible rooftop and building shapes. (fig. 6) In other words, they decompose the buildings found in the DSM into polygonal 3D primitives. While the advantage of these model-based approaches is their robust reconstruction of geometry in spite of erroneous scan points and low sample density, they are highly dependent on the shape assumptions that are made. In particular, the results are poor if many non-conventional buildings are present or if buildings are surrounded by trees.
I
ІУ
Щ
Figure б : Semi automated extracted feature lines rooftop and building shapes
б. CONCLUSTONS
Automatic feature line detection is an important tool for engineering applications. With the described algorithms the workflow for computing of strip surfaces in 3D scanner data will be automated. The method can handle even dense huge point clouds in real time. It can be expected to halve the operating time for engineering jobs in the case of multiple strips to be constructed.
References
1. Milev, I., „Neue Methoden zur automatischen Parametrisierung von Laserscannerdaten“, Proceedings, Internationale Geodatische Woche 2005, Obergurgl, Otztal/Tirol, Februar 2005.
2. Knorpp, R.: Formleitlinien fuer die Flaechenrueckfuehrung - Extraktion von Kanten und Radiusauslauflinien aus unstrukturierten 3D-Messpunktmengen. Springer, Stuttgart 1998.
3. Rietdorf, A., Gielsdorf, F. and Gruendig, L.(2004): A Concept for the Calibration of Terrestrial Laser Scanners. In: Proceedings FIG Working Week 2004, Athens, Greece, May 2227.
©Ivo Milev, Lothar Gruendig, 2006