SEGMENT SPLITTING isprsannals II 3 W3 37 2013

3. FEATURE RECOGNITION

As described in the previous section, feature recognition is performed on the segments gained from sub-surface growing, which have the property to be much more intertwined compared to segments from surface segmentation. This allows the use of strict rules and thresholds. In addition to segments, geometrical, topological and locational criteria, the recognition also regards the semantic meaning of already recognized features, leading to hierarchical feature recognition rules. As geometric criteria for our recognition rules we regard e.g. the orientation of segments in relation to other segments, height differences in the proximity of features, lengths of possible segment intersection lines e.g. ridges, valleys, hips etc., and distances between points, lines and segments. The topological criteria include 2D and 3D adjacency and containment relations of segments. For the recognition of roof structures, we test the location of segments, e.g. if segments of a dormer lie above segments of the basic roof structure of the building. We conduct a rule-based recognition approach by iteratively applying feature recognition rules to subsets of segments, where specific features types and features consisting of large segments with regard to the number of surface points are prioritized. However, the overall rule set is defined in such a way that the individual rules can generally be applied in any order without producing ambiguities. But the hierarchical recognition rules often rely on the existence of larger features e.g. ridges with their semantic interpretation as prerequisite criteria to recognize smaller ones e.g. ridge ends. So the ordering reduces the number of iterations and is for efficiency purposes. S = { Sub-Surface Segmentation P } F = ∅ F = { Rule-Based Feature Recognition S, F, t } is F empty? yes Model Construction S, F no yes relax t t at limit? S = { s  S | |p s ˄ p F| ε } S = S ∪ { Segment Splitting S } F = F ∪ F no Feature Adjustment F, F Figure 3. The feature recognition step in the context of the 3D building reconstruction approach P = set of input points, S = set of segments, F = set of features, t = thresholds for feature recognition. The feature recognition process is depicted in Figure 3. Every iteration starts with the rule-based feature recognition, which tries to find as many matches to rules. If the feature recognition stalls, i.e. no more features can be detected, and the resulting feature set is not empty, than the segments that are part of the new features are split see section 4. This is necessary as convex building components are generated; and it also changes the shape and size of segments, making them more applicable to other feature recognition rules. If no features can be detected, some of the thresholds are relaxed, particularly to get matching features from smaller segments as their orientations tend to be less precisely aligned as larger segments. As thresholds we primarily relax the angle criteria stating when two segments are showing in opposite direction. Once the relaxation of thresholds reaches a limit and no further features are recognized anymore, the feature recognition step ends. Once a collection of features has been detected, their geometry is adjusted with regard to other features. E.g. the slopes of the two segments that belong to the same ridge are harmonized, the direction of intersecting ridges are rectified with regard to the intersected ridges, and the half-space parameters of ridge end features are adjusted to ridge features.

4. SEGMENT SPLITTING

The segment splitting operation is a necessity in our approach as building models are constructed from convex components. Also the rules for feature recognition can be better tailored to specific feature types, if it is safe to assume that segments fit certain size and shape criteria with regard to their surface points, making rules more effective for recognizing smaller roof structures. E.g. two segments of a gable-end dormer might not form a distinct ridge due to a slight skewness in their orientation. But if the dormer segments have the typical size of dormers, are located above segments of the skeletal roof and no other segments are in their adjacency, than it is safe to assume that they do form a dormer. However, if one side of the dormer is part of a larger segment, than such a rule does not apply. Segment splitting is not a specific problem caused by sub- surface segmentation, but is needed whenever a roof segment is part of many features. As depicted in Figure 3, segment splitting is performed during feature recognition when no more features can be detected without relaxing thresholds. A segment needs to be split, if it is part of the surface of a convex building component, but also has surface points that are outside this component. As components are defined by planar half-spaces, it is sufficient, if a large enough number of the segment ’s surface points are located in front of at least one of the planar half-spaces. As already mentioned, components do not need to be fully defined in order to be used in the point location test, it is better to postpone segment splitting as long as possible, because a fully defined component results in fewer and more meaningful splits. The segment splitting operation itself is composed of a cloning step and a reclassification step with regard to surface and sub- surface points. Figure 4 serves here as an example where the blue building components are included solely for illustration purposes. Once the features of the basic pitched roof component are recognized top left, the feature recognition will work on the grey sub-surface segment top middle with the red surface points, and detects a flat top dormer top right. As the grey segment contains surface points that are outside the dormer feature, it needs to be split. In the cloning step, an exact copy of the segment is constructed; the yellow segment top right. Then, segment points are reclassified as follows: surface points CMRT13 - City Models, Roads and Traffic 2013, 12 – 13 November 2013, Antalya, Turkey This contribution has been peer-reviewed. The double-blind peer-review was conducted on the basis of the full paper. 39 of the original and the cloned segments are turned into sub- surface points, if they are located inside the building component behind all half-spaces or respectively outside of the building component in front of any half-space. The surface points of the dormer in Figure 4 are e.g. reclassified to sub-surface points in the yellow segment top right. After another dormer has been recognized, all the surface points of the segment are now located inside features and no more split operation is necessary bottom left. The reconstructed building model is shown with bottom middle and without overlaid bottom right segments. Figure 4. Example of segment splitting needed to model the two dormers originating from the same sub-surface segment. The reason we do not actually split the segments geometrically into two parts is that surface points are often part of more than one building component. If we just split the segments, points are assigned to one segment and information is lost to the other segment. So we keep these points in all segments even if the new segment considers them as sub-surface points. We also cannot just clone a segment, as it would be used to generate the same feature over and over. With this segment splitting approach, we do not create new surface points, but the cloned segments have all points available to generate features and building components.

5. MODEL CONSTRUCTION