Project 2.01 – Grammar-based Automatic 3D Model

Spatially Enabling
Australia and New Zealand
Project 2.01 | Grammar-based Automatic 3D Model
Reconstruction from Terrestrial Laser Scanning Data
Project Leader
Prof Geoff West, Dept of Spatial Sciences, Curtin University [email protected]
Research Team
Dr David Belton, Dr Petra Helmholz, Mr Michael Borck, Mr Richard Palmer, Mr Abdul Nurunnabi, Ms Qian Yu, Curtin University
Project Participants
Curtin University
AAM, Fugro Spatial Solutions, Lester Franks, Whelans
Dept. Trans. (Vic), DSE (Vic), Landgate WA, LPI (NSW)
Objectives
Investigate a grammar-based method for automatic 3D model reconstruction from segmented data extracted from terrestrial or mobile laser scanning
devices
Develop the proof of concept framework for automatic model reconstruction
Outcomes
A prototype of 3D city model reconstruction software system
Automatic model update algorithms for existing models within the interests of industry i.e. AAM company
In recent years, 3D models have been used in a variety of applications, and the steadily growing capacity in both quality and quantity are increasing demand. In order to
cover the requirements and to keep the existing models up to date, automatic reconstruction methods are needed to avoid the labour intensive and time consuming manual
processing workflow. Our proposed method aims to derive a structure description of a whole 3D building by using a pre-defined grammar and rules, which are applied in an
automated data-driven reconstruction process. Our main contribution is to apply a formal grammar directly on the 3D data set to develop a systematic method for automated
3D building model reconstruction.
4. Results
1. System Overview
2. Grammar and Rules
As shown in Figure 1, segmented data needs to be
converted into 3D shapes in order to support the userdefined grammar and rules, which are derived from 3D
building structures. To drive the building reconstruction
process, a grammar engine is proposed to apply the
appropriate rules for the given shape to break it down into
the elementary objects.
Formally a grammar is defined as a four-tuple G = (T, N,
R, I). The terminal symbols T and the nonterminal
symbols N build the alphabet of the grammar. The nonterminal symbols can be replaced by other non-terminal
or terminal children, while terminal symbols cannot be
subdivided further. R is a set of production or
replacement rules, and I is the initial symbol, a nonterminal symbol which defines the initial point for all
replacement. A context-free grammar (CFG) is applied for
our case, which implies that R contains rules of the form
N → (T N)+. In other words, a non-terminal symbol on
the left side can be replaced by a number of terminal and
non-terminal symbols on the right side.
Low Level
3D Point Cloud Data
(TLS, MMS)
Pre-processing
(e.g. Nurunnabi et al., 2012)
Segmentation
(planes, cylinders, etc,)
Figure 4: 3D point cloud for the building . Currently the 3D point
cloud is used to generate a sketch up description - this generates
the DXF file in Figure 5.
Example of Building Grammar and Rules
Ÿ GB = (TB, NB, RB, IB)
Ÿ TB Building terminals (e.g. wall element, window element, door element…)
Ÿ NB Building non-terminals (e.g. part of building)
Ÿ RB A set of rules for buildings
Ÿ IB Initial symbols
Step 1
3D Shapes
Step 2
User-defined Grammar
and Rules ffor Buildings
Grammar Engine
GB Example
Figure 5: 3D visualisation of segmented building structures in DXF
Part of Buiding
(Nonterminal)
Step 3
Grammar Description
for Buildings
Part of the
Building Part
(Nonterminal)
Window 0
(Terminal)
Window 1
(Terminal)
3D Building Model
(CAD, BIM)
High Level
Extruded Wall
(Terminal)
Figure 1: The work flow for proposed building
model reconstruction system
Figure 2: Example for the terminal symbols of buildings.
Extruded wall that includes inset window structure and
stick-out wall parts is shown on the right hand side.
Door
(Terminal)
Figure 6: Processed building model from segmented data
Figure 3: Example of a tree structure from
building model derivation according
to the split rules.
3. Grammar-based 3D Model Reconstruction Method
Step 1 – Convert segmented data
into 3D shapes
Step 3 – Generate
building model
Derivation Tree
from grammar
Step 2 – Grammar Engine
Segmented Data
(in DXF Format)
User-defined Grammar
3D Shapes
Parser DXF file to find
each object
For each leaf node
No
No
Is the object
poly-lines?
Figure 7: Expected reconstructed building model
from segmented data. Different terminal elements
are shown in different colours. Window elements
are in blue, wall elements are in gold and the roof
is in brown.
Grammar Manager
Grammar Engine
Is the well element?
Yes
Determine the positions
and put into the well list
Tree Manager
Is window element?
Yes
Put into window list
Yes
Is the object line?
Yes
No
Step 1: Find triangles
from polylines
Nodes
Selected Grammar
Step 2: Cluster triangles
into the different patches
No
Put into roof list
Yes
Is roof element
Step 3: Determine the
boundaries of each patch
No
Yes
Prepare wall, window,
door and roof lists
No
Partitial Shape
Building Terminals
Is the object circle?
Put into door list
Is door element
Yes
No
Is the object
polygon?
Yes
Throw invalid
data exception
Fill the windows and doors
into the extruded wall
Step 4: Determine the adjacent
edge bewteen two patches
Add the roof elements
No
Throw data
invalid exception
Add information into
the shape object
Grammar-based Description
Building Model
Figure 8: Demonstration of detailed building
reconstruction for small samples.
Reconstructed objects include wall panel,
extruded wall and windows.
Cooperative Research
Centres Program
www.crcsi.com.au