Creating an image via spectral scans