# R68 · Select contrast boxes before SAM inference

[Visual comparisons](/results/r68/) · [replay protocol](/results/r68/protocol.json) · [selected IDs and scores](/results/r68/results.json) · [actual reruns](/results/r68/rerun-results.json)

We explored four image-only ways to choose a fixed 20 or 40 of 80 contrast boxes per plane on previously examined R64 synthetic scenes: the original contrast order, a 4×4 spatial-cell round robin, descending same-plane detector-box IoU, and an interleaved detector/spatial hybrid. Selection occurs before looking at saved mask quality, mask pixels or synthetic targets. Existing quality and area filtering, full-mask IoU ≥0.8 NMS, detector-mask-overlap ranking and R67 three-stream round robin then run unchanged. Scores use one-to-one synthetic full-mask IoU ≥0.5 after prediction. The prefix policies reproduce L56 rankings and suppression aliases scene by scene.

| Box policy, nine synthetic crossing scenes | Boxes per plane | Top 5 | Top 10 | Top 20 | All | Retained masks |
|---|---:|---:|---:|---:|---:|---:|
| Original prefix | 20 | 7/18 | 7/18 | 7/18 | 7/18 | 451 |
| Spatial | 20 | 7/18 | 7/18 | 7/18 | 7/18 | 409 |
| Detector-box overlap | 20 | 8/18 | 8/18 | 8/18 | 8/18 | 454 |
| Hybrid | 20 | 8/18 | 8/18 | 8/18 | 8/18 | 432 |
| Original prefix | 40 | 7/18 | 7/18 | 7/18 | 7/18 | 879 |
| Spatial | 40 | 7/18 | 9/18 | 9/18 | 9/18 | 838 |
| Detector-box overlap | 40 | 7/18 | 8/18 | 8/18 | 8/18 | 880 |
| Hybrid | 40 | 7/18 | 9/18 | 9/18 | 9/18 | 866 |

The 80-box baseline matched 9/18 at top 10 and 10/18 with all candidates, retaining 1,740 masks. Equal top-10 totals do **not** mean spatial-40 found the same instances: it lost a match in one crossing scene and gained one in another. This is a modest, exploratory signal on three repeated synthetic source pairs, not validation of spatial selection.

To test replay fidelity, we reran SAM on spatial-40 and original-prefix-80 box coordinates for four selected scenes, including a background control. All 2,400 regenerated masks were pixel-identical to the corresponding saved 80-box outputs, quality scores were identical, and no quality/area filter eligibility changed. A single five-plane SAM encoding plus prompt pass took about 2.76–2.84 seconds for spatial-40 versus 4.30–4.48 seconds for prefix-80 on this CPU. Box selection/generation, detector inference, NMS and scoring were excluded; one run per case does not establish production throughput. All rerun masks and per-candidate differences are retained.

These are already inspected artificial images; detector/model training overlap, biological independence and structural mask quality are unverified. Background-only candidates include unlabeled natural material and cannot be called false positives. Original full-resolution image content and all candidate alternatives remain available for later species identification. Freeze spatial-40 and compare to prefix-40 and prefix-80 on different source IDs and slide filenames, then use independently adjudicated real microscope overlap/partial examples before operational claims.
