vol_bounding_box — 3D domain op

데이터 종류: voxelprimitive

호출: 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.

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

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

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

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

rle_region_efficiencypy -3.11 examples_3d/rle_region_efficiency.py

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

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