The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of...

17
Department of Engineering Surveying and Adjustment Techniques Department of Engineering Surveying and Adjustment Techniques Technische Universität Berlin The Meaning of Redundancy – 3D Topology and Geometric Parameterization Christian Clemen Lothar Gründig Institute for Geodesy and Geoinformation Science Technische Universität Berlin, Germany Working Week 2008, 14-19 June 2008, Stockholm, Sweden 2 C. Clemen C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying and Adjustment Techniques Department of Engineering Surveying and Adjustment Techniques Motivation What if… …measurements have been forgotten … 28/06/2008

Transcript of The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of...

Page 1: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Technische Universität Berlin

The Meaning of Redundancy – 3D Topology and Geometric Parameterization

Christian ClemenLothar Gründig

Institute for Geodesy and Geoinformation ScienceTechnische Universität Berlin, Germany

Working Week 2008, 14-19 June 2008, Stockholm, Sweden

2 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Motivation

What if…

…measurements have been forgotten …

28/06/2008

Page 2: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

3 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Motivation

What if…

…measurements disagree

28/06/2008

4 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Motivation

What if…

…resulting walls do not aligne

28/06/2008

Page 3: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

5 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Motivation

What if typical mistakes occur during 3D as-build-documentation ?

Staff has to return to the building for re-measuring.

Mistakes remain undetected, thus the resulting building geometry is wrong.

28/06/2008

6 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Motivation

sketch observe

adjustcalculate

Page 4: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

7 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Motivation

sketch observe

adjustcalculate

8 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Agenda

• Topologytopological primitiveswhy topology ?topological normalization

• GeometryRedundancy of point-based geometry Advantages of surface-based geometry

• Adjustmentfunctional modelstatistical testing

28/06/2008

Page 5: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

9 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

topological primitives

A node is a 0-dimensional topological object. A node has no boundary.

An edge is a 1-dimensional topological object. An edge is bounded by two nodes

A face is a 2-dimesional topological object. A face is bounded by a finite set of edges. The boundary is closed and has no self intersection.

A topological solid is a 3-dimensional topological object. A solid is bounded by faces. The surface (boundary) is closed, orientable, connected and free of intersection.

node edge face solid

10 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

why topology ?

Right Question: Why explicitly specified topology in three dimensional boundary representation models ?

Database tables/attributes…XML tags…Java objects…that represent topological primitives and topological relations

Page 6: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

11 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

deterministic redundancy vs. stochastic redundancy

28/06/2008

why topology ?

Right Question: Why explicitly specified topology in three dimensional boundary representation models ?

ISO 19103: The most important productive use of topology is to accelerate computational geometry

Surveying Engineer: The most important productive use of topology is to ensure consistency during inserting, updating and deleting operations

Database designer: Consistency is ensured by minimizing redundancy (normalization)

12 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

why topology ?

Right Question: Why explicitly specified topology in three dimensional boundary representation models ?

Today: Reduce deterministic redundancy !

….Upcoming slides: stepwise reduction of deterministic redundancy

Page 7: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

13 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Topological Normalization

Bildquelle: www.marions-kochbuch.de/rezept/0592.htm

Spaghetti – Polygon Soup

NoderedundancyMultiple storage of points

EdgeredundacyMultiple storage of node connectivity

LoopredundancyMultiple storage of edge loops

FaceredundancyMultiple storage of facesNow:

Stepwise „Normalization“

14 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Noderedundancy is avoided by swapping node composition to node

aggregation

topological normalization

Page 8: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

15 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Orientation of edgesby defining start-node and end node

Problem:Each faces stores its own edges

topological normalization

16 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Orientation is stored seperately in thehalf-edge entity

… thus a face is oriented since ordering of edges (and therefore

nodes) is given

topological normalization

Page 9: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

17 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Loops allow for unique storage of half-edge collections, Thus the interior ring

and the exterior is topologically the same entity

topological normalization

18 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

By letting the face refer to the solid (not the other way around) a face

(collection of loops) is only stored once.

No redundancy any more ???

topological normalization

Page 10: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

19 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

ACIS IFC

GML/ ISO 19107

…and many more !!!!!!!

The choise of topological model strongly depends on the application

topological normalization

20 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Agenda

• Topologytopological primitiveswhy topology ?topological normalization

• GeometryRedundancy of point-based geometry Advantages of surface-based geometry

• Adjustmentfunctional modelstatistical testing

28/06/2008

Page 11: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

21 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Geometric normalization

Planarity

Co-planarity

Paralellism

Geometric Redundancy

22 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Geometric normalization

Page 12: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

23 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Geometric normalization

Planarity

Geometric Normalization

24 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Geometric normalization

Page 13: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

25 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Geometric normalization

Planarity

Geometric Normalization

Co-planarity

Paralellism

26 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

28/06/2008

Geometric normalization

Point based parameterization:412 nodes -> 1236 coordinate values

Surfaced based parameterization:104 d, 14 nv-values

Reduction: 91%

Page 14: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

27 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Agenda

• Topologytopological primitiveswhy topology ?topological normalization

• GeometryRedundancy of point-based geometry Advantages of surface-based geometry

• Adjustmentfunctional modelstatistical testing

28/06/2008

28 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Adjustment

28/06/2008

Page 15: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

29 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Adjustment

28/06/2008

Functional model observation equations: Distances between topological primitives, local spherical points on topological primitives, angular constraints (parallel, perpendicular)

Leica DISTOTM A6

BlueToothTMApplication

Total station

30 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Adjustment

28/06/2008

j il v d d+ = − 2 2 2, 1x y zn n n n n n= = + + =r r r

( ) ( )1

, , , , , 0T T

i jk i jk j k j k j kl v n p d p n n n n d d−

+ = + = ×

ur uuur uuur uur uur uur uurK

( ) ( ) ( ) ( )1 1

, , , , 0 ; , , , , 0T TT T

ij kl ij i j i j i j kl k l k l k ll v p p p n n n n d d p n n n n d d− −

+ = − = × = ×

uur uur uur ur uur ur uur uur uur ur uur urK

, 0i j k ln n n n× × =ur uur uur ur

0,

1 i j k l

v perpendicularn n n n

v parallel+

= × × +

ur uur uur ur

( ) ( ) ( )( ) ( ) ( )

( ) ( )

sin cos

( , ) , sin sin , 0

cos

i r i i TT

i j j i r i i T T j j

Ti r i

r v v v xf x l v p n d r v v v y n d

zr v v

θ φ

θ φ

θ

θ φ ω

θ φ ωθ

+ + + + + = − = + + + + + − = + +

uur uur uur

Functional model (observation equations, constraints): refer to the paper

Page 16: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

31 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Adjustment

28/06/2008

Post Adjustment Statistics are applied in order to

• test the general goodness of fit and detect whether mistakes occur in observations or the functional/statistical model. (-Test

• test if two normal vectors are stochastically equal. If true, the normal vectors would be unified by interchanging the references in the data base. (Student’s t-test)

• test if two orthogonal distances d of parallel planes are stochastically equal. If true the two planes will be unified (Student’s t-test).

• Test for outliers due to bad face-plane assignment. (z-Test on residuals vi)

32 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Workflow

28/06/2008

Page 17: The Meaning of Redundancy – 3D Topology and Geometric ...€¦ · 9 C. Clemen – The Meaning of Redundancy – 3D Topology and Geometric… Department of Engineering Surveying

33 C. Clemen C. Clemen –– The Meaning of Redundancy – 3D Topology and Geometric…

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Recap

• Topologytopological primitiveswhy topology ?topological normalization

• GeometryRedundancy of point-based geometry Advantages of surface-based geometry

• Adjustmentfunctional modelstatistical testing

28/06/2008

Department of Engineering Surveying and Adjustment TechniquesDepartment of Engineering Surveying and Adjustment Techniques

Technische Universität Berlin

… thank you.

Christian [email protected]