Abstract
As spectral imaging techniques are becoming more prominent in science, advanced image segmentation algorithms are required to identify appropriate domains in these images. We present a version of image segmentation called manifold projection image segmentation (MPIS) that is generally applicable to a broad range of systems without the need for training because MPIS uses unsupervised machine learning with a few physically motivated hyperparameters. We apply MPIS to nano-XANES imaging, where X-ray Absorption Near Edge Structure (XANES) spectra are collected with nanometer spatial resolution. We show the superiority of manifold projection over linear transformations, such as the commonly used Principal Component Analysis (PCA). Moreover, MPIS maintains accuracy while reducing computation time and sensitivity to noise compared to the standard nano-XANES imaging analysis procedure. Finally, we demonstrate how multimodal information, such as X-ray Fluorescence (XRF) data and spatial location of pixels, can be incorporated into the MPIS framework. We propose that MPIS is adaptable for any spectral imaging technique, including Scanning Transmission X-ray Microscopy (STXM), where the length scale of domains is larger than the resolution of the experiment.