Catmull-Romスプライン曲線
(Catmull–Rom曲線 から転送)
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2025/06/29 05:39 UTC 版)
Catmull-Romスプライン(英語: Catmull–Rom spline)は、カーディナルスプラインの特殊な場合のひとつ。「一様な」パラメータ間隔を前提とする。3次エルミートスプラインにおいて、接ベクトルとして
曲線の両端に2つの追加点が必要である。 一様なCatmull-Romスプラインの実装では、ループと自己交差が発生する可能性がある。 chordal および centripetal Catmull-Rom スプライン[3]実装はこの問題を解決するが、計算方法が若干異なる[4]。
コンピューターグラフィックスでは、キーフレーム間の滑らかな補間モーションを取得するために Catmull-Rom スプラインが頻繁に使用される。たとえば、離散キーフレームから生成されるカメラパスアニメーションのほとんどは、Catmull-Romスプラインを使用して処理される。これらは主に、計算が比較的容易であること、各キーフレームの位置が正確にヒットすることを保証すること、生成された曲線の接線が複数のセグメントにわたって連続していることを保証することから人気がある。
定義(CatmullとRomによる)
文献[1]は複数の方式の補間曲線の比較である。 以下のブレンディング関数のグラフや実験結果が示されており、この内『例3』がCatmull-Romスプライン曲線である[5]。
Interval Width | Differentiability | Type | Degree of Polynomial for Cardinal Function | |
---|---|---|---|---|
例1 | 3 | 1 | B-SPLINE | |
例2 | 4 | 2 | BEZIER | |
例3 | 4 | 1 | B-SPLINE | 1 |
例4 | 6 | 2 | B-SPLINE | 2 |
定義式は、
ブレンディング関数は以下の基数関数(cardinal function)である。
線形ラグランジュ補間を使用するので
この
連続性
Catmull-Romスプライン曲線は定義および以下によりC1連続であり、C2連続ではない。
ベジェ曲線への変換

3次ベジェ曲線の行列形式は

また、等価な3次ベジェ曲線の制御点は である。
脚注
注釈
出典
- ^ a b Catmull, Edwin; Rom, Raphael (1974), “A class of local interpolating splines”, in Barnhill, Robert E.; Riesenfeld, Richard F., Computer Aided Geometric Design - Proceedings of a Conference Held at The University of Utah, Salt Lake City, Utah, March 18-21, 1974, New York: Academic Press, pp. 317–326, ISBN 0-12-079050-5
- ^ Catmull, Rom (1974), p.325 Figure 5に基づき作成
- ^ N. Dyn, M. S. Floater, and K. Hormann. Four-point curve subdivision based on iterated chordal and centripetal parameterizations. Computer Aided Geometric Design, 26(3):279–286, 2009.
- ^ P. J. Barry and R. N. Goldman. A recursive evaluation algorithm for a class of Catmull-Rom splines. SIGGRAPH Computer Graphics, 22(4):199–204, 1988.
- ^ Read the Docs - Uniform Catmull–Rom Splines
- ^ Catmull, Rom (1974), p.319
- ^ Catmull, Rom (1974), pp.322-323
- ^ Christopher Twigg (2003年3月). “Catmull-Rom splines”. Carnegie Mellon Computer Graphics. 2025年6月10日閲覧。
- ^ Kochanek, Doris H. U.; Bartels, Richard H. (January 1984). “Interpolating splines with local tension, continuity, and bias control”. ACM SIGGRAPH Computer Graphics. 18. pp. 36-37. doi:10.1145/800031.808575. ISBN 0-89791-138-5.
参考文献
- de Boor, Carl (1978). A Practical Guide to Spline. ISBN 0-387-90356-9
- Gordon, William J.; Riesenfeld, Richard F. (1974), “B-spline curves and surfaces”, in Barnhill, Robert E.; Riesenfeld, Richard F., Computer Aided Geometric Design - Proceedings of a Conference Held at The University of Utah, Salt Lake City, Utah, March 18-21, 1974, New York: Academic Press, pp. 95–126, ISBN 0-12-079050-5
関連項目
- 3次エルミートスプライン
- Centripetal Catmull-Romスプライン
- バイキュービック補間
- ベジェ曲線
- スプライン曲線
- B-スプライン曲線
- Kochanek–Bartelsスプライン曲線
外部リンク
- Catmull-Romスプライン曲線のページへのリンク