blob_select_largest — BLOB select op

Data kinds: labels2dlabels2d

Call: import blob2d; blob2d.blob_select_largest(labels: 'Any', count: 'int' = 1) -> 'np.ndarray' (or opsblob.get("blob_select_largest"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

面積の大きい順に `count` 個だけ残す(番号は面積の降順に振り直す)。

同じ面積が並んだときは元の番号が小さいほうを先にする(実行ごとに順序が

変わらないよう `argsort を安定ソートで固定してある)。count` が

物体数より多くてもあるだけ返す(足りないことを例外にはしない ——

「上位 3 個」を頼んで 2 個しか無いのは異常ではない)。

Detailed usage guide

blob_analysis family guide

References (sample data, literature)

• 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.

Runnable examples (verified samples that actually call this op)

poc_gear_tooth_metrologypy -3.11 examples/poc_gear_tooth_metrology.py

poc_wound_area_trackingpy -3.11 examples/poc_wound_area_tracking.py

Ops the type connects to (they accept labels2d as input)

blob_features · blob_select · blob_split · blob_region · blob_boundaries · blob_overlay

Same category (select)

blob_select


*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.