regionprops opvoxel → labelsimport 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 connected-component labelling with a selectable neighbourhood.
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.
py -3.11 examples_3d/ct_bone_segmentation.pypy -3.11 examples_3d/molecule_atom_count.pypy -3.11 examples_3d/vessel_metrology.pylabels を入力に取れる)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 operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.