# L53 · Exact packed-mask suppression

[Benchmark and representative scene](/results/l53/) · [protocol](/results/l53/protocol.json) · [timings](/results/l53/results.json) · [implementation](/diatom_pilot/fast_mask_nms.py)

We implemented full-resolution greedy binary-mask IoU suppression with packed bits and safe area/bounding-box prechecks. It retains the first matching kept mask as the suppression alias, exactly like the previous implementation, including empty-mask IoU behavior. It retains original mask objects and produces alias records; it does not change or justify the suppression policy. Two valid overlapping diatoms can still be suppressed if their masks overlap strongly, so original candidates and aliases must remain available.

On six fixed R63 synthetic scenes (1,682 total prefiltered candidates), old and packed implementations produced exactly the same 1,078 kept IDs and all alias mappings. One sequential CPU timing per scene totaled 19.39 seconds for the original and 0.57 seconds for packed suppression, excluding inference. These are exploratory timings under concurrent experiment load, not a stable speed ratio or end-to-end throughput claim. Randomized tests, exact-threshold and empty-mask cases compare results against a straightforward full-mask implementation. R64 uses this implementation for its ranked stream and checks all resulting rankings and aliases against the original implementation on every scene.
