CN112161708B - Spectrum preprocessing method for calculating color tristimulus values - Google Patents

Spectrum preprocessing method for calculating color tristimulus values Download PDF

Info

Publication number
CN112161708B
CN112161708B CN202011061193.3A CN202011061193A CN112161708B CN 112161708 B CN112161708 B CN 112161708B CN 202011061193 A CN202011061193 A CN 202011061193A CN 112161708 B CN112161708 B CN 112161708B
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.)
Active
Application number
CN202011061193.3A
Other languages
Chinese (zh)
Other versions
CN112161708A (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 spectrum preprocessing method for calculating a color tristimulus value, which comprises the following steps of: 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

Spectrum preprocessing method for calculating color tristimulus values
Technical Field
The invention relates to the technical field of spectrum preprocessing, in particular to a spectrum preprocessing method for calculating a color tristimulus value.
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 evaluating the product color quality such as uniform color space CIE Lab values, color difference values and the like which accord with the visual characteristics of human eyes are calculated based on tristimulus values CIE XYZ. 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 spectrometer s (λ), spectral response data V of reference standard r (λ) and spectral response data V of dark noise d (λ); 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 GDA0003938832330000011
Multiplying and summing to obtain the color tristimulus value, which is shown in a formula (10). For the measurement and calculation method of the transmission sample, similar to that of the reflection sample, the spectral transmittance tau (lambda) is calculated only by referring to the transmission spectral response data of the standard and the transmission spectral response data of the dark noise according to the transmission spectral response data of the sample, and then the tristimulus value is calculated by adopting the formula (10).
Figure GDA0003938832330000021
Figure GDA0003938832330000022
According to the method for calculating the spectral reflectivity and the tristimulus values of the colors, the spectral response data collected by the fiber spectrometer is used for calculating the reflection or transmission spectral characteristics of the object, the tristimulus values CIE XYZ and CIE L * a * b * And basic data of chromaticity parameters such as chromatic aberration. However, is detectedThe spectral response data collected by the fiber spectrometer contains various noise data besides color information due to the influence of factors such as instruments, electronic devices, dark current, external environment interference and the like. 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) a method for eliminating spectrum abnormal values: 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) a spectral denoising method: the purpose of spectrum denoising is to eliminate system errors, particularly 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) spectral smoothing method: the purpose of the smoothing of the spectral response data is to remove random noise, especially high frequency noise, from 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 spectrum preprocessing method for calculating a color tristimulus value, and aims to solve the problems that a traditional spectrum preprocessing method is not suitable for processing spectrum response data which have no obvious characteristic peak value, have relatively gentle curve change trend and are 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.
The embodiment of the invention also provides a spectrum preprocessing method for calculating the color tristimulus values, which comprises the following steps:
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 values k And λ k-1 Obtaining 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 eliminated, and eliminating two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus value calculation k And λ k-1 Obtaining 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 elimination of the abnormal value, and eliminating two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus value calculation k And λ k-1 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 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 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 V r (lambda) spectral response data V of the sample to be measured s (λ) and spectral response data V of dark noise d (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 point r (λ), as follows:
Figure GDA0003938832330000051
wherein s is r (λ) represents the standard deviation of the reference standard spectral response dataN denotes the number of measurements, i denotes the ith measurement, λ denotes the wavelength, V r-i (λ) represents the reference standard spectral response data for the ith measurement,
Figure GDA0003938832330000052
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 interval r (lambda) maximum wavelength point lambda max_r And eliminating abnormal wavelength point lambda max_r Reference 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 point s (λ), shown below:
Figure GDA0003938832330000053
wherein s is s (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, V s-i (lambda) represents the spectral response data of the sample to be measured of the ith measurement,
Figure GDA0003938832330000054
the average value of the spectral response data of the sample to be measured is represented;
searching standard deviation s of spectral response data of a sample to be detected in the wavelength interval of color tristimulus value calculation s (lambda) maximum wavelength point lambda max_s And eliminating abnormal wavelength point lambda max_s Spectral 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 point d (λ), shown below:
Figure GDA0003938832330000055
wherein s is d (λ) spectral response data representing dark noiseStandard deviation, n denotes the number of measurements, i denotes the i-th measurement, λ denotes the wavelength, V d-i (lambda) represents the spectral response data of the dark noise measured at the ith time,
Figure GDA0003938832330000056
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 interval d (lambda) maximum wavelength point lambda max_d And eliminating abnormal wavelength points lambda max_d The 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 GDA0003938832330000061
The average value of the spectral response data of the sample to be tested after the elimination of the abnormal value>
Figure GDA0003938832330000062
And an average value of the spectral response data of dark noise after elimination of outliers>
Figure GDA0003938832330000063
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 abnormal values
Figure GDA0003938832330000064
First derivative d of r (λ), as follows:
Figure GDA0003938832330000065
wherein, d rj ) First derivative representing mean of reference standard spectral response data after outlier rejectionThe number of the first and second groups is,
Figure GDA0003938832330000066
denotes λ j Wavelength point is referenced to the mean value of the standard spectral response data, <' > or>
Figure GDA0003938832330000067
Denotes λ j-1 The wavelength points are referenced to the mean of the standard spectral response data, λ denotes wavelength, λ j Denotes the jth wavelength point, λ j-1 Represents 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 GDA0003938832330000068
First derivative d of r Two wavelength points λ corresponding to the maximum value in (λ) k And λ k-1 The spectral response data is rejected to obtain the average value of the rejected reference standard spectral response data>
Figure GDA0003938832330000069
Calculating the average value of the spectral response data of the sample to be detected after eliminating the abnormal value
Figure GDA00039388323300000610
First derivative d of s (λ), as follows: />
Figure GDA00039388323300000611
Wherein d is sj ) 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 GDA00039388323300000612
denotes λ j The average value of the spectral response data of the sample to be tested after the abnormal value is eliminated from the wavelength point, and then the value is judged>
Figure GDA00039388323300000613
Denotes λ j-1 The 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 wavelength j Denotes the jth wavelength point, λ j-1 Represents 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 GDA00039388323300000614
First derivative d of s Two wavelength points λ corresponding to the maximum value in (λ) k And λ k-1 The spectral response data are eliminated to obtain the average value of the spectral response data of the eliminated sample to be detected>
Figure GDA00039388323300000615
Calculating the average value of the spectral response data of the dark noise after eliminating the abnormal value
Figure GDA00039388323300000616
First derivative d of d (λ), shown below:
Figure GDA00039388323300000617
wherein d is dj ) The first derivative of the average of the spectral response data representing dark noise after outliers are removed,
Figure GDA0003938832330000071
denotes λ j Average value of the spectral response data of the dark noise with the wavelength points rejected for an abnormal value, and/or>
Figure GDA0003938832330000072
Denotes λ j-1 Average value of spectral response data of dark noise with abnormal values removed from wavelength points, wherein lambda represents wavelength and lambda represents noise j Represents the jth wavelengthPoint, λ j-1 Represents 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 GDA0003938832330000073
First derivative of (d) d Two wavelength points λ corresponding to the maximum value in (λ) k And λ k-1 The spectral response data is eliminated to obtain the average value of the spectral response data of the eliminated dark noise>
Figure GDA0003938832330000074
Wherein, the step 7 specifically comprises:
averaging the rejected reference standard spectral response data by adopting a spectral smoothing method
Figure GDA0003938832330000075
The average value of the spectral response data of the rejected samples to be tested is ≥ er>
Figure GDA0003938832330000076
And the average of the rejected dark noise spectral response data ≥>
Figure GDA0003938832330000077
De-noising to obtain the average value of the de-noised reference standard spectral response data>
Figure GDA0003938832330000078
Average value of denoised spectral response data of a sample to be tested->
Figure GDA0003938832330000079
And the average of the spectral response data of the denoised dark noise ≥>
Figure GDA00039388323300000710
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 GDA00039388323300000711
Average value of denoised spectral response data of sample to be detected
Figure GDA00039388323300000712
And the average of the spectral response data of the denoised dark noise ≥>
Figure GDA00039388323300000713
Performing a conversion resulting in an average value of the converted reference standard spectral response data for the same wavelength range and the same wavelength interval->
Figure GDA00039388323300000714
The mean value of the converted spectral response data of the sample to be examined->
Figure GDA00039388323300000715
And the average value of the converted dark noise's spectral response data->
Figure GDA00039388323300000716
Wherein, the step 9 specifically comprises:
based on the obtained average value of the converted reference standard spectral response data
Figure GDA00039388323300000717
The mean value of the converted spectral response data of the sample to be examined->
Figure GDA00039388323300000718
And the average value of the converted dark noise's spectral response data->
Figure GDA00039388323300000719
ComputingSpectral reflectivity rho of sample to be measured s (λ), shown below:
Figure GDA00039388323300000720
wherein ρ s (lambda) represents the spectral reflectance, rho, of the sample to be measured r (λ) denotes the spectral reflectance of the reference standard, λ denotes the wavelength,
Figure GDA00039388323300000721
represents the mean value of the converted reference standard spectral response data, based on the measured value of the reference standard spectral response data>
Figure GDA00039388323300000722
Represents the mean value of the converted spectral response data of the sample to be examined, is determined>
Figure GDA00039388323300000723
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 measured s (lambda), calculating the color tristimulus value of the sample to be measured as follows:
Figure GDA0003938832330000081
where ρ is s (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 GDA0003938832330000082
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 of spectral response data of a reference standard, a sample to be tested, and dark noise after spectral pre-processing 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 support 1, adopting an optical fiber spectrometer 6 to collect spectral response data of the reference standard, replacing the reference standard with a sample 2 to be measured, adopting the optical fiber spectrometer 6 to collect spectral response data of the sample 2 to be measured, placing a visible light cut-off baffle between the reflection measurement support 1 and the optical fiber spectrometer 6, adopting the optical fiber spectrometer 6 to collect spectral response data of dark noise, and obtaining the spectral response data of the reference standard, the spectral response data of the sample 2 to be measured and the spectral response data of the dark noise; step 2, respectively calculating 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 at each wavelength sampling point, respectively setting an abnormal value rejection criterion and 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 and the spectral response number of the sample 2 to be detectedAccording to the standard deviation 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 values k And λ k-1 Obtaining 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 calculation k And λ k-1 Obtaining 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 calculation k And λ k-1 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; and 8, in a visible light range, calculating a wavelength interval by using the color tristimulus values as an interpolation interval, and converting the average value of the denoised reference standard spectral response data, the average value of the denoised spectral response data of the sample 2 to be detected and the average value of the denoised spectral response data of the dark noise by adopting an interpolation algorithm to obtainThe 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; step 9, calculating the spectral reflectivity of the sample 2 to be measured 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 measured 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 collecting spectral response data of the reference standard, the sample 2 to be detected and dark noise by using a fiber spectrometer 6, wherein the collection times are not less than 6 times to obtain reference standard spectral response data V r (lambda) spectral response data V of sample 2 to be measured s (λ) and spectral response data V of dark noise d (λ), 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, the sampling 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 V r (λ) 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 measured s (λ),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 obtained d (λ) 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 point r (λ), as follows:
Figure GDA0003938832330000111
wherein s is r (λ) 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, V r-i (λ) represents the reference standard spectral response data for the ith measurement,
Figure GDA0003938832330000112
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 interval r (lambda) maximum wavelength point lambda max_r And eliminating abnormal wavelength point lambda max_r Reference standard spectral response data of (a);
calculating the standard deviation s of the spectral response data of the sample 2 to be measured at each wavelength sampling point s (λ), as follows:
Figure GDA0003938832330000113
wherein s is s (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, V s-i (lambda) represents the spectral response data of the sample 2 to be measured of the ith measurement,
Figure GDA0003938832330000114
data representing the spectral response of sample 2 to be testedAverage value of (d);
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 calculation s (lambda) maximum wavelength point lambda max_s And eliminating abnormal wavelength point lambda max_s The spectral response data of the sample 2 to be tested;
calculating the standard deviation s of the spectral response data of the dark noise at each wavelength sampling point d (λ), as follows:
Figure GDA0003938832330000121
wherein s is d (λ) 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, V d-i (lambda) represents the spectral response data of the dark noise measured at the ith time,
Figure GDA0003938832330000122
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 interval d (lambda) maximum wavelength point lambda max_d And eliminating abnormal wavelength point lambda max_d The spectral response data of the dark noise.
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 data r (λ), 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 1600nm and 610nm
Figure GDA0003938832330000123
For example, table 1 shows color tristimulusCalculating the standard deviation of the wavelength interval between 600nm and 610nm in a descending order, judging that the spectral response values of the wavelength points 607nm,607.5nm,609nm,609.5nm and 605nm are abnormal according to the abnormal value rejection criterion and the abnormal value rejection method, rejecting the spectral response values of the five wavelength points, and rejecting the abnormal data of other wavelength points by adopting the same method; calculating the standard deviation s of the spectral response data of the sample 2 to be measured s (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 noise d (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 GDA0003938832330000131
The average value of the spectral response data of the sample 2 to be tested after elimination of the abnormal value>
Figure GDA0003938832330000132
And the mean value of the spectral response data of the dark noise after rejecting outliers->
Figure GDA0003938832330000133
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 GDA0003938832330000134
First derivative d of r (λ), as follows:
Figure GDA0003938832330000135
wherein, d rj ) A first derivative representing the average of the reference standard spectral response data after the outliers are removed,
Figure GDA0003938832330000136
denotes λ j Wavelength point is referenced to the mean value of the standard spectral response data, <' > or>
Figure GDA0003938832330000137
Denotes λ j-1 The wavelength points are referenced to the mean of the standard spectral response data, λ denotes wavelength, λ j Denotes the jth wavelength point, λ j-1 Represents the j-1 wavelength point;
within the wavelength interval of the color tristimulus values, the average value of the reference standard spectral response data after the abnormal values are eliminated
Figure GDA0003938832330000138
First derivative d of r Two wavelength points λ corresponding to the maximum value in (λ) k And λ k-1 The spectral response data is rejected to obtain the average value of the rejected reference standard spectral response data>
Figure GDA0003938832330000139
Calculating the average value of the spectral response data of the sample 2 to be detected after eliminating the abnormal value
Figure GDA00039388323300001310
First derivative of (d) s (λ), as follows:
Figure GDA00039388323300001311
wherein, d sj ) The first derivative of the average value of the spectral response data of the sample to be detected after eliminating the abnormal value is shown,
Figure GDA00039388323300001312
denotes λ j The average value of the spectral response data of the sample to be tested after the abnormal value is eliminated from the wavelength point, and then the value is judged>
Figure GDA00039388323300001313
Denotes λ j-1 The 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 wavelength j Denotes the jth wavelength point, λ j-1 Represents the j-1 wavelength point;
in 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 eliminated
Figure GDA0003938832330000141
First derivative d of s Two wavelength points λ corresponding to the maximum value in (λ) k And λ k-1 The spectral response data are eliminated to obtain the average value of the spectral response data of the eliminated sample 2 to be detected>
Figure GDA0003938832330000142
Calculating the average value of the spectral response data of the dark noise after eliminating the abnormal value
Figure GDA0003938832330000143
First derivative of (d) d (λ), as follows:
Figure GDA0003938832330000144
wherein d is dj ) The first derivative of the average of the spectral response data representing dark noise after outliers are removed,
Figure GDA0003938832330000145
denotes λ j Average value of spectral response data of dark noise with abnormal values removed from wavelength points, based on the average value>
Figure GDA0003938832330000146
Denotes λ j-1 Average value of spectral response data of dark noise with abnormal values removed from wavelength points, wherein lambda represents wavelength and lambda represents noise j Denotes the jth wavelength point, λ j-1 Represents 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 GDA0003938832330000147
First derivative d of d Two wavelength points λ corresponding to the maximum value in (λ) k And λ k-1 The spectral response data is eliminated to obtain the average value of the spectral response data of the eliminated dark noise>
Figure GDA0003938832330000148
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 GDA0003938832330000149
And calculating the average value of the reference standard spectral response data after eliminating the abnormal value according to the formula (6)>
Figure GDA00039388323300001410
First derivative d of r (λ), as shown in FIG. 5; in the wavelength interval of the color tristimulus values, the average value of the reference standard spectral response data after the abnormal values are eliminated is judged to be greater than or equal to>
Figure GDA00039388323300001411
Two wavelength points lambda corresponding to the maximum value of the first derivative value of k And λ k-1 The spectral response data is rejected to obtain the average value of the rejected reference standard spectral response data>
Figure GDA00039388323300001412
TABLE 2 first derivative of reference standard spectral response data between 600nm and 610nm
Figure GDA00039388323300001413
Figure GDA0003938832330000151
As shown in Table 2, the average value of the reference standard spectral response data after eliminating abnormal values is sorted from large to small with the wavelength of 600nm to 610nm
Figure GDA0003938832330000152
The first derivative of the wavelength point 602.5nm is the largest, so that the spectral response data of 602.5nm and 602nm corresponding to the maximum value of the first derivative is 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 rejecting the abnormal value>
Figure GDA0003938832330000153
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 GDA0003938832330000154
First derivative d of s (λ), as shown in FIG. 5; in the wavelength interval of the color tristimulus values, the average value of the spectral response data of the sample to be detected 2 after the abnormal value is eliminated is judged>
Figure GDA0003938832330000155
Two wavelength points lambda corresponding to the maximum value of the first derivative value of k And λ k-1 The spectral response data are eliminated to obtain the average value of the spectral response data of the eliminated sample 2 to be detected>
Figure GDA0003938832330000156
Calculating an average value of spectral response data of dark noise after elimination of outliers>
Figure GDA0003938832330000157
And calculating the average value of the spectral response data of the dark noise after eliminating the abnormal value according to the formula (4)>
Figure GDA0003938832330000158
First derivative of (d) d (λ), as shown in FIG. 5; in the wavelength interval of the color tristimulus value calculation, the average value of the spectral response data of the dark noise after the abnormal value is eliminated is combined>
Figure GDA0003938832330000159
Two wavelength points lambda corresponding to the maximum value of the first derivative value of k And λ k-1 The spectral response data are eliminated to obtain the average value of the spectral response data of the eliminated sample 2 to be detected>
Figure GDA00039388323300001510
Wherein, the step 7 specifically comprises: averaging the rejected reference standard spectral response data by adopting a spectral smoothing method
Figure GDA00039388323300001511
The average value of the spectral response data of the rejected sample 2 to be tested>
Figure GDA00039388323300001512
And the average of the rejected dark noise spectral response data ≥>
Figure GDA00039388323300001513
De-noising to obtain the average value of the de-noised reference standard spectral response data>
Figure GDA00039388323300001514
Average value of denoised spectral response data of the sample 2 to be detected>
Figure GDA00039388323300001515
And spectrum of denoised dark noiseMean value of the response data->
Figure GDA00039388323300001516
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 GDA00039388323300001517
Average value of denoised spectral response data of the sample 2 to be detected>
Figure GDA00039388323300001518
And the average of the spectral response data of the denoised dark noise ≥>
Figure GDA00039388323300001519
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 GDA0003938832330000161
The mean value of the converted spectral response data of the sample 2 to be tested->
Figure GDA0003938832330000162
And an average value of the spectral response data of the converted dark noise>
Figure GDA0003938832330000163
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 GDA0003938832330000164
Average value of denoised spectral response data of the sample 2 to be detected>
Figure GDA0003938832330000165
And the average of the spectral response data of the denoised dark noise ≥>
Figure GDA0003938832330000166
Converted mean value of the converted reference standard spectral response data in the wavelength range 380nm to 780nm with a wavelength interval of 5nm>
Figure GDA0003938832330000167
The mean value of the converted spectral response data of the sample 2 to be tested->
Figure GDA0003938832330000168
And an average value of the spectral response data of the converted dark noise>
Figure GDA0003938832330000169
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 GDA00039388323300001610
The mean value of the converted spectral response data of the sample 2 to be tested->
Figure GDA00039388323300001611
And the average value of the converted dark noise's spectral response data->
Figure GDA00039388323300001612
Calculating the spectral reflectivity rho of the sample to be measured s (λ), shown below:
Figure GDA00039388323300001613
where ρ is s (lambda) represents the spectral reflectance, rho, of the sample to be measured r (λ) denotes the spectral reflectance of the reference standard, λ denotes the wavelength,
Figure GDA00039388323300001614
represents the mean value of the converted reference standard spectral response data, based on the measured value of the reference standard spectral response data>
Figure GDA00039388323300001615
Represents the mean value of the converted spectral response data of the sample to be examined, is determined>
Figure GDA00039388323300001616
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 measured s (lambda), calculating the color tristimulus value of the sample to be measured as follows:
Figure GDA00039388323300001617
wherein ρ s (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 GDA00039388323300001618
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 GDA0003938832330000171
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 the 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. Determining standard deviation of spectral response data based on a single wavelength point and a criterion and a method for eliminating abnormal values of the spectral response data, calculating the standard deviation of the spectral response data measured for multiple times at each wavelength point, searching the abnormal wavelength points of the spectral response data according to the abnormal value criterion and the method, and eliminating the abnormal wavelength points. 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 detected 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 detected and the dark noise, denoising the eliminated reference standard and the average value of the spectral response data of the sample 2 to be detected 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 detected 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 detected and the dark noise by adopting an interpolation algorithm, calculating the spectral reflectivity of the sample 2 to be detected according to the converted reference standard and the average value of the spectral response data of the sample 2 to be detected 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 (9)

1. A spectral preprocessing method for color tristimulus value calculation, applied to a color measurement platform for color tristimulus value calculation, the color measurement platform 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;
the computer is electrically connected with the second end of the fiber spectrometer;
the spectrum preprocessing method comprises the following steps:
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 the first derivative of the average value of the reference standard spectral response data after the abnormal value is eliminated, in the wavelength interval of the color tristimulus value calculation,eliminating two wavelength points lambda corresponding to the maximum value of the first derivative k And λ k-1 Obtaining 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 eliminated, and eliminating two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus value calculation k And λ k-1 Obtaining the average value of the spectral response data of the rejected sample to be detected;
step 6, calculating a first derivative of the average value of the spectral response data of the dark noise after the elimination of the abnormal value, and eliminating two wavelength points lambda corresponding to the maximum value of the first derivative in the wavelength interval of the color tristimulus value calculation k And λ k-1 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 spectral response data to be detected 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 spectral response data to be detected 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.
2. The spectral preprocessing method for color tristimulus value calculation according to claim 1, 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 V r (lambda) spectral response data V of the sample to be measured s (lambda) and spectral response data V of dark noise d (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.
3. The spectral preprocessing method for color tristimulus value calculation according to claim 1, wherein the step 2 specifically comprises:
calculating the standard deviation s of the reference standard spectral response data at each wavelength sampling point r (λ), as follows:
Figure FDA0003938832320000031
wherein s is r (λ) 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, V r-i (λ) represents the reference standard spectral response data for the ith measurement,
Figure FDA0003938832320000032
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 interval r (lambda) maximum wavelength point lambda max_r And eliminating abnormal wavelength point lambda max_r Reference 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 point s (λ), as follows:
Figure FDA0003938832320000033
wherein s is s (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, V s-i (lambda) represents the spectral response data of the sample to be measured of the ith measurement,
Figure FDA0003938832320000036
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 values s (lambda) maximum wavelength point lambda max_s And eliminating abnormal wavelength point lambda max_s Spectral 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 point d (λ), as follows:
Figure FDA0003938832320000034
wherein s is d (λ) 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, V d-i (lambda) represents the spectral response data of the dark noise measured at the ith time,
Figure FDA0003938832320000035
an average of spectral response data representing dark noise;
finding spectral response of dark noise within a color tristimulus value calculation wavelength intervalStandard deviation s of data d (lambda) maximum wavelength point lambda max_d And eliminating abnormal wavelength point lambda max_d The spectral response data of the dark noise.
4. The spectral preprocessing method for color tristimulus value calculation according to claim 1, wherein said step 3 specifically comprises:
respectively calculating the average value of the reference standard spectral response data after eliminating abnormal values
Figure FDA0003938832320000041
Average value of spectral response data of sample to be detected after eliminating abnormal value
Figure FDA0003938832320000042
And average value of spectral response data of dark noise after eliminating abnormal value
Figure FDA0003938832320000043
5. The spectral preprocessing method for color tristimulus value calculation according to claim 1, 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 FDA0003938832320000044
First derivative d of r (λ), as follows:
Figure FDA0003938832320000045
wherein d is rj ) A first derivative representing the average of the reference standard spectral response data after outliers are removed,
Figure FDA0003938832320000046
denotes λ j The wavelength points are referenced to the average of the standard spectral response data,
Figure FDA0003938832320000047
denotes λ j-1 The wavelength points are referenced to the mean of the standard spectral response data, λ denotes wavelength, λ j Denotes the jth wavelength point, λ j-1 Represents 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 FDA0003938832320000048
First derivative d of r Two wavelength points λ corresponding to the maximum value in (λ) k And λ k-1 The spectral response data are removed to obtain the average value of the reference standard spectral response data after removal
Figure FDA0003938832320000049
Calculating the average value of the spectral response data of the sample to be detected after eliminating the abnormal value
Figure FDA00039388323200000410
First derivative d of s (λ), as follows:
Figure FDA00039388323200000411
wherein d is sj ) 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 FDA00039388323200000412
denotes λ j The average value of the spectral response data of the sample to be detected after the abnormal value is removed from the wavelength points,
Figure FDA00039388323200000413
denotes λ j-1 The 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 wavelength j Denotes the jth wavelength point, λ j-1 Represents 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 FDA00039388323200000414
First derivative d of s Two wavelength points λ corresponding to the maximum value in (λ) k And λ k-1 The spectral response data are removed to obtain the average value of the spectral response data of the samples to be detected after removal
Figure FDA00039388323200000415
Calculating the average value of the spectral response data of the dark noise after eliminating the abnormal value
Figure FDA00039388323200000416
First derivative d of d (λ), as follows:
Figure FDA0003938832320000051
wherein d is dj ) The first derivative of the average of the spectral response data representing dark noise after outliers are removed,
Figure FDA0003938832320000052
denotes λ j The average value of the spectral response data of the dark noise after the abnormal value is removed from the wavelength points,
Figure FDA0003938832320000053
denotes λ j-1 Average value of spectral response data of dark noise with abnormal values removed from wavelength pointsλ denotes the wavelength, λ j Denotes the jth wavelength point, λ j-1 Represents 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 FDA0003938832320000054
First derivative d of d Two wavelength points λ corresponding to the maximum value in (λ) k And λ k-1 The spectral response data of the image are eliminated to obtain the average value of the spectral response data of the eliminated dark noise
Figure FDA0003938832320000055
6. The spectral preprocessing method for color tristimulus value calculation according to claim 1, wherein said step 7 specifically comprises:
averaging the rejected reference standard spectral response data by adopting a spectral smoothing method
Figure FDA0003938832320000056
Average value of spectral response data of rejected samples to be detected
Figure FDA0003938832320000057
And average of spectral response data of rejected dark noise
Figure FDA0003938832320000058
De-noising to obtain the average value of the de-noised reference standard spectral response data
Figure FDA0003938832320000059
Average value of denoised spectral response data of sample to be detected
Figure FDA00039388323200000510
And after denoisingAverage of spectral response data for dark noise
Figure FDA00039388323200000511
7. The spectral preprocessing method for color tristimulus value calculation according to claim 1, 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 FDA00039388323200000512
Average value of denoised spectral response data of sample to be detected
Figure FDA00039388323200000513
And average of spectral response data of denoised dark noise
Figure FDA00039388323200000514
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 FDA00039388323200000515
Average value of converted spectral response data of sample to be detected
Figure FDA00039388323200000516
And average of the converted spectral response data of dark noise
Figure FDA00039388323200000517
8. The spectral preprocessing method for color tristimulus value calculation according to claim 1, wherein said step 9 specifically comprises:
based on the obtained average value of the converted reference standard spectral response data
Figure FDA00039388323200000518
Average value of converted spectral response data of sample to be detected
Figure FDA00039388323200000519
And average of the spectral response data of the converted dark noise
Figure FDA0003938832320000061
Calculating the spectral reflectivity rho of the sample to be measured s (λ), as follows:
Figure FDA0003938832320000062
where ρ is s (lambda) represents the spectral reflectance, rho, of the sample to be measured r (λ) denotes the spectral reflectance of the reference standard, λ denotes the wavelength,
Figure FDA0003938832320000063
represents the average of the converted reference standard spectral response data,
Figure FDA0003938832320000064
represents the average value of the converted spectral response data of the sample to be measured,
Figure FDA0003938832320000065
an average of the spectral response data representing the converted dark noise.
9. The spectral preprocessing method for color tristimulus value calculation according to claim 1, wherein said step 10 specifically comprises:
according to the obtained spectral reflectivity rho of the sample to be measured s (lambda), calculating the sample to be measuredThe color tristimulus values of the article are as follows:
Figure FDA0003938832320000066
where ρ is s (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 FDA0003938832320000067
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 CN112161708A (en) 2021-01-01
CN112161708B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116256319A (en) * 2022-12-29 2023-06-13 苏州欧普照明有限公司 Spectrum data calibration method, device, electronic equipment 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

Also Published As

Publication number Publication date
CN112161708A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN105849516B (en) Use the normalized coating surface texture analysis of pivot
CN117349683B (en) Auto-parts application colour difference anomaly detection system based on spectral data
CN111307751B (en) Spectrogram baseline correction method, system and detection method in tea near infrared spectrum analysis
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
CN117128877B (en) Film thickness detection method, computer and system
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
CN109612686B (en) Calibration method of dispersion confocal measuring device based on neural network
CN111579526B (en) Method for representing difference and correction of near infrared instrument
CN114544530A (en) Tobacco shred component detection method and device and computer equipment
CN111597503B (en) Calculation method of colloidal gold peak value under multiple modes
CN113777056A (en) Ink color matching detection method based on multispectral CMOS image chip
CN107655838B (en) Method for detecting device by relaxation spectrum
CN117454098B (en) Dust concentration measuring method and system based on laser scattering
CN115326726B (en) Malt chroma detection method
CN112557337B (en) Method for detecting content of each component of slurry porridge or glue solution in regenerated viscose fiber
CN110082074A (en) The method for the systematic error that plane mirror introduces is rejected in a kind of interference Wave-front measurement
CN115759884B (en) Spectrum data quality evaluation method and device based on point spectrometer
CN111256819B (en) Noise reduction method of spectrum instrument
CN118258816B (en) Quality inspection method and system for rounded corner product vehicle-mounted capacitor guide pin
CN114894733A (en) Non-destructive apple brix testing method based on VIS-NIR spectral analysis

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