Schematic diagram of the rainbow trapping metasurface used in lung cancer diagnosis (left) and trapped “rainbow” localization images for spectral analysis observed by a 4× objective lens (right).