synthesize_silhouette — 3D space_carving op

Data kinds: pointsimage2d

Call: import fullseye as fs; fs.ledger.synthesize_silhouette(points, K, R, t, size: 'Tuple[int, int]', *, fill: 'bool' = True, dilate: 'int' = 1) -> 'np.ndarray' (to call the implementation directly, import visualhull; visualhull.synthesize_silhouette(points, K, R, t, size: 'Tuple[int, int]', *, fill: 'bool' = True, dilate: 'int' = 1) -> 'np.ndarray'; from the registry, ops3d.get("synthesize_silhouette"))

Usage

Project a 3-D point set into a (K,R,t) camera and return the silhouette (H,W bool) that is True where pixels are occupied.

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

GT 生成用。`points (N,3) を X_cam = R X + t` で射影し、depth>0 かつ画像内に

落ちた画素を True にする。疎な点群では射影像に穴が空くため、既定で穴埋め

(`fill`, scipy.ndimage.binary_fill_holes)して中身の詰まった前景マスクにする。

さらに `dilate` 画素だけ膨張させ「pixel が少しでも物体に触れれば前景」という

被覆(coverage)意味のシルエットにする — これが visual hull の recall(物体 voxel を

取りこぼさない)を離散化誤差の下でも保証するための保守側の丸め。

Parameters

----------

points : (N, 3) array_like ワールド座標の点群(物体表面/内部のサンプル)。

K : (3, 3) 内部パラメータ。

R, t : (3, 3), (3,) ワールド->カメラの回転・並進。

size : (H, W) 出力画像サイズ。

fill : bool 射影像の穴を埋めて solid にする(既定 True)。

dilate : int 被覆マージンとして膨張させる画素数(既定 1、0 で無効)。

Returns

-------

(H, W) bool ndarray 前景 True のシルエット。

Background guides (the physics and conventions behind this op)

blender_interop — Blender との併用 — 形を作って fullseye で測る(軸・単位・正解データの罠)

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)

space_carvingpy -3.11 examples_3d/space_carving.py

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

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

Same category (space_carving)

carve · visual_hull · carve_look_at


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