freeform opbspline_surface × image2d × image2d → image2dimport fullseye as fs; fs.ledger.eval_bspline_surface(tck, x, y, grid=False) (実装を直接呼ぶなら import bspline_surf; bspline_surf.eval_bspline_surface(tck, x, y, grid=False)、台帳から引くなら ops3d.get("eval_bspline_surface"))フィット済み曲面 tck を評価(bisplev)。散布点(既定)または格子の 2 モード。
tck : list
fit_bspline_surface が返した [tx, ty, c, kx, ky]。
x, y : array_like
grid=False(既定): 同一 shape の散布/対応点。各 (x[i], y[i]) で評価し
入力と同じ shape の z を返す(計測=各サンプル位置での曲面高さ)。
grid=True: x, y を昇順の 1 次元軸として扱い、テンソル格子
(len(x), len(y)) 上で評価(密な可視化・再サンプリング用)。
grid : bool
評価モード。曲面残差など点対応の比較には False。
z : numpy.ndarray grid=False なら x と同 shape、grid=True なら (len(x), len(y))。
ValueError tck が曲面モデル([tx,ty,c,kx,ky])でない(曲線 tck / 多項式 dict を含む)、 または x, y の shape 不一致・空。
補足:
bisplev を呼び、結果を 入力の順序 に戻して返す。したがって out[i, j] は常に (x[i], y[j]) の値で、軸を降順で渡しても壊れない。bisplev を呼ぶ Python ループなので点数に比例して遅い。大量点の評価は可能なら grid=True に寄せる。fit_bspline_surface → 本 op(再サンプリング・可視化)。残差評価は surface_residual がこれを内部で呼ぶ。py -3.11 examples_3d/bspline_freeform.pyimage2d を入力に取れる)fuse_to_voxel · fit_poly_surface · eval_poly_surface · surface_form_error · background_flatten · polar_unwrap · fit_zernike · matcap_shade
freeform)fit_bspline_surface · surface_residual · fit_bspline_curve · eval_bspline_curve
Provenance: bspline_surf.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.