blob_select_largest — BLOB select op

• Data kinds: labels2d → labels2d

• Call: import fullseye as fs; fs.ledger.blob_select_largest(labels: 'Any', count: 'int' = 1) -> 'np.ndarray' (to call the implementation directly, import blob2d; blob2d.blob_select_largest(labels: 'Any', count: 'int' = 1) -> 'np.ndarray'; from the registry, opsblob.get("blob_select_largest"))

Usage

Keeps only count objects in order of decreasing area (the numbers are reassigned in descending order of area).

When areas tie, the one with the smaller original number comes first (argsort is fixed to a stable sort so the order does not change between runs). Even if count exceeds the number of objects, whatever exists is returned (falling short is not an exception -- asking for "the top 3" and getting only 2 is not an anomaly).

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_am_thermal_to_ct — py -3.11 examples/poc_am_thermal_to_ct.py

• poc_gear_tooth_metrology — py -3.11 examples/poc_gear_tooth_metrology.py

• poc_solder_fillet_aoi — py -3.11 examples/poc_solder_fillet_aoi.py

• poc_wound_area_tracking — py -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.