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

 找回密码
 新人加入
查看: 9140|回复: 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, 下载次数: 1893

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, 下载次数: 2324)

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

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

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

5#
发表于 2012-7-25 21:49:32 |只看该作者

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

6#
发表于 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

7#
发表于 2012-7-26 20:26:06 |只看该作者

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

8#
发表于 2012-7-26 22:23:55 |只看该作者

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

9#
发表于 2012-7-31 22:45:49 |只看该作者

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

10#
发表于 2012-8-1 00:54:02 |只看该作者

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

11#
发表于 2012-8-1 16:09:34 |只看该作者
您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-11-21 20:57

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH