Schematic of MSSI computation ( Methods ) for comparing two spatial expression profiles. Each profile is iteratively downsampled using spectral pooling on the cell proximity graph, and the SSIM is computed at each scale. MSSI is a weighted geometric mean of the SSIM computed at five scales, providing a spatially aware similarity metric on a scale from 0 to 1.