Abstract
The quick detection of specific substances in objects such as produce items via non-destructive visual cues is vital to ensuring the quality and safety of consumer products. At the same time, it is well-known that the fluorescence excitation-emission characteristics of many organic objects can serve as a kind of “fingerprint” for detecting the presence of specific substances in classification tasks such as determining if something is safe to consume. However, conventional capture of the fluorescence excitation-emission matrix can take on the order of minutes and can only be done for point measurements. In this paper, we propose a coded illumination approach whereby light spectra are learned such that key visual fluorescent features can be easily seen for material classification. We show that under a single coded illuminant, we can capture one RGB image and perform pixel-level classifications of materials at high accuracy. This is demonstrated through effective classification of different types of honey and alcohol using real images.
Introduction
Identifying specific substances in organic objects—such as detecting contaminants in food or verifying the origin of a product—is often impossible using standard cameras because many substances have nearly identical reflectance (color).
Fluorescence offers a solution. Many organic materials absorb light at one wavelength (excitation) and emit it at a longer wavelength (emission). This relationship, mapped in an Excitation-Emission Matrix (EEM), acts as a unique chemical fingerprint. However, traditional EEM capture is slow, often taking minutes to scan a single point. This makes it impractical for high-speed applications like industrial conveyor belts.
The authors of "Coded Illumination and Imaging for Fluorescence Based Classification" (ECCV 2018) bridge this gap by asking: how can we capture these fluorescent signatures instantly across an entire image using affordable hardware?
Methods: Coded Illumination Framework
The core innovation is a Coded Illumination framework. Instead of scanning every wavelength, the system "learns" a specific, complex light spectrum that maximizes the visual difference between materials.
- Imaging Model: The authors created a mathematical model combining standard reflectance with fluorescent emission. They define the light reaching the camera as a function of the illuminant spectrum, the material's EEM, and the camera's spectral response.
- Joint Learning: Unlike previous methods that only optimized light, this approach jointly learns the illuminant spectrum and the RGB channel weights of the camera using an SVM-based optimization.
- Single-Shot Constraint: They enforce a "non-negative" constraint on the learned light, ensuring the resulting spectrum can be produced by a physical light source in a single exposure.
Experimental Setup and Datasets
The authors built a custom dataset of consumer products known for complex fluorescent properties, including 11 brands of honey and 15 types of alcohol.
- Honey: Acacia, Canadian Clover, and Orange botanical origins.
- Alcohol: Whisky, Scotch, Bourbon, Brandy, and Cognac.
- Ground Truth: High-end fluorescence spectrometers captured $20 \times 20$ hyperspectral EEMs for each sample to serve as training data.
Key Results
The proposed coded illumination significantly outperformed standard lighting (LED, Fluorescent, and Incandescent):
- Honey Classification: In the "Acacia vs. Clover" test, coded illumination achieved 91.17% accuracy, while standard lights struggled at roughly 50% (essentially random guessing).
- Alcohol Classification: The system achieved near-perfect results for some pairs, such as 100% accuracy for Scotch vs. Cognac and 99.5% for Whisky vs. Cognac.
- Real-World Validation: They successfully moved from simulation to a physical prototype using a Nikon ELS programmable light source and a PointGrey RGB camera, proving the method works in real-world conditions.
Conclusion
This work demonstrates that for organic materials, "hidden" fluorescent data is far more discriminative than visible color. By carefully shaping the light source, complex chemical information can be compressed into a standard 3-channel RGB image, enabling high-accuracy, single-shot material classification. Future work may involve designing custom physical optical filters for the camera to further enhance the signal.
Summary updated