SLIDE 1 PDE-based Geometric Modeling and Interactive Sculpting for Graphics
Hong Qin
Center for Visual Computing Department of Computer Science SUNY at Stony Brook
SLIDE 2
Geometric Modeling
Geometric modeling techniques Shape representations Geometric applications
SLIDE 3 Background Review
- Introduction to PDEs
- PDE techniques and applications
Geometric modeling, visualization, simulation, animation, image processing, ……
- Other modeling techniques
Free-form splines, implicit functions, physics- based techniques, medial axis extraction
SLIDE 4 PDE Techniques and Applications
- Elliptic PDEs for geometric modeling
- Level set method
- Diffusion equations
- Other applications
– Simulation and animation – Image processing ……
SLIDE 5 PDEs for Geometric Modeling
- Geometric objects are defined by a set of
PDEs
- PDE objects are controlled by a few
parameters
- Powerful numerical techniques to solve
PDEs are available
- PDE is related to energy optimization
- PDE models can potentially unify geometric
and physical aspects
SLIDE 6 Geometric Modeling
–Explicit model
- Defines objects by positions
- free-form splines, parametric PDE model, Subdivision
model, ……
–Implicit model
- Defines objects by level set of scalar functions
- CSG model, level-set model, splines,……
SLIDE 7 Geometric Applications
SLIDE 8 Geometric Applications
- Shape design
- Object deformation
SLIDE 9
Level Set Illustration
SLIDE 10 Geometric Applications
- Shape design
- Object deformation
- Model reconstruction
SLIDE 11 Geometric Applications
- Shape design
- Object deformation
- Model reconstruction
- Shape blending ……
SLIDE 12 A PDE Example
- PDE (Partial Differential Equation)
– Order r – , g(u,v) : control functions – : unknown function of u,v
( ) ( )
) , ( , ,
, ,
v u g v u f v u v u
r n n m l m l m l n m l
= ∑ ∑ ∂ ∂ ∂
= = + ≥
α ( )
v u
m l
,
,
α
( )
v u f ,
SLIDE 13
Related Work of Physics-based Modeling
[Terzopoulos et al. 87] [Terzopoulos and Fleisher 88] [Celniker and Gossard 91] [Qin and Terzopoulos 94, 96] [Koch et al. 96] [Mandal et al. 98, 99] [Dachille et al. 99] ……
SLIDE 14 Background Summary
- Geometric PDE techniques
- Level set method
- Diffusion equations with applications
- PDE-based simulation and image
processing
- Implicit models
- Physics-based techniques
- Medial axis extraction
SLIDE 15 PDE Techniques for Graphics
- Using differential properties
- Various applications
– Image processing
[Bertalmio et al. 00]
SLIDE 16 Image Inpainting
– Modify images in an undetectable way – Damage recovery, selected area removal
- Use gradient information, especially around
the boundary of selected regions
- Propagate information from the surrounding
areas using certain PDEs of gradient vectors
SLIDE 17 [Bertalmio et al.00]
SLIDE 18 Modeling Fracture
SLIDE 19 Fluid Dynamics
– u: velocity field – p: pressure field – ρ: density – v: kinematic viscosity of the fluid – f: external force –
( )
⎪ ⎩ ⎪ ⎨ ⎧ + ∇ + ∇ − ∇ ⋅ − = ∂ ∂ = ⋅ ∇ (b) 1 (a)
2
f u p u u u u v t ρ
( ) ( )
z y x y x ∂ ∂ ∂ ∂ ∂ ∂ = ∇ ∂ ∂ ∂ ∂ = ∇ , , , ,
SLIDE 20 Applications of Fluid Dynamics
- Gas simulation
- Water simulation
- Explosions
- Nature texturing
……
SLIDE 21 Simulating Gaseous Phenomena
[Foster and Metaxas97b]
SLIDE 22 Animating Explosions
[Yngve et al.00]
SLIDE 23 PDE Techniques for Graphics
- Using differential properties
- Various applications
– Image processing – Simulation – Visualization – Geometric modeling
[Schneider and Kobbelt 00]
SLIDE 24 αj
pi
Surface Fairing
∑
− + Α =
j j i j j
) )( cot (cot 4 1 p p n β α κ
pj
βj
n x κ − = &
SLIDE 25 PDE Approach for Surface Fairing
- PDE approach can solve the fairing problem
directly
- Fairing based on geometric invariants
- Construct surfaces based on discrete data
with subdivision connectivity of regular patches
= Δ H
B
( ) ( )
2 2 2 2 2 2 2
, 1 , 1 Δ = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ = Δ v u v u v u
B
λ λ
SLIDE 26 Surface Fairing
- Taubin
- Membrane or thin-plate energy
SLIDE 27 Outline
- Motivation and contributions
- Related work
- PDE-based geometric modeling system
– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation
SLIDE 28 Outline
- Motivation and contributions
- Related work
- PDE-based geometric modeling system
– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation
SLIDE 29 Motivation: Why PDE Techniques?
- Formulate natural physical process
- Satisfy continuity requirements
- Minimize energy functionals
- Define objects using boundary information
- Provide intuitive and natural control
- Unify geometric and physical attributes
- Employ powerful numerical techniques
SLIDE 30 Motivation: Limitations of Prior Work
- Indirect manipulation for PDE objects
- Limit constraints for geometric PDE objects
- Lack of local control for regional shape sculpting
- No intuitive manipulation with physical properties
- Limitations of acceptable shape representations
for PDE models
- Lack of integration framework of different types of
PDEs
- Limit applications of geometric PDE modeling
system
SLIDE 31 Motivation: A General PDE Framework
- General modeling framework for geometric
- bjects of different data formats
- Direct manipulation and interactive sculpting
with global/local control
- Integration of physical properties for realistic
modeling
- Comprehensive toolkits for various modeling
functionalities
Design, reconstruction, abstraction, manipulation ……
SLIDE 32 Applications:
Contributions: Overview
…… Morphing Model Abstraction Shape Sculpting Object Reconstruction Shape Design
PDE-based Geometric Modeling System
Modeling Representations and Techniques: Free-form Solids Dynamic Model Implicit Functions Arbitrary Meshes Parametric Surfaces
SLIDE 33 Contributions: System Functions
- PDE-based geometric modeling system
– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit PDE shape design and manipulation – PDE-based free-form modeling and deformation
SLIDE 34 Contributions: System Components
PDE-based Geometric Modeling System
Physics- based PDE Surfaces Free-Form PDE Modeling with Intensity Implicit PDE Model Arbitrary PDE Meshes Iso-Surface Extraction Scattered Datasets Intensity Distribution Boundary Surface Sculpting Embedded Datasets
SLIDE 35 Outline
- Motivation and contributions
- Related work
- PDE-based geometric modeling system
– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation
SLIDE 36 Another Classification of PDEs
– Given information at , the solution will propagate forward in time
– Given boundary information of the region
– Solution will be a static function within the region
t
SLIDE 37 PDE types Hyperbolic PDE Parabolic PDE Elliptic PDE Initial value problem Wave equation Diffusion equation Boundary value problem Poisson equation
Summary of PDE Classifications
Geometric modeling, image processing……
Texture synthesis, image processing, ……
Fluid simulation, nature texturing, ……
SLIDE 38 PDE-based Geometric Modeling
– Blending problem [Bloor and Wilson 89] – Free-form surfaces [Bloor and Wilson 90b] – B-spline approximation [Bloor and Wilson 90a] – Functionality design [Lowe et al. 90] – PDE solids [Bloor and Wilson 93] – Interactive design [Ugail et al. 99]
Surface fairing [Schneider and Kobbelt 00]
……
SLIDE 39 PDE Surfaces and Solids
( )
,
2 2 2 2 2 2
X = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ v u v a u
( )
, ,
2 2 2 2 2 2
X = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + ∂ ∂ w v u w v u
- PDE surface formulation
- PDE solid formulation
Biharmonic equation if a=1
SLIDE 40 Level Set Method
- Originally defined for front propagation
- Prior work of level set method
– Front propagation
[Osher and Sethian88], [Adalsteinsson and Sethian95]
– Shape reconstruction
[Zhao et al.00], [Zhao et al.01]
– Shape transformation
[Breen and Whitaker01]
– Shape modeling and editing
[Barentzen and Christensen02], [Museth et al.02] [SIGGRAPH’02 Course Notes 10]
……
}. ) , ( | { : set level
the is front Moving ; to from distance the is ) ( ), ( ) , ( function; speed the is , = = Γ Γ ± = = = ∇ − t x x x x d x d t x F F
t t
φ φ φ φ
SLIDE 41 Classification of PDEs
- 3 types of PDEs based on characteristics
– B²-AC>0: hyperbolic
– B²-AC=0: parabolic
– B²-AC<0: elliptic
2 2 2 2 2
x u v t u ∂ ∂ = ∂ ∂ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ∂ ∂ ∂ ∂ = ∂ ∂ x u D x t u
( )
y x y u x u ,
2 2 2 2
ρ = ∂ ∂ + ∂ ∂
G Fu y u E x u D y u C y x u B x u A = + ∂ ∂ + ∂ ∂ + ∂ ∂ + ∂ ∂ ∂ + ∂ ∂
2 2 2 2 2
2
SLIDE 42 Shape Reconstruction Using Level Set Method
[Zhao et al.00]
SLIDE 43 Shape Morphing Using Level Set Method
[Breen and Whitaker 01]
SLIDE 44 Diffusion Equations
- Reaction-diffusion textures
[Witkin and Kass91], [Turk91]
- Tensor field visualization
[Kindlmann et al.00]
- Vector field visualization
[Diewald et al.00]
Image enhancement, filtering,……
SLIDE 45 Reaction-Diffusion Texture
- Synthesizing natural textures
- Reaction-diffusion system
– Diffusion of morphogens – Nonlinear PDEs – Biological patterns
SLIDE 46 Reaction-Diffusion Equation
- Diffusion, dissipation, reaction
- Reaction-diffusion equation:
function. reaction the is n, dissipatio for constant rate the is diffusion, for constant rate the is , ,
derivative time the is ,
2 2 2 2 2 2 2
R b a y C x C C C C R bC C a C ∂ ∂ + ∂ ∂ = ∇ + − ∇ = & &
SLIDE 47 By type: Isotropic, multi-orientation, and diffusion mapped 1.reptile, giraffe, coral, scalloped. 2.spiral, triweave, twisty maze, repli- cation, purple thing 3.sand, maze, zebra haunch, radial 4.space giraffe, zebra, stucco, beats us, weave
Reaction-diffusion texture buttons
[Witkin and Kass 91]
SLIDE 48 Vector Field Visualization
Different time steps
diffusion for both principal curvature directions
[Diewald et al. 00]
SLIDE 49 Other Applications of PDEs
[O’Brien and Hodgins99], [O’Brien00]
[Foster and Metaxas97b]
[Kass and Miller90], [Foster and Metaxas96,97a], [Stam99]
[Yngve et al.00]
[Bertalmio et al.00], [Pérez et al.03]
…….
SLIDE 50 Implicit Model
- Implicit surfaces and solids:
{(x,y,z)| f(x,y,z)=c}, {(x,y,z)| f(x,y,z)≤ c}
- Techniques to model implicit objects
– Particle based implicit surface sculpting
[Witkin and Heckbert 94]
– Trivariate B-splines for implicit models
[Raviv and Elber 99], [Hua and Qin01,02]
– Level set method
[Zhao et al.00,01]
– Variational implicit functions
[Turk and O’Brien 99,02], [Morse et al.01]
…….
SLIDE 51 Example of Implicit Models
[Turk and O’Brien02]
SLIDE 52 Physics-based Modeling
- Combines physical properties with geometric
models
- Leads to deformable models
- Allows direct manipulation of objects via
forces
- Creates natural-looking motions through
simulation
- Can be integrated with general PDE
framework
SLIDE 53 Deformable Models
- Controlled by Lagrangian equations of
motion
– r (a,t): position of particle a at time t – μ (a): mass density of the body at a – γ (a): damping density – f (r, t): external force – ε (r): measures the potential energy of the elastic deformation of the body
( )
t t t , ) ( t r f r r r r = ∂ + ∂ ∂ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ∂ ∂ ∂ ∂ δε γ μ
SLIDE 54 Discretized Mass-Spring Model
- M: mass matrix
- D: damping matrix
- K: stiffness matrix
- f: external force
- p: discrete sample points
f Kp p D p M = + + & & &
SLIDE 55 Applications of Physics-based Modeling
[Qin and Terzopoulos 94, 95, 96]
- Physics-based subdivision
[Mandal et al. 98, 99], [McDonnell et al. 00, 01]
- Cloth simulation and animation
[Carignan et al. 92], [Baraff and Witkin 98]
[Lee et al. 95], [Koch et al. 96]
- Physics-based implicit functions
[Jing and Qin 01,02]
……
SLIDE 56 Medial Axis Extraction
- Locus of all centers
- f circles/spheres
inside the object
with more than one closest points on the boundary
- Set of singularities
- f signed distance
function from boundary
SLIDE 57 Medial Axis Extraction Techniques
[Arcelli and Baja85][Lee and kashyap94][Manzanera etal.99]
[Arcelli and Baja92][Leymarie and Levine92][Bitter et al.01]
[Goldak et al.91][Ognievicz93][Amenta et al.01]
[Kimmel et al.95][Ma et al.03]
[Bloomenthal and Lim99]
[Bouix and Siddiqi00]
SLIDE 58 Outline
- Motivation and contributions
- Related work
- PDE-based geometric modeling system
– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation
SLIDE 59 Outline
- Motivation and contributions
- Background review
- PDE-based geometric modeling system
– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation
SLIDE 60 System Outline
PDE-based Geometric Modeling System
Physics- based PDE Surfaces Free-Form PDE Modeling with Intensity Implicit PDE Model Arbitrary PDE Meshes Boundary Surface Sculpting Iso-Surface Extraction Embedded Datasets Scattered Datasets Intensity Distribution
SLIDE 61 PDE Surfaces
– a(u,v): blending coefficient function controlling the contributions of the parametric directions
( ) ( ) ( ) [
]
T 2 2 2 2 2 2
) , ( ) , ( ) , ( , , , v u z v u y v u x v u v u v v u a u = = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ X X
SLIDE 62 PDE Surface Displacements
- Displacements
- PDE surface displacement formulation:
( ) ( ) ( )
O O X X = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + = v u v v u a u v u v u v u , , , , ) , ( ) , (
2 2 2 2 2 2
SLIDE 63 Finite Difference Method
- Divides the working space into discrete grids
SLIDE 64 Finite Difference Method
- Divides the working space into discrete grids
- Samples the PDE at grid points with
discretized approximations
2 2 , 1 , 1 , , 1 , 1 1 , 1 1 , 1 1 , 1 1 , 1 2 2 , 4 4 , 1 , 1 , 2 , 2 , 4 , 4 4 , , 1 , 1 , 2 , 2 4 , 4
4 ) ( 2 , 6 4 4 , 6 4 4 v u v u v v u u
j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i
Δ Δ + + + + − + + + = ∂ ∂ Δ + − − + = ∂ ∂ Δ + − − + = ∂ ∂
+ − + − + + + − − + − − + − + − + − + −
X X X X X X X X X X X X X X X X X X X X X X
, 2 2 2 2 , 2 2
= ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂
j i j i
v a u X
SLIDE 65 Finite Difference Method
- Divides the working space into discrete grids
- Samples the PDE at grid points with
discretized approximations
- Forms a set of algebraic equations
- Enforcing additional constraints
- Physics-based discrete PDE model:
z HX =
c c
z X H =
c c
z f )X H (K X D X M + = + + + & & &
SLIDE 66 Discretized Approximations
- Displacement model:
- Iterative techniques and multi-grid algorithm
to improve the performance
O X X z O H + = =
c c
SLIDE 67 Flexible Boundary Conditions
- Generalized boundary conditions
where and , and and are isoparametric curves – Hermite-like boundary constraints – Coons-like boundary constraints – Gordon-like boundary constraints
) ( g ) , ( ) ( f ) , ( u v u v v u
j j i i
= = X X
1 ≤ ≤
i
u 1 ≤ ≤
j
v
( )
v
i
f
( ) u
j
g
SLIDE 68 Hermite-like Boundary Constraints
Boundary curves Derivative curves
SLIDE 69 Coons-like Boundary Constraints
u=0 u=1 v=1 v=0
SLIDE 70 Gordon-like Boundary Constraints
u=0 v=0.5 v=0.75 v=0.25 v=0
SLIDE 71 Joining Multiple PDE Surfaces
- Boundary curves:
- Three connected
surfaces:
SLIDE 72 PDE Surface Manipulations
- Boundary sculpting
- Blending coefficient control
- Direct manipulation
– Point based sculpting: position, normal, curvature – Curve deformation – Region manipulation
SLIDE 73
Boundary Curve Sculpting
SLIDE 74 Effect of a(u,v)
- The value of at each can be
changed interactively.
( )
j i v
u a ,
( )
j i v
u ,
yellow part
SLIDE 75 Point-based Manipulation
c c j i
z X H z HX p X = ⇒ = ⇒ =
,
SLIDE 76
Curve and Region Sculpting
SLIDE 77
Local Sculpting
SLIDE 78 Curve Editing
- 1. Select an arbitrary source curve on the
PDE surface by picking points on the u-v domain;
- 2. Define a cubic B-spline curve with desired
shape as the destination curve;
- 3. Map the source curve to the shape of the
destination curve, i.e. put the constraints into the system;
- 4. Solve the constrained equations to get the
new surface.
SLIDE 79
Curve Editing
SLIDE 80 Region Sculpting
- 1. Select an area on the PDE surface;
- 2. Define a cubic B-spline patch with the
same number of sample points of the source region;
- 3. Map the source region to the shape of the
destination patch, i.e. put those constraints into the linear equation system;
- 4. Solve the constrained equations to get the
new surface.
SLIDE 81
Region Sculpting
SLIDE 82
Interface of PDE Surfaces
SLIDE 83
Point Editing on Displacements
SLIDE 84
Displacement Curve and Region Sculpting
SLIDE 85 B-spline Approximation
- B-spline surfaces
- Obtain B-spline control mesh from PDE
surfaces
- B-spline approximation for dynamic models
∑∑
= =
=
k i l j j i d j c i
v B u B v u
1 1 , , ,
) ( ) ( ) , ( p X
X B BP B X BP
Τ Τ
= =
SLIDE 86 B-Spline Formulation
- B-Spline curve and surface:
- B-Spline basis function:
Knots sequence:
( )
∑ =
i n i i
u N u d s ) ( ( )
[ ) [ ) ( ) ( ) ( ) ( )
⎪ ⎪ ⎪ ⎩ ⎪ ⎪ ⎪ ⎨ ⎧ > − − + − − ∉ = ∈ = =
+ + + − + + + + − + +
, ; , and if , ; , and if , 1
1 1 1 1 1 1 1 1
r u u u N u u u u u N u u u u u r u u u r u N
i r i r i r i i r i r i i i i i i r i
( ) ( )
∑ ∑ =
i j m j n i j i
v N u N v u
,
) , ( d s
[ ]
L , ,
1 0 u
u
SLIDE 87 NURBS Formulation
( ) ( )
∑ ∑ =
= = n i p i i n i p i i i
u N w u N w u ) ( P C
( ) ( ) ( ) ( )
∑ ∑ ∑ ∑ =
= = = = n i m j q j p i j i n i m j q j p i j i j i
v N u N w v N u N w v u
, , ,
) , ( P S
Weights:
j i i w
w
,
,
SLIDE 88 Free-Form Splines
- Piecewise polynomials with certain
differentiability constraints
- Local control and extra DOF for
manipulation
– Non-Uniform Rational B-Splines – Industrial standard
SLIDE 89 Pros and Cons of NURBS
and free-form shapes
- Local control
- Clear geometric
interpretations
- Smooth objects
- Powerful modeling
toolkits
manipulations
traditional objects
freedom
intersection,
- verlapping
- Less natural and
counter-intuitive
- Strong mathematics
- Difficult for arbitrary
topology
SLIDE 90
Examples of B-spline Approximation
SLIDE 91 Physics-based PDE Surfaces
- Physics-based PDE surface and
displacement model
- Flexible boundary conditions
- Global manipulations
Joining multiple surfaces, boundary sculpting
Coefficient control, point, curve, region sculpting, displacement manipulation, material property modification
SLIDE 92 System Outline
PDE-based Geometric Modeling System
Physics- based PDE Surfaces Free-Form PDE Modeling with Intensity Implicit PDE Model Arbitrary PDE Meshes Boundary Surface Sculpting Iso-Surface Extraction Embedded Datasets Scattered Datasets Intensity Distribution
SLIDE 93 Outline
- Motivation and contributions
- Background review
- PDE-based geometric modeling system
– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation
SLIDE 94
Interface
SLIDE 95 PDE-based Arbitrary Mesh Model
– Defined on regular domain – Difficult to model arbitrary topological surfaces
– Define surfaces as collection of points and their relations – Shape of arbitrary topology
- Goal: use PDE techniques to model
arbitrary polygonal meshes
SLIDE 96 PDE Approximation of Arbitrary Meshes
- Umbrella operator for discrete Laplacian:
- Approximating formulations:
, 1
) ( 2
1
∑
∈
− ≈ ∇
i N j i j i
n p p p
( )
∑ ∈
− ≈ ∇
) ( , 2
1
2
i N j j i i j i
e E p p p
∑
∈
∇ − ∇ ≈ ∇ ∇ = ∇ = ∇ = ∇
) ( 2 2 2 2 4 4 2
1
1 ) ( ,
i N j i j i i
n p p p p F p F p
SLIDE 97 Direct Manipulation of Arbitrary Meshes
- Take input meshes as general constraints
- Use umbrella operators to approximate the
PDEs
- Point-based manipulation for shape
deformation
- Local control by selecting regions of
interests
- Possible to integrate with subdivision
models
SLIDE 98
Direct Manipulation of Arbitrary Meshes
SLIDE 99 PDE-based Medial Axis Extraction
- Compact representation of arbitrary
polygonal meshes
- Diffusion-based equations to simulate
grassfire process
- Approximates medial axes for manipulation
purposes
- Facilitates skeleton-based shape sculpting
for arbitrary meshes
SLIDE 100 Formulations
- Diffusion-based PDE
- Normal approximation
- Gaussian curvature approximation
S N D p S
2
) , ( ) , ( ∇ = ∂ ∂ κ t t
∑ ∑
− = − =
× = × =
1 1 2 1
2 sin 2 cos
n j j n j j i
n j n j p p t t N π π
∑ ∑ ∑ ∑
− = − = − = − =
− = − =
1 1 1 1
3 1 , 3 1 2
n j j n j j i n j j n j j i
A A φ π κ φ π κ
SLIDE 101 Medial Axis Extraction Algorithm
– Approximate surface normal and other differential properties
– Compute evolving surface – Collision detection to find skeletal points – Surface optimization
– User-defined skeleton, local skeletonization
SLIDE 102
Progressive Medial Axis Extraction
SLIDE 103
Local Region Skeletonization
SLIDE 104
User-defined Skeleton
SLIDE 105
Skeleton-based Sculpting
SLIDE 106
Skeleton-based Sculpting
SLIDE 107
Curvature Manipulation
SLIDE 108 PDE-based Arbitrary Mesh Modeling
- Direct manipulation on polygonal meshes
- Diffusion-based medial axis extraction
– Progressive visualization – User interaction – Local region skeletonization
- Skeleton-based shape manipulation
SLIDE 109 Outline
- Motivation and contributions
- Background review
- PDE-based geometric modeling system
– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation
SLIDE 110 Implicit PDE Modeling
- Implicit elliptic PDE formulation
- General boundary constraints
- Radial Basis Function (RBF) for initial guess
- Direct manipulation in the implicit working
space
- Interactive sculpting of implicit PDE objects
SLIDE 111 RBF Method (1)
- RBF: Radial Basis Function
- Solving interpolation problems by
minimizing thin-plate energy in 3D
- Basis function:
- Interpolation function:
∫∫ + + dxdy f f f
yy xy xx 2 2 2
2
( )
3
x x = φ
) ( ) ( ) (
1
x c x x P w f
k j j j
+ − = ∑
=
φ
SLIDE 112 RBF Method (2)
- Interpolation constraints:
- Linear equation system:
) ( ) ( ) (
1 i k j j i j i i
P w f h c c c c + − = =
∑
=
φ
⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ = ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ ... ... ... 1 ... 1 1 1 ... 1 ... 1 ...
2 1 3 2 1 2 1 2 1 2 1 2 1 2 1 2 2 2 2 22 21 1 1 1 1 12 11 k k z k z z y k y y x k x x z k y k x k kk k k z y x k z y x k
h h h p p p p w w w c c c c c c c c c c c c c c c c c c M M M M M M M O M M φ φ φ φ φ φ φ φ φ
SLIDE 113
Interface of Implicit PDE Model
SLIDE 114
Blending Coefficient Manipulation
SLIDE 115 System Outline
PDE-based Geometric Modeling System
Physics- based PDE Surfaces Free-Form PDE Modeling with Intensity Implicit PDE Model Arbitrary PDE Meshes Boundary Surface Sculpting Iso-Surface Extraction Embedded Datasets Scattered Datasets Intensity Distribution
SLIDE 116 Implicit PDE Model
- Implicit PDE formulations:
- Generalized boundary constraints
– Initial guess
- RBF (Radial Basis Function) interpolation
- Distance field approximation
– Smoothing
( ) ( ) ( ) ( )
, , , , , , , ,
2 2 2 2 2 2 2 2 2 2
= ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + ∂ ∂ z y x d z z y x c y z y x b x z y x a
( ) ( ) ( ) ( )
, , , , , , , ,
2 2 2 2 2 2 2 2 2
= ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + ∂ ∂ z y x d z z y x c y z y x b x z y x a
SLIDE 117 Boundary Constraints for Implicit PDE
- Traditional boundary conditions (cross-
sectional constraints)
- Boundary constraints for shape blending
- Arbitrary sketch curves
– Initial guess: variational interpolation (RBF)
- Unorganized scattered data points
– Initial guess: distance field approximation
SLIDE 118
Traditional Boundary Conditions
SLIDE 119
Traditional Boundary Conditions
SLIDE 120
Boundary Constraints for Shape Blending
SLIDE 121
Boundary Conditions of Sketch Curves
SLIDE 122
Local RBF Method for Complex Model
SLIDE 123
Boundary Conditions of Scattered Points
SLIDE 124 Manipulation of Implicit PDE Objects
– Shape, intensity, and gradient directions
- Blending control coefficient manipulation
- Direct manipulations
– Iso-contour – Region intensity – CSG tools – Gradient sculpting – Curvature manipulation
SLIDE 125
Sculpting of Sketch Curves
SLIDE 126
Changing Gradient Directions
SLIDE 127
Direct Intensity Manipulations
SLIDE 128
Direct CSG Manipulations
SLIDE 129 Gradient and Curvature Approximation
- Gradient approximation
- Curvature approximation
Mean curvature:
) 2 , 2 , 2 ( ) , , (
1 , , 1 , , , 1 , , 1 , , , 1 , , 1
z d d y d d x d d z y x d
k j i k j i k j i k j i k j i k j i
Δ − Δ − Δ − ≈ ∇
− + − + − +
) , , ( z y x d ∇ ⋅ ∇
SLIDE 130
Gradient Manipulations
SLIDE 131
Curvature Manipulations
SLIDE 132 Summary of Implicit PDE Modeling
- General boundary constraints for shape
design, reconstruction, blending, and recovery
- RBF method or distance field approximation
for initial guess with generalized constraints
- Manipulation of implicit PDE objects
– Sketch curve sculpting – Blending coefficient manipulation – Direct manipulation of implicit objects
SLIDE 133 Outline
- Motivation and contributions
- Background review
- PDE-based geometric modeling system
– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation
SLIDE 134 Free-Form PDE Modeling and Deformation
– Geometry – Intensity Integration
- Boundary constraints and manipulations
- Direct sculpting of PDE solid geometry
- Intensity-based free-form modeling and
deformation
SLIDE 135
Interface of PDE Solids
SLIDE 136 Numerical Techniques
- Spectral approximation
- Finite-element method (FEM)
- Finite-difference method (FDM)
- Solving linear equation system
– Iterative method – Multi-grid improvement
SLIDE 137 Finite Element Method
- Approximate the infinite problem by
interpolation functions over sub-domains
– Discretize the domain into sub-domains – Select the interpolation functions – Formulate the system of equations – Solve the equations for coefficients of the interpolation to approximate the solution
SLIDE 138
Typical Finite Elements
SLIDE 139 Finite Difference Method
- Divides the working space into discrete grids
- Samples the PDE at grid points with
discretized approximations
- Forms a set of algebraic equations
- Uses iterative techniques and multi-grid
algorithm to improve the performance
SLIDE 140
Working Space Discretization
SLIDE 141 Difference Equation Approximation
2 2 , 1 , 1 , , 1 , 1 1 , 1 1 , 1 1 , 1 1 , 1 2 2 , 4 4 , 1 , 1 , 2 , 2 , 4 , 4 4 , , 1 , 1 , 2 , 2 4 , 4
4 2 2 2 2 , 6 4 4 , 6 4 4 v u f f f f f f f f f v u f v f f f f f v f u f f f f f u f
j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i
Δ Δ + − − − − + + + = ∂ ∂ Δ + − − + = ∂ ∂ Δ + − − + = ∂ ∂
+ − + − + + + − − + − − + − + − + − + −
SLIDE 142 Finite Difference Method
- Simple and easy for implementation
- Allows flexible and generalized boundary
conditions and additional constraints
- Enables local control and direct
manipulation
- Guarantees an approximate solution
- Time performance depends on resolution of
discretization of working space
SLIDE 143 Solving Linear Equations
– Gauss-Seidel iteration – SOR iteration
- Difference between approximation and the real
solution
- Multi-grid method improvement
– Starting from coarsest grids, linear interpolating the coarse solution to get initial guess of finer resolution
( ) ( )
b X A X A b X A X A A A A b AX + = + = − = =
−1
, ,
n r n d r d r d
SLIDE 144 System Outline
PDE-based Geometric Modeling System
Physics- based PDE Surfaces Free-Form PDE Modeling with Intensity Implicit PDE Model Arbitrary PDE Meshes Boundary Surface Sculpting Iso-Surface Extraction Embedded Datasets Scattered Datasets Intensity Distribution
SLIDE 145 Free-Form PDE Solid Geometry
- PDE formulation:
- Free-form deformation for explicit model:
( ) ( ) ( ) ( )
, , , , , , , ,
2 2 2 2 2 2 2 2 2 2
X = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + ∂ ∂ w v u w w v u c v w v u b u w v u a
SLIDE 146 Free-Form PDE Solid Geometry
– Surfaces: – Curve network:
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
, 1 , , , , , , , , , 1 , , , , , , , , , 1 , , , ,
1 1 1
v u v u v u v u w u w u w u w u w v w v w v w v W X W X V X V X U X U X = = = = = =
( )
( ) { } { } ( ) ( ) { } { } ( ) ( ) { } { }
1 ,
1 , , , , ; 1 ,
1 , , , , ; 1 ,
1 , , , , ∈ ∈ = ∈ ∈ = ∈ ∈ =
s r rs s r l k kl l k j i ij j i
v u w w v u w u v w v u w v u w v u W X V X U X
SLIDE 147 PDE Solid from Boundary Surfaces
Boundary surfaces
v w u
Corresponding PDE solid
SLIDE 148 Corresponding PDE solid Boundary surfaces
v w u
PDE Solid from Boundary Surfaces
SLIDE 149 PDE Solids from Boundary Curves
w u v w u v
SLIDE 150
Boundary Surface Sculpting
Curve editing on the boundary surface of u=1
SLIDE 151
Direct Manipulation of PDE Solids
Modifying selected regions on an embedded dataset
SLIDE 152
Direct Manipulation of PDE Solids
Directly moving a point on an embedded dataset
SLIDE 153
Geometric Free-Form Deformation
From a PDE solid cube From a PDE solid sphere
SLIDE 154 Integrating Intensity Attributes
( ) ( ) ( ) ( ) ( ) ( )
) , , ( ) , , ( , , , ) , , ( ) , , ( , , , , , , , , , , ,
x 2 2 2 2 2 2 2 2 2 2
⎥ ⎦ ⎤ ⎢ ⎣ ⎡ = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ = = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + ∂ ∂ w v u a w v u a w v u w v u d w v u w v u w v u w w v u v w v u u w v u
d
a X P P c b a
SLIDE 155
Intensity Initialization
SLIDE 156
Intensity Initialization
SLIDE 157
Arbitrary Shape Blending
SLIDE 158
Arbitrary Shape Blending
SLIDE 159
Iso-surface Deformation
SLIDE 160
Intensity Field Modification
SLIDE 161
Intensity Field Modification
SLIDE 162 Free-Form PDE Modeling Summary
- Boundary surfaces or curve network as boundary
constraints
- Boundary surfaces manipulation for solid
deformation
- Free-form deformation for embedded datasets
- Sculpting toolkits for direction manipulation
- Integrating with implicit PDE for more general
modeling
– Arbitrary shape blending based on intensity – Intensity-based shape manipulation and deformation
SLIDE 163 Outline
- Motivation and contributions
- Related work
- PDE-based geometric modeling system
– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation
SLIDE 164 Conclusion
- Integrated PDE modeling system for parametric
- bjects, arbitrary meshes, and implicit models
- Incorporation of popular geometric modeling
techniques and representations
- Information recovery from partial input
- Physical properties for dynamic behavior
- Various modeling toolkits for direct manipulation
and interactive sculpting
- Shape design, recovery, abstraction, and
modification in a single framework
SLIDE 165 Future Work
– Shape design, morphing, reconstruction
- Image processing and medical imaging
– Enhancement, denoising, medical data reconstruction
– Natural phenomena simulation, medical simulation
SLIDE 166 Related Publications
- Haixia Du and Hong Qin. Dynamic PDE-Based Surface Design Using Geometric
and Physical Constraints. Accepted by Graphical Models, 2003.
- Haixia Du and Hong Qin. A Shape Design System Using Volumetric Implicit PDEs.
Accepted by CAD Special Issue of the ACM Symposium on Solid Modeling and Applications, 2003.
- Haixia Du and Hong Qin. PDE-based Free-Form Deformation of Solid Objects. In
preparation for journal submission, 2004.
- Haixia Du and Hong Qin. PDE-based Skeletonization and Propagation for Abitrary
Topological Shapes. In preparation for journal submission, 2004.
- Haixia Du and Hong Qin. Medial Axis Extraction and Shape Manipulation of Solid
Objects Using Parabolic PDEs. Accepted by The Nineth ACM Symposium on Solid Modeling and Applications 2004.
- Haixia Du and Hong Qin. Interactive Shape Design Using Volumetric Implicit
- PDEs. In Proceedings of The Eighth ACM Symposium on Solid Modeling and
Applications 2003, p235-246.
- Haixia Du and Hong Qin. Integrating Physics-based Modeling with PDE Solids for
Geometric Design. In Proceedings of Pacific Graphics 2001, p198-207.
- Haixia Du and Hong Qin. Dynamic PDE Surfaces with Flexible and General
- Constraints. In Proceedings of Pacific Graphics 2000, p213-222,
- Haixia Du and Hong Qin. Direct Manipulation and Interactive Sculpting of PDE
- Surfaces. In Proceedings of EuroGraphics 2000, pC261-C270.
SLIDE 167 Acknowledgements
- Committee members
- Members of VisLab
http://www.cs.sunysb.edu/~dhaixia