vol_label — 3D regionprops op

数据种类:voxellabels

调用: import fullseye as fs; fs.ledger.vol_label(vol_binary, connectivity=26)(要直接调用实现,import volops; volops.vol_label(vol_binary, connectivity=26);从台账取用则 ops3d.get("vol_label"))

经台账调用的返回值: fullseye.ledger.vol_label(...) 只返回**声明的 out 类型 labels 的值**(底层函数还会返回辅助信息)。需要被丢弃的部分时,使用 fullseye.ledger.vol_label.raw(...),或直接调用 volops.vol_label

• 底层返回: (labels, n)

用法

可选邻域的 3-D 连通成分标记。

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

*connectivity* chooses the structuring element: `6` (face neighbours only),

`18 (faces + edges), or 26` (faces + edges + corners — the default,

`ndimage.generate_binary_structure(3, 3)). A non-{0, 1}` input is

thresholded at `> 0.5`.

Returns `(labels, n) — an int32 volume whose voxels are 0`

(background) or a component id in `1..n, and the component count n`.

The neighbourhood genuinely matters: two blobs meeting only at a corner are

*two* components under 6-connectivity but *one* under 26.

背景知识指南(该算子背后的物理与约定)

measurement_uncertainty — 計測の不確かさと校正の知識 — 「測れている」を主張するために

参考(示例数据・文献)

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

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

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

ct_bone_segmentationpy -3.11 examples_3d/ct_bone_segmentation.py

molecule_atom_countpy -3.11 examples_3d/molecule_atom_count.py

vessel_metrologypy -3.11 examples_3d/vessel_metrology.py

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

fuse_to_voxel · vol_region_props

同类别(regionprops)

label_components · region_props · largest_component · filter_by_volume · inner_box3 · vol_region_props


*Provenance: volops.py — 3D 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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