Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

22
Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004

Transcript of Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

Page 1: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

Wiener Subdivision

Presented by Koray KAVUKCUOGLU

Geometric Modeling

Spring 2004

Page 2: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 2

• Introduction– Concepts

• Wiener Filtering– Theory

• Wiener Subdivision– Midpoint Subdivision– Application of Filter– Parameters

• Results

Outline

Page 3: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 3

aim

– Derive and Implement a subdivison scheme

Based on Marc Alexa’s Wiener Filtering of Meshes

methodology

– Midpoint Linear Subdivision

– Create refined mesh

– Wiener Filtering

– Relocate vertices to obtain a smooth surface

Introduction

Page 4: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 4

– Filtering of Irregular Meshes using Wiener Filter

– Recovering original smooth geometry from noisy data

Wiener Filtering

Page 5: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 5

Mesh

– Triangular domain (K,V)

connectivity info vertices in R3

–Topological Distance ()

0

( , ) 1 { , }

min( ( , ) 1) { , }

i j

i j i j K

i k k j K

Wiener Filtering - Theory

Page 6: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 6

– Neighborhood Definition

m-ring neighborhood

( ) { | ( , ) }mN i j i j m

Collection of rings, with radius up to m

– Expectation

linear operator

( ) ( ) ( )E a b E a E b

– Correlation

( ( , )) ( )C d a b E ab

Distance between two vertices

Wiener Filtering - Theory

Page 7: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 7

Representation of Vertex Locations

i i iv v r

vertex position in noisy mesh

true vertex position random noise contribution

Estimate each point as a linear sum of given noisy points

i ij j ij

v a v

Find coefficients that minimize square of discrepancy

Wiener Filtering - Theory

Page 8: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 8

Wiener Filtering - Theory

Linear System

i i iC a b

{ ( ( , ))}i j kC C d v v { ( ( , ))}i i jb C d v v

Solution of this

system gives,

coefficients aij

Need to define distance and correlation functions

i

1

2

dd

d

Page 9: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 9

Wiener Subdivision

development environment

– Language C++– Mesh format GTS– Windows XP– Cygwin

external libs / tools

– TNT (template numerical toolkit)

Supersedes Lapack++– Jama/C++ (uses TNT - linear system solution)– Mesh Viewer for visualization

Page 10: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 10

Wiener Subdivision

mesh data structure

– Tree each triangle

divided into 4 childs

– Triangles

– Edge Sharing

Page 11: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 11

Wiener Subdivisionmesh refinement

– Linear midpoint subdivision

Page 12: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 12

Wiener Subdivision

filtering– computing Topology

– compute m-ring neighborhood

BFS over vertices– compute distance and correlation

1xe

a bv v

x is parameterized

for smoothness control

Page 13: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 13

filtering– solve linear system– LU decomposition method

– Jama/C++

Wiener Subdivision

Page 14: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 14

Wiener Subdivision

parameters– size of m-ring neighborhood (1, 2, …) <-m>– smoothness parameter <-sp>– fraction of old vertex location in new location <-p>

Page 15: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 15

results

-m1 / -n3 / -sp2

Page 16: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 16

results

-m1 / -n3 / -sp0 -m2 / -n3 / -sp2

Page 17: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 17

results

-m1 / -n3 / -sp0

-m2 / -n3 / -sp2

-m1 / -n3 / -sp2

Page 18: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 18

results

-m1 / -n3 / -sp2 -m1 / -n3 / -sp2 / -p0.3

Page 19: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 19

results

-m1 / -n3 / -sp2 / -p0.3-m2 / -n3 / -sp2

Page 20: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 20

results

Page 21: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 21

results

Page 22: Wiener Subdivision Presented by Koray KAVUKCUOGLU Geometric Modeling Spring 2004.

May 05, 2004 22

Questions?