TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

 找回密码
 新人加入
查看: 8104|回复: 10

Spline Interpolation [复制链接]

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-7-24 14:48:55 |显示全部楼层

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-7-25 13:40:42 |显示全部楼层
Based on http://terpconnect.umd.edu/~petersd/interp.html

CubicSpline.py

2 KB, 下载次数: 1367

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-7-25 14:13:03 |显示全部楼层

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-7-25 20:44:45 |显示全部楼层

Important Materials

The problems with a single Bezier spline range from the need of a high degree curve to accurately fit a complex shape, which is inefficient to process. To overcome the problems, a piecewise curve is used. Therefore the order of the curve is not dependent on the number of control points.


http://escience.anu.edu.au/lecture/cg/Spline/index.en.html

http://escience.anu.edu.au/lecture/cg/Spline/whyBSpline.en.html

B-Spline versus Bezier Spline (i.e. composite Bezier Curves)

http://escience.anu.edu.au/lectu ... ineVsBezier.en.html

Bezier and B-Spline Technology.pdf (1.08 MB, 下载次数: 1679)

http://math.fullerton.edu/mathews/n2003/B-SplinesMod.html

An Introduction to B-Spline Curves.pdf (147.78 KB, 下载次数: 1775)

http://www.codeproject.com/Articles/16689/Bspline-in-C

http://www.cs.mtu.edu/~shene/COU ... ine-curve-coef.html

http://chi3x10.wordpress.com/2009/10/18/de-boor-algorithm-in-c/


Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-7-25 21:49:32 |显示全部楼层

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-7-26 20:08:02 |显示全部楼层

The Advantage of Using B-spline Curves

B-spline curves require more information (i.e., the degree of the curve and a knot vector) and a more complex theory than Bézier curves. But, it has more advantages to offset this shortcoming. First, a B-spline curve can be a Bézier curve. Second, B-spline curves satisfy all important properties that Bézier curves have. Third, B-spline curves provide more control flexibility than Bézier curves can do. For example, the degree of a B-spline curve is separated from the number of control points. More precisely, we can use lower degree curves and still maintain a large number of control points. We can change the position of a control point without globally changing the shape of the whole curve (local modification property). Since B-spline curves satisfy the strong convex hull property, they have a finer shape control. Moreover, there are other techniques for designing and editing the shape of a curve such as changing knots.

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-7-26 20:26:06 |显示全部楼层

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-7-26 22:23:55 |显示全部楼层

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-7-31 22:45:49 |显示全部楼层

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-8-1 00:54:02 |显示全部楼层

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-8-1 16:09:34 |显示全部楼层
您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-4-17 03:01

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH