2.2 Photogrammetry
Photogrammetry originally describes the measure-
ment of various properties of an object from images.
Today the term ”photogrammetry” is mostly used to
describe the determination of three dimensional co-
ordinates from different images of an object without
any physical contact. Thus it is possible to reconstruct
complete 3D models of these objects. Depending
on the camera used (standard digital camera or spe-
cial measuring camera) very high accuracies of these
models can be achieved, (Donath, 2009).
Since the first developments in the field of pho-
togrammetry, those methods have established them-
self as an important and widely used tool. A
special approach within photogrammetry is the so
called Structure-from-Motion method (SfM), (West-
oby et al., 2012).
In contrast to other photogrammetric methods,
such as stereoscopic photogrammetry, a process chain
containing SfM offers several advantages. By using
SfM methods, it is possible to reconstruct a 3D ob-
ject without prior knowledge of the position and ori-
entation of the images taken. This means, that ob-
jects can be captured with standard cameras (without
any further sensory setup such as GPS or gyroscope)
and then be reconstructed into a 3D model, (Westoby
et al., 2012; Shashi and Jain, 2007).
The term ”Structure-from-Motion” here denotes
that 3D structures are reconstructed from the move-
ment of the camera and the resulting different angles
of view in each image, (Szeliski, 2010).
The entire process, from reading the individual
images to the finished 3D model, often is denoted
as Structure from Motion. More precisely, however,
SfM is only an intermediate step in the entire process
chain. The camera position, as well as the position of
the feature coordinates in a uniform coordinate sys-
tem, are determined from a priori detected geometri-
cal features. Subsequently, a point cloud can be cre-
ated to link these to a 3D model and texturing can be
used to create a final 3D model.
The flowchart shown in Figure 3 describes a pos-
sible photogrammetric process chain using SfM algo-
rithms as used in the AliceVision-Framework (Alice-
Vision, 2020).
3 AUTOMATED PROCESS CHAIN
Within this section, the basic procedure of an auto-
mated scenario reconstruction is presented. A process
chain is developed by which individual objects can be
detected and reconstructed. Subsequently, these ob-
Feature Extraction
Feature Matching
Structure from Motion
Multi Vision Stereo
(MVS)
Meshing and Texturing
3D Model
Figure 3: Flowchart of a possible SfM process chain (Al-
iceVision, 2020).
jects are assembled to a scenario in the Unity game
engine.
The process chain consists of a higher-level pro-
gram that calls and controls various subprograms.
The objective is to make the sequential flow of all
programs as independent from user interaction as pos-
sible. For this purpose, all important parameters are
collected within a configuration file. This allows the
user to specify all parameters in advance and then run
the process chain unattended.
In addition to the high degree of automation, the
process chain should also have the highest possible
degree of modularity. It should be possible to start in-
dividual steps without the preceding ones. This mod-
ular structure is very useful for adapting the param-
eters in test runs. If some steps of the process chain
have already been completed successfully, only the
following module can be started with adapted param-
eters. Thus, already completed steps do not have to
be repeated and the processing time is reduced.
Furthermore, the modular structure enables an in-
terruption of the process chain at any point and the
continuation at another time. However, since the se-
quence cannot be changed due to the dependencies of
the individual steps, the modules must be processed
one after the other and cannot be executed in paral-
lel (except the object detection/clustering and the data
extraction as seen in Figure 4). To activate each mod-
ule individually, the configuration file contains the pa-
rameter run = true/false for each module. Only the
modules with the parameter run = true are executed
within the process chain.
Figure 4 shows the process chain as a flow chart.
The different labels within this diagram represent dif-
ferent types of subroutines. The hatched fields rep-
resent self developed scripts. They are used to con-
trol an already existing software - such as Unity,
Blender or Metashape (Agisoft LLC, 2020; Alice-
Vision, 2020). The script enables the transfer of re-
quired parameters to the respective program. A spe-
cific programming interface of the program is then
Toolchain Development for Automated Scene Reconstruction using Artificial Neural Network Object Detection and Photogrammetry for the
Application in Driving Simulators
27