The acquisition of the same image in many wavelength regions
A camera/detector collects images of a sample from the reflected light of a light source in the visible and near-infrared regions usually in the range 400-1000nm. The sample is scanned typically using 20 different wavelengths intervals of the light source. Hyperspectral cameras compile spectral and spatial information in the form of a datacube. This forms a stack of images, where each image discloses a different wave band of reflected light, i.e., the light striking each pixel of a hyperspectral camera is broken down into its component spectral bands. As is the case in classical UV-Vis spectroscopy, different components or molecular structures will give different spectra, which translate into different colours.
The resulting image has to be analysed to be able to discriminate between the authentic component and the adulterating one. This uses computer software which analyses the spectral signature of all the pixels represented in each layer and builds a model to discriminate between the two classes of the sample. An example, below, is the addition of 10% common wheat to a sample of premium durum wheat.
The wheat grains are visually identical. Software removes the pixels of the background picture, leaving just the grains. The discrimination model is then applied to every pixel in the image, which grades the durum wheat spectrum as red, and the common wheat spectrum as blue.