curve op• Data kinds: points → points
• Call: import fullseye as fs; fs.ledger.fit_spline_curve(points, smooth=0.0, k=3, n=None) (to call the implementation directly, import curve3d; curve3d.fit_spline_curve(points, smooth=0.0, k=3, n=None); from the registry, ops3d.get("fit_spline_curve"))
Smooth and resample an ordered 3-D point sequence with a B-spline. → (M,3). For smoothing noisy trajectories and edges.
> The detailed description below is the original text — the summary and the headings are translated.
scipy.interpolate.splprep/splev。smooth=0 は補間、>0 で平滑。n=出力点数(既定=入力数)。
`splprep([x, y, z], s=smooth, k=k)` でパラメトリック B スプライン(パラメータ u∈[0,1]、
scipy 既定の弦長パラメータ化)を当て、`u = linspace(0, 1, n) で splev` 評価した
(n,3) float64 を返す。u 等間隔なので出力点は弧長で厳密に等間隔ではない(弧長等間隔が
要るなら結果を `resample_uniform` に通す)。
• `smooth`: scipy の平滑化条件 s。残差二乗和が s 以下になる最少ノットで当てる。
0 なら全点を通る補間、大きいほど滑らか(単位は座標の二乗)。
• `k: スプライン次数(既定 3)。点数 N が k 以下だと ValueError`。
• `n`: 出力点数。None で入力点数。
• 入力は index 順に並んだ (N,3) を前提とし、形状検証は点数以外に無い。
ノイズのあるエッジ点列や軌跡を平滑してから `curvature_torsion / frenet_frame` に
渡す前段として使う。tck を持ち回りたい場合は `fit_bspline_curve / eval_bspline_curve`。
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• bspline_freeform — py -3.11 examples_3d/bspline_freeform.py
points as input)points_to_voxel · gaussians_to_voxel · estimate_point_normals · to_points · match_points_ncc · match_pca · moment_axes · icp_point2point_3d
curve)curvature_torsion · frenet_frame · arc_length · resample_uniform
*Provenance: curve3d.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.