Exact mask suppression performance

This changes the computation, not which masks are suppressed. The same IoU-based greedy rule can still suppress valid overlapping diatoms; every original mask and alias must remain available. Single-run timings were measured while another experiment was running.

Six previously generated public-image synthetic scenes, using filtered contrast masks in saved order. Exact full-resolution IoU ≥0.8 suppression is compared, and every kept ID and alias must match. Total single-run time was 19.39 seconds for the original implementation and 0.57 seconds for the packed implementation, excluding model inference.

Original19.39sPacked0.57s
SceneInputsRetainedOriginal secondsPacked seconds
crossing_split · 13112074.1230.108
crossing_weak · 13022043.8050.103
crossing_same_middle · 22471582.4100.081
background_only · 22471512.3320.082
crossing_split · 32881813.3900.098
crossing_weak · 32871773.3270.098

Protocol and inputs · Full measurements. The sample scene below is a synthetic diatom composite from R63, based on public foreground images shared under CC BY-NC-SA 4.0.

Representative synthetic crossing and segmentation overlays