HAMscope: a snapshot Hyperspectral Autofluorescence Miniscope for real-time molecular imaging
Alexander Ingold, Richard G. Baird, Dasmeet Kaur, Nidhi Dwivedi, Reed Sorenson, Leslie Sieburth, Chang-Jun Liu, Rajesh Menon
TL;DR
HAMscope presents a compact snapshot hyperspectral autofluorescence miniscope that encodes spectral information in every frame via a thin polymer diffuser and reconstructs 30-channel hyperspectral stacks or direct biomolecule maps using a probabilistic multi-pass U-Net with transformer attention. The approach delivers real-time, uncertainty-aware spectral imaging with per-pixel confidence and generalizes to out-of-distribution tissues, demonstrated in plant systems where lignin, chlorophyll, and suberin maps are recovered. Key contributions include a scalable architecture, direct biomolecule mapping from encoded frames, and quantitative metrics showing high fidelity (~MAE ≈ 0.0048) and improved spatial resolution after deconvolution. The work enables field-deployable, label-free biochemical imaging across plant biology and beyond, with potential extensions to neuroscience, pathology, and environmental monitoring.
Abstract
We introduce HAMscope, a compact, snapshot hyperspectral autofluorescence miniscope that enables real-time, label-free molecular imaging in a wide range of biological systems. By integrating a thin polymer diffuser into a widefield miniscope, HAMscope spectrally encodes each frame and employs a probabilistic deep learning framework to reconstruct 30-channel hyperspectral stacks (452 to 703 nm) or directly infer molecular composition maps from single images. A scalable multi-pass U-Net architecture with transformer-based attention and per-pixel uncertainty estimation enables high spatio-spectral fidelity (mean absolute error ~ 0.0048) at video rates. While initially demonstrated in plant systems, including lignin, chlorophyll, and suberin imaging in intact poplar and cork tissues, the platform is readily adaptable to other applications such as neural activity mapping, metabolic profiling, and histopathology. We show that the system generalizes to out-of-distribution tissue types and supports direct molecular mapping without the need for spectral unmixing. HAMscope establishes a general framework for compact, uncertainty-aware spectral imaging that combines minimal optics with advanced deep learning, offering broad utility for real-time biochemical imaging across neuroscience, environmental monitoring, and biomedicine.
