Spatial metabolomics using mass spectrometry imaging (MSI) is a powerful tool to map hundreds to thousands of metabolites in biological systems. One major challenge in MSI is the annotation of m/z values, which is substantially complicated by background ions introduced throughout the c...