CN112161708A - Color measurement platform for calculating color tristimulus values and spectrum preprocessing method - Google Patents

Color measurement platform for calculating color tristimulus values and spectrum preprocessing method Download PDF

Info

Publication number
CN112161708A
CN112161708A CN202011061193.3A CN202011061193A CN112161708A CN 112161708 A CN112161708 A CN 112161708A CN 202011061193 A CN202011061193 A CN 202011061193A CN 112161708 A CN112161708 A CN 112161708A
Authority
CN
China
Prior art keywords
response data
spectral response
sample
average value
wavelength
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011061193.3A
Other languages
Chinese (zh)
Other versions
CN112161708B (en
Inventor
黄新国
刘前程
瞿小阳
钟云飞
谢小春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Fengbai Technology Co.,Ltd.
Original Assignee
Hunan Furui Printing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Furui Printing Co ltd filed Critical Hunan Furui Printing Co ltd
Priority to CN202011061193.3A priority Critical patent/CN112161708B/en
Publication of CN112161708A publication Critical patent/CN112161708A/en
Application granted granted Critical
Publication of CN112161708B publication Critical patent/CN112161708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/46Measurement of colour; Colour measuring devices, e.g. colorimeters
    • G01J3/50Measurement of colour; Colour measuring devices, e.g. colorimeters using electric radiation detectors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/02Preprocessing
    • G06F2218/04Denoising

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Spectrometry And Color Measurement (AREA)

Abstract

The invention provides a color measurement platform for calculating a color tristimulus value and a spectrum preprocessing method, wherein the color measurement platform comprises: the method comprises the steps of placing a reference standard on a reflection measurement support, collecting reference standard spectral response data by using an optical fiber spectrometer, replacing the reference standard with a sample to be measured, collecting spectral response data of the sample to be measured by using the optical fiber spectrometer, placing a visible light cut-off baffle plate between the reflection measurement support and the optical fiber spectrometer, collecting dark noise spectral response data by using the optical fiber spectrometer, removing spectral abnormal values and fluctuation values from the reference standard, the sample to be measured and the spectral response data of dark noise, performing preprocessing such as spectral smoothing and spectral interpolation, and obtaining spectral data which can be used for calculating spectral reflectivity and color tristimulus values. The invention can eliminate spectrum abnormal peak value and high-frequency random noise, is suitable for preprocessing spectrum data without obvious characteristic peak value and with more gentle curve change trend, and can improve the accuracy and repeatability of the optical fiber spectrometer for measuring color.

Description

Color measurement platform for calculating color tristimulus values and spectrum preprocessing method
Technical Field
The invention relates to the technical field of spectrum preprocessing, in particular to a color measurement platform for calculating a color tristimulus value and a spectrum preprocessing method.
Background
The color is an important index for evaluating the product quality in the industries of printing, textile, food, automobile manufacturing and the like. According to the national standard GB/T3977-2008 color representation method, object colors are represented by tristimulus values CIE XYZ. According to the national standard GB/T7921-2008 'uniform color space and color difference formula', chromaticity parameters of uniform color space CIELab values, color difference values and the like which accord with the visual characteristics of human eyes for evaluating the color quality of products are calculated based on tristimulus values CIEXYZ. The tristimulus values are therefore the basis for the calculation of colorimetric parameters and the quantitative evaluation of color. Compared with the method of using a three-primary-color filter imitating a CIE color matching function and a visible light detector for color measurement, the method has the advantages that more original spectral information and color information can be obtained by using the fiber spectrometer for color measurement, and the requirements of color measurement and color quality detection in different occasions, such as online color detection and control in a factory, can be met.
According to the national standard GB/T3979-2008 < measuring method of object color >, the method for measuring the tristimulus value of color by the fiber spectrometer is as follows: for the reflective samples, first, under the reflection measurement geometry specified by CIE, the spectral response data V of the samples in the visible light range is collected by using a fiber optic spectrometers(λ), spectral response data V of reference standardr(λ) and spectral response data V of dark noised(λ); calculating the spectral reflectivity rho (lambda) of the object by adopting the formula (9); finally, the spectral reflectance ρ (λ), the spectral power distribution S (λ) relative to the CIE-specified standard illuminant, and standard chromaticity observer data
Figure BDA0002712429530000011
Multiplying and summing to obtain the color tristimulus value, which is shown in a formula (10). The measurement and calculation methods for transmission samples are similar to those for reflection samples, exceptThe spectral transmittance τ (λ) is calculated according to the transmission spectral response data of the sample, with reference to the transmission spectral response data of the standard and the transmission spectral response data of the dark noise, and then the tristimulus value is calculated by using equation (10).
Figure BDA0002712429530000021
Figure BDA0002712429530000022
According to the method for calculating the spectral reflectivity and the color tristimulus values, the spectral response data collected by the fiber spectrometer is used for calculating the reflection or transmission spectral characteristics, the tristimulus values CIEXYZ and CIEL of the object*a*b*And basic data of chromaticity parameters such as chromatic aberration. However, the spectral response data collected by the fiber optic spectrometer contains various noise data in addition to color information, due to factors such as detectors, electronics, dark current, and external environmental interference. Therefore, in order to ensure the accuracy and repeatability of the color measurement data, spectrum preprocessing such as removing abnormal values, denoising and smoothing is required to be performed on the original spectrum response data measured by the fiber spectrometer, and noise data in the spectrum response data is suppressed or eliminated.
The existing spectrum pretreatment methods are mainly divided into the following categories: (1) the method for eliminating the spectrum abnormal value comprises the following steps: during the measurement process, the spectral response data may be mixed with abnormal values under the influence of changes of factors such as the performance of the measuring instrument, the measuring method or the measuring environment, namely, part of the data is obviously inconsistent with other data. Abnormal spectral response data directly affects spectral calculations and analysis results and can even lead to erroneous conclusions. Therefore, abnormal data needs to be eliminated through a mathematical statistic method. The existing commonly used method for eliminating the abnormal value of the spectral response data is to utilize indexes such as mahalanobis distance, Cook distance, the abnormal value of spectral feature, spectral residual ratio, chemical value absolute error and the like, and then combine a mathematical statistic test method, such as a triple standard deviation method, a ratio method or a truncation point method, to judge the abnormal value of the spectral response data. (2) The spectrum denoising method comprises the following steps: the purpose of spectrum denoising is to eliminate system errors, especially measurement data changes caused by sample uneven distribution, surface scattering changes, optical path changes and the like. The commonly used correction methods at present include standard normal variable correction method, multivariate scattering correction method, orthogonal signal correction and the like. (3) The spectrum smoothing method comprises the following steps: the purpose of the spectral response data smoothing is to eliminate random noise, especially high frequency noise, in the spectral response data. Common spectral smoothing methods are moving average filters, polynomial smoothing filters, median filters, and the like.
Disclosure of Invention
The invention provides a color measurement platform for calculating a color tristimulus value and a spectrum preprocessing method, and aims to solve the problems that the traditional spectrum preprocessing method is not suitable for processing spectrum response data which has no obvious characteristic peak value, has a relatively gentle curve change trend and is used for calculating the color tristimulus value.
In order to achieve the above object, an embodiment of the present invention provides a color measurement platform for color tristimulus value calculation, including:
a reflectance measurement mount;
a sample to be measured, wherein the sample to be measured is placed at the top of the reflection measurement bracket;
the first collimating mirror is arranged right above the sample to be detected;
the second collimating lens is obliquely arranged above the side of the sample to be detected, and the included angle between the second collimating lens and the first collimating lens is 45 degrees;
the optical fiber light source is connected with the second collimating mirror through an incident optical fiber;
the first end of the fiber spectrometer is connected with the first collimating mirror through an emergent optical fiber;
a computer electrically connected to the second end of the fiber optic spectrometer.
Embodiments of the present invention also provide a spectrum preprocessing method for color tristimulus value calculation, including:
step 1, placing a reference standard on a reflection measurement support, adopting a fiber optic spectrometer to collect spectral response data of the reference standard, replacing the reference standard with a sample to be measured, adopting the fiber optic spectrometer to collect spectral response data of the sample to be measured, placing a visible light cut-off baffle plate between the reflection measurement support and the fiber optic spectrometer, and adopting the fiber optic spectrometer to collect spectral response data of dark noise to obtain reference standard spectral response data, spectral response data of the sample to be measured and spectral response data of the dark noise;
step 2, respectively calculating the standard deviation of reference standard spectral response data, the standard deviation of the spectral response data of the sample to be detected and the standard deviation of the spectral response data of dark noise at each wavelength sampling point, respectively setting an abnormal value rejection criterion and a method according to the standard deviation of the reference standard spectral response data, the standard deviation of the spectral response data of the sample to be detected and the standard deviation of the spectral response data of the dark noise in the color tristimulus value calculation wavelength interval, and rejecting the abnormal value of the standard deviation of the reference standard spectral response data, the standard deviation of the spectral response data of the sample to be detected and the abnormal value of the standard deviation of the spectral response data of the dark noise corresponding to the reference standard spectral response data, the spectral response data of the sample to be detected and the spectral response data of the dark noise;
step 3, respectively calculating the average value of the reference standard spectral response data after the abnormal values are removed, the average value of the spectral response data of the sample to be detected after the abnormal values are removed and the average value of the spectral response data of the dark noise after the abnormal values are removed;
step 4, calculating a first derivative of the average value of the reference standard spectral response data after the abnormal values are removed, and removing two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus valueskAnd λk-1Obtaining the average value of the rejected reference standard spectral response data;
step 5, calculating the first derivative of the average value of the spectral response data of the sample to be detected after the abnormal value is removed, and calculating the wavelength interval at the color tristimulus valueIn the interior, two wavelength points lambda corresponding to the maximum value of the first derivative are removedkAnd λk-1Obtaining the average value of the spectral response data of the rejected samples to be detected;
step 6, calculating a first derivative of the average value of the spectral response data of the dark noise after the abnormal value is removed, and removing two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus value calculationkAnd λk-1Obtaining the average value of the spectral response data of the rejected dark noise;
step 7, denoising the average value of the rejected reference standard spectral response data, the average value of the rejected sample to be detected spectral response data and the average value of the rejected dark noise spectral response data by adopting a spectral smoothing method to obtain the average value of the denoised reference standard spectral response data, the average value of the denoised sample to be detected spectral response data and the average value of the denoised dark noise spectral response data;
step 8, in a visible light range, calculating a wavelength interval by using a color tristimulus value as an interpolation interval, and converting the average value of the denoised reference standard spectral response data, the average value of the denoised sample spectral response data and the average value of the denoised dark noise spectral response data by adopting an interpolation algorithm to obtain the average value of the converted reference standard spectral response data, the average value of the converted sample spectral response data and the average value of the converted dark noise spectral response data;
step 9, calculating the spectral reflectivity of the sample to be measured according to the average value of the converted reference standard spectral response data, the average value of the converted sample to be measured spectral response data and the average value of the converted dark noise spectral response data;
and step 10, calculating the color tristimulus value of the sample to be detected according to the calculated spectral reflectivity of the sample to be detected.
Wherein, the step 1 specifically comprises:
respectively aligning reference standard, sample to be measured and dark noise by using fiber optic spectrometerCollecting spectral response data for not less than 6 times to obtain reference standard spectral response data Vr(lambda) spectral response data V of the sample to be measureds(λ) and spectral response data V of dark noised(lambda), the integration time of the fiber spectrometer is the integration time when the reference standard spectral response data reaches the maximum, and the spectral sampling wavelength interval is less than one tenth of the wavelength interval of the color tristimulus value calculation.
Wherein, the step 2 specifically comprises:
calculating the standard deviation s of the reference standard spectral response data at each wavelength sampling pointr(λ), as follows:
Figure BDA0002712429530000051
wherein s isr(λ) represents the standard deviation of the reference standard spectral response data, n represents the number of measurements, i represents the ith measurement, λ represents the wavelength, Vr-i(λ) represents the reference standard spectral response data for the ith measurement,
Figure BDA0002712429530000052
means representing reference standard spectral response data;
searching for standard deviation s of reference standard spectral response data within the color tristimulus value calculation wavelength intervalr(lambda) maximum wavelength point lambdamax_rAnd eliminating abnormal wavelength point lambdamax_rReference standard spectral response data of (a);
calculating the standard deviation s of the spectral response data of the sample to be measured at each wavelength sampling points(λ), as follows:
Figure BDA0002712429530000053
wherein s iss(lambda) represents the standard deviation of the spectral response data of the sample to be measured, n represents the number of measurements, i represents the ith measurement, lambda represents the wavelength, Vs-i(λ) represents the i-th measurement to be takenMeasuring the spectral response data of the sample,
Figure BDA0002712429530000054
the average value of the spectral response data of the sample to be measured is represented;
searching the standard deviation s of the spectral response data of the sample to be detected in the wavelength interval of the color tristimulus valuess(lambda) maximum wavelength point lambdamax_sAnd eliminating abnormal wavelength point lambdamax_sSpectral response data of the sample to be detected;
calculating the standard deviation s of the spectral response data of the dark noise at each wavelength sampling pointd(λ), as follows:
Figure BDA0002712429530000055
wherein s isd(λ) represents the standard deviation of the spectral response data of dark noise, n represents the number of measurements, i represents the ith measurement, λ represents the wavelength, Vd-i(lambda) represents the spectral response data of the dark noise measured at the ith time,
Figure BDA0002712429530000056
an average of spectral response data representing dark noise;
finding the standard deviation s of the spectral response data of dark noise within the color tristimulus value calculation wavelength intervald(lambda) maximum wavelength point lambdamax_dAnd eliminating abnormal wavelength point lambdamax_dThe spectral response data of the dark noise.
Wherein, the step 3 specifically comprises:
respectively calculating the average value of the reference standard spectral response data after eliminating the abnormal values
Figure BDA0002712429530000061
Average value of spectral response data of sample to be detected after eliminating abnormal value
Figure BDA0002712429530000062
And light of dark noise after removing abnormal valueMean of spectral response data
Figure BDA0002712429530000063
Wherein the step 4, the step 5 and the step 6 specifically include:
calculating the average value of the reference standard spectral response data after eliminating the abnormal value
Figure BDA0002712429530000064
First derivative d ofr(λ), as follows:
Figure BDA0002712429530000065
wherein d isrj) A first derivative representing the average of the reference standard spectral response data after outliers are removed,
Figure BDA0002712429530000066
denotes λjThe wavelength points are referenced to the average of the standard spectral response data,
Figure BDA0002712429530000067
denotes λj-1The wavelength points are referenced to the mean of the standard spectral response data, λ denotes wavelength, λjDenotes the jth wavelength point, λj-1Represents the j-1 wavelength point;
within the wavelength interval of color tristimulus values, the average value of the reference standard spectral response data after the abnormal values are removed
Figure BDA0002712429530000068
First derivative d ofrTwo wavelength points λ corresponding to the maximum value in (λ)kAnd λk-1The spectral response data are removed to obtain the average value of the reference standard spectral response data after removal
Figure BDA0002712429530000069
Calculating the average value of the spectral response data of the sample to be detected after eliminating the abnormal value
Figure BDA00027124295300000610
First derivative d ofs(λ), as follows:
Figure BDA00027124295300000611
wherein d issj) The first derivative of the average value of the spectral response data of the sample to be detected after the abnormal value is eliminated is shown,
Figure BDA00027124295300000612
denotes λjThe average value of the spectral response data of the sample to be detected after the abnormal value is removed from the wavelength points,
Figure BDA00027124295300000613
denotes λj-1The average value of the spectral response data of the sample to be measured after the abnormal value of the wavelength point is removed, wherein lambda represents the wavelength, and lambda represents the wavelengthjDenotes the jth wavelength point, λj-1Represents the j-1 wavelength point;
within the wavelength interval of the color tristimulus values, the average value of the spectral response data of the sample to be measured after the abnormal values are removed
Figure BDA00027124295300000614
First derivative d ofsTwo wavelength points λ corresponding to the maximum value in (λ)kAnd λk-1The spectral response data are removed to obtain the average value of the spectral response data of the samples to be detected after removal
Figure BDA00027124295300000615
Calculating the average value of the spectral response data of the dark noise after eliminating the abnormal value
Figure BDA00027124295300000616
First derivative d ofd(λ), as follows:
Figure BDA00027124295300000617
wherein d isdj) The first derivative of the average of the spectral response data representing dark noise after outliers are removed,
Figure BDA0002712429530000071
denotes λjThe average value of the spectral response data of the dark noise after the abnormal value is removed from the wavelength points,
Figure BDA0002712429530000072
denotes λj-1Average value of spectral response data of dark noise with abnormal values removed from wavelength points, wherein lambda represents wavelength and lambda represents noisejDenotes the jth wavelength point, λj-1Represents the j-1 wavelength point;
within the wavelength interval of color tristimulus value calculation, the average value of the spectral response data of the dark noise after the abnormal value is removed
Figure BDA0002712429530000073
First derivative d ofdTwo wavelength points λ corresponding to the maximum value in (λ)kAnd λk-1The spectral response data is removed to obtain the average value of the spectral response data of the removed dark noise
Figure BDA0002712429530000074
Wherein, the step 7 specifically comprises:
averaging the rejected reference standard spectral response data by adopting a spectral smoothing method
Figure BDA0002712429530000075
Average value of spectral response data of rejected samples to be detected
Figure BDA0002712429530000076
And the spectral response number of the rejected dark noiseAccording to the average value
Figure BDA0002712429530000077
De-noising to obtain the average value of the de-noised reference standard spectral response data
Figure BDA0002712429530000078
Average value of denoised spectral response data of sample to be detected
Figure BDA0002712429530000079
And average of spectral response data of denoised dark noise
Figure BDA00027124295300000710
Wherein, the step 8 specifically comprises:
in the visible light range, the wavelength interval is calculated by using the color tristimulus values as an interpolation interval, and the average value of the denoised reference standard spectral response data is calculated by adopting an interpolation algorithm
Figure BDA00027124295300000711
Average value of denoised spectral response data of sample to be detected
Figure BDA00027124295300000712
And average of spectral response data of denoised dark noise
Figure BDA00027124295300000713
Converting to obtain the average value of the converted reference standard spectral response data in the same wavelength range and the same wavelength interval
Figure BDA00027124295300000714
Average value of converted spectral response data of sample to be detected
Figure BDA00027124295300000715
And average of the converted spectral response data of dark noise
Figure BDA00027124295300000716
Wherein, the step 9 specifically comprises:
based on the obtained average value of the converted reference standard spectral response data
Figure BDA00027124295300000717
Average value of converted spectral response data of sample to be detected
Figure BDA00027124295300000718
And average of the converted spectral response data of dark noise
Figure BDA00027124295300000719
Calculating the spectral reflectivity rho of the sample to be measureds(λ), as follows:
Figure BDA00027124295300000720
where ρ iss(lambda) represents the spectral reflectance, rho, of the sample to be measuredr(λ) denotes the spectral reflectance of the reference standard, λ denotes the wavelength,
Figure BDA00027124295300000721
represents the average of the converted reference standard spectral response data,
Figure BDA00027124295300000722
represents the average value of the converted spectral response data of the sample to be measured,
Figure BDA00027124295300000723
an average of the spectral response data representing the converted dark noise.
Wherein, the step 10 specifically includes:
according to the obtained spectral reflectivity rho of the sample to be measureds(lambda), calculating the color tristimulus value of the sample to be measured as follows:
Figure BDA0002712429530000081
where ρ iss(lambda) represents the spectral reflectance of the sample to be measured, S (lambda) represents the CIE specified relative spectral power distribution of the standard illuminant,
Figure BDA0002712429530000082
for the standard chromaticity observer data specified by CIE, Δ λ represents the wavelength interval, k represents the normalization coefficient, and λ represents the wavelength.
The scheme of the invention has the following beneficial effects:
the color measurement platform for calculating the color tristimulus values and the spectrum preprocessing method can eliminate the spectrum abnormal peak value and the high-frequency random noise, can eliminate the spectrum abnormal peak value, are suitable for preprocessing the spectrum data without obvious characteristic peak values and with relatively gentle curve change trends, and can improve the accuracy and the repeatability of the optical fiber spectrometer for measuring the color.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a schematic view of a color measuring platform according to the present invention;
FIG. 3 is a graph of raw spectral response data for a reference standard, a sample to be tested, and dark noise in accordance with the present invention;
FIG. 4 is a standard deviation plot of reference standard spectral response data according to the present invention;
FIG. 5 is a schematic of the first derivative of the reference standard spectral response data of the present invention;
FIG. 6 is a diagram showing the spectral response data of the reference standard, the sample to be tested and the dark noise after the spectral preprocessing according to the present invention.
[ description of reference ]
1-a reflection measurement mount; 2-a sample to be tested; 3-a first collimating mirror; 4-a second collimating mirror; 5-a fiber optic light source; 6-fiber optic spectrometer; 7-a computer; 8-an incident optical fiber; 9-exit fiber.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The invention provides a color measurement platform for color tristimulus value calculation and a spectrum preprocessing method, aiming at the problems that the existing spectrum preprocessing method is not suitable for processing spectrum response data which has no obvious characteristic peak value, has relatively gentle curve variation trend and is used for color tristimulus value calculation.
As shown in fig. 1 to 6, an embodiment of the present invention provides a color measurement platform for color tristimulus value calculation, including: a reflection measurement mount 1; a sample 2 to be measured, wherein the sample 2 to be measured is placed at the top of the reflection measurement bracket 1; the first collimating mirror 3 is arranged right above the sample 2 to be detected; the second collimating lens 4 is obliquely arranged above the side of the sample 2 to be detected, and an included angle between the second collimating lens 4 and the first collimating lens 3 is 45 degrees; the optical fiber light source is connected with the second collimating mirror 4 through an incident optical fiber 8; the first end of the fiber spectrometer 6 is connected with the first collimating mirror 3 through an emergent optical fiber 9; a computer 7, wherein the computer 7 is electrically connected with the second end of the fiber spectrometer 6.
According to the color measurement platform and the spectrum preprocessing method for calculating the color tristimulus value, the optical fiber light source 5 adopts an optical fiber halogen lamp, and the color measurement platform for calculating the color tristimulus value is built by adopting a 45-degree/0-degree reflection measurement support 1, a visible light station optical fiber spectrometer 6 and the computer 7 with spectrum acquisition and analysis software.
Embodiments of the present invention also provide a spectrum preprocessing method for color tristimulus value calculation, including: step 1, placing a reference standard on a reflection measurement bracket 1, adopting a fiber spectrometer 6 to collect spectral response data of the reference standard, replacing the reference standard with a sample 2 to be measured, and adopting the fiber spectrometer 6 to perform spectrum on the sample 2 to be measuredResponse data acquisition, namely placing a visible light cut-off baffle between the reflection measurement bracket 1 and the optical fiber spectrometer 6, and performing spectral response data acquisition on dark noise by using the optical fiber spectrometer 6 to obtain reference standard spectral response data, spectral response data of a sample 2 to be measured and spectral response data of the dark noise; step 2, respectively calculating the standard deviation of reference standard spectral response data, the standard deviation of the spectral response data of the sample 2 to be detected and the standard deviation of the spectral response data of dark noise at each wavelength sampling point, respectively setting an abnormal value rejection criterion and a method according to the standard deviation of the reference standard spectral response data, the standard deviation of the spectral response data of the sample 2 to be detected and the standard deviation of the spectral response data of the dark noise in the color tristimulus value calculation wavelength interval, and rejecting the standard deviation of the reference standard spectral response data, the standard deviation of the spectral response data of the sample 2 to be detected and the abnormal value of the standard deviation of the spectral response data of the dark noise corresponding to the reference standard spectral response data, the spectral response data of the sample 2 to be detected and the spectral response data of the dark noise; step 3, respectively calculating the average value of the reference standard spectral response data after the abnormal values are removed, the average value of the spectral response data of the sample 2 to be detected after the abnormal values are removed and the average value of the spectral response data of the dark noise after the abnormal values are removed; step 4, calculating a first derivative of the average value of the reference standard spectral response data after the abnormal values are removed, and removing two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus valueskAnd λk-1Obtaining the average value of the rejected reference standard spectral response data; step 5, calculating a first derivative of the average value of the spectral response data of the sample 2 to be detected after the abnormal value is removed, and removing two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus value calculationkAnd λk-1Obtaining the average value of the spectral response data of the rejected sample 2 to be detected; step 6, calculating a first derivative of the average value of the spectral response data of the dark noise after the abnormal value is removed, and removing two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus value calculationkAnd λk-1The spectral response data of (a) a,obtaining the average value of the spectral response data of the rejected dark noise; step 7, denoising the average value of the rejected reference standard spectral response data, the average value of the rejected sample 2 to be detected spectral response data and the average value of the rejected dark noise spectral response data by adopting a spectral smoothing method to obtain the average value of the denoised reference standard spectral response data, the average value of the denoised sample 2 to be detected spectral response data and the average value of the denoised dark noise spectral response data; step 8, in the visible light range, calculating a wavelength interval by using a color tristimulus value as an interpolation interval, and converting the average value of the denoised reference standard spectral response data, the average value of the denoised sample 2 to be detected spectral response data and the average value of the denoised dark noise spectral response data by adopting an interpolation algorithm to obtain the average value of the converted reference standard spectral response data, the average value of the converted sample 2 to be detected spectral response data and the average value of the converted dark noise spectral response data; step 9, calculating the spectral reflectivity of the sample 2 to be detected according to the average value of the converted reference standard spectral response data, the average value of the converted spectral response data of the sample 2 to be detected and the average value of the converted spectral response data of the dark noise; and step 10, calculating the color tristimulus value of the sample 2 to be detected according to the calculated spectral reflectivity of the sample 2 to be detected.
Wherein, the step 1 specifically comprises: respectively carrying out spectral response data acquisition on the reference standard, the sample 2 to be detected and the dark noise by adopting the optical fiber spectrometer 6, wherein the acquisition times are not less than 6 times to obtain reference standard spectral response data Vr(lambda) spectral response data V of sample 2 to be measureds(λ) and spectral response data V of dark noised(λ), the integration time of the fiber spectrometer 6 is the integration time for which the reference standard spectral response data reaches the maximum, and the spectral sampling wavelength interval is less than one tenth of the color tristimulus value calculation wavelength interval.
The color measurement platform and the spectrum preprocessing method for calculating the color tristimulus value according to the above embodiments of the present invention determine the measurement parameters: the sampling wavelength range of the optical fiber spectrometer 6 is 380nm-780nm, and the sampling is performedThe wavelength interval is 0.5nm, and the sampling frequency is 6 times; the reference standard adopts a BCRA standard white ceramic plate, the sample 2 to be measured adopts a BCRA standard red ceramic plate, the reference standard is placed on the reflection measurement support 1, the fiber spectrometer 6 is adopted to measure spectral response data of the reference standard, the integration time of the reference standard spectral response value reaching the maximum is determined to be 155 milliseconds, and 155 milliseconds are set as the integration time of the fiber spectrometer 6. Placing a reference standard on the reflection measurement bracket 1, measuring the reference standard for 6 times by taking 155 milliseconds as the integration time of the fiber spectrometer 6, and obtaining reference standard spectral response data Vr(λ) as shown in FIG. 3. Placing the sample 2 to be measured on the reflection measurement bracket 1, measuring for 6 times by taking 155 milliseconds as 6 integration time of the fiber spectrometer, and obtaining spectral response data V of the sample 2 to be measureds(λ) as shown in FIG. 3. A visible light cut-off baffle plate is arranged between the reflection measurement bracket 1 and the optical fiber spectrometer 6, the integration time of the optical fiber spectrometer 6 is 155 milliseconds, the measurement is carried out for 6 times, and dark noise spectral response data V are obtainedd(λ) as shown in FIG. 3.
Wherein, the step 2 specifically comprises: calculating the standard deviation s of the reference standard spectral response data at each wavelength sampling pointr(λ), as follows:
Figure BDA0002712429530000111
wherein s isr(λ) represents the standard deviation of the reference standard spectral response data, n represents the number of measurements, i represents the ith measurement, λ represents the wavelength, Vr-i(λ) represents the reference standard spectral response data for the ith measurement,
Figure BDA0002712429530000112
means representing reference standard spectral response data;
searching for standard deviation s of reference standard spectral response data within the color tristimulus value calculation wavelength intervalr(lambda) maximum wavelength point lambdamax_rAnd eliminating abnormal wavelength point lambdamax_rReference standard spectrum ofResponse data;
calculating the standard deviation s of the spectral response data of the sample 2 to be measured at each wavelength sampling points(λ), as follows:
Figure BDA0002712429530000113
wherein s iss(lambda) represents the standard deviation of the spectral response data of the sample 2 to be measured, n represents the number of measurements, i represents the ith measurement, lambda represents the wavelength, Vs-i(lambda) represents the spectral response data of the sample 2 to be measured of the ith measurement,
Figure BDA0002712429530000114
the average value of the spectral response data of the sample 2 to be measured;
searching the standard deviation s of the spectral response data of the sample 2 to be detected in the wavelength interval of the color tristimulus value calculations(lambda) maximum wavelength point lambdamax_sAnd eliminating abnormal wavelength point lambdamax_sSpectral response data of the sample 2 to be detected;
calculating the standard deviation s of the spectral response data of the dark noise at each wavelength sampling pointd(λ), as follows:
Figure BDA0002712429530000121
wherein s isd(λ) represents the standard deviation of the spectral response data of dark noise, n represents the number of measurements, i represents the ith measurement, λ represents the wavelength, Vd-i(lambda) represents the spectral response data of the dark noise measured at the ith time,
Figure BDA0002712429530000122
an average of spectral response data representing dark noise;
finding the standard deviation s of the spectral response data of dark noise within the color tristimulus value calculation wavelength intervald(lambda) maximum wavelength point lambdamax_dAnd eliminating abnormal wavelength point lambdamax_dIs generated by the dark noiseSpectral response data of sound.
The color measurement platform and the spectrum preprocessing method for calculating the color tristimulus value in the embodiment of the invention calculate the standard deviation s of the reference standard spectrum response datar(λ), as shown in FIG. 4; and sorting the standard deviations of all wavelength points from large to small in the wavelength interval of the color tristimulus values, and removing the sample spectral response data of the first five wavelength points.
TABLE Standard deviation of reference Standard spectral response data between 1600 nm and 610nm
Figure BDA0002712429530000123
For example, as shown in table 1, standard deviations sorted from large to small between wavelength intervals of 600nm to 610nm are calculated for color tristimulus values, according to the above abnormal value rejection criteria and methods, it is determined that the spectral response values of wavelength points 607nm, 607.5nm, 609nm, 609.5nm and 605nm are abnormal, and the spectral response values of the five wavelength points are rejected, and the data of other wavelength points are rejected by the same method; calculating the standard deviation s of the spectral response data of the sample 2 to be measureds(lambda), sorting the standard deviation of each wavelength point from large to small in the wavelength interval of the color tristimulus values, and eliminating abnormal values in the spectral response data of the sample 2 to be detected of the first five wavelength points; calculating the standard deviation s of the spectral response data of dark noised(lambda), sorting the standard deviation of each wavelength point from large to small in the wavelength interval of the color tristimulus values, and eliminating abnormal values in the spectral response data of the dark noise of the first five wavelength points.
Wherein, the step 3 specifically comprises: respectively calculating the average value of the reference standard spectral response data after eliminating the abnormal values
Figure BDA0002712429530000131
Average value of spectral response data of sample 2 to be detected after eliminating abnormal value
Figure BDA0002712429530000132
And eliminating anomaliesAverage of spectral response data of post-valued dark noise
Figure BDA0002712429530000133
Wherein the step 4, the step 5 and the step 6 specifically include: calculating the average value of the reference standard spectral response data after eliminating the abnormal value
Figure BDA0002712429530000134
First derivative d ofr(λ), as follows:
Figure BDA0002712429530000135
wherein d isrj) A first derivative representing the average of the reference standard spectral response data after outliers are removed,
Figure BDA0002712429530000136
denotes λjThe wavelength points are referenced to the average of the standard spectral response data,
Figure BDA0002712429530000137
denotes λj-1The wavelength points are referenced to the mean of the standard spectral response data, λ denotes wavelength, λjDenotes the jth wavelength point, λj-1Represents the j-1 wavelength point;
within the wavelength interval of color tristimulus values, the average value of the reference standard spectral response data after the abnormal values are removed
Figure BDA0002712429530000138
First derivative d ofrTwo wavelength points λ corresponding to the maximum value in (λ)kAnd λk-1The spectral response data are removed to obtain the average value of the reference standard spectral response data after removal
Figure BDA0002712429530000139
Difference is eliminated by calculationAverage value of spectral response data of sample 2 to be measured after constant value
Figure BDA00027124295300001310
First derivative d ofs(λ), as follows:
Figure BDA00027124295300001311
wherein d issj) The first derivative of the average value of the spectral response data of the sample to be detected after the abnormal value is eliminated is shown,
Figure BDA00027124295300001312
denotes λjThe average value of the spectral response data of the sample to be detected after the abnormal value is removed from the wavelength points,
Figure BDA00027124295300001313
denotes λj-1The average value of the spectral response data of the sample to be measured after the abnormal value of the wavelength point is removed, wherein lambda represents the wavelength, and lambda represents the wavelengthjDenotes the jth wavelength point, λj-1Represents the j-1 wavelength point;
within the wavelength interval of the color tristimulus values, the average value of the spectral response data of the sample 2 to be measured after the abnormal values are removed
Figure BDA0002712429530000141
First derivative d ofsTwo wavelength points λ corresponding to the maximum value in (λ)kAnd λk-1The spectral response data are removed to obtain the average value of the spectral response data of the sample 2 to be detected after removal
Figure BDA0002712429530000142
Calculating the average value of the spectral response data of the dark noise after eliminating the abnormal value
Figure BDA0002712429530000143
First derivative d ofd(λ), as follows:
Figure BDA0002712429530000144
wherein d isdj) The first derivative of the average of the spectral response data representing dark noise after outliers are removed,
Figure BDA0002712429530000145
denotes λjThe average value of the spectral response data of the dark noise after the abnormal value is removed from the wavelength points,
Figure BDA0002712429530000146
denotes λj-1Average value of spectral response data of dark noise with abnormal values removed from wavelength points, wherein lambda represents wavelength and lambda represents noisejDenotes the jth wavelength point, λj-1Represents the j-1 wavelength point;
within the wavelength interval of color tristimulus value calculation, the average value of the spectral response data of the dark noise after the abnormal value is removed
Figure BDA0002712429530000147
First derivative d ofdTwo wavelength points λ corresponding to the maximum value in (λ)kAnd λk-1The spectral response data is removed to obtain the average value of the spectral response data of the removed dark noise
Figure BDA0002712429530000148
The color measurement platform and the spectrum preprocessing method for calculating the tristimulus color values in the embodiments of the invention calculate the average value of the reference standard spectrum response data after removing the abnormal values
Figure BDA0002712429530000149
And calculating the average value of the reference standard spectral response data after removing the abnormal value according to the formula (6)
Figure BDA00027124295300001410
First derivative d ofr(λ), as shown in FIG. 5; within the wavelength interval of color tristimulus values, the average value of the reference standard spectral response data after the abnormal values are removed
Figure BDA00027124295300001411
Two wavelength points lambda corresponding to the maximum value of the first derivative value ofkAnd λk-1The spectral response data are removed to obtain the average value of the reference standard spectral response data after removal
Figure BDA00027124295300001412
TABLE 2600 nm-610nm first derivative of reference Standard spectral response data
Figure BDA00027124295300001413
Figure BDA0002712429530000151
As shown in Table 2, the average value of the reference standard spectral response data after eliminating the abnormal values and sorted from large to small with the wavelength of 600nm to 610nm
Figure BDA0002712429530000152
The first derivative of the wavelength point 602.5nm is the maximum, so that the spectral response data of 602.5nm and 602nm corresponding to the maximum value of the first derivative are removed, and the data of other wavelength points are removed by the same method to remove the abnormality; calculating the average value of the spectral response data of the sample 2 to be detected after eliminating the abnormal value
Figure BDA0002712429530000153
And calculating the average value of the spectral response data of the sample 2 to be detected after eliminating the abnormal value according to the formula (4)
Figure BDA0002712429530000154
First derivative d ofs(λ), as shown in FIG. 5;within the wavelength interval of the color tristimulus values, the average value of the spectral response data of the sample 2 to be measured after the abnormal values are removed
Figure BDA0002712429530000155
Two wavelength points lambda corresponding to the maximum value of the first derivative value ofkAnd λk-1The spectral response data are removed to obtain the average value of the spectral response data of the sample 2 to be detected after removal
Figure BDA0002712429530000156
Calculating the average value of the spectral response data of the dark noise after eliminating the abnormal value
Figure BDA0002712429530000157
And calculating the average value of the spectral response data of the dark noise after removing the abnormal value according to the formula (4)
Figure BDA0002712429530000158
First derivative d ofd(λ), as shown in FIG. 5; within the wavelength interval of color tristimulus value calculation, the average value of the spectral response data of the dark noise after the abnormal value is removed
Figure BDA0002712429530000159
Two wavelength points lambda corresponding to the maximum value of the first derivative value ofkAnd λk-1The spectral response data are removed to obtain the average value of the spectral response data of the sample 2 to be detected after removal
Figure BDA00027124295300001510
Wherein, the step 7 specifically comprises: averaging the rejected reference standard spectral response data by adopting a spectral smoothing method
Figure BDA00027124295300001511
Average value of spectral response data of rejected sample 2 to be detected
Figure BDA00027124295300001512
Picking deviceAverage of spectral response data of the divided dark noise
Figure BDA00027124295300001513
De-noising to obtain the average value of the de-noised reference standard spectral response data
Figure BDA00027124295300001514
Average value of denoised spectral response data of sample 2 to be detected
Figure BDA00027124295300001515
And average of spectral response data of denoised dark noise
Figure BDA00027124295300001516
Wherein, the step 8 specifically comprises: in the visible light range, the wavelength interval is calculated by using the color tristimulus values as an interpolation interval, and the average value of the denoised reference standard spectral response data is calculated by adopting an interpolation algorithm
Figure BDA00027124295300001517
Average value of denoised spectral response data of sample 2 to be detected
Figure BDA00027124295300001518
And average of spectral response data of denoised dark noise
Figure BDA00027124295300001519
Converting to obtain the average value of the converted reference standard spectral response data in the same wavelength range and the same wavelength interval
Figure BDA0002712429530000161
Average value of converted spectral response data of sample 2 to be measured
Figure BDA0002712429530000162
And average of the converted spectral response data of dark noise
Figure BDA0002712429530000163
In the color measurement platform and the spectrum preprocessing method for calculating the tristimulus color values according to the embodiments of the present invention, the average value of the denoised reference standard spectrum response data is calculated by using an interpolation algorithm
Figure BDA0002712429530000164
Average value of denoised spectral response data of sample 2 to be detected
Figure BDA0002712429530000165
And average of spectral response data of denoised dark noise
Figure BDA0002712429530000166
Average value of converted reference standard spectral response data converted to a wavelength range of 380nm to 780nm at a wavelength interval of 5nm
Figure BDA0002712429530000167
Average value of converted spectral response data of sample 2 to be measured
Figure BDA0002712429530000168
And average of the converted spectral response data of dark noise
Figure BDA0002712429530000169
As shown in fig. 6.
Wherein, the step 9 specifically comprises: based on the obtained average value of the converted reference standard spectral response data
Figure BDA00027124295300001610
Average value of converted spectral response data of sample 2 to be measured
Figure BDA00027124295300001611
And average of the converted spectral response data of dark noise
Figure BDA00027124295300001612
Calculating the spectral reflectivity rho of the sample to be measureds(λ), as follows:
Figure BDA00027124295300001613
where ρ iss(lambda) represents the spectral reflectance, rho, of the sample to be measuredr(λ) denotes the spectral reflectance of the reference standard, λ denotes the wavelength,
Figure BDA00027124295300001614
represents the average of the converted reference standard spectral response data,
Figure BDA00027124295300001615
represents the average value of the converted spectral response data of the sample to be measured,
Figure BDA00027124295300001616
an average of the spectral response data representing the converted dark noise.
Wherein, the step 10 specifically includes: according to the obtained spectral reflectivity rho of the sample to be measureds(lambda), calculating the color tristimulus value of the sample to be measured as follows:
Figure BDA00027124295300001617
where ρ iss(lambda) represents the spectral reflectance of the sample to be measured, S (lambda) represents the CIE specified relative spectral power distribution of the standard illuminant,
Figure BDA00027124295300001618
for the standard chromaticity observer data specified by CIE, Δ λ represents the wavelength interval, k represents the normalization coefficient, and λ represents the wavelength.
The color measurement platform and the spectrum preprocessing method for calculating the color tristimulus value, which are provided by the embodiment of the invention, repeat the steps 2 to 10, repeat the measurement on the reference standard, the sample 2 to be measured and the dark noise for four times, and calculate the X value, the Y value and the Z value of the color tristimulus value;
TABLE 3 calculation of X, Y and Z value comparisons of spectral response data before and after pretreatment
Figure BDA0002712429530000171
As can be seen from table 3, the standard deviation of the X value, the Y value, and the Z value calculated by the preprocessed spectral response data is significantly lower than the standard deviation of the X value, the Y value, and the Z value calculated by the original spectral response data before preprocessing, which indicates that the color measurement platform and the spectral preprocessing method for calculating the color tristimulus value can effectively eliminate the noise influence in the measurement process, and improve the measurement accuracy and repeatability.
According to the color measurement platform and the spectrum preprocessing method for calculating the color tristimulus value, the color measurement platform for calculating the color tristimulus value is set up by adopting the optical fiber light source 5, the reflection measurement bracket 1, the optical fiber spectrometer 6 and the computer 7 with spectrum acquisition and analysis software according to the color measurement geometrical conditions specified by CIE; determining measurement parameters: the frequency of acquiring the spectral response data by the optical fiber spectrometer 6 is not less than 6, the optical fiber spectrometer 6 is adopted to measure reference standard spectral response data, the integration time of the reference standard spectral response data reaching the maximum is determined to be 155 milliseconds, 155 milliseconds are set as the integration time of the optical fiber spectrometer 6, the integration time of the optical fiber spectrometer 6 is the integration time of the reference standard spectral response data reaching the maximum, the spectral sampling wavelength range is 380nm-780nm, the spectral sampling wavelength interval is 0.5nm, and the spectral sampling wavelength interval is less than one tenth of the color tristimulus value calculation wavelength interval. And respectively measuring the reference standard, the sample 2 to be measured and the spectral response data of dark noise by adopting the color measuring platform for calculating the color tristimulus values. The standard deviation of spectral response data based on a single wavelength point is determined, the standard deviation of the spectral response data measured for multiple times at each wavelength point is calculated, and the wavelength point with the abnormal spectral response data is searched and removed according to the abnormal value criterion and method. And calculating the average value of the reference standard after the abnormal value is eliminated, the sample 2 to be detected and the spectral response data of the dark noise. Calculating a reference standard, a first derivative of the average value of the spectral response data of the sample 2 to be measured and the dark noise, eliminating the reference standard, the average value of the spectral response data corresponding to the maximum value in the first derivative of the average value of the spectral response data of the sample 2 to be measured and the dark noise, denoising the eliminated reference standard and the average value of the spectral response data of the sample 2 to be measured and the dark noise by adopting a spectral smoothing method, converting the denoised reference standard and the average value of the spectral response data of the sample 2 to be measured and the dark noise into the converted reference standard with the same wavelength range and the same wavelength interval and the average value of the spectral response data of the sample 2 to be measured and the dark noise by adopting an interpolation algorithm, and calculating the spectral reflectivity of the sample 2 to be measured according to the converted reference standard and the average value of the spectral response data of the sample 2 to be measured and the dark noise, and calculating the color tristimulus value of the sample 2 to be detected according to the spectral reflectivity of the sample 2 to be detected.
The color measurement platform and the spectrum preprocessing method for calculating the color tristimulus values in the embodiment of the invention improve the accuracy and the repeatability of the color measurement of the fiber spectrometer 6, can eliminate the spectrum abnormal peak value and the high-frequency random noise, and are suitable for preprocessing the spectrum data which has no obvious characteristic peak value and has a relatively gentle curve change trend.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A color measurement platform for color tristimulus value calculation, comprising:
a reflectance measurement mount;
a sample to be measured, wherein the sample to be measured is placed at the top of the reflection measurement bracket;
the first collimating mirror is arranged right above the sample to be detected;
the second collimating lens is obliquely arranged above the side of the sample to be detected, and the included angle between the second collimating lens and the first collimating lens is 45 degrees;
the optical fiber light source is connected with the second collimating mirror through an incident optical fiber;
the first end of the fiber spectrometer is connected with the first collimating mirror through an emergent optical fiber;
a computer electrically connected to the second end of the fiber optic spectrometer.
2. A spectral preprocessing method for color tristimulus value calculation applied to the color measurement platform for color tristimulus value calculation according to claim 1, comprising:
step 1, placing a reference standard on a reflection measurement support, adopting a fiber optic spectrometer to collect spectral response data of the reference standard, replacing the reference standard with a sample to be measured, adopting the fiber optic spectrometer to collect spectral response data of the sample to be measured, placing a visible light cut-off baffle plate between the reflection measurement support and the fiber optic spectrometer, and adopting the fiber optic spectrometer to collect spectral response data of dark noise to obtain reference standard spectral response data, spectral response data of the sample to be measured and spectral response data of the dark noise;
step 2, respectively calculating the standard deviation of reference standard spectral response data, the standard deviation of the spectral response data of the sample to be detected and the standard deviation of the spectral response data of dark noise at each wavelength sampling point, respectively setting an abnormal value rejection criterion and a method according to the standard deviation of the reference standard spectral response data, the standard deviation of the spectral response data of the sample to be detected and the standard deviation of the spectral response data of the dark noise in the color tristimulus value calculation wavelength interval, and rejecting the abnormal value of the standard deviation of the reference standard spectral response data, the standard deviation of the spectral response data of the sample to be detected and the abnormal value of the standard deviation of the spectral response data of the dark noise corresponding to the reference standard spectral response data, the spectral response data of the sample to be detected and the spectral response data of the dark noise;
step 3, respectively calculating the average value of the reference standard spectral response data after the abnormal values are removed, the average value of the spectral response data of the sample to be detected after the abnormal values are removed and the average value of the spectral response data of the dark noise after the abnormal values are removed;
step 4, calculating a first derivative of the average value of the reference standard spectral response data after the abnormal values are removed, and removing two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus valueskAnd λk-1Obtaining the average value of the rejected reference standard spectral response data;
step 5, calculating a first derivative of the average value of the spectral response data of the sample to be detected after the abnormal value is removed, and removing two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus value calculationkAnd λk-1Obtaining the average value of the spectral response data of the rejected samples to be detected;
step 6, calculating a first derivative of the average value of the spectral response data of the dark noise after the abnormal value is removed, and removing two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus value calculationkAnd λk-1Obtaining the average value of the spectral response data of the rejected dark noise;
step 7, denoising the average value of the rejected reference standard spectral response data, the average value of the rejected sample to be detected spectral response data and the average value of the rejected dark noise spectral response data by adopting a spectral smoothing method to obtain the average value of the denoised reference standard spectral response data, the average value of the denoised sample to be detected spectral response data and the average value of the denoised dark noise spectral response data;
step 8, in a visible light range, calculating a wavelength interval by using a color tristimulus value as an interpolation interval, and converting the average value of the denoised reference standard spectral response data, the average value of the denoised sample spectral response data and the average value of the denoised dark noise spectral response data by adopting an interpolation algorithm to obtain the average value of the converted reference standard spectral response data, the average value of the converted sample spectral response data and the average value of the converted dark noise spectral response data;
step 9, calculating the spectral reflectivity of the sample to be measured according to the average value of the converted reference standard spectral response data, the average value of the converted sample to be measured spectral response data and the average value of the converted dark noise spectral response data;
and step 10, calculating the color tristimulus value of the sample to be detected according to the calculated spectral reflectivity of the sample to be detected.
3. The spectral preprocessing method for color tristimulus value calculation according to claim 2, wherein the step 1 specifically comprises:
respectively collecting spectral response data of the reference standard, the sample to be detected and dark noise by using an optical fiber spectrometer, wherein the collection times are not less than 6 times to obtain reference standard spectral response data Vr(lambda) spectral response data V of the sample to be measureds(λ) and spectral response data V of dark noised(lambda), the integration time of the fiber spectrometer is the integration time when the reference standard spectral response data reaches the maximum, and the spectral sampling wavelength interval is less than one tenth of the wavelength interval of the color tristimulus value calculation.
4. The spectral preprocessing method for color tristimulus value calculation according to claim 2, wherein the step 2 specifically comprises:
calculating the standard deviation s of the reference standard spectral response data at each wavelength sampling pointr(λ), as follows:
Figure FDA0002712429520000031
wherein s isr(λ) represents the standard deviation of the reference standard spectral response data, n represents the number of measurements, i represents the ith measurement, λ represents the wavelength, Vr-i(λ) represents the reference standard spectral response data for the ith measurement,
Figure FDA0002712429520000032
means representing reference standard spectral response data;
searching for standard deviation s of reference standard spectral response data within the color tristimulus value calculation wavelength intervalr(lambda) maximum wavelength point lambdamax_rAnd eliminating abnormal wavelength point lambdamax_rReference standard spectral response data of (a);
calculating the standard deviation s of the spectral response data of the sample to be measured at each wavelength sampling points(λ), as follows:
Figure FDA0002712429520000033
wherein s iss(lambda) represents the standard deviation of the spectral response data of the sample to be measured, n represents the number of measurements, i represents the ith measurement, lambda represents the wavelength, Vs-i(lambda) represents the spectral response data of the sample to be measured of the ith measurement,
Figure FDA0002712429520000034
the average value of the spectral response data of the sample to be measured is represented;
searching the standard deviation s of the spectral response data of the sample to be detected in the wavelength interval of the color tristimulus valuess(lambda) maximum wavelength point lambdamax_sAnd eliminating abnormal wavelength point lambdamax_sSpectral response data of the sample to be detected;
calculating the standard deviation s of the spectral response data of the dark noise at each wavelength sampling pointd(λ), as follows:
Figure FDA0002712429520000035
wherein s isd(λ) represents the standard deviation of the spectral response data of dark noise, n represents the number of measurements, i represents the ith measurement, λ represents the wavelength, Vd-i(lambda) represents the spectral response data of the dark noise measured at the ith time,
Figure FDA0002712429520000036
an average of spectral response data representing dark noise;
finding the standard deviation s of the spectral response data of dark noise within the color tristimulus value calculation wavelength intervald(lambda) maximum wavelength point lambdamax_dAnd eliminating abnormal wavelength point lambdamax_dThe spectral response data of the dark noise.
5. The spectral preprocessing method for color tristimulus value calculation according to claim 2, wherein said step 3 specifically comprises:
respectively calculating the average value of the reference standard spectral response data after eliminating the abnormal values
Figure FDA0002712429520000041
Average value of spectral response data of sample to be detected after eliminating abnormal value
Figure FDA0002712429520000042
And average value of spectral response data of dark noise after removing abnormal value
Figure FDA0002712429520000043
6. The spectral preprocessing method for color tristimulus value calculation according to claim 2, wherein the steps 4, 5 and 6 specifically include:
calculating the average value of the reference standard spectral response data after eliminating the abnormal value
Figure FDA0002712429520000044
First derivative d ofr(λ), as follows:
Figure FDA0002712429520000045
wherein d isrj) A first derivative representing the average of the reference standard spectral response data after outliers are removed,
Figure FDA0002712429520000046
denotes λjThe wavelength points are referenced to the average of the standard spectral response data,
Figure FDA0002712429520000047
denotes λj-1The wavelength points are referenced to the mean of the standard spectral response data, λ denotes wavelength, λjDenotes the jth wavelength point, λj-1Represents the j-1 wavelength point;
within the wavelength interval of color tristimulus values, the average value of the reference standard spectral response data after the abnormal values are removed
Figure FDA0002712429520000048
First derivative d ofrTwo wavelength points λ corresponding to the maximum value in (λ)kAnd λk-1The spectral response data are removed to obtain the average value of the reference standard spectral response data after removal
Figure FDA0002712429520000049
Calculating the average value of the spectral response data of the sample to be detected after eliminating the abnormal value
Figure FDA00027124295200000410
First derivative d ofs(λ), as follows:
Figure FDA00027124295200000411
wherein d issj) The first derivative of the average value of the spectral response data of the sample to be detected after the abnormal value is eliminated is shown,
Figure FDA00027124295200000412
denotes λjThe average value of the spectral response data of the sample to be detected after the abnormal value is removed from the wavelength points,
Figure FDA00027124295200000413
denotes λj-1The average value of the spectral response data of the sample to be measured after the abnormal value of the wavelength point is removed, wherein lambda represents the wavelength, and lambda represents the wavelengthjDenotes the jth wavelength point, λj-1Represents the j-1 wavelength point;
within the wavelength interval of the color tristimulus values, the average value of the spectral response data of the sample to be measured after the abnormal values are removed
Figure FDA00027124295200000414
First derivative d ofsTwo wavelength points λ corresponding to the maximum value in (λ)kAnd λk-1The spectral response data are removed to obtain the average value of the spectral response data of the samples to be detected after removal
Figure FDA00027124295200000415
Calculating the average value of the spectral response data of the dark noise after eliminating the abnormal value
Figure FDA00027124295200000416
First derivative d ofd(λ), as follows:
Figure FDA0002712429520000051
wherein d isdj) The first derivative of the average of the spectral response data representing dark noise after outliers are removed,
Figure FDA0002712429520000052
denotes λjThe average value of the spectral response data of the dark noise after the abnormal value is removed from the wavelength points,
Figure FDA0002712429520000053
denotes λj-1Average value of spectral response data of dark noise with abnormal values removed from wavelength points, wherein lambda represents wavelength and lambda represents noisejDenotes the jth wavelength point, λj-1Represents the j-1 wavelength point;
within the wavelength interval of color tristimulus value calculation, the average value of the spectral response data of the dark noise after the abnormal value is removed
Figure FDA0002712429520000054
First derivative d ofdTwo wavelength points λ corresponding to the maximum value in (λ)kAnd λk-1The spectral response data is removed to obtain the average value of the spectral response data of the removed dark noise
Figure FDA0002712429520000055
7. The spectral preprocessing method for color tristimulus value calculation according to claim 2, characterized in that said step 7 specifically comprises:
averaging the rejected reference standard spectral response data by adopting a spectral smoothing method
Figure FDA0002712429520000056
Average value of spectral response data of rejected samples to be detected
Figure FDA0002712429520000057
And after being removedAverage of the spectral response data of the dark noise
Figure FDA0002712429520000058
De-noising to obtain the average value of the de-noised reference standard spectral response data
Figure FDA0002712429520000059
Average value of denoised spectral response data of sample to be detected
Figure FDA00027124295200000510
And average of spectral response data of denoised dark noise
Figure FDA00027124295200000511
8. The spectral preprocessing method for color tristimulus value calculation according to claim 2, wherein said step 8 specifically comprises:
in the visible light range, the wavelength interval is calculated by using the color tristimulus values as an interpolation interval, and the average value of the denoised reference standard spectral response data is calculated by adopting an interpolation algorithm
Figure FDA00027124295200000512
Average value of denoised spectral response data of sample to be detected
Figure FDA00027124295200000513
And average of spectral response data of denoised dark noise
Figure FDA00027124295200000514
Converting to obtain the average value of the converted reference standard spectral response data in the same wavelength range and the same wavelength interval
Figure FDA00027124295200000515
After conversion to be readyAverage value of spectral response data of measured sample
Figure FDA00027124295200000516
And average of the converted spectral response data of dark noise
Figure FDA00027124295200000517
9. The spectral preprocessing method for color tristimulus value calculation according to claim 2, wherein said step 9 specifically comprises:
based on the obtained average value of the converted reference standard spectral response data
Figure FDA00027124295200000518
Average value of converted spectral response data of sample to be detected
Figure FDA00027124295200000519
And average of the converted spectral response data of dark noise
Figure FDA0002712429520000061
Calculating the spectral reflectivity rho of the sample to be measureds(λ), as follows:
Figure FDA0002712429520000062
where ρ iss(lambda) represents the spectral reflectance, rho, of the sample to be measuredr(λ) denotes the spectral reflectance of the reference standard, λ denotes the wavelength,
Figure FDA0002712429520000063
represents the average of the converted reference standard spectral response data,
Figure FDA0002712429520000064
represents the average value of the converted spectral response data of the sample to be measured,
Figure FDA0002712429520000065
an average of the spectral response data representing the converted dark noise.
10. The spectral preprocessing method for color tristimulus value calculation according to claim 2, characterized in that said step 10 specifically comprises:
according to the obtained spectral reflectivity rho of the sample to be measureds(lambda), calculating the color tristimulus value of the sample to be measured as follows:
Figure FDA0002712429520000066
where ρ iss(lambda) represents the spectral reflectance of the sample to be measured, S (lambda) represents the CIE specified relative spectral power distribution of the standard illuminant,
Figure FDA0002712429520000067
for the standard chromaticity observer data specified by CIE, Δ λ represents the wavelength interval, k represents the normalization coefficient, and λ represents the wavelength.
CN202011061193.3A 2020-09-30 2020-09-30 Spectrum preprocessing method for calculating color tristimulus values Active CN112161708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011061193.3A CN112161708B (en) 2020-09-30 2020-09-30 Spectrum preprocessing method for calculating color tristimulus values

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011061193.3A CN112161708B (en) 2020-09-30 2020-09-30 Spectrum preprocessing method for calculating color tristimulus values

Publications (2)

Publication Number Publication Date
CN112161708A true CN112161708A (en) 2021-01-01
CN112161708B CN112161708B (en) 2023-03-24

Family

ID=73861219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011061193.3A Active CN112161708B (en) 2020-09-30 2020-09-30 Spectrum preprocessing method for calculating color tristimulus values

Country Status (1)

Country Link
CN (1) CN112161708B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024141025A1 (en) * 2022-12-29 2024-07-04 苏州欧普照明有限公司 Spectral data calibration method and apparatus, and electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008304362A (en) * 2007-06-08 2008-12-18 Seiko Epson Corp Color measuring technique, color measuring device, and gauge for directly reading tristimulus value
CN101718586A (en) * 2009-12-07 2010-06-02 浙江大学 Method and system for calibrating standard colorimetric plate for cotton colorimeter
CN102466520A (en) * 2010-11-11 2012-05-23 香港纺织及成衣研发中心 Multispectral imaging color measurement system and imaging signal processing method thereof
CN106124054A (en) * 2016-06-20 2016-11-16 中国船舶重工集团公司第七〇七研究所 A kind of large format spectrum imaging color measuring device
CN107101955A (en) * 2017-01-11 2017-08-29 中国计量科学研究院 A kind of LED cottons chromatic measuring system and a kind of LED cottons method for measuring color

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008304362A (en) * 2007-06-08 2008-12-18 Seiko Epson Corp Color measuring technique, color measuring device, and gauge for directly reading tristimulus value
CN101718586A (en) * 2009-12-07 2010-06-02 浙江大学 Method and system for calibrating standard colorimetric plate for cotton colorimeter
CN102466520A (en) * 2010-11-11 2012-05-23 香港纺织及成衣研发中心 Multispectral imaging color measurement system and imaging signal processing method thereof
CN106124054A (en) * 2016-06-20 2016-11-16 中国船舶重工集团公司第七〇七研究所 A kind of large format spectrum imaging color measuring device
CN107101955A (en) * 2017-01-11 2017-08-29 中国计量科学研究院 A kind of LED cottons chromatic measuring system and a kind of LED cottons method for measuring color

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024141025A1 (en) * 2022-12-29 2024-07-04 苏州欧普照明有限公司 Spectral data calibration method and apparatus, and electronic device and storage medium

Also Published As

Publication number Publication date
CN112161708B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
EP0560006A2 (en) Standardizing and calibrating a spectrometric instrument
CN106769937B (en) Spectral data processing method
CN117349683B (en) Auto-parts application colour difference anomaly detection system based on spectral data
CN109991181B (en) Adaptive surface absorption spectrum analysis method, system, storage medium and device
CN112161708B (en) Spectrum preprocessing method for calculating color tristimulus values
CN106018331B (en) The method for estimating stability and pretreatment optimization method of multi-channel spectral system
CN111157484A (en) Near infrared spectrum model transfer method for fruit sugar degree detection equipment
CN111366573B (en) Evaluation method based on LIBS spectral component analysis result
CN115574939A (en) Optical fiber spectrometer measuring method
CN112729555A (en) Method for synchronously diagnosing plasma temperature field by standard temperature method and relative spectral line method
CN113795748A (en) Method for configuring a spectrometric device
CN111579526B (en) Method for representing difference and correction of near infrared instrument
CN115586143A (en) Spectrum drift calibration and correction method based on random sampling consistency
CN114544530A (en) Tobacco shred component detection method and device and computer equipment
CN111597503B (en) Calculation method of colloidal gold peak value under multiple modes
CN107655838B (en) Method for detecting device by relaxation spectrum
CN113155775A (en) Near infrared spectrum calibration method and fruit quality detection system applying same
CN117454098B (en) Dust concentration measuring method and system based on laser scattering
CN112557337B (en) Method for detecting content of each component of slurry porridge or glue solution in regenerated viscose fiber
CN115326726B (en) Malt chroma detection method
CN112986180B (en) Spectrum type gas sensing data processing method and system
CN115759884B (en) Spectrum data quality evaluation method and device based on point spectrometer
CN115184298B (en) Method for on-line monitoring of soy sauce quality based on near infrared spectrum
CN111256819A (en) Noise reduction method of spectrum instrument
Guo et al. Improvement and optimization of cotton colorimeter based on Hunter color coordinate conversion

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 410100 Xingsha Avenue, Changsha economic and Technological Development Zone, Changsha, Hunan, 18

Patentee after: Hunan Nanhai Technology Co.,Ltd.

Address before: 410100 Xingsha Avenue, Changsha economic and Technological Development Zone, Changsha, Hunan, 18

Patentee before: HUNAN FURUI PRINTING Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP03 Change of name, title or address

Address after: 410100 Xingsha Avenue, Changsha economic and Technological Development Zone, Changsha, Hunan, 18

Patentee after: Hunan Fengbai Technology Co.,Ltd.

Country or region after: China

Address before: 410100 Xingsha Avenue, Changsha economic and Technological Development Zone, Changsha, Hunan, 18

Patentee before: Hunan Nanhai Technology Co.,Ltd.

Country or region before: China