62
Moving Least Squares Coordinates Josiah Manson and Scott Schaefer Texas A&M University

Moving Least Squares Coordinates

Embed Size (px)

Citation preview

Page 1: Moving Least Squares Coordinates

Moving Least Squares Coordinates

Josiah Manson and Scott Schaefer

Texas A&M University

Page 2: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

0p

1p

2p3p

4p

Page 3: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

)(0 tP

)(1 tP

)(2 tP)(3 tP

)(4 tP

Page 4: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

0f1f

2f

3f4f

Page 5: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

)(0 tF)(1 tF

)(2 tF)(3 tF

)(4 tF

Page 6: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

)(0 tF)(1 tF

)(2 tF)(3 tF

)(4 tF

)())((ˆ tFtPF ii

Page 7: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

)(0 tF)(1 tF

)(2 tF)(3 tF

)(4 tF

)())((ˆ tFtPF ii

Page 8: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

• Basis Functions

0f1f

2f

3f4f

n

i

ii fxbxF )()(ˆ

Page 9: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

• Basis Functions

n

i

ii fxbxF )()(ˆ

Page 10: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

• Basis Functions

n

i

ii fxbxF )()(ˆ

Page 11: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

• Basis Functions

n

i

ii fxbxF )()(ˆ

Page 12: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

• Basis Functions

n

i

ii fxbxF )()(ˆ

Page 13: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

• Basis Functions

n

i

ii fxbxF )()(ˆ

Page 14: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

• Basis Functions

• Linear Precision

n

i

ii pLxbxL )()()(

Page 15: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

• Basis Functions

• Linear Precision

n

i

ii pLxbxL )()()(

Page 16: Moving Least Squares Coordinates

Barycentric Coordinates

• Polygon Domain

• Boundary Interpolation

• Basis Functions

• Linear Precision

n

i

i xb )(1

Page 17: Moving Least Squares Coordinates

Other Properties

• Desirable Features– Smoothness

– Closed-form solution

– Positivity

• Extended Coordinates– Polynomial Boundary Values

– Polynomial Precision

– Interpolation of Derivatives

– Curved Boundaries

Page 18: Moving Least Squares Coordinates

Applications

• Finite Element Methods [Wachspress 1975]

Page 19: Moving Least Squares Coordinates

• Boundary Value Problems [Ju et al. 2005]

Applications

Page 20: Moving Least Squares Coordinates

• Free-Form Deformations[Sederberg et al. 1986], [MacCracken et al. 1996], [Ju et al. 2005], [Joshi et al. 2007]

Applications

Page 21: Moving Least Squares Coordinates

Applications

• Surface Parameterization

[Hormann et al. 2000], [Desbrun et al. 2002]

Page 22: Moving Least Squares Coordinates

Wachspress

Mean Val.

Pos. Mean Val.

Max Entropy

Moving Least Sqr.

Hermite MVC

Harmonic

Comparison of Methods

Page 23: Moving Least Squares Coordinates

Moving Least Squares Coordinates

• A new family of barycentric coordinates

• Solves a least squares problem

• Solution depends on point of evaluation

Page 24: Moving Least Squares Coordinates

Fit a Polynomial to Points

2

1 )()(argmin n

i

iiC

pFCpV

CxVxF )()(ˆ 1

)1()( 211 xxxV

Page 25: Moving Least Squares Coordinates

Fit a Polynomial to Points

Page 26: Moving Least Squares Coordinates

Fit a Polynomial to Points

Page 27: Moving Least Squares Coordinates

Interpolating Points

Page 28: Moving Least Squares Coordinates

Interpolating Points

2

1),(

pxpxW

2

1 )()(),(argmin n

i

iiiC

pFCpVpxW

CxVxF )()(ˆ 1

Page 29: Moving Least Squares Coordinates

Interpolating Points

Page 30: Moving Least Squares Coordinates

Interpolating Line Segments

2,

1,)1()(

i

i

iP

PtttP

Page 31: Moving Least Squares Coordinates

Interpolating Line Segments

2,

1,)1()(

i

i

iP

PtttP

2,

1,)1()(

i

i

iF

FtttF

Page 32: Moving Least Squares Coordinates

Interpolating Line Segments

2,

1,)1()(

i

i

iP

PtttP

2)(

)('),(

tPx

tPtxW

i

i

i

2,

1,)1()(

i

i

iF

FtttF

Page 33: Moving Least Squares Coordinates

Interpolating Line Segments

2,

1,)1()(

i

i

iP

PtttP

dttFCtPVtxWn

i

iiiC

21

0

1 )())((),(argmin

2)(

)('),(

tPx

tPtxW

i

i

i

2,

1,)1()(

i

i

iF

FtttF

Page 34: Moving Least Squares Coordinates

Line Basis Functions

dttPVtPVtxWAn

i

ii

T

ii

1

0

1 ))(())((),(

dttFtPVtxWACn

i

ii

T

ii

1

0

1 )())((),(

Page 35: Moving Least Squares Coordinates

Line Basis Functions

CxVxF )()(ˆ 1

Page 36: Moving Least Squares Coordinates

Line Basis Functions

dttFtPVtxWAxVn

i

ii

T

ii

1

0

1

1 )())((),()(

CxVxF )()(ˆ 1

Page 37: Moving Least Squares Coordinates

Line Basis Functions

dttFtPVtxWAxVn

i

ii

T

ii

1

0

1

1 )())((),()(

CxVxF )()(ˆ 1

dtF

FtttPVtxWAxV

i

in

i

i

T

ii

2,

1,1

0

1

1 )1))(((),()(

Page 38: Moving Least Squares Coordinates

Line Basis Functions

dttFtPVtxWAxVn

i

ii

T

ii

1

0

1

1 )())((),()(

CxVxF )()(ˆ 1

dtF

FtttPVtxWAxV

i

in

i

i

T

ii

2,

1,1

0

1

1 )1))(((),()(

2,

1,1

0

1

1 )1))(((),()(i

in

i

i

T

iiF

FdttttPVtxWAxV

Page 39: Moving Least Squares Coordinates

Line Basis Functions

dttFtPVtxWAxVn

i

ii

T

ii

1

0

1

1 )())((),()(

CxVxF )()(ˆ 1

dtF

FtttPVtxWAxV

i

in

i

i

T

ii

2,

1,1

0

1

1 )1))(((),()(

2,

1,1

0

1

1 )1))(((),()(i

in

i

i

T

iiF

FdttttPVtxWAxV

2,

1,

2,1, )()(i

in

i

iiF

FxBxB

Page 40: Moving Least Squares Coordinates

Polygon Basis Functions

2,

1,

2,1, )()()(ˆ

i

in

i

iiF

FxBxBxF

Page 41: Moving Least Squares Coordinates

Polygon Basis Functions

2,

1,

2,1, )()()(ˆ

i

in

i

iiF

FxBxBxF

)()()( 2,11, xBxBxb iii

2,11, iii FFf

Page 42: Moving Least Squares Coordinates

Polygon Basis Functions

Page 43: Moving Least Squares Coordinates

Polygon Basis Functions

Page 44: Moving Least Squares Coordinates

Polygon Basis Functions

2,

1,

2,1, )()()(ˆ

i

in

i

iiF

FxBxBxF

)()()( 2,11, xBxBxb iii

n

i

ii fxbxF )()(ˆ

2,11, iii FFf

Page 45: Moving Least Squares Coordinates

Polynomial Boundary Values

2,

1,)1()(

i

i

iF

FtttF

3,

2,

1,

22 ))1(2)1(()(

i

i

i

i

F

F

F

tttttF

4,

3,

2,

1,

3223 ))1(3)1(3)1(()(

i

i

i

i

i

F

F

F

F

tttttttF

Page 46: Moving Least Squares Coordinates

Polynomial Boundary Values

Page 47: Moving Least Squares Coordinates

Polynomial Boundary Values

Page 48: Moving Least Squares Coordinates

Polynomial Precision

)1()( 211 xxxV

)1()(2

221

2

1212 xxxxxxxV

)1()( 3

2

2

2

1

1

1

2

2

1

3

1

2

221

2

1213 xxxxxxxxxxxxxV

Page 49: Moving Least Squares Coordinates

Polynomial Precision

Linear Quadratic

Page 50: Moving Least Squares Coordinates

Interpolation of Derivatives

dttFCtPVtxWn

i

iiiC

21

0

1 )())((),(argmin

Page 51: Moving Least Squares Coordinates

Interpolation of Derivatives

dttFCtGtxW iii

21

0

,1 )()(),(

dttFCtPVtxWn

i

iiiC

21

0

1 )())((),(argmin

Page 52: Moving Least Squares Coordinates

Interpolation of Derivatives

dttFCtGtxW iii

21

0

,1 )()(),(

dttFCtPVtxWn

i

iiiC

21

0

1 )())((),(argmin

))((

))(()()(

1

1

,1

2

1

tPV

tPVtPtG

ix

ix

ii

Page 53: Moving Least Squares Coordinates

Interpolation of Derivatives

Page 54: Moving Least Squares Coordinates

Interpolation of Derivatives

Page 55: Moving Least Squares Coordinates

Interpolation of Derivatives

Page 56: Moving Least Squares Coordinates

Solutions are Closed-Form

• For polygons is linear

– and are constant

– Polynomial numerator

– Denominator quadratic to power 2α

– Integrals have closed-form solutions

)(tPi

)(' tPi

)(tPi

Page 57: Moving Least Squares Coordinates

Curved Boundaries

2,

1,)1()(

i

i

iP

PtttP

3,

2,

1,

22 ))1(2)1(()(

i

i

i

i

P

P

P

tttttP

4,

3,

2,

1,

3223 ))1(3)1(3)1(()(

i

i

i

i

i

P

P

P

P

tttttttP

Page 58: Moving Least Squares Coordinates

Comparison to Other Methods

Page 59: Moving Least Squares Coordinates

Comparison to Other Methods

Page 60: Moving Least Squares Coordinates

3D Deformation

n

i

ii pxbx )(

Page 61: Moving Least Squares Coordinates

3D Deformation

n

i

ii pxbx )( n

i

ii pxbx ˆ)(ˆ

Page 62: Moving Least Squares Coordinates

Conclusion

• New family of barycentric coordinates

– Controlled by parameter α

– Polynomial boundaries

– Polynomial precision

– Derivative interpolation

– Open polygons

– Closed-form