domain op• 資料種類:voxel → primitive
• 呼叫: import fullseye as fs; fs.ledger.vol_bounding_box(domain, margin=0)(要直接呼叫實作,import volops; volops.vol_bounding_box(domain, margin=0);從台帳取用則 ops3d.get("vol_bounding_box"))
遮罩前景的緊緻軸對齊包圍盒,以體素索引給出。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
Returns `(z0, y0, x0, z1, y1, x1)` with exclusive upper bounds, i.e.
`vol[z0:z1, y0:y1, x0:x1]` is the smallest sub-volume containing every
foreground voxel. *margin* (an int `>= 0`) grows the box by that many
voxels per side, clipped to the volume — headroom for operators with a
spatial footprint (a Gaussian of sigma s needs ~`3*s` voxels of context).
A non-`{0, 1} input is thresholded at > 0.5`.
An empty mask raises `ValueError` (fail-closed): there is no box, and
silently returning the full volume would defeat the point of cropping.
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• rle_region_efficiency — py -3.11 examples_3d/rle_region_efficiency.py
• roi_domain_boundary — py -3.11 examples_3d/roi_domain_boundary.py
primitive 作為輸入)fuse_to_voxel · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_line · distance_segment_segment
domain)vol_reduce_domain · vol_crop_domain · vol_uncrop · vol_tiled_map
*Provenance: volops.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.