Abstract
This study investigated the optimal color samples for camera spectral sensitivity estimation. Principal component analysis (PCA) was performed on a public camera spectral sensitivity database. The eigenvectors were extracted and served as the basis functions, and the coefficients were calculated by a classical least square method. The color samples for spectral sensitivity estimation included a multichannel LED device and a reflective color chart. Three sample selection methods were implemented, which were based on minimizing the condition number, maximizing the minimum distance in the chromaticity plane, and using a simulated imaging system, respectively. It was found all the three methods were able to find the optimal color samples. The spectral sensitivity estimation error decreased and then became stable with the increase of the number of color samples.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Spectral sensitivity represents the responses of a camera to the lights at different wavelength. This information can be applied in the fields including multispectral imaging, color constancy, filter design, etc. The direct calibration method is to use a monochromator [1]. However, this method requires multiple shots and costly device. Prior studies have been carried out to estimate camera spectral sensitivities by capturing a series of color samples with known spectra information [2,3,4,5,6,7,8,9]. Various algorithms and different color samples have been applied. The algorithms included truncated singular value decomposition [2], basis functions [3], principal component analysis (PCA) [4, 5, 7, 9], regularization [8], etc. In general, the number of color samples affected the camera capture times, and thus determined the measurement efficiency. Therefore, it was necessary to select a few optimal color samples from the total set. Hardeberg et al. [10] presented an algorithm based on the minimization of condition number of reflectance matrix, for the choice of optimal samples with a reduced number in camera spectral sensitivity estimation. While some algorithms were proposed for the selection of representative training samples in spectral reflectance reconstruction [11,12,13]. However, it was not clear whether these algorithms could be applied to the field of sample selection in spectral sensitivity estimation. Moreover, it should be noted most of the previous studies on spectral sensitivity estimation used reflective surface color samples. Only a few studies focused on the multichannel LED, but seldom investigated its sample selection problem, or compared different sample selection methods.
In this study, the spectral sensitivities were estimated using a PCA method together with a public spectral sensitivity database. Two types of color samples were utilized, including a multichannel LED device and a reflective color chart. Three sample selection methods were implemented to select different numbers of optimal color samples. The spectral sensitivity estimation accuracy was evaluated by both spectral and colorimetric metrics. It was found the accuracy firstly increased and then became nearly stable with the increase of the number of color samples.
2 Method
The camera spectral sensitivity estimation was usually carried out using the linear camera responses. The camera responses \((X)\) were the integration of the product of the spectral sensitivities of the camera \((S)\) and the spectral radiance of the objects \((L)\) over wavelength. For surface color, the spectral radiance was the product of the spectral reflectance of object and the SPD (spectral power distribution) of light. After sampling the wavelength (400nm to 700nm with a 10nm interval in this study), it can be formulated by Eq. (1).
In general, spectral sensitivity estimation required the known spectral signals \({\text{L}}\) and the corresponding camera responses \(X\). A previous study [7] collected a spectral sensitivity database by combining four public databases [3,4,5, 14], including 111 cameras in total. After performing PCA on the spectral sensitivities in the database, the eigenvectors can be considered as basis functions to represent the spectral sensitivities as Eq. (2), where \(B\) is the eigenvector matrix and \(a\) is the coefficients.
Substituting Eq. (2) into Eq. (1), the least square solution of \(S\) can be calculated by Eq. (3). The superscripts T and −1 denote the matrix transpose and inverse.
Different sample selection methods have been proposed. This study implemented and compared three methods, i.e., minimized condition number (minCondNum) [10], MAXMINC [11], and simulated system (simuSys) [13].
The minCondNum method [10] selected the first sample with the maximum root-mean-square value of spectral reflectance (for surface colors) or spectral radiance (for self-luminance colors). The following samples were selected in turn with the aim of minimizing the condition number (the ratio of the largest to the smallest singular value) of the spectral reflectance or spectral radiance matrix. A set of most significant color samples would be selected following this method.
MAXMINC method [11] selected the first color sample using the same way as the above method. The following samples were selected in turn in order to maximize the minimum distance with the other selected samples in the chromaticity plane. This method confirmed the selected color samples to uniformly span the whole chromaticity plane.
The simuSys method [13] was based on a representative simulation system following Eq. (1). In this study, the spectral sensitivities of the simulated imaging system were randomly selected from the camera database [7]. The optimal color samples were selected to minimize a defined objective function in simulation experiments. In this study, it was the error of spectral sensitivity estimation, i.e., the linear combination of spectral error (SE) [15] and colorimetric error CIEDE2000 (\({\Delta E}_{00}^{*}\)) [16] as Eq. (4). In this study, it was decided to set a = 1 and b = 0.1. The selected color samples by the simulated system were tested in practical experiments.
3 Experiment
The test camera was a professional DSLR camera Canon 650D. The ground-truth spectral sensitivities were calibrated by a Labsphere QES1000 monochromator. The LED device was a Thouslite 18-channel LED system, and the reflective color sample was an Xrite Macbeth ColorChecker chart (MCCC). The camera was used to capture the images of the multiple LED channel at the light-emitting plane in a dark room, and to capture the color chart under simulated D50, D65, and A illuminants. For the color chart, the spectral sensitivity estimation was carried out under D65, while the estimation accuracy was tested under D50 and A. Figure 1 shows the experimental condition. It was exactly the same as our previous study[7].
The three sample selection methods were applied to the two types of samples, respectively. The spectral sensitivity estimation was conducted using different numbers of color samples. The estimated accuracy was evaluated by four different metrics, spectral error (SE), color difference \({\Delta E}_{00}^{*}\), RGB error, and Vora value [7]. Among them, SE and Vora value were spectral metrics indicating the similarity with the ground truth spectral sensitivities measured by the monochromator, and \({\Delta E}_{00}^{*}\) and RGB error were colorimetric metrics tested by MCCC under D50 and A. The RGB error was calculated between the measured camera responses and those predicted by the estimated spectral sensitivities.
4 Results and Discussion
Figure 2 plots the spectral sensitivity estimation error with different numbers of color samples in terms of the four metrics. It can be seen that with the increase of the number of color samples, the estimated error decreased and then became nearly stable. Due to the presence of camera noise, the results had some small oscillations. The colorimetric metrics had higher speed of convergence compared to the spectral metrics.
Comparing the two types of color sample, the LED samples achieved higher estimated accuracy in terms of SE and Vora value. The MCCC samples had higher accuracy in terms of \(\Delta {E}_{00}^{*}\) in most cases. While the relationship of RGB error depended on the number of samples. When using MCCC as color samples, the minimized objective of the least square solution was the error of camera responses to the color chart under D65, which could contribute to higher accuracy tested by the same color chart under D50 and A. Nevertheless, considering the lower colorimetric error but higher spectral error, when using the MCCC samples, the estimated results might be the metamers of the ground truth spectral sensitivities. And it can be observed that the MCCC samples required more numbers of samples (more than 10) than LED samples (about 6) to achieve relatively stable SE values.
Considering the overall tendency of estimated error, it was decided to present the systems with six optimal color samples. Figure 3 plots the spectra and chromaticity of the optimal LED and MCCC color samples selected from different methods. Spectral radiance and spectral reflectance were plotted for the two types of samples, respectively. The chromaticity was both plotted in the CIE 1976 u’v’ plane. It can be seen that the samples selected by MAXMINC method were more uniformly distributed in the chromaticity plane. The chromaticity of the LED samples was much more saturated and was close to the spectral locus due to the narrowband feature, so that it was not surprising to result in higher spectral accuracy and serve as more suitable color samples for spectral sensitivity estimation.
5 Conclusion
In this study, three sample selection methods were implemented for camera spectral sensitivity estimation. The three methods were based on minimizing the condition number, maximizing the minimum distance in the chromaticity plane, and using a simulated imaging system, respectively. Different numbers of optimal color samples were selected. Two types of color samples were used, including a multichannel LED device and a reflective color chart MCCC. It was found with the increase of the number of color samples, the spectral sensitivity estimation error decreased and then became basically stable. Using LED samples resulted in higher spectral accuracy, while MCCC samples led to slightly higher colorimetric accuracy. All the three sample selection methods succeeded to find the optimal color samples. Finally, the systems with six optimal color samples were obtained.
References
Darrodi, M.M., Finlayson, G., Goodman, T., Mackiewicz, M.: Reference data set for camera spectral sensitivity estimation. J. Optical Soc. Am. a-Optics Image Sci. Vis. 32(3), 381–391 (2015)
DiCarlo, J.M., Montgomery, G.E., Trovinger, S.W.: Emissive chart for imager calibration. Color Imaging Conf. 12(1), 295–301 (2004). https://doi.org/10.2352/CIC.2004.12.1.art00052
Zhao, H., Rei, K., Tan, R., Ikeuchi, K.: Estimating basis functions for spectral sensitivity of digital cameras. In: Presented at the Meeting on Image Recognition and Understanding (2009)
Tominaga, S., Nishi, S., Ohtera, R.: Measurement and estimation of spectral sensitivity functions for mobile phone cameras (in English). Sensors 21(15) (2021)
Jiang, J., Liu, D., Gu, J., Susstrunk, S.: What is the space of spectral sensitivity functions for digital color cameras? IEEE Workshop Appl. Comput. Vis., 168–179 (2013)
Ji, Y., Kwak, Y., Park, S.M., Kim, Y.L.: Compressive recovery of smartphone RGB spectral sensitivity functions. Opt. Express 29(8), 11947–11961 (2021)
Fan, H., Xu, L., Luo, M.R.: Optimized principal component analysis for camera spectral sensitivity estimation. J. Optical Soc. Am. A. 40(8), 1515–1526 (2023)
Fan, H., Luo, M.R.: Comparison of LED-based and reflective colour targets for camera spectral sensitivities estimation. Color Imaging Conf. 30(1), 103–108 (2022). https://doi.org/10.2352/CIC.2022.30.1.20
Fan, H., Luo, M.R.: Camera spectral sensitivity estimation based on a display. In: Min, X., Yang, L., Zhang, L., Yan, S. (eds.) Innovative Technologies for Printing and Packaging, pp. 24–30. Springer Nature Singapore, Singapore (2023). https://doi.org/10.1007/978-981-19-9024-3_4
Hardeberg, J.Y., Brettel, H., Schmitt, F.J.M.: Spectral characterization of electronic cameras. In: Electronic Imaging: Processing, Printing, and Publishing in Color, BELLINGHAM, vol. 3409, pp. 100–109. SPIE (1998)
Cheung, V., Westland, S.: Methods for optimal color selection. J. Imaging Sci. Technol. 50(5), 481–488 (2006). https://doi.org/10.2352/J.ImagingSci.Technol.(2006)50:5(481)
Shen, H.-L., Zhang, H.-G., Xin, J.H., Shao, S.-J.: Optimal selection of representative colors for spectral reflectance reconstruction in a multispectral imaging system. Appl. Optics 47(13), 2494–2502 (2008)
Liang, J., Zhu, Q., Liu, Q., Xiao, K.: “Optimal selection of representative samples for efficient digital camera-based spectra recovery. Color. Res. Appl. 47(1), 107–120 (2022)
Finlayson, G., Darrodi, M.M., Mackiewicz, M.: Rank-based camera spectral sensitivity estimation. J. Optic. Soc. Am. a-Optics Image Sci. Vis. 33(4), 589–599 (2016)
Colorimetry Part 6: CIEDE2000 Color-Difference Formula. ISO/CIE 11664–6:2014(E)
Acknowledgement
This research is supported by National Natural Science Foundation of China (61775190), and Dajiang Innovations Technology Co., Ltd.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Fan, H., Luo, M.R., Qu, X. (2024). Optimal Color Samples for Camera Spectral Sensitivity Estimation. In: Song, H., Xu, M., Yang, L., Zhang, L., Yan, S. (eds) Innovative Technologies for Printing, Packaging and Digital Media. CACPP 2023. Lecture Notes in Electrical Engineering, vol 1144. Springer, Singapore. https://doi.org/10.1007/978-981-99-9955-2_4
Download citation
DOI: https://doi.org/10.1007/978-981-99-9955-2_4
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-9954-5
Online ISBN: 978-981-99-9955-2
eBook Packages: EngineeringEngineering (R0)