fullseye

region_props — 3D regionprops op

使い方

各連結成分のリージョンプロパティ一覧を返す。

Parameters

vol : array_like bool または 0/1 の 3D 配列。 connectivity : int 6 / 18 / 26。

Returns

list[dict] 成分ごとの dict。キー: - label : ラベル番号 (int) - volume : ボクセル数 (int) - centroid : 重心 (z, y, x) の tuple(float) - bbox : (z0, y0, x0, z1, y1, x1)。z1/y1/x1 は排他的上端(stop) - extent : volume / bbox 体積(充填率、0..1) - principal_axes : (3,3) 主軸ベクトル(行、固有値降順) - principal_lengths: (3,) 主軸長 = 座標共分散固有値の平方根(降順) - equivalent_radius: 等価球半径 (3V/4π)^(1/3) - surface_area : 露出面カウント近似(ボクセル面単位) - sphericity : 等体積球表面積 / 実表面積(球=1 に近い、離散のため <1)

前景ボクセルが無い(または空入力)場合は空リスト。

補足:

背景知識ガイド(この op の手前にある物理・規約)

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

fuse_to_voxel · mesh_select_lod

同カテゴリ(regionprops)

label_components · largest_component · filter_by_volume · inner_box3 · vol_label · vol_region_props


Provenance: regionprops3d.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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