vol_region_props — 3D regionprops op

• 資料種類:labels → table

• 呼叫: import fullseye as fs; fs.ledger.vol_region_props(labels, spacing=None, surface='auto')(要直接呼叫實作,import volops; volops.vol_region_props(labels, spacing=None, surface='auto');從台帳取用則 ops3d.get("vol_region_props"))

用法

由標籤體給出逐成分的定量描述量。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

*labels* is the int volume returned by vol_label (or any integer labelling; voxels <= 0 are background). Pass *spacing* (sz, sy, sx) (or

a volio.VolumeMeta) to report physical volume in mm**3 and physical surface area in mm**2. *surface* selects the surface-area estimator:

"auto" (marching cubes when scikit-image is importable, else exposed faces), "marching" (require marching cubes), or "faces" (always the face count).

Returns a list[dict] (one per label 1..n, in ascending label order), each with:

label id · voxel_count · volume (voxels, or mm**3 with spacing) · centroid (z, y, x) in voxel-index coordinates · bbox (z0, z1, y0, y1, x0, x1) with exclusive upper bounds (slice stop) · surface_area (voxel-face units, or mm**2 with spacing) · sphericity (Wadell, ~1 for a sphere, lower for a slab; approximate — see module note).

背景知識指南(該運算子背後的物理與規範)

• measurement_uncertainty — 量測不確定度與校正知識 —— 為了能主張「量得準」

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• vessel_metrology — py -3.11 examples_3d/vessel_metrology.py

型別可銜接的下一個運算子(可接受 table 作為輸入)

fuse_to_voxel · mesh_select_lod

同類別(regionprops)

label_components · region_props · largest_component · filter_by_volume · inner_box3 · vol_label


*Provenance: volops.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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