Fig. 3: Comparison of different encoder numbers.

a Spatial interpolation comparison for a single band image using 2 × 2– 5 × 5 encoder configurations. b Spectral reconstruction performance comparison for 2 × 2–5 × 5 encoder configurations, the insets show the color palette for which each patch’s spectra was reconstructed, spatially interpolated as in (a). (c–e) Scanning electron microscope images of experimental realizations of 2 × 2 to 4 × 4 encoder configurations. Source data are provided as Fig. 3 data.