eval_poly_surface — 3D surface_fit op

数据种类:poly_surface × image2d × image2dimage2d

调用: import fullseye as fs; fs.ledger.eval_poly_surface(model, x, y)(要直接调用实现,import match3d; match3d.eval_poly_surface(model, x, y);从台账取用则 ops3d.get("eval_poly_surface"))

用法

在 (x,y) 处评估 model → z(按 x 的形状返回)。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

*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 でない / 必須キー欠落。

背景知识指南(该算子背后的物理与约定)

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

参考(示例数据・文献)

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

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

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

contours_to_terrainpy -3.11 examples_3d/contours_to_terrain.py

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

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

同类别(surface_fit)

fit_poly_surface · surface_form_error · background_flatten


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

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