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.