regionprops op• Data kinds: voxel → voxel
• Call: import fullseye as fs; fs.ledger.largest_component(vol, connectivity: 'int' = 26) -> 'np.ndarray' (to call the implementation directly, import regionprops3d; regionprops3d.largest_component(vol, connectivity: 'int' = 26) -> 'np.ndarray'; from the registry, ops3d.get("largest_component"))
Return the bool mask of the largest (most voxels) connected component.
> The detailed description below is the original text — the summary and the headings are translated.
前景が無い場合は全 False マスク(vol と同形状)。
補足:
• 内部で `label_components を呼び、bincount` でラベルごとのボクセル数を数えて最大を選ぶ。同数のときは番号の小さいラベル(scipy の走査順で先)が勝つ。
• 入力は 0 以外を前景として `bool` 化する(NaN も前景)。軸順は (z, y, x)。
• 返り値は入力と同形状の bool。前景が無ければ全 False(例外にはしない)。
• Raises `ValueError: 3 次元でない入力、connectivity` が 6/18/26 以外。
• 典型: 閾値処理で出た二値ボリュームからノイズ塊を捨てて主対象だけ残す。複数を残したいなら `filter_by_volume、特徴で選ぶなら vol_select_labels`。
• measurement_uncertainty — 計測の不確かさと校正の知識 — 「測れている」を主張するために
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• region_props_3d — py -3.11 examples_3d/region_props_3d.py
voxel as input)voxel_to_mips · voxel_to_mesh · signed_distance_field · to_points · sobel3d · hessian3d · curvature_maps · edt_jfa
regionprops)label_components · region_props · filter_by_volume · inner_box3 · vol_label · vol_region_props
*Provenance: regionprops3d.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.