freeform op• 데이터 종류: bspline_surface × image2d × image2d → image2d
• 호출: import 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). 산포점(기본) 또는 격자의 두 모드.
> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.
Parameters
----------
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。
Returns
-------
z : numpy.ndarray
grid=False なら x と同 shape、grid=True なら (len(x), len(y))。
Raises
------
ValueError
tck が曲面モデル([tx,ty,c,kx,ky])でない(曲線 tck / 多項式 dict を含む)、
または x, y の shape 不一致・空。
補足:
• grid=True では x, y を内部で昇順に並べ替えて `bisplev を呼び、結果を **入力の順序** に戻して返す。したがって out[i, j] は常に (x[i], y[j])` の値で、軸を降順で渡しても壊れない。
• grid=False は点ごとに `bisplev` を呼ぶ Python ループなので点数に比例して遅い。大量点の評価は可能なら grid=True に寄せる。
• 節点範囲(フィットに使った x, y の範囲)の外側は外挿になり、その値は保証しない。
• 返り値は float64。grid=False なら x と同じ shape(スカラーを渡せば 0 次元配列)。
• 典型: `fit_bspline_surface → 本 op(再サンプリング・可視化)。残差評価は surface_residual` がこれを内部で呼ぶ。
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• bspline_freeform — py -3.11 examples_3d/bspline_freeform.py
image2d 를 입력으로 받는 것)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 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.