|
|
|
|
|
|
Computational Color Constancy Calculation Method for Spectral Imaging |
HUANG Hao, LIAO Ning-fang*, ZHAO Chang-ming, WU Wen-min, FAN Qiu-mei |
State Key Discipline Laboratory of Color Science and Engineering, School of Optics and Photonics, Beijing Institute of Technology, Beijing 100081, China
|
|
|
Abstract Spectral imaging can record the spectral information of the scene to achieve high-fidelity color reproduction. The spectral image is usually mixed with the spectral information of the object and the light source information at the same time, so the existing color reproduction methods of spectral imaging need to obtain the light source information of the environment through the calibration target placed in advance or the object with known spectral characteristics, and then correct the color constancy of the image. However, it is usually difficult to meet the above conditions in the actual use of spectral cameras, which brings challenges for image high-fidelity color reproduction. A calculation method of image color constancy for spectral imaging was proposed. The spectral data obtained by the spectral imaging system were converted into the XYZ color space, and the image was divided into regions for statistics to get the statistical points of the image. According to the distribution rule of many common light sources, position weights and color temperature weights were applied to statistical points, and luminance weights were set to remove over-dark and over-saturated statistical points in the image. The chromaticity parameters of ambient light were obtained by weighted average. Moreover, the XYZ color space data of the image were converted to RGB color space according to the application requirements. The gains of different channels of the image were calculated according to the chromaticity parameters of ambient light to complete the spectral image’s color constancy calculation. In order to verify the effectiveness of the proposed algorithm, 140 spectral images were processed, and the reproduction angle error between the chromaticity of the ambient light obtained by the algorithm and the chromaticity of the real light source was calculated. The correction results showed that the proposed algorithm was better than the spectral images without processing and the Gray-world method. In order to further analyze the relationship between the algorithm correction results and human perception, a color psychophysics experiment was designed, 18 observers with normal vision participated in the experiment. The average score of all observers for the algorithm correction results was between good and excellent, which can meet the actual use needs. Along the direction of the average color temperature line, the chromaticity difference of the light source accepted by the observer was slightly larger than in other directions. When the image contained a large area of memory color, and the chromaticity of the light source shifted in a direction that increased the saturation of the memory color, the chromaticity difference accepted by the observer became larger. The results of objective and psychophysical experiments show that the proposed algorithm can deal with the image color constancy in spectral imaging well when the light source is unknown, and there is no calibration target, which lays a foundation for high-fidelity color reproduction of spectral images.
|
Received: 2022-02-09
Accepted: 2022-06-21
|
|
Corresponding Authors:
LIAO Ning-fang
E-mail: liaonf@bit.edu.cn
|
|
[1] Khan H A, Thomas J B, Hardeberg J Y. Scandinavian Conference on Image Analysis. Springer, Cham, 2017: 459.
[2] Khan H A, Thomas J B, Hardeberg J Y, et al. Journal of Imaging Science and Technology, 2018, 62(2): 20504-1.
[3] Shrestha R, Hardeberg J Y. Optics Express, 2014, 22(8): 9123.
[4] HUANG Hong-lian, YI Wei-ning, DU Li-li, et al(黄红莲, 易维宁, 杜丽丽, 等). Infrared and Laser Engineering(红外与激光工程), 2016, 45(11): 1126002.
[5] WANG Hong, YANG Jian-feng, XUE Bin, et al(王 红, 杨建峰, 薛 彬, 等). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2018, 38(3): 877.
[6] Foster D H, Amano K. Journal of the Optical Society of America A: Optics and Image Science, and Vision, 2019, 36(4): 606.
[7] Dougherty E R. Digital Image Processing Methods. CRC Press, 2020.
[8] Kruisselbrink T, Dangol R, Rosemann A. Building and Environment, 2018, 138: 42.
[9] Morimoto T, Kusuyama T, Fukuda K, et al. Journal of Vision, 2021, 21(3): 7.
[10] Prasad D K, Wenhe L. Journal of the Optical Society of America A: Optics and Image Science, and Vision, 2015, 32(7): 1390.
[11] Hsu W Y, Cheng H C. IEEE Access, 2021, 9: 111925.
|
[1] |
CHU Bing-quan1, 2, LI Cheng-feng1, DING Li3, GUO Zheng-yan1, WANG Shi-yu1, SUN Wei-jie1, JIN Wei-yi1, HE Yong2*. Nondestructive and Rapid Determination of Carbohydrate and Protein in T. obliquus Based on Hyperspectral Imaging Technology[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3732-3741. |
[2] |
YUAN Wei-dong1, 2, JU Hao2, JIANG Hong-zhe1, 2, LI Xing-peng2, ZHOU Hong-ping1, 2*, SUN Meng-meng1, 2. Classification of Different Maturity Stages of Camellia Oleifera Fruit
Using Hyperspectral Imaging Technique[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3419-3426. |
[3] |
SHEN Ying, WU Pan, HUANG Feng*, GUO Cui-xia. Identification of Species and Concentration Measurement of Microalgae Based on Hyperspectral Imaging[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3629-3636. |
[4] |
YANG Lei1, 2, 3, ZHOU Jin-song1, 2, 3, JING Juan-juan1, 2, 3, NIE Bo-yang1, 3*. Non-Uniformity Correction Method for Splicing Hyperspectral Imager Based on Overlapping Field of View[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3582-3590. |
[5] |
WANG Wen-song1, PEI Chen-xi2, YANG Bin1*, WANG Zhi-xin2, QIANG Ke-jie2, WANG Ying1. Flame Temperature and Emissivity Distribution Measurement MethodBased on Multispectral Imaging Technology[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3644-3652. |
[6] |
DONG Jian-jiang1, TIAN Ye1, ZHANG Jian-xing2, LUAN Zhen-dong2*, DU Zeng-feng2*. Research on the Classification Method of Benthic Fauna Based on
Hyperspectral Data and Random Forest Algorithm[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(10): 3015-3022. |
[7] |
JIANG Chun-xu1, 2, TAN Yong1*, XU Rong3, LIU De-long4, ZHU Rui-han1, QU Guan-nan1, WANG Gong-chang3, LÜ Zhong1, SHAO Ming5, CHENG Xiang-zheng5, ZHOU Jian-wei1, SHI Jing1, CAI Hong-xing1. Research on Inverse Recognition of Space Target Scattering Spectral
Image[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(10): 3023-3030. |
[8] |
WEI Zi-kai, WANG Jie, ZHANG Ruo-yu, ZHANG Meng-yun*. Classification of Foreign Matter in Cotton Using Line Scan Hyperspectral Transmittance Imaging[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(10): 3230-3238. |
[9] |
SUN Bang-yong1, YU Meng-ying1, YAO Qi2*. Research on Spectral Reconstruction Method From RGB Imaging Based on Dual Attention Mechanism[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(09): 2687-2693. |
[10] |
MAO Yi-lin1, LI He1, WANG Yu1, FAN Kai1, SUN Li-tao2, WANG Hui3, SONG Da-peng3, SHEN Jia-zhi2*, DING Zhao-tang1, 2*. Quantitative Judgment of Freezing Injury of Tea Leaves Based on Hyperspectral Imaging[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(07): 2266-2271. |
[11] |
LIU Gang1, LÜ Jia-ming1, NIU Wen-xing1, LI Qi-feng2, ZHANG Ying-hu2, YANG Yun-peng2, MA Xiang-yun2*. Detection of Sulfur Content in Vessel Fuel Based on Hyperspectral
Imaging Technology[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(06): 1697-1702. |
[12] |
LI Bin, HAN Zhao-yang, WANG Qiu, SUN Zhao-xiang, LIU Yan-de*. Research on Bruise Level Detection of Loquat Based on Hyperspectral
Imaging Technology[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(06): 1792-1799. |
[13] |
HU Hui-qiang1, WEI Yun-peng1, XU Hua-xing1, ZHANG Lei2, MAO Xiao-bo1*, ZHAO Yun-ping2*. Identification of the Age of Puerariae Thomsonii Radix Based on Hyperspectral Imaging and Principal Component Analysis[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(06): 1953-1960. |
[14] |
LIU Mei-jun, TIAN Ning*, YU Ji*. Spectral Study on Mouse Oocyte Quality[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(05): 1376-1380. |
[15] |
DU Guo-jun, ZHANG Yu-gui, CUI Bo-lun, JIANG Cheng, OU Zong-yao. Spectral Calibration of Hyperspectral Monitor (HSM) on Carbonsat[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(05): 1556-1562. |
|
|
|
|