domain op• Data kinds: voxel → voxel
• Call: import fullseye as fs; fs.ledger.vol_crop_domain(vol, domain=None, margin=0) (implementation को सीधे call करना हो तो import volops; volops.vol_crop_domain(vol, domain=None, margin=0), registry से लेना हो तो ops3d.get("vol_crop_domain"))
• Ledger के ज़रिए return value: fullseye.ledger.vol_crop_domain(...) केवल घोषित out type voxel का value लौटाता है (मूल function सहायक जानकारी भी लौटाता है)। जो हिस्सा छोड़ दिया गया है उसकी ज़रूरत हो तो fullseye.ledger.vol_crop_domain.raw(...) का उपयोग करें, या volops.vol_crop_domain को सीधे call करें।
• मूल function का return: (part, offset)
volume को domain के tight bounding box तक crop करता है (HALCON crop_domain)।
> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।
This is the memory lever of the domain family: a 512**3 CT scan whose part of interest fits in 128**3 costs 64x less memory and compute once cropped — and the Hessian operators (vol_frangi / vol_sato), capped at MAX_EIGEN_VOXELS, often become *possible* only after this step. Gray values inside the box are kept verbatim (the box, not the mask, defines the crop — pair with vol_reduce_domain first if voxels outside the mask but inside the box must read 0).
*domain* defaults to the volume's own non-zero support (vol != 0 — a gray volume is cropped to wherever it has any signal; note this differs from the > 0.5 convention used when an explicit binary *domain* is passed). *margin* is forwarded to vol_bounding_box.
Returns (cropped, offset) — the (d, h, w) float64 sub-volume and the (z0, y0, x0) voxel offset of its origin in the input frame. Keep the
offset: vol_uncrop maps results back, and vol_boundary_points accepts it as *origin* so point coordinates stay in the uncropped frame. An empty domain raises ValueError (fail-closed).
• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।
• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।
• roi_domain_boundary — py -3.11 examples_3d/roi_domain_boundary.py
voxel को input के रूप में लेते हैं)voxel_to_mips · voxel_to_mesh · signed_distance_field · to_points · sobel3d · hessian3d · curvature_maps · edt_jfa
domain)vol_reduce_domain · vol_bounding_box · vol_uncrop · vol_tiled_map
*Provenance: volops.py — 3D operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.