Spectral encoding is a recently developed, single optical fiber imaging approach that projects different wavelengths to distinct locations on a sample. In so doing, it enables a wide variety of reflectance and fluorescence medical imaging devices, including miniature endoscopes and handheld probes for two- and three-dimensional macroscopic imaging and microscopy.