L2 · Focus and prompted masks
Does the mask for a marked crossing change when a different focal plane is used?
Each row compares a MobileSAM point-prompt mask at the focal plane saved with a practice click to a mask prompted at the same location on the plane with the highest local contrast. The yellow dot is the supplied click. Plane indices start at zero. The contrast score is a rough focus proxy and can respond to neighboring objects and debris.

The contrast peak differed from the recorded plane in 13 of 14 examples. Some masks change considerably; one crowded case appears to separate a single valve better, while another expands onto surrounding material. An expert needs to determine which structures the clicks represent and whether either mask is correct.
These are selected, nonexpert marks and the prompt location was supplied in advance. The recorded plane may have been a default rather than a deliberate focus choice. This does not measure automatic detection, segmentation accuracy or improvement from changing focus.
Download comparisons and full-mask pathsResearch noteExperiment code