Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSE554FairingSlide 1 CSE 554 Lecture 6: Fairing Fall 2015.

Similar presentations


Presentation on theme: "CSE554FairingSlide 1 CSE 554 Lecture 6: Fairing Fall 2015."— Presentation transcript:

1 CSE554FairingSlide 1 CSE 554 Lecture 6: Fairing Fall 2015

2 CSE554FairingSlide 2 Review Iso-contours in grayscale images and volumes – Piece-wise linear representations Polylines (2D) and meshes (3D) – Primal and dual methods Marching Squares (2D) and Cubes (3D) Dual Contouring (2D,3D) – Acceleration using trees Quadtree (2D), Octree (3D) Interval trees

3 CSE554FairingSlide 3 Geometry Processing Fairing (smoothing) – Relocating vertices to achieve a smoother appearance Simplification – Reducing vertex count Deformation – Relocating vertices guided by user interaction or to fit onto a target

4 CSE554FairingSlide 4 Fairing a 1D Signal Taking out “high frequency” content (slides materials courtesy of Andy van Dam)

5 CSE554FairingSlide 5 Waveform Analysis A signal is the sum of phase-shifted sine curves at various scales (frequencies) (slides materials courtesy of Andy van Dam)

6 CSE554FairingSlide 6 Frequency Domain Plotting the amplitude of sine curves at each frequency (slides materials courtesy of Andy van Dam) Real domain Frequency domain

7 CSE554FairingSlide 7 Signal Filtering Low-pass filtering: A “box” filter in the frequency domain – Equivalent to convolution in the real domain (slides materials courtesy of Andy van Dam)

8 CSE554FairingSlide 8 Convolution

9 CSE554FairingSlide 9 Convolution

10 CSE554FairingSlide 10 Convolution

11 CSE554FairingSlide 11 Convolution

12 CSE554FairingSlide 12 Discrete Convolution

13 CSE554FairingSlide 13 Discrete Convolution

14 CSE554FairingSlide 14 Discrete Convolution

15 CSE554FairingSlide 15 Discrete Convolution i-1ii+1

16 CSE554FairingSlide 16 Discrete Convolution i-1ii+1

17 CSE554FairingSlide 17 Curve Fairing Reducing “bumpiness” by changing the vertex locations

18 CSE554FairingSlide 18 Curve Fairing Curve as a signal – The “signal” at each vertex is its location {x,y}

19 CSE554FairingSlide 19 Curve Fairing

20 CSE554FairingSlide 20 Curve Fairing Drawback – The initial shape is shrunk! 100 iterations200 iterations400 iterations

21 CSE554FairingSlide 21 Curve Fairing

22 CSE554FairingSlide 22 Curve Fairing The initial shape is no longer shrunk – The result converges with increasing iterations 100 iterations200 iterations400 iterations

23 CSE554FairingSlide 23 Surface Fairing centroid

24 CSE554FairingSlide 24 Surface Fairing Example: fairing iso-surface of a binary volume

25 CSE554FairingSlide 25 Fairing Implementation Tips – At each iteration, keep two copies of locations of all vertices Store the smoothed location of each vertex in another list separate from the current locations – Building an adjacency table storing the neighbors of each vertex would be helpful, but not necessary Initialize a temporary centroid as {0,0,0} at each vertex, and its neighbor count as 0. For each triangle, add the coordinates of each vertex to the temporary centroids stored at the other two vertices and increment their neighbor count. – The neighbor count is twice the actual # of edge neighbors For each vertex, divide the centroid by its neighbor count.


Download ppt "CSE554FairingSlide 1 CSE 554 Lecture 6: Fairing Fall 2015."

Similar presentations


Ads by Google