vol_reduce_domain — 3D domain op

数据种类:voxel × voxelvoxel

调用: import fullseye as fs; fs.ledger.vol_reduce_domain(vol, domain)(要直接调用实现,import volops; volops.vol_reduce_domain(vol, domain);从台账取用则 ops3d.get("vol_reduce_domain"))

用法

把体限制在 *domain* 掩码内(HALCON `reduce_domain`,逐体素)。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

Every voxel outside the foreground of *domain* is set to `0` — the same

"outside the domain is undefined -> 0" convention the 2-D `it_crop_domain`

op uses (a plain numpy array cannot carry a separate domain channel, so the

restriction is materialised). A non-`{0, 1}` *domain* is thresholded at

`> 0.5`. Use it to silence everything a downstream operator must not see

(metal artefacts, the scanner bed, a neighbouring part); combine with

:func:vol_crop_domain when you also want the *memory* of the volume

reduced, not just its values.

Returns a `(D, H, W)` float64 volume of the same shape.

参考(示例数据・文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

可运行的示例(实际调用该算子并已验证的样例)

roi_domain_boundarypy -3.11 examples_3d/roi_domain_boundary.py

类型可衔接的下一个算子(可接受 voxel 作为输入)

voxel_to_mips · voxel_to_mesh · signed_distance_field · to_points · sobel3d · hessian3d · curvature_maps · edt_jfa

同类别(domain)

vol_bounding_box · 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.