Can focus changes help separate objects?

This is a toy simulation: public diatom cutouts are added with Gaussian blur to real local focal-stack backgrounds. It is not calibrated microscope optics. Assigned peak indices are synthetic, not measured biological depth. All source objects and fields were previously inspected.

On three synthetic crossings, automatic detector-plus-SAM candidates matched 1/6 full source masks from the middle plane and 4/6 from a five-plane pool, with two versus eight retained candidates. The pool uses five times as many detector and segmentation passes and is not an equal-cost comparison. These are approximate full source masks, not expert-verified real-overlap labels.

Reference-mask contrast profiles identified the assigned synthetic focus index for 4/6 crossing objects; using only nonshared pixels yielded 5/6. These profiles require known object masks and are oracle diagnostics. In each graph each curve is independently normalized and represents local contrast, not depth or comparable absolute confidence.

Raw local stack crops, original source images, all automatic masks including suppressed alternatives, and source coordinates remain available. Scores and provenance · Frozen protocol · Posthoc per-plane audit · Suppression sensitivity · Archive format

Pair 1 · separated

Five simulated focal planes, source masks, automatic candidates, and oracle contrast curves

Synthetic focus indices: 1 and 3 · full-mask contrast peaks: [1, 3] · exclusive-mask peaks: [1, 3]. Automatic source-mask matches: middle plane 1/2 · five-plane pool 2/2. Planes, masks and unsuppressed proposals.

Pair 1 · crossing

Five simulated focal planes, source masks, automatic candidates, and oracle contrast curves

Synthetic focus indices: 1 and 3 · full-mask contrast peaks: [1, 1] · exclusive-mask peaks: [1, 3]. Automatic source-mask matches: middle plane 0/2 · five-plane pool 2/2. Planes, masks and unsuppressed proposals.

Pair 2 · separated

Five simulated focal planes, source masks, automatic candidates, and oracle contrast curves

Synthetic focus indices: 1 and 3 · full-mask contrast peaks: [1, 3] · exclusive-mask peaks: [1, 3]. Automatic source-mask matches: middle plane 1/2 · five-plane pool 1/2. Planes, masks and unsuppressed proposals.

Pair 2 · crossing

Five simulated focal planes, source masks, automatic candidates, and oracle contrast curves

Synthetic focus indices: 1 and 3 · full-mask contrast peaks: [3, 3] · exclusive-mask peaks: [3, 3]. Automatic source-mask matches: middle plane 1/2 · five-plane pool 1/2. Planes, masks and unsuppressed proposals.

Pair 3 · separated

Five simulated focal planes, source masks, automatic candidates, and oracle contrast curves

Synthetic focus indices: 1 and 3 · full-mask contrast peaks: [1, 3] · exclusive-mask peaks: [1, 3]. Automatic source-mask matches: middle plane 0/2 · five-plane pool 1/2. Planes, masks and unsuppressed proposals.

Pair 3 · crossing

Five simulated focal planes, source masks, automatic candidates, and oracle contrast curves

Synthetic focus indices: 1 and 3 · full-mask contrast peaks: [1, 3] · exclusive-mask peaks: [1, 3]. Automatic source-mask matches: middle plane 0/2 · five-plane pool 1/2. Planes, masks and unsuppressed proposals.

Public source cutouts: Hüseyin Gündüz, Diatom Dataset, CC BY-NC-SA 4.0; images cropped, resized, artificially blurred, composited and overlaid; derivatives shared noncommercially under the same license. Backgrounds are local Academy scan crops.