eval_poly_surface — 3D surface_fit op

• 데이터 종류: poly_surface × image2d × image2d → image2d

• 호출: 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"))

사용법

model 을 (x,y) 에서 평가 → z(x 의 shape 으로 반환).

*model*은 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 스레드·캐시·메모리 배치

참고(샘플 데이터·문헌)

• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.

• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.

실행 가능한 예제(이 연산자를 실제로 호출하는 검증된 샘플)

• contours_to_terrain — py -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 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

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