eval_bspline_curve — 3D freeform op

• 数据种类:bspline_curve → points

• 调用: import fullseye as fs; fs.ledger.eval_bspline_curve(tck, n=200)(要直接调用实现,import bspline_surf; bspline_surf.eval_bspline_curve(tck, n=200);从台账取用则 ops3d.get("eval_bspline_curve"))

用法

在参数 u∈[0,1] 上等间隔 n 点评估曲线 tck(splev)。

Parameters

tck : tuple

fit_bspline_curve 返回的 (t, c, k)。

n : int

求值点数(默认 200)。2 以上。

Returns

numpy.ndarray, shape (n, D)

曲线上的点列。D 为 fit 时的输入维数(3D 输入则为 (n, 3))。

补充:

• u 为 linspace(0, 1, n),因此是参数等间隔而非弧长等间隔。点的密度取决于原始点列的疏密。需要弧长等间隔时,将本 op 的输出传给 resample_uniform。

• 包含两端点 u=0, u=1。

• Raises ValueError:tck 不是曲线模型 (t, c, k)(点名拒绝曲面 tck / 多项式 dict),或 n < 2。

• 返回值为 float64 的 (n, D)。确定性。

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

可运行的示例(实际调用该算子并已验证的样例)

• bspline_freeform — py -3.11 examples_3d/bspline_freeform.py

类型可衔接的下一个算子(可接受 points 作为输入)

points_to_voxel · gaussians_to_voxel · estimate_point_normals · to_points · match_points_ncc · match_pca · moment_axes · icp_point2point_3d

同类别(freeform)

fit_bspline_surface · eval_bspline_surface · surface_residual · fit_bspline_curve


*Provenance: bspline_surf.py — 3D 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.