space_carving oppoints → image2dimport fullseye as fs; fs.ledger.synthesize_silhouette(points, K, R, t, size: 'Tuple[int, int]', *, fill: 'bool' = True, dilate: 'int' = 1) -> 'np.ndarray' (実装を直接呼ぶなら import visualhull; visualhull.synthesize_silhouette(points, K, R, t, size: 'Tuple[int, int]', *, fill: 'bool' = True, dilate: 'int' = 1) -> 'np.ndarray'、台帳から引くなら ops3d.get("synthesize_silhouette"))3-D 点群を (K,R,t) カメラへ射影し占有画素 True のシルエット(H,W bool)を返す。
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 を
取りこぼさない)を離散化誤差の下でも保証するための保守側の丸め。
points : (N, 3) array_like ワールド座標の点群(物体表面/内部のサンプル)。 K : (3, 3) 内部パラメータ。 R, t : (3, 3), (3,) ワールド->カメラの回転・並進。 size : (H, W) 出力画像サイズ。 fill : bool 射影像の穴を埋めて solid にする(既定 True)。 dilate : int 被覆マージンとして膨張させる画素数(既定 1、0 で無効)。
(H, W) bool ndarray 前景 True のシルエット。
py -3.11 examples_3d/space_carving.pyimage2d を入力に取れる)fuse_to_voxel · fit_poly_surface · eval_poly_surface · surface_form_error · background_flatten · polar_unwrap · fit_zernike · matcap_shade
space_carving)carve · visual_hull · carve_look_at
Provenance: visualhull.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.