Hyperspectral imaging benefits many fields of research, from medical imaging to environmental monitoring, but acquiring and transmitting the large amounts of raw data generated by the imaging technique can be cumbersome in practice, and data-compression algorithms can require lengthy reconstruction procedures at the other end of the pipeline.