48
Knot placement in B- spline curve approximation Reporter:Cao juan Date:2006.54.5

Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Embed Size (px)

Citation preview

Page 1: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Knot placement in B-spline curve approximation

Reporter:Cao juanDate:2006.54.5

Page 2: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Outline:

Introduction

Some relative paper

discussion

Page 3: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Introduction:

Background:

The problem is…

Page 4: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

It is a multivarate and multimodal nonlinear optimization problem

Page 5: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 6: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

The NURBS Book

Author:Les Piegl & Wayne Tiller

Page 7: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

They are iterative processes:

1.Start with the minimum or a small number of knots

2.Start with the maximum or many knots

Page 8: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Use chordlength parameterization

and average knot:

1

1

1

int( )

(1 ) 1,....,p j i i

md

n p

i jd jd i

u u u j n p

Page 9: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Disadvantage:

Time-consuming

Relate to initial knots

Page 10: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Knot Placement for B-spline

Curve Approximation

Author: Anshuman Razdan

(Arizona State University , Technical Director, PRISM)

Page 11: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Assumptions: A parametric curve evaluated at arbitrary discrete values

Goals:closely approximate with B-spline

Page 12: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Estimate the number of points requiredto interpolate (ENP)

Page 13: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 14: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 15: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 16: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Adaptive Knot Sequence Generation (AKSG)

1

1

1 1

i i

i ior

i i

i x x

Page 17: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Based on curvatur

e only

Using origial

tangents

Page 18: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 19: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

The Pre-Processing of Data Points for

Curve Fitting in Reverse Engineering

Author: Ming-Chih Huang & Ching-Chih Tai

Department of Mechanical Engineering, Tatung University, Taipei, Taiwan

Advanced Manufacturing Technology 2000

Page 20: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Chord length parameter:

1 2,

1 1

1

1

{0,0,...,0, , ....., ,1,1,....,1}

1( 1,2,...., )

n

p p

j p

j ii j

U V V V

V u j n pp

P M Q

1 2 1 2( , ,...., ) ( , ,..., )n nQ Q Q u u u

Page 21: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Problem: data are noise & unequal distribution

Aim: reconstruction (B-spline curve with a “good shape”)

Page 22: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 23: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

' i -1 i i+1i

x +x +xx =

3

Page 24: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 25: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Characters:

approximate the curve once

Page 26: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Data fitting with a spline using

a real-coded genetic algorithm

Author:Fujiichi Yoshimoto, Toshinobu Harada, Yoshihide Yoshimoto

Wakayama University

CAD(2003)

Page 27: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

About GA:

60’s by J.H,Holland

some attractive points:

•Global optimum•Robust•...

fitness

Page 28: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Fitness function:Bayesian information criterion

Initial population:

Page 29: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Example of two-point crossover:

Page 30: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Mutation method: for each individual

for counter = 1 to individual length

Generate a random number

Generate a random number

add a gene randomly Delete a gene randomly

>PmYN

Counter + 1

>0.5

N Y

Page 31: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 32: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 33: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 34: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 35: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 36: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Character: insert or delete knots adaptivelyQuasi-multiple knots Don’t need error tolerance Independent with initial estimation of

the knot locationsOnly one –dimensional case

Page 37: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Adaptive knot placement in B-spline curve approximation

author: Weishi Li, Shuhong Xu, Gang Zhao, Li Ping Goh

CAD(2005)

Page 38: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

a heuristic rule for knot placement

Su BQ,Liu DY:<<Computational geometry—curve and surface modeling>>

approximation interpolationbest select points

Page 39: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Algorithm:

smooth the discrete curvature

divide into several subsets

iteratively bisect each segment till satisfy the heuristic rule

check the adjacent intervals that joint at a feature point

Interpolate

Page 40: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

smooth the discrete curvature

divide into several subsets

iteratively bisect each segment till satisfy the heuristic rule

check the adjacentintervals that joint at a feature point

Interpolate

inflectionpoints

Page 41: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

smooth the discrete curvature

divide into several subsets

iteratively bisect each segment till satisfy the heuristic rule

check the adjacentintervals that joint at a feature point

Interpolate

curvature integration

Page 42: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

smooth the discrete curvature

divide into several subsets

iteratively bisect each segment till satisfy the heuristic rule

check the adjacentintervals that joint at a feature point

Interpolate

curvature integration

Page 43: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

Example:

Page 44: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 45: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5
Page 46: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

character:

smooth discrete curvatureautomaticallysensitive to the variation of curvature

torsion?arc length?

Page 47: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

summary:

torsion

arc length

multi-knots (discontinue,cusp)

Page 48: Knot placement in B-spline curve approximation Reporter:Cao juan Date:2006.54.5

reference: Piegl LA, Tiller W. The NURBS book. New York:

Springer; 1997. Razdan A. Knot Placement for B-spline curve

approximation. Tempe,AZ: Arizona State University; 1999 http://3dk.asu.edu/archives/publication/publication.html

Huang MC, Tai CC. The pre-processing of data points for curve fittingin reverse engineering. Int J Adv Manuf Technol 2000;16:635–42

Yoshimoto F, Harada T, Yoshimoto Y. Data fitting with a spline using a real-coded genetic algorithm. Comput Aided Des 2003;35:751–60.

Weishi Li,Shuhong Xu,Gang Zhao,Li Ping Goh.Adaptive knot placement in B-spline curve approximation.Computr-Aided Design.2005;37:791-797