region_props — 3D regionprops op

데이터 종류: voxeltable

호출: import fullseye as fs; fs.ledger.region_props(vol, connectivity: 'int' = 26) -> 'list[dict]'(구현을 직접 호출하려면 import regionprops3d; regionprops3d.region_props(vol, connectivity: 'int' = 26) -> 'list[dict]', 원장에서 가져오려면 ops3d.get("region_props"))

사용법

각 연결 성분의 리전 프로퍼티 목록을 돌려줍니다.

> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.

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)

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

補足:

• 全量はボクセル単位(スペーシング補正なし)。実寸が要るなら `volume に voxel 体積、centroid / bbox / principal_lengths` に各軸のスペーシングを掛ける(非等方だと主軸方向は歪む)。

• `principal_lengths は座標の母共分散(N で割る)の固有値の平方根で、成分の半径ではなく座標の標準偏差。1 ボクセルの成分は principal_axes が単位行列、principal_lengths` が全 0。

• `surface_area は配列端に接する面も数える(ゼロ padding)。sphericity` は離散化のため球でも約 0.66 が上限(モジュール docstring 参照)。

• ラベルは 1..n の順(`label_components` と同じ scipy の走査順)で、体積順ではない。並べ替えは呼び手で行う。

• 入力は 0 以外を前景として bool 化する(NaN も前景)。Raises `ValueError: 3 次元でない入力、connectivity` が 6/18/26 以外。

배경 지식 가이드(이 연산자 앞에 있는 물리·규약)

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

참고(샘플 데이터·문헌)

• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.

• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.

실행 가능한 예제(이 연산자를 실제로 호출하는 검증된 샘플)

region_props_3dpy -3.11 examples_3d/region_props_3d.py

타입이 이어지는 다음 연산자(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 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

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