eval_poly_surface — 3D surface_fit op

Data kinds: poly_surface × image2d × image2dimage2d

Call: import fullseye as fs; fs.ledger.eval_poly_surface(model, x, y) (to call the implementation directly, import match3d; match3d.eval_poly_surface(model, x, y); from the registry, ops3d.get("eval_poly_surface"))

Usage

Evaluate the model at (x,y) → z (returned in the shape of x).

> The detailed description below is the original text — the summary and the headings are translated.

*model* は :func:fit_poly_surface の返り(dict)。fail-closed: B スプライン

曲面/曲線の tck(FITPACK の list)を渡すと、以前は `model["degree"]` が

`TypeError: list indices must be integers...` で落ちていた(2026-09-01 実測 7 回)。

多項式モデルと B スプラインモデルは中身が違うので、ここで明示的に拒否する

(ops3d 台帳側でも poly_surface / bspline_surface と型を分けてある)。

Raises ValueError: model が多項式モデル dict でない / 必須キー欠落。

Background guides (the physics and conventions behind this op)

blas_threads_and_memory — 行列分解が遅い理由の知識 — BLAS スレッド・キャッシュ・メモリ配置

References (sample data, literature)

• 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.

Runnable examples (verified samples that actually call this op)

contours_to_terrainpy -3.11 examples_3d/contours_to_terrain.py

Ops the type connects to (they accept image2d as input)

fuse_to_voxel · fit_poly_surface · surface_form_error · background_flatten · polar_unwrap · fit_zernike · matcap_shade · antialias

Same category (surface_fit)

fit_poly_surface · surface_form_error · background_flatten


*Provenance: match3d.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.