The reflectance spectra data obtained from spectrometer was of great necessity to be processed and analyzed so that the data could be converted to color parameters. Since the Lab color space was characterized by not limited to specific devices, wide color gamut, and high-speed computing process, a data processing program based on python has been developed in this work. Based on the program, Lab color parameters could be calculated from the wavelength and reflectivity obtained from raw data, the relative spectral power distribution of illumination source, and spectral tristimulus values under standard chromaticity observation, which could be visualized in the 3D color space. In comparison with manual data screening and calculation, the efficiency and reliability of color analysis were markedly elevated based on the developed program, by which the color parameters could be quickly and accurately calculated from the reflectance spectra and intuitively displayed in 3D color space.
|