W (white)
Exploration of Multispectral Light Source Applications in Industrial Vision Inspection — A Defect-Enhanced Imaging Scheme Based on PCA Fusion and 2.5D Photometric Stereo
Apr 29,2026
In recent years, the application of artificial intelligence algorithms in industrial vision has become increasingly widespread, with detection accuracy steadily improving from traditional machine learning to deep learning models. However, in numerous real-world projects, practitioners have increasingly encountered a challenging practical issue: when the input images themselves lack sufficient information, even the most sophisticated AI models struggle to reliably and accurately detect genuine defects.
Against this backdrop, an increasing number of engineering applications are revisiting the critical pre‑AI stages—imaging and feature extraction. Principal Component Analysis (PCA), one of the most classic and fundamental dimensionality‑reduction techniques in the field of artificial intelligence, may not be a cutting‑edge algorithm, yet it demonstrates exceptional practical value in processing multispectral and high‑dimensional visual data. When combined with a controllable multispectral illumination system, PCA can significantly enhance the information density of discriminative features in images—without relying on deep‑learning model training.
This paper presents an industrial vision imaging solution based on an eight‑color, four‑zone multispectral light source, offering two distinct temporal illumination strategies that enable multispectral PCA‑based pseudocolor imaging and photometric stereo 2.5D surface reconstruction, thereby providing an efficient and interpretable AI‑driven front‑end solution for detecting defects such as color variations, pits, and bubbles.
I. Multispectral Mode
This mode is primarily used in inspection scenarios involving color differences, material mixing, and uneven coatings. The multispectral light source sequentially illuminates eight colors (W, B, G, UV, AM, R, FR, IR) according to a preset sequence, while the camera captures eight images. During image processing, these eight multispectral images are stacked into an eight-dimensional feature vector, with each pixel location encoding grayscale information across the eight spectral bands.
However, when directly leveraging multidimensional spectral features for analysis, one often encounters challenges such as feature‑dimensional redundancy, strong inter‑channel correlations, and difficulties in visualization. On the one hand, there is a certain degree of information overlap among different spectral channels, and simple aggregation fails to effectively highlight key differences; on the other hand, high‑dimensional features are both impractical for intuitive interpretation and can compromise the stable performance of downstream algorithms.
Therefore, it is necessary to further compress and reorganize the multidimensional spectral features—reducing the feature dimensionality while suppressing redundant components, all while preserving as much discriminative information as possible. On this basis, a lightweight AI technique such as principal component analysis (PCA) can be employed to perform statistical modeling on the eight-dimensional spectral features; by analyzing the correlations among the spectral channels, the most discriminative feature combinations can be automatically extracted. Following the PCA transformation, the first three principal components are mapped into the RGB color space, yielding a pseudocolor image that integrates multispectral information.
As revealed by the comparative analysis of eight multispectral images, under single‑image conditions, color‑differentiated defects on the sample exhibit a notably higher contrast in the infrared spectral band, whereas their visibility is comparatively weaker in other spectral channels. In conventional algorithmic processing, such multispectral data typically require separate preprocessing and analysis for each individual image, resulting in a complex workflow and making it difficult to integrate and leverage information across different spectral bands in a unified manner.
In contrast, after dimensionality reduction and fusion via PCA, only a single pseudo‑color image integrating multispectral information is generated, allowing regions with color‑distinguishing defects to be visualized in a more intuitive and concentrated manner. While significantly enhancing defect detectability, this approach compresses multiple images that would otherwise require separate processing into a single output image, substantially reducing computational load and post‑processing complexity, thereby improving overall inspection efficiency.
By comparing the three fused images, it is readily apparent that false-color imagery does not reproduce true colors; rather, it provides a concentrated representation of multispectral spectral differences, rendering subtle color or material distinctions—otherwise difficult to discern under single‑illumination conditions—in the form of clear, stable color contrasts.
II. Photometric Stereo 2.5D Surface Reconstruction Mode
In addition to the multispectral color‑difference detection mode, this eight‑color, four‑zone light source also supports a 2.5D surface reconstruction mode based on photometric stereo, primarily used for enhanced imaging and quantitative inspection of various minute geometric defects—such as pits, bubbles, scratches, dents, orange‑peel texture, and coating undulations—on Lambertian reflective surfaces. In this mode, the lighting system employs temporal control according to spatial zoning: the four zones are positioned at different incident angles relative to the object under test, generating controllable shadow variations through multi‑angle directional illumination, thereby enabling the reconstruction of the object’s surface normal distribution.
Under conventional 2D imaging conditions, defects such as pits, bubbles, and indentations typically manifest only as subtle variations in brightness, making them highly susceptible to interference from material textures, background noise, and uneven illumination. By contrast, 2.5D height‑reconstruction results obtained using photometric stereo techniques transform surface micro‑defects—from weak contrast variations in the original grayscale domain—into geometric undulations in the height domain, thereby endowing them with greater discriminability and stability in spatial form. The following figure presents a set of photometric‑stereo‑derived composite images of intaglio characters:
Conclusion
In the field of industrial visual inspection, while advancing algorithmic capabilities is undoubtedly crucial, the upper limit of information acquisition at the imaging stage often directly determines the ultimate performance of the inspection system. The eight‑color, four‑zone multispectral illumination scheme presented in this paper breaks through at the very source of imaging: by finely tuning both the spectral characteristics and the illumination configuration, it delivers richer, more discriminative input data for downstream analysis.
In multispectral mode, the lightweight AI technique of PCA is employed to efficiently compress and reorganize multidimensional spectral features, consolidating the subtle differences originally dispersed across multiple images into a single pseudocolor image. This not only markedly enhances the visibility of color‑related defects but also streamlines the algorithmic processing pipeline, thereby boosting both detection efficiency and system stability.
Leveraging the light source’s zone‑based illumination capability, the system can further enable photometric stereo 2.5D surface reconstruction, providing a precise means of detecting minute geometric defects such as pits, bubbles, and scratches. By employing a streamlined, time‑sequenced lighting strategy, the same light‑source setup can address multiple typical industrial defect scenarios, offering both strong versatility and practical engineering value.
Overall, this multispectral light‑source solution does not rely solely on complex algorithms to enhance detection performance; instead, it leverages the synergistic interplay between an optimized optical design and lightweight AI techniques to transform “hard‑to‑distinguish problems” into “easier‑to‑classify ones,” thereby paving a highly efficient, interpretable, and easily deployable technical pathway for industrial vision inspection systems.
Related News
















