Imaging mass spectrometry has emerged in the past decade as a label-free, spatially resolved and multi-purpose bioanalytical technique for direct analysis of biological samples. However, solving two everyday data analysis problems still requires expert judgment: (i) the detection of unknown molecules and (ii) the testing for presence of known molecules.