Abstract

Single-shot autofocus replaces the focal-plane sweep in digital microscopy with a deep model that predicts the focus offset, in microns, from one image, speeding up acquisition. These methods must work reliably across stains, tissues, and laboratories. This study measured a fivefold cross-domain gap across six domains spanning three scanners and three stains: the mean absolute error rose from 0.88 to 4.62 μm, and the predicted sign was wrong on 43% of out-of-focus tiles against 7% in domain. Recent works credited a Fourier or wavelet input representation with increasing cross-domain robustness. However, such a transform and photometric augmentation, a standard regularization method, act on the same source of variation, the stain- and scanner-dependent appearance of the tile. A representation that is a separate mechanism should therefore still reduce the error once the augmentation is present. The experiment crossed five input representations with two augmentation presets over the six domains, training 300 models evaluated in domain and out of domain, with contrasts estimated from mixed models. Input representation and photometric augmentation proved substitutes rather than separate mechanisms: an alternative representation lowered out-of-domain error only when photometric augmentation was absent, and once it was present the inputs were statistically indistinguishable. Collapsing the input to a single grayscale channel recovered 1.73 μm of the 2.51 μm reduction; the frequency and wavelet inputs added a further 0.7–0.8 μm reduction (p < 0.012) but this vanished under photometric augmentation. Neither factor closed the cross-domain gap: out-of-domain performance remained poor in every configuration.

Links to Paper and Supplementary Materials

Main Paper (Open Access Version): https://papers.miccai.org/miccai-2026-sat/paper/COMPAYL_035.pdf

SharedIt Link: Not yet available

SpringerLink (DOI): Not yet available

Supplementary Material: https://papers.miccai.org/miccai-2026-sat/supp/COMPAYL_035_supp.pdf

Link to Open Review

Open Review Page: https://openreview.net/forum?id=ka87pdEaKO&referrer=%5BProgram%20Chair%20Console%5D(%2Fgroup%3Fid%3DMICCAI.org%2F2026%2FWorkshop%2FCOMPAYL%2FProgram_Chairs%23submission-status)

BibTex

@InProceedings{HarNik_Investigation_MICCAISAT2026,
        author = { Hargarter, Niklas AND Ammeling, Jonas AND Porsche, Nils AND Banerjee, Sweta AND Schabel, F. Maria AND Bertram, Christof A. AND Neumann, Annina AND Aubreville, Marc},
        title = { { Investigation of Factors Contributing to Domain Generalization in Single-Shot Autofocus } },
        booktitle = {Medical Image Computing and Computer Assisted Intervention -- MICCAI 2026 Workshops and Challenges},
        year = {2026},
        publisher = {Springer Nature Switzerland},
        volume = {LNCS 17251},
        month = {pending},
        page = {pending}
}


back to top