extract op• Data kinds: labels2d → mask
• Call: import fullseye as fs; fs.ledger.blob_region(labels: 'Any', index: 'int') -> 'np.ndarray' (to call the implementation directly, import blob2d; blob2d.blob_region(labels: 'Any', index: 'int') -> 'np.ndarray'; from the registry, opsblob.get("blob_region"))
> This operator's description has not been translated yet. The original text follows as it is.
物体 1 個を二値領域(bool)として抜く。`index` は 1 起点。
`labels == index を返すだけの選択 op。番号は blob_label` が付けた 1..n の
連番で、0 は背景。
• `labels: 2-D の整数ラベル画像(blob_label / blob_select` /
`blob_split` の出力)。bool マスクは拒否(「複数物体を 1 個として測る」
事故を防ぐため、先に `blob_label` を掛けるよう促す)。float も拒否
(`0.999 がどの物体か決められない)。負の番号があれば ValueError`。
• `index: 1 <= index <= labels.max()` の int。0(背景)や範囲外は
`ValueError。blob_features の label 列、blob_select_largest` の
結果(1 から振り直される)と同じ番号体系。
• 返り値: `(H, W)` の bool。空になることはない(番号は必ず存在する
―― ただし `blob_select` で番号を振り直していない自作ラベルに欠番があれば
全 False が返りうる)。
抜いた領域は `blob_distance(距離変換)や blob_overlay` の重ね描き、
`annotate_outline` の輪郭描画にそのまま渡せる。
• 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.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
• poc_gear_tooth_metrology — py -3.11 examples/poc_gear_tooth_metrology.py
• poc_particle_sizing — py -3.11 examples/poc_particle_sizing.py
mask as input)extract)blob_boundaries · blob_overlay
*Provenance: blob2d.py — BLOB 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.