Solution chromaticity measurement method, device, equipment and storage medium

By measuring the spectral transmittance and color space of the solution, combined with the comparison of the color spaces of multiple standard solutions, the subjectivity and metamerism problems in platinum and cobalt colorimetric measurements are solved, and high-precision and consistent colorimetric measurements are achieved. .

CN118566152AInactive Publication Date: 2024-08-30SHENZHEN LINSHANG TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410823555.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, the platinum-cobalt colorimetric measurement method is highly subjective and arbitrary, and the absorbance method using a spectrophotometer to test a specific single wavelength may cause metameric phenomena in liquids of different colors, making it impossible to accurately measure the color of metameric solutions.

Method used

By measuring the spectral transmittance of the solution to be tested in a specific wavelength range, calculating its color space, and comparing it with the color spaces of multiple known chromaticity standard solutions, the chromaticity of the standard solution with the smallest color difference is determined as the color of the solution to be tested. degree, using a multi-wavelength range approach to reduce subjective effects.

Benefits of technology

It improves the accuracy and consistency of platinum-cobalt colorimetry measurement, is suitable for homochromatic or metameric solutions, and reduces the subjective error of the visual comparison method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118566152A
    Figure CN118566152A
Patent Text Reader

Abstract

The invention provides a solution chromaticity measurement method and device, equipment and a storage medium. The method comprises the steps that the spectral transmittance of a to-be-measured solution in a first wavelength range is determined; obtaining a first color space of the to-be-detected solution in the first wavelength range according to the spectral transmittance of the to-be-detected solution in the first wavelength range; determining the chromaticity of the to-be-detected solution according to the first color space and the color space of a plurality of standard solutions with known chromaticity in the first wavelength range; the chromaticity of the to-be-detected solution is the chromaticity of a first standard solution, and the first standard solution is the standard solution with the minimum color difference between the first color space and the standard solutions with the known chromaticity in the color space of the first wavelength range. The solution chromaticity measurement method provided by the embodiment of the invention is free from subjective influence of a visual method, and is high in measurement precision and good in consistency. The chromaticity is obtained through color comparison, and the method is suitable for solutions of the same color system or metamerism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of solution colorimetry, and in particular, relates to a solution colorimetry method, device, equipment and storage medium. Background Art

[0002] Platinum-cobalt colorimetry is applicable to the color measurement of water, glycerin, liquid chemical products, etc., which are similar in color to platinum-cobalt solutions. The platinum-cobalt colorimetry of a solution is defined in GB 3142-82 as the visual comparison of the color of the sample with the color of a standard platinum-cobalt colorimetric solution, and the result is expressed in Hazen (platinum-cobalt) color units. Hazen (platinum-cobalt) color units are the color of a solution containing 1 mg of platinum and 2 mg of cobalt chloride hexahydrate per liter of solution.

[0003] At present, the colorimetry of platinum and cobalt is generally measured by visual comparison and spectrophotometer to test the absorbance of a specific single wavelength. The visual comparison method is based on the subjective judgment of the human eye and is very subjective. The absorbance method of a specific single wavelength establishes the correspondence between the absorbance and chromaticity of a specific single wavelength, which is only valid for solutions of the same color system; for two liquids of different color systems, the phenomenon of isochromaticity may occur, that is, for two solutions of the same color but different spectra, the color is the same but the absorption wavelength is different, and this correspondence cannot be used. For example, when two solutions of the same color are measured by a spectrophotometer at a specific single wavelength (such as 600nm), the two solutions may have different spectral absorbance values. At this time, the colorimetry of the solution cannot be determined by a specific single wavelength. Summary of the invention

[0004] The embodiments of the present application provide a solution colorimetry method, device, equipment and storage medium, which can solve the following problems in the prior art: the visual comparison method for measuring the colorimetry of platinum and cobalt leads to a large degree of subjective arbitrariness; the spectrophotometer method for testing the absorbance of a specific single wavelength may result in the phenomenon of isochromaticity but different spectra for two liquids of different color systems.

[0005] In a first aspect, an embodiment of the present application provides a method for measuring the colorimetry of a solution, comprising:

[0006] Determining the spectral transmittance of the solution to be tested in a first wavelength range;

[0007] Obtaining a first color space of the solution to be tested in the first wavelength range according to the spectral transmittance of the solution to be tested in the first wavelength range;

[0008] The chromaticity of the solution to be tested is determined according to the first color space and the color space of multiple standard solutions with known chromaticities in the first wavelength range; the chromaticity of the solution to be tested is the chromaticity of the first standard solution, and the first standard solution is a standard solution with the smallest color difference between the first color space and the multiple standard solutions with known chromaticities in the color space of the first wavelength range.

[0009] In a possible implementation manner of the first aspect, determining the spectral transmittance of the solution to be tested in the first wavelength range includes:

[0010] Measuring the spectral transmittance of the solution to be tested in the first wavelength range by a first measuring instrument; or

[0011] Measuring the spectral absorbance of the solution to be tested in the first wavelength range by a second measuring instrument;

[0012] The spectral transmittance of the solution to be tested in the first wavelength range is obtained according to the spectral absorbance of the solution to be tested in the first wavelength range.

[0013] In a possible implementation manner of the first aspect, the method further includes:

[0014] Determining the spectral transmittance of a plurality of standard solutions of known chromaticity in a first wavelength range;

[0015] The color space of the plurality of standard solutions of known chromaticity in the first wavelength range is obtained according to the spectral transmittance of the plurality of standard solutions of known chromaticity in the first wavelength range.

[0016] In a possible implementation manner of the first aspect, determining the spectral transmittance of the plurality of standard solutions of known chromaticity in a first wavelength range includes:

[0017] Measuring the spectral absorbance of a first number of the standard solutions of known chromaticity in the first wavelength range by a first measuring instrument; the first number is an integer greater than or equal to 1;

[0018] Performing linear interpolation on the spectral absorbances of a first number of standard solutions of known chromaticity in the first wavelength range with a first chromaticity as a resolution to obtain spectral absorbances of a plurality of standard solutions of known chromaticity in the first wavelength range;

[0019] Obtaining spectral transmittances of the plurality of standard solutions of known chromaticity in the first wavelength range according to the spectral absorbances of the plurality of standard solutions of known chromaticity in the first wavelength range; or

[0020] Measuring the spectral transmittance of a first number of standard solutions of known chromaticity in the first wavelength range by a second measuring instrument;

[0021] Obtaining the spectral absorbances of the first number of standard solutions of known chromaticity in the first wavelength range according to the spectral transmittances of the first number of standard solutions of known chromaticity in the first wavelength range;

[0022] Performing linear interpolation on the spectral absorbances of a first number of standard solutions of known chromaticity in the first wavelength range with a first chromaticity as a resolution to obtain spectral absorbances of a plurality of standard solutions of known chromaticity in the first wavelength range;

[0023] The spectral transmittances of the plurality of standard solutions with known chromaticities in the first wavelength range are obtained according to the spectral absorbances of the plurality of standard solutions with known chromaticities in the first wavelength range.

[0024] In a possible implementation manner of the first aspect, the color space of the plurality of standard solutions of known chromaticity in the first wavelength range covers the color space of all chromaticities and corresponding standard solutions in the first wavelength range.

[0025] In a possible implementation manner of the first aspect, the standard solution is a platinum-cobalt colorimetric standard solution or a Gardner colorimetric standard solution.

[0026] In a possible implementation manner of the first aspect, the first color space is one of RGB, XYZ, Yxy, CIELAB, HunterLab, CIELch, CIELUV, CMYK, and Hex.

[0027] In a second aspect, an embodiment of the present application provides a solution colorimetry device, comprising:

[0028] A first determination module, used to determine the spectral transmittance of the solution to be tested in a first wavelength range;

[0029] A second determination module, configured to obtain a first color space of the solution to be tested in the first wavelength range according to the spectral transmittance of the solution to be tested in the first wavelength range;

[0030] The third determination module is used to determine the chromaticity of the solution to be tested according to the first color space and the color space of multiple standard solutions with known chromaticities in the first wavelength range; the chromaticity of the solution to be tested is the chromaticity of the first standard solution, and the first standard solution is the standard solution with the smallest color difference between the first color space and the multiple standard solutions with known chromaticities in the color space of the first wavelength range.

[0031] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a method as described in any one of the first aspects when executing the computer program.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method as described in any one of the first aspects is implemented.

[0033] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes any one of the methods described in the first aspect.

[0034] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.

[0035] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the embodiments compare the first color space of the solution to be tested in the first wavelength range with the color space of multiple standard solutions of known chromaticity in the first wavelength range, and then determine the chromaticity of the standard solution of known chromaticity with the smallest color difference with the first color space as the chromaticity of the solution to be tested, which is not affected by the subjective influence of the visual method, has high measurement accuracy and good consistency. Obtaining chromaticity by color comparison is suitable for solutions of the same color system or different colors. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 This is a schematic flow chart of a solution chromaticity measurement method provided in one embodiment of the present application;

[0038] Figure 2 Schematic diagram of the structure of a solution colorimetry device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0039] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0040] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0041] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0042] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0043] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0044] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0045] Figure 1 The present invention discloses a flow chart of a method for measuring the colorimetry of a solution, the method comprising the following steps:

[0046] S1: Determine the spectral transmittance of the solution to be tested in a first wavelength range.

[0047] Spectral transmittance, also known as spectral transmittance, refers to the ratio of the intensity of light transmitted from the solution to the intensity of light incident into the solution after the light passes through the solution. This ratio describes the transmittance of light of different wavelengths when the light passes through the solution. It is affected by the spectral absorption characteristics of the solution and the thickness of the solution. Simply put, when light passes through the solution, the solution will absorb part of the light, and the remaining light will pass through. The ratio of this transmitted light to the original incident light is the spectral transmittance. For different wavelengths, the spectral transmittance will be different. When the color of the solution to be tested is lighter, the solute molecules absorb less light, and most of the light can pass through the solution, so the spectral transmittance is relatively high. For example, the spectral transmittance of pure water is 100%. Conversely, when the color of the solution to be tested is darker, the solute molecules absorb more light, the transmitted light decreases, and the spectral transmittance decreases accordingly.

[0048] There are many instruments for measuring spectral transmittance, including spectral transmittance meter, spectrophotometer, spectral haze meter, transmission colorimeter, etc.

[0049] As an example, the first wavelength range can be 380nm-760nm, with wavelength intervals of 1nm, 5nm, 10nm, etc. In practical applications, the wavelength interval can be selected according to accuracy. For example, the measuring instrument measures the second wavelength, the wavelength range is 200nm-1100nm, and the wavelength interval is 0.5nm, but the actual demand does not require such high accuracy. Some data can be discarded to obtain the first wavelength, such as the first wavelength range is 380nm-760nm, and one data is taken at an interval of 10nm. It should be noted that the second wavelength range must cover the first wavelength, and the second wavelength interval must be denser than the first wavelength interval.

[0050] S2: Obtaining a first color space of the solution to be tested in the first wavelength range according to the spectral transmittance of the solution to be tested in the first wavelength range.

[0051] Color space, also known as color model, color system, color domain or color space, is a mathematical model used to represent color. Color space can be used to quantify color and further for qualitative and quantitative measurement.

[0052] Exemplarily, the first color space of the embodiment of the present application may be one of RGB, XYZ, Yxy, CIELAB, HunterLab, CIELch, CIELUV, CMYK, and Hex.

[0053] "CIE" refers to an authoritative international organization on color, lighting, etc. It specifically stands for the International Commission on Illumination. Lab is composed of a brightness channel and two color channels. In this color space, "L" represents brightness. The larger the L value, the brighter it is, and the smaller the L value, the darker it is. The value range is approximately 0-100. When the value is 0, it represents black, and when the value is 100, it represents white. "a" represents red and green. The change of a value from negative to positive is the change from green to red. "b" represents blue and yellow. The change of b value from negative to positive is the change from blue to yellow.

[0054] XYZ is the tristimulus value, where X, Y, and Z represent the three axes of the color space, corresponding to the three basic photosensitive colors of light: red, green, and blue. The X axis represents the intensity of red light, the Y axis represents the intensity of green light, and the Z axis represents the intensity of blue light.

[0055] The three stimulus values ​​X, Y, and Z of the solution to be tested can be calculated through the spectral transmittance of the solution to be tested, and then the color space L of the solution to be tested can be calculated. * 、a * , b * . This can be achieved through the following formula:

[0056] The color space of the solution to be tested was calculated using CIE standard illuminant D65 and 10° standard chromaticity observer calculation conditions.

[0057]

[0058] Where, X 10 , Y 10 , Z 10 ——Tristimulus values ​​of the solution to be tested;

[0059] i(λ)——spectral transmittance of the solution to be tested;

[0060] S(λ)——Relative spectral power distribution of standard illuminant D65;

[0061] ——10° standard chromaticity observer chromaticity matching function;

[0062] Δλ——wavelength interval, 5nm;

[0063] and Can be obtained by looking up the table.

[0064] L · =116f(Y 10 / Y n)-16 (4)

[0065] a · =500[f(X 10 / X n )-f(Y 10 / Y n )] (5)

[0066] b · =200[f(Y 10 / Y n )-f(Z 10 / Z n )] (6)

[0067] f(t)=t 1 / 3 t>(6 / 29) 3 (7)

[0068]

[0069] Where: X n , Y n , Z n ——The tristimulus values ​​of CIE standard illuminant D65 under a 10° standard chromaticity observer, X n =94.81,Y n =100.00, Z n =107.32;

[0070] t——Y in the representative formula 10 / Y n , X 10 / X n , Z 10 / Z n .

[0071] By using formula (1) to formula (3), the tristimulus value X of the solution to be tested can be calculated: 10 , Y 10 , Z 10 , through formula (4) to formula (8), the color space of the solution to be tested can be calculated.

[0072] S3: Determine the chromaticity of the solution to be tested according to the first color space and the color space of the first wavelength range of multiple standard solutions of known chromaticity; the chromaticity of the solution to be tested is the chromaticity of the first standard solution, and the first standard solution is the standard solution with the smallest color difference between the first color space and the multiple standard solutions of known chromaticity in the color space of the first wavelength range.

[0073] The standard solution is a reagent solution with an accurately known chromaticity. The standard solution in the embodiment of the present application can be a platinum-cobalt chromaticity standard solution or a Gardner chromaticity standard solution.

[0074] The platinum-cobalt colorimetric of liquids is defined in GB 3142-82 as the visual comparison of the color of the sample with the color of the standard platinum-cobalt colorimetric solution, and the result is expressed in Hazen (platinum-cobalt) color units. Hazen (platinum-cobalt) color units are the color of a solution containing 1 mg of platinum and 2 mg of cobalt chloride hexahydrate per liter of solution. The platinum-cobalt colorimetric is divided into levels of 0-500, and the larger the value, the darker the color.

[0075] The Gardner chromaticity scale is a one-dimensional measure of the depth of yellow, with values ​​ranging from 1 to 18, with larger numbers indicating darker colors.

[0076] When measuring the colorimetric of the solution to be tested, it is necessary to select a suitable standard solution. If the measurement accuracy of the solution to be tested is high, the number of known colorimetric standard solutions will also need to be increased. Taking platinum-cobalt colorimetric as an example, according to the measurement accuracy requirements, the colorimetric interval can be selected as 0.01, 0.1, 1, 5, 10 or 25, etc. Correspondingly, the number of known colorimetric standard solutions is 50,000, 5,000, 500, 100, 50, 20.

[0077] The first color space is the same as the color space of the standard solution. Taking 5000 as an example, the color space of 5000 platinum-cobalt colorimetric standard solutions is traversed, the color difference between the color space of 5000 platinum-cobalt colorimetric standard solutions and the color space of the solution to be tested is calculated, and the color space of the platinum-cobalt colorimetric standard solution with the smallest color difference with the color space of the solution to be tested is found. The chromaticity corresponding to the color space of the platinum-cobalt colorimetric standard solution is the platinum-cobalt chromaticity of the solution to be tested.

[0078] The color difference can be calculated by the following color difference formula: ΔEab n =[(L * -L0 n )2+(a * -a0 n )2+(b * -b0 n )2] 1 / 2 , where: ΔEab n is the color difference, L * 、a * , b * is the first color space of the solution to be tested, L0 n 、a0 n 、b0 n is the color space of standard solution n. In addition, the color difference formula can also be ΔE*uv, ΔE*94, ΔE*cmc(2:1), ΔE*cmc(1:1), ΔE*00, etc.

[0079] This embodiment compares the first color space of the solution to be tested in the first wavelength range with the color space of multiple standard solutions of known chromaticity in the first wavelength range, and then determines the chromaticity of the standard solution of known chromaticity with the smallest color difference with the first color space as the chromaticity of the solution to be tested, which is not subject to the subjective influence of the visual method, has high measurement accuracy and good consistency. The nearest chromaticity is found by the color difference between the solution to be tested and the standard solution, which is consistent with the definition of platinum-cobalt chromaticity, and both obtain platinum-cobalt chromaticity by color comparison, and is suitable for solutions of the same color system or different colors.

[0080] In an optional embodiment, S1: determining the spectral transmittance of the solution to be tested in a first wavelength range, including S11 or S12-S13:

[0081] S11: measuring the spectral transmittance of the solution to be tested in a first wavelength range by a first measuring instrument.

[0082] The first measuring instrument may be a spectral transmittance meter, a spectral haze meter, a transmission colorimeter, etc. For example, the spectral transmittance of the solution to be tested in the first wavelength range may be directly measured by a spectral transmittance meter or the like.

[0083] S12: Measuring the spectral absorbance of the solution to be tested in the first wavelength range by a second measuring instrument.

[0084] The second measuring instrument may be a spectrophotometer or the like.

[0085] Before performing S11 or S12, calibrate the instrument with pure water to an absorbance of 0 or a transmittance of 100%; the light path of the cuvette is 10 mm.

[0086] S13: Obtaining the spectral transmittance of the solution to be tested in the first wavelength range according to the spectral absorbance of the solution to be tested in the first wavelength range.

[0087] After measuring the spectral absorbance of the solution to be tested in the first wavelength range by a spectrophotometer or other equipment, the spectral transmittance of the solution to be tested in the first wavelength range is calculated by the relationship between the spectral absorbance and the spectral transmittance.

[0088] The relationship between spectral absorbance and spectral transmittance is A = log10 (1 / T), so T = 1 / 10 A , in which A is the spectral absorbance and T is the spectral transmittance.

[0089] This embodiment illustrates that the spectral transmittance can be measured directly or indirectly. It should be noted that this embodiment does not limit which instrument is used to measure the spectral transmittance, nor does it limit whether the spectral transmittance is measured directly or indirectly.

[0090] The solution chromaticity measurement method of the embodiment of the present invention also includes the following steps:

[0091] S4: Determine the spectral transmittance of a plurality of standard solutions of known chromaticity in the first wavelength range.

[0092] S5: Obtaining a color space of the plurality of standard solutions of known chromaticity in the first wavelength range according to the spectral transmittance of the plurality of standard solutions of known chromaticity in the first wavelength range.

[0093] S4-S5 describe the origin of "a plurality of standard solutions of known chromaticity in a color space of a first wavelength range" in S3. Through S4-S5, a one-to-one correspondence between the chromaticity of the standard solution and its corresponding color space can be established.

[0094] In an optional embodiment, S4: determining the spectral transmittance of a plurality of standard solutions of known chromaticity in the first wavelength range includes S41-S43 or S44-S47.

[0095] S41: measuring the spectral absorbance of a first number of standard solutions of known chromaticity in a first wavelength range by a first measuring instrument; the first number is an integer greater than or equal to 1.

[0096] Exemplarily, the spectral absorbance of one or more standard solutions of known platinum-cobalt chromaticity in the second wavelength range, such as the spectral absorbance of 200-1100nm, is measured. Since the platinum-cobalt chromaticity only needs to know the absorbance value of the standard solution at 380nm-760nm, the absorbance value A of the standard solution of known chromaticity at each wavelength of 380nm-760nm is obtained, and the wavelength interval is 1nm, 5nm, 10nm, etc. For example, every interval of 10nm, the absorbance value of a standard solution of a known chromaticity at 380nm, 390nm, 400nm...760nm can be obtained. That is, the spectral absorbance at a wavelength of 380nm-760nm and an interval of 10nm is the spectral absorbance of the first wavelength range.

[0097] S42: performing linear interpolation on the spectral absorbances of a first number of standard solutions of known chromaticity in the first wavelength range with the first chromaticity as the resolution, to obtain the spectral absorbances of a plurality of standard solutions of known chromaticity in the first wavelength range.

[0098] The spectral absorbance has good linearity with the solution concentration, and the platinum-cobalt chromaticity of the solution is proportional to the concentration. Therefore, the platinum-cobalt chromaticity of the solution also has good linearity with the absorbance. Based on this, the spectral absorbance of the first number of standard solutions with known chromaticity in the first wavelength range can be linearly interpolated.

[0099] When performing linear interpolation, it is preferred to cover a color space of all chromaticities and corresponding standard solutions in the first wavelength range.

[0100] For example, if only the spectral absorbance of a standard solution with a known platinum cobalt chromaticity (such as 500 chromaticity) is measured, linear interpolation can also be performed, and linear interpolation can be performed between blank (0 value) and 500 chromaticity, but this will result in a large error. In order to improve the accuracy, in S41, a spectral curve is tested every 50 chromaticities, that is, 10 standard solutions with chromaticities of 50, 100, 150, 200, 250, 300, 350, 400, 450, and 500 are measured, and 10 spectral curves are obtained. The spectral curves of these 10 standard solutions are linearly interpolated, and 5000 spectral absorption curves can be obtained with a resolution of 0.1 chromaticity, thereby obtaining the absorbance value of each platinum cobalt chromaticity.

[0101] S43: Obtaining spectral transmittances of the plurality of standard solutions of known chromaticity in the first wavelength range according to the spectral absorbances of the plurality of standard solutions of known chromaticity in the first wavelength range.

[0102] It can be known from S41-S43 that the spectral absorbance of a small amount of standard solution of known chromaticity in the first wavelength range can be measured, and then the spectral absorbance of the required standard solutions of various chromaticities can be calculated through linear interpolation, and the spectral transmittance of the standard solutions of various chromaticities can be calculated through the relationship between absorbance and transmittance.

[0103] S44: Measure the spectral transmittance of a first number of standard solutions of known chromaticity in a first wavelength range by a second measuring instrument.

[0104] Exemplarily, the spectral transmittance of 1 or 10 standard solutions of known platinum-cobalt chromaticity is measured.

[0105] S45: Obtaining the spectral absorbances of the first number of standard solutions of known chromaticity in the first wavelength range according to the spectral transmittances of the first number of standard solutions of known chromaticity in the first wavelength range.

[0106] S46: performing linear interpolation on the spectral absorbances of a first number of standard solutions of known chromaticity in the first wavelength range with the first chromaticity as the resolution, to obtain the spectral absorbances of a plurality of standard solutions of known chromaticity in the first wavelength range.

[0107] There is an exponential relationship between spectral transmittance and chromaticity, so direct linear interpolation will result in too large an error. Based on this, it is necessary to convert the spectral transmittance into spectral absorbance before linear interpolation.

[0108] S47: Obtaining spectral transmittances of the plurality of standard solutions of known chromaticity in the first wavelength range according to the spectral absorbances of the plurality of standard solutions of known chromaticity in the first wavelength range.

[0109] From S41-S43 and S44-S47, it can be seen that, through the method of this embodiment, the measuring instrument only needs to measure a small amount of spectral absorbance or spectral transmittance, and then continue linear interpolation to obtain the required spectral absorbance of various chromaticities, and then convert it into spectral transmittance to calculate the color space, avoiding a large number of experiments to test the spectral transmittance of various chromaticities. And according to the needs, measurement results of various resolutions can be obtained. It should be noted that this embodiment obtains the required various chromaticities and corresponding color spaces through experiments, but in other embodiments, the required various chromaticities and corresponding color spaces can be obtained through other means, such as checking information, summarizing experience, etc.

[0110] Taking platinum-cobalt colorimetry as an example of the standard solution, the method of the embodiment of the present application is applicable to the color measurement of water, glycerin, liquid chemical products, etc., which have a similar color tone to that of the platinum-cobalt solution. It is suitable for solutions of the same color system or different color spectra, and has a wide range of applications.

[0111] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0112] Corresponding to the solution chromaticity measurement method described in the above embodiment, Figure 2 A structural block diagram of a solution colorimetry device 100 provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0113] Reference Figure 2 , the device comprises:

[0114] A first determination module 110 is used to determine the spectral transmittance of the solution to be tested in a first wavelength range;

[0115] A second determination module 120, configured to obtain a first color space of the solution to be tested in the first wavelength range according to the spectral transmittance of the solution to be tested in the first wavelength range;

[0116] The third determination module 130 is used to determine the chromaticity of the solution to be tested according to the first color space and the color space of multiple standard solutions with known chromaticities in the first wavelength range; the chromaticity of the solution to be tested is the chromaticity of the first standard solution, and the first standard solution is a standard solution with the smallest color difference between the first color space and the multiple standard solutions with known chromaticities in the color space of the first wavelength range.

[0117] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0118] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0119] An embodiment of the present application also provides an electronic device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps of any of the above-mentioned method embodiments when executing the computer program.

[0120] The electronic devices described in the embodiments of the present application include but are not limited to a spectral transmittance meter, a spectrophotometer, a spectral haze meter, a transmission colorimeter, etc. For example, a transmission colorimeter converts all chromaticities at a certain interval and the corresponding color space L0 into a value. n a0 n b0 n The value is stored in the transmission colorimeter. When measuring, put the solution to be tested in the test port and obtain the L value of the solution to be tested. * a * b * The instrument traverses the L0 of all colorimetric standard solutions. n a0 n b0 n , find the standard chromaticity closest to the color data of the solution to be tested, which is the platinum-cobalt chromaticity of the solution to be tested.

[0121] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0122] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0123] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to an electronic device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0124] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0125] The computer program code for performing the operation of the embodiment of the application can be written with one or more programming languages ​​or their combination, and the programming language includes object-oriented programming languages, such as python, Java, Smalltalk, C++, and also includes conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed completely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on the remote computer, or executed completely on the remote computer or server. In the case of a remote computer, the remote computer can include a local area network (LAN) or a wide area network (WAN)--connected to the user's computer through any type of network, or, can be connected to an external computer (for example, utilizing an Internet service provider to connect through the Internet).

[0126] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0127] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0128] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0129] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0130] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for measuring solution chromaticity, characterized in that: include: Determining the spectral transmittance of the solution to be tested in a first wavelength range; Obtaining a first color space of the solution to be tested in the first wavelength range according to the spectral transmittance of the solution to be tested in the first wavelength range; Determining the chromaticity of the solution to be tested according to the first color space and the color space of a plurality of standard solutions of known chromaticity in the first wavelength range; The chromaticity of the solution to be tested is the chromaticity of a first standard solution, and the first standard solution is a standard solution having the smallest color difference in the first color space and the plurality of standard solutions of known chromaticities in the color space within the first wavelength range.

2. The solution colorimetric measurement method according to claim 1, characterized in that: The step of determining the spectral transmittance of the solution to be tested in the first wavelength range comprises: Measuring the spectral transmittance of the solution to be tested in the first wavelength range by a first measuring instrument; or Measuring the spectral absorbance of the solution to be tested in the first wavelength range by a second measuring instrument; The spectral transmittance of the solution to be tested in the first wavelength range is obtained according to the spectral absorbance of the solution to be tested in the first wavelength range.

3. The solution chromaticity measurement method according to claim 1, characterized in that: The method further comprises: Determining the spectral transmittance of a plurality of standard solutions of known chromaticity in a first wavelength range; The color space of the plurality of standard solutions of known chromaticity in the first wavelength range is obtained according to the spectral transmittance of the plurality of standard solutions of known chromaticity in the first wavelength range.

4. The solution colorimetric measurement method according to claim 3, characterized in that: Determining the spectral transmittance of the plurality of standard solutions of known chromaticity in the first wavelength range comprises: Measuring the spectral absorbance of a first number of the standard solutions of known chromaticity in the first wavelength range by a first measuring instrument; the first number is an integer greater than or equal to 1; Performing linear interpolation on the spectral absorbances of a first number of standard solutions of known chromaticity in the first wavelength range with a first chromaticity as a resolution to obtain spectral absorbances of a plurality of standard solutions of known chromaticity in the first wavelength range; Obtaining spectral transmittances of the plurality of standard solutions of known chromaticity in the first wavelength range according to the spectral absorbances of the plurality of standard solutions of known chromaticity in the first wavelength range; or Measuring the spectral transmittance of a first number of standard solutions of known chromaticity in the first wavelength range by a second measuring instrument; Obtaining the spectral absorbances of the first number of standard solutions of known chromaticity in the first wavelength range according to the spectral transmittances of the first number of standard solutions of known chromaticity in the first wavelength range; Performing linear interpolation on the spectral absorbances of a first number of standard solutions of known chromaticity in the first wavelength range with a first chromaticity as a resolution to obtain spectral absorbances of a plurality of standard solutions of known chromaticity in the first wavelength range; The spectral transmittances of the plurality of standard solutions with known chromaticities in the first wavelength range are obtained according to the spectral absorbances of the plurality of standard solutions with known chromaticities in the first wavelength range.

5. The solution chromaticity measurement method according to claim 3, characterized in that: The color space of the plurality of standard solutions of known chromaticity in the first wavelength range covers the color space of all chromaticities and corresponding standard solutions in the first wavelength range.

6. The method for measuring the colorimetry of a solution according to any one of claims 1 to 5, characterized in that: The standard solution is a platinum-cobalt colorimetric standard solution or a Gardner colorimetric standard solution.

7. The method for measuring the colorimetry of a solution according to any one of claims 1 to 5, characterized in that: The first color space is one of RGB, XYZ, Yxy, CIELAB, HunterLab, CIELch, CIELUV, CMYK, and Hex.

8. A solution colorimetric measuring device, characterized in that: include: A first determination module, used to determine the spectral transmittance of the solution to be tested in a first wavelength range; A second determination module, configured to obtain a first color space of the solution to be tested in the first wavelength range according to the spectral transmittance of the solution to be tested in the first wavelength range; A third determination module, configured to determine the chromaticity of the solution to be tested according to the first color space and the color space of a plurality of standard solutions of known chromaticity in the first wavelength range; The chromaticity of the solution to be tested is the chromaticity of a first standard solution, and the first standard solution is a standard solution having the smallest color difference in the first color space and the plurality of standard solutions of known chromaticities in the color space within the first wavelength range.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.