CN108362650B - Liquid chromaticity detection method and device - Google Patents

Liquid chromaticity detection method and device Download PDF

Info

Publication number
CN108362650B
CN108362650B CN201810039863.8A CN201810039863A CN108362650B CN 108362650 B CN108362650 B CN 108362650B CN 201810039863 A CN201810039863 A CN 201810039863A CN 108362650 B CN108362650 B CN 108362650B
Authority
CN
China
Prior art keywords
color
xyz
groups
liquid
color light
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
CN201810039863.8A
Other languages
Chinese (zh)
Other versions
CN108362650A (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.)
Zhengzhou Xingong Intelligent System Co ltd
Original Assignee
Zhengzhou Xingong Intelligent System 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 Zhengzhou Xingong Intelligent System Co ltd filed Critical Zhengzhou Xingong Intelligent System Co ltd
Priority to CN201810039863.8A priority Critical patent/CN108362650B/en
Publication of CN108362650A publication Critical patent/CN108362650A/en
Application granted granted Critical
Publication of CN108362650B publication Critical patent/CN108362650B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

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

Abstract

The embodiment of the invention provides a liquid chromaticity detection method and device, and relates to the technical field of liquid chromaticity detection. The method comprises the steps of obtaining M groups of XYZ color stimulus measurement values corresponding to a colorless transparent solution and N groups of XYZ color stimulus measurement values corresponding to liquid to be detected, and then obtaining chromaticity coordinates of the liquid to be detected under a preset standard based on a preset calculation rule, the M groups of XYZ color stimulus measurement values and the N groups of XYZ color stimulus measurement values. The method can rapidly and accurately acquire the chromaticity coordinate of the liquid at lower cost, provides a new solution path for liquid color measurement, and improves the color control capability of companies with color quantification requirements, including printing and dyeing enterprises.

Description

Liquid chromaticity detection method and device
Technical Field
The invention relates to the technical field of liquid chromaticity detection, in particular to a liquid chromaticity detection method and device.
Background
As an important attribute of a substance, a color is represented by both lightness and chroma, and chroma is a property of a color excluding lightness, which reflects the hue and saturation of the color. With the development of industry in China, the chroma becomes an important index for evaluating the product quality. The liquid chromaticity plays an indicating role in whether the liquid contains harmful chemical substances, so the liquid chromaticity detection plays an important role in environmental quality monitoring. Commonly used colorimetric measurement methods include: visual methods, photoelectric integration methods, and spectroscopic methods. Visual methods were first used for color measurement, which relies to a large extent on the subjective judgment of the colorimetric observer, and thus, both the color resolution and the measurement accuracy are poor. The photoelectric integration method is not used for measuring the color stimulus value of a certain wavelength, but is used for measuring a certain wavelength interval, and the method can only accurately measure the color difference of two color sources and cannot accurately measure the tristimulus value and chromaticity coordinates of the color sources.
Common sensors for measuring chromaticity by using a spectroscopic method include an RGB sensor and an XYZ sensor. The RGB sensor has only three channels, and the error of the reduction degree of the real color is 10-15%. And the RGB sensor can only provide very accurate color point analysis results in a particular lighting condition after being calibrated in that lighting condition. But the consistency of the light source between the instruments is difficult to guarantee, especially for products that are relatively cost sensitive, and the measurement result is also only indicative of the chromaticity coordinates at the current measurement illuminance. The XYZ sensor has the advantages that the identification of true color points can be provided under most illumination conditions, the error is only 1% -5%, the XYZ sensor can be used as a part to be calibrated during the manufacturing and testing of chips, the one-by-one inspection process of different light sources by a light source manufacturer is eliminated, and the time and the cost can be effectively saved.
Disclosure of Invention
The present invention is directed to a method and an apparatus for detecting liquid chromaticity, so as to improve the above-mentioned problems. In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, an embodiment of the present invention provides a method for detecting liquid chromaticity, which is applied to an electronic device, and the method includes: acquiring M groups of XYZ color stimulus measurement values corresponding to the colorless transparent solution; acquiring N groups of XYZ color stimulus measurement values corresponding to the liquid to be detected; and obtaining the chromaticity coordinates of the liquid to be detected under a preset standard based on a preset calculation rule and the M and N groups of XYZ color stimulus measurement values.
In a second aspect, an embodiment of the present invention provides a liquid chromaticity detection apparatus, which is operated in an electronic device, and includes a first obtaining unit, a second obtaining unit, and a calculating unit. The first acquisition unit is used for acquiring M groups of XYZ color stimulus measurement values corresponding to the colorless transparent solution. And the second acquisition unit is used for acquiring N groups of XYZ color stimulus measurement values corresponding to the liquid to be detected. And the calculating unit is used for obtaining the chromaticity coordinates of the liquid to be detected under the preset standard based on a preset calculating rule and the M and N groups of XYZ color stimulus measurement values.
The embodiment of the invention has the beneficial effects that: obtaining M groups of XYZ color stimulus measurement values corresponding to the colorless transparent solution and N groups of XYZ color stimulus measurement values corresponding to the liquid to be detected, and then obtaining chromaticity coordinates of the liquid to be detected under a preset standard based on a preset calculation rule and the M and N groups of XYZ color stimulus measurement values. The method can rapidly and accurately acquire the chromaticity coordinate at lower cost, provides a new solution path for liquid color measurement, and improves the color control capability of companies with color quantification requirements, including printing and dyeing enterprises.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a block diagram of an electronic device that may be used in embodiments of the invention;
FIG. 2 is a flow chart of a liquid colorimetric detection method according to an embodiment of the present invention;
FIG. 3 is a block diagram of a liquid chromaticity detection apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram of another liquid chromaticity detection apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 shows a block diagram of an electronic device 100 applicable to an embodiment of the present invention. As shown in FIG. 1, electronic device 100 may include a memory 102, a memory controller 104, one or more processors 106 (only one shown in FIG. 1), a peripherals interface 108, an input output module 110, an audio module 112, a display module 114, a radio frequency module 116, and a liquid colorimetric detection means.
The memory 102, the memory controller 104, the processor 106, the peripheral interface 108, the input/output module 110, the audio module 112, the display module 114, and the radio frequency module 116 are electrically connected directly or indirectly to realize data transmission or interaction. For example, electrical connections between these components may be made through one or more communication or signal buses. The liquid colorimetric detection method includes at least one software functional module which can be stored in the memory 102 in the form of software or firmware (firmware), for example, a software functional module or a computer program included in the liquid colorimetric detection device.
The memory 102 may store various software programs and modules, such as program instructions/modules corresponding to the liquid chromaticity detection method and apparatus provided in the embodiments of the present application. The processor 106 executes software programs and modules stored in the memory 102 to execute various functional applications and data processing, that is, to implement the liquid chromaticity detection method in the embodiment of the present application.
The Memory 102 may include, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read Only Memory (PROM), Erasable Read Only Memory (EPROM), electrically Erasable Read Only Memory (EEPROM), and the like.
The processor 106 may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. Which may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The peripherals interface 108 couples various input/output devices to the processor 106 and to the memory 102. In some embodiments, the peripheral interface 108, the processor 106, and the memory controller 104 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The input-output module 110 is used for providing input data to a user to enable the user to interact with the electronic device 100. The input/output module 110 may be, but is not limited to, a mouse, a keyboard, and the like.
Audio module 112 provides an audio interface to a user that may include one or more microphones, one or more speakers, and audio circuitry.
The display module 114 provides an interactive interface (e.g., a user interface) between the electronic device 100 and a user or for displaying image data to a user reference. In this embodiment, the display module 114 may be a liquid crystal display or a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations from one or more locations on the touch display at the same time, and the sensed touch operations are sent to the processor 106 for calculation and processing.
The rf module 116 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices.
It will be appreciated that the configuration shown in FIG. 1 is merely illustrative and that electronic device 100 may include more or fewer components than shown in FIG. 1 or have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
In the embodiment of the invention, the electronic device 100 may be a user terminal or a server. The user terminal may be a pc (personal computer), a tablet computer, a mobile phone, a notebook computer, an intelligent television, a set-top box, a vehicle-mounted terminal, and other terminal devices.
Referring to fig. 2, an embodiment of the invention provides a method for detecting liquid chromaticity, which is applied to an electronic device and may include step S200, step S210 and step S220.
Step S200: and obtaining M groups of XYZ color stimulus measurement values corresponding to the colorless transparent solution.
TCS3430 is a spectrophotometric-based color sensor that uses the optical interference filter technology specific to emmis semiconductors. The interference filter can be deposited directly on the wafer and can simulate the spectral response characteristics of the human eye. The filter of TCS3430 has five channels including X, Y, Z channel and two infrared channels.
In practical application, the power supply voltage fluctuation and the circuit internal noise influenceThe XYZ color stimulus measurement truth value corresponding to the colorless transparent solution is estimated by using a maximum likelihood estimation method according to M sets of XYZ color stimulus measurement values of the colorless transparent solution, so as to obtain the XYZ color stimulus measurement truth value corresponding to the colorless transparent solution. XYZ color stimulus measurement truth value of colorless transparent solution
Figure BDA0001548120640000076
The relationship between the measured values of the XYZ color stimuli and M times can be expressed by the following formula:
Figure BDA0001548120640000071
Figure BDA0001548120640000072
Figure BDA0001548120640000073
wherein
Figure BDA0001548120640000077
M is M groups of color stimulus measurement values corresponding to the first color light component X in the three color light components of XYZ obtained by adopting colorless transparent solution,
Figure BDA0001548120640000078
m is M groups of color stimulus measurement values corresponding to the second color light component Y in the three color light components of XYZ obtained by adopting colorless transparent solution,
Figure BDA0001548120640000074
and M is M groups of color stimulus measurement values corresponding to the third color light component Z in the three color light components of XYZ obtained by adopting the colorless transparent solution.
Step S210: and acquiring N groups of XYZ color stimulation measurement values corresponding to the liquid to be detected.
In practical application, the composition is prepared fromUnder the influence of power supply voltage fluctuation and circuit internal noise, the XYZ color stimulus values obtained by the TCS3430 measuring the liquid to be measured at a single time are inaccurate, and the XYZ color stimulus measurement true value corresponding to the liquid to be measured is estimated by using a maximum likelihood estimation method according to N sets of XYZ color stimulus measurement values of the liquid to be measured, so as to obtain the XYZ color stimulus measurement true value corresponding to the liquid to be measured. XYZ color stimulus measurement truth value of liquid to be measured
Figure BDA0001548120640000079
The relationship with the N XYZ color stimulus measurements can be expressed by the following equation:
Figure BDA00015481206400000710
Figure BDA0001548120640000075
Figure BDA0001548120640000089
wherein
Figure BDA0001548120640000081
N is N groups of color stimulus measured values corresponding to the first color light component X in the three color light components of XYZ obtained by the liquid to be measured,
Figure BDA0001548120640000082
n is N groups of color stimulus measured values corresponding to the second color light component Y in the three color light components of XYZ obtained by the liquid to be measured,
Figure BDA0001548120640000083
and N is N groups of color stimulus measurement values corresponding to the third color light component Z in the three color light components of XYZ obtained by adopting the liquid to be measured.
Step S220: and obtaining the chromaticity coordinate of the liquid to be detected under a preset standard based on a preset calculation rule, the M groups of XYZ color stimulus measurement values and the N groups of XYZ color stimulus measurement values. .
Due to the conversion deviation of the TCS3430 sensor, the relationship between the real values of XYZ color stimulus measurement obtained by sampling calculation and the real values of the corresponding color stimulus can be represented by the following formula:
Figure BDA0001548120640000084
Figure BDA0001548120640000085
Figure BDA0001548120640000086
wherein the content of the first and second substances,
Figure BDA0001548120640000087
XYZ color stimulus measurement true value of a certain color liquid obtained by sampling and calculating by a sensor, (X, Y, Z) is a corresponding light component real XYZ color stimulus value, m, k1,k2Is a scale factor. According to the CIE-1931XYZ color system, to determine the chromaticity coordinates of a certain color
Figure BDA0001548120640000088
The scaling factor k needs to be determined first1,k2The size of (2).
To determine the scale factor, a calculation can be made by a sensor measuring a reference material of known chromaticity coordinates. Since a white energy LED light source is adopted, a colorless transparent solution can be selected as a reference substance. Theoretically, the XYZ color stimulus values of a white isoenergetic LED light source after transmitting a colorless transparent solution should be equal, namely Xa=Ya=ZaIn the CIExy coordinate system should be (0.3333 ). In conjunction with equations (1) (2) (3), the scaling factor can be determined by:
Figure BDA0001548120640000091
Figure BDA0001548120640000092
further, according to the definition of the chromaticity coordinates and equations (7), (8), (9), (10), (11), the preset calculation rule may be:
Figure BDA0001548120640000093
based on obtaining the chromaticity coordinate of the liquid to be measured under the preset standard, wherein
Figure BDA0001548120640000096
M is an M group color stimulus measurement value corresponding to a first color light component X in the three XYZ color light components obtained by adopting the colorless transparent solution, M is an M group color stimulus measurement value corresponding to a second color light component Y in the three XYZ color light components obtained by adopting the colorless transparent solution, and M is an M group color stimulus measurement value corresponding to a third color light component Z in the three XYZ color light components obtained by adopting the colorless transparent solution; n is N groups of color stimulus measurement values corresponding to a first color light component X of the three XYZ color light components obtained by using the liquid to be measured, N is N groups of color stimulus measurement values corresponding to a second color light component Y of the three XYZ color light components obtained by using the liquid to be measured, and N is N groups of color stimulus measurement values corresponding to a third color light component Z of the three XYZ color light components obtained by using the liquid to be measured.
As an embodiment, the XYZ tristimulus values of the colorless and transparent solution were measured M times by using a TCS3430 sensor to obtain
Figure BDA0001548120640000101
Figure BDA0001548120640000104
Using TCS3430 sensor to perform N times of measurement on XYZ color stimulus measurement value of the liquid to be measured to obtain
Figure BDA0001548120640000102
Based on
Figure BDA0001548120640000103
And obtaining the chromaticity coordinate of the liquid to be detected under the preset standard.
According to the liquid chromaticity detection method provided by the embodiment of the invention, after M sets of XYZ color stimulus measurement values corresponding to a colorless transparent solution and N sets of XYZ color stimulus measurement values corresponding to a liquid to be detected are obtained, chromaticity coordinates of the liquid to be detected under a preset standard are obtained based on a preset calculation rule and the M sets of XYZ color stimulus measurement values and the N sets of XYZ color stimulus measurement values. The method can rapidly and accurately acquire the chromaticity coordinate at lower cost, provides a new solution path for liquid color measurement, and improves the color control capability of companies with color quantification requirements, including printing and dyeing enterprises.
Referring to fig. 3, an embodiment of the invention provides a liquid chromaticity detecting apparatus 300 operating in an electronic device, where the apparatus 300 may include a first obtaining unit 310, a second obtaining unit 320, and a calculating unit 330.
A first obtaining unit 310, configured to obtain M sets of XYZ color stimulus measurement values corresponding to the colorless transparent solution.
Referring to fig. 4, the first obtaining unit 310 includes a first obtaining subunit 311.
The first obtaining subunit 311 is configured to obtain M sets of XYZ color stimulus measurement values corresponding to the respective three XYZ color light components of the colorless transparent solution.
The second obtaining unit 320 is configured to obtain N sets of XYZ color stimulus measurement values corresponding to the liquid to be measured.
The second acquisition unit 320 may include a second acquisition sub-unit 321.
The second obtaining subunit 321 is configured to obtain N groups of XYZ color stimulus measurement values corresponding to the respective XYZ color light components of the liquid to be measured.
The calculating unit 330 is configured to obtain chromaticity coordinates of the liquid to be measured under a preset standard based on a preset calculating rule, the M sets of XYZ color stimulus measurement values and the N sets of XYZ color stimulus measurement values.
The calculation unit 330 includes a calculation subunit 331.
A computing subunit 331 based on
Figure BDA0001548120640000111
Obtaining the chromaticity coordinate of the liquid to be measured under a preset standard, wherein
Figure BDA0001548120640000112
Figure BDA0001548120640000113
M is M groups of color stimulus measurement values corresponding to the first color light component X in the three color light components of XYZ obtained by adopting colorless transparent solution,
Figure BDA0001548120640000114
m is M groups of color stimulus measurement values corresponding to the second color light component Y in the three color light components of XYZ obtained by adopting colorless transparent solution,
Figure BDA0001548120640000115
m is M groups of color stimulus measurement values corresponding to a third color light component Z in the three color light components of XYZ obtained by adopting a colorless transparent solution;
Figure BDA0001548120640000116
n is N groups of color stimulus measured values corresponding to the first color light component X in the three color light components of XYZ obtained by the liquid to be measured,
Figure BDA0001548120640000117
n is N groups of color stimulus measured values corresponding to the second color light component Y in the three color light components of XYZ obtained by the liquid to be measured,
Figure BDA0001548120640000118
and N is N groups of color stimulus measurement values corresponding to the third color light component Z in the three color light components of XYZ obtained by adopting the liquid to be measured.
The preset standard is CIE-1931XYZ color system.
The above units may be implemented by software codes, and in this case, the above units may be stored in the memory 102. The above units may also be implemented by hardware, for example, an integrated circuit chip.
The liquid chromaticity detecting apparatus 300 according to the embodiment of the present invention has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, no mention is made in the apparatus embodiments, and reference may be made to the corresponding contents in the foregoing method embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for detecting liquid chroma is applied to an electronic device, and the method comprises the following steps:
acquiring M groups of XYZ color stimulus measurement values corresponding to the colorless transparent solution;
acquiring N groups of XYZ color stimulus measurement values corresponding to the liquid to be detected;
based on:
Figure FDA0002596073900000011
obtaining the chromaticity coordinate of the liquid to be measured under a preset standard, wherein
Figure FDA0002596073900000012
Figure FDA0002596073900000013
Figure FDA0002596073900000014
i is 1,2 …, M is M groups of color stimulus measured values corresponding to the first color light component X in the three color light components of XYZ obtained by colorless transparent solution,
Figure FDA0002596073900000015
i is 1,2 …, M is M groups of color stimulus measured values corresponding to the second color light component Y in the three color light components of XYZ obtained by colorless transparent solution,
Figure FDA0002596073900000016
i is 1,2 …, M is M groups of color stimulus measured values corresponding to the third color light component Z in the three color light components of XYZ obtained by adopting colorless transparent solution;
Figure FDA0002596073900000017
i is 1,2 …, N is N groups of color stimulus measured values corresponding to the first color light component X in the three color light components of XYZ obtained by the liquid to be measured,
Figure FDA0002596073900000018
i is 1,2 …, N is the N groups of color stimulus measured values corresponding to the second color light component Y in the XYZ three color light components obtained by the liquid to be measured,
Figure FDA0002596073900000019
and N is N groups of color stimulus measurement values corresponding to the third color light component Z of the three XYZ color light components obtained by using the liquid to be measured, wherein i is 1 and 2 ….
2. The method as claimed in claim 1, wherein obtaining M sets of XYZ color stimulus measurements corresponding to a colorless and transparent solution comprises:
and obtaining M groups of XYZ color stimulus measurement values corresponding to the three color light components of the colorless transparent solution XYZ.
3. The method as claimed in claim 2, wherein obtaining the N sets of XYZ color stimulus measurements corresponding to the fluid under test comprises:
and acquiring N groups of XYZ color stimulus measurement values corresponding to the three XYZ color light components of the liquid to be measured.
4. The method of claim 1, wherein the predetermined standard is the CIE-1931XYZ color system.
5. A liquid chroma detection apparatus, operable in an electronic device, the apparatus comprising:
the first acquisition unit is used for acquiring M groups of XYZ color stimulus measurement values corresponding to the colorless transparent solution;
the second acquisition unit is used for acquiring N groups of XYZ color stimulus measurement values corresponding to the liquid to be measured;
a computing unit comprising a computing subunit for computing a value based on:
Figure FDA0002596073900000021
obtaining the chromaticity coordinate of the liquid to be measured under a preset standard, wherein
Figure FDA0002596073900000022
Figure FDA0002596073900000023
Figure FDA0002596073900000024
i is 1,2 …, M is M groups of color stimulus measured values corresponding to the first color light component X in the three color light components of XYZ obtained by colorless transparent solution,
Figure FDA0002596073900000025
i is 1,2 …, M is M groups of color stimulus measured values corresponding to the second color light component Y in the three color light components of XYZ obtained by colorless transparent solution,
Figure FDA0002596073900000026
i is 1,2 …, M is M groups of color stimulus measured values corresponding to the third color light component Z in the three color light components of XYZ obtained by adopting colorless transparent solution;
Figure FDA0002596073900000027
i is 1,2 …, N is N groups of color stimulus measured values corresponding to the first color light component X in the three color light components of XYZ obtained by the liquid to be measured,
Figure FDA0002596073900000028
i is 1,2 …, N is the N groups of color stimulus measured values corresponding to the second color light component Y in the XYZ three color light components obtained by the liquid to be measured,
Figure FDA0002596073900000031
and N is N groups of color stimulus measurement values corresponding to the third color light component Z of the three XYZ color light components obtained by using the liquid to be measured, wherein i is 1 and 2 ….
6. The apparatus of claim 5, wherein the first obtaining unit comprises:
the first acquisition subunit is used for acquiring M groups of XYZ color stimulus measurement values corresponding to the three color light components of the colorless transparent solution XYZ.
7. The apparatus of claim 5, wherein the second obtaining unit comprises:
and the second acquisition subunit is used for acquiring N groups of XYZ color stimulus measurement values corresponding to the three XYZ color light components of the liquid to be detected.
8. The apparatus of claim 5, wherein the predetermined standard is CIE-1931XYZ color system.
CN201810039863.8A 2018-01-15 2018-01-15 Liquid chromaticity detection method and device Active CN108362650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810039863.8A CN108362650B (en) 2018-01-15 2018-01-15 Liquid chromaticity detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810039863.8A CN108362650B (en) 2018-01-15 2018-01-15 Liquid chromaticity detection method and device

Publications (2)

Publication Number Publication Date
CN108362650A CN108362650A (en) 2018-08-03
CN108362650B true CN108362650B (en) 2020-12-22

Family

ID=63006261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810039863.8A Active CN108362650B (en) 2018-01-15 2018-01-15 Liquid chromaticity detection method and device

Country Status (1)

Country Link
CN (1) CN108362650B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111122125B (en) * 2019-12-26 2022-04-15 深圳市源磊科技有限公司 Color separation method and system of LED device
DE102021134605A1 (en) 2021-12-23 2023-06-29 Endress+Hauser Conducta Gmbh+Co. Kg Sensor system for monitoring a fluid and method for monitoring a fluid

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156102A (en) * 2011-03-01 2011-08-17 中国计量学院 Water quality chroma detection method based on spectrum absorption
CN104122213A (en) * 2014-06-30 2014-10-29 苏州科技学院 Method for measuring chromaticity of water quality

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5334602B2 (en) * 2009-01-23 2013-11-06 三菱電機株式会社 Color calibration system
US8704895B2 (en) * 2011-08-29 2014-04-22 Qualcomm Incorporated Fast calibration of displays using spectral-based colorimetrically calibrated multicolor camera
US20130250299A1 (en) * 2012-03-20 2013-09-26 Chroma Ate Inc. Methods of calibrating color measurement devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156102A (en) * 2011-03-01 2011-08-17 中国计量学院 Water quality chroma detection method based on spectrum absorption
CN104122213A (en) * 2014-06-30 2014-10-29 苏州科技学院 Method for measuring chromaticity of water quality

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Color balancing of digital photos using simple image statistics;Francesca Gasparini等;《Pattern Recognition》;20140225;第37卷(第6期);第1207页左栏第1-2段、右栏第1段 *
基于颜色传感器的锅炉水质在线检测系统研究;党佳;《中国优秀硕士学位论文全文数据库工程科技II辑》;20170415;第11页最后1段,第33页倒数第1-2段,第34页第1段、最后1段 *

Also Published As

Publication number Publication date
CN108362650A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
Gómez-Robledo et al. Using the mobile phone as Munsell soil-colour sensor: An experiment under controlled illumination conditions
CN107110786B (en) Measurement and calibration using colorimetric sensors
CN106289563B (en) Temperature checking method, system and device
CN108775958B (en) Brightness measuring and calibrating method and device based on light sensor and electronic equipment
CN107941330B (en) Ambient light intensity detection method and device, storage medium and electronic equipment
CN107621279B (en) Data processing method, sensor data calibration method and device
US9568432B2 (en) Sensor apparatus to determine a value of a chemical parameter based on a color shade and methods thereof
CN108362650B (en) Liquid chromaticity detection method and device
JPH08297054A (en) Color sensation measuring system
CN106482868A (en) Temperature difference calibration steps and its system
CN109374697A (en) A kind of batch scaling method of electrochemistry formaldehyde sensor detection
CN110926609A (en) Spectrum reconstruction method based on sample feature matching
JP2012150096A (en) Method and system for automatically determining test paper
CN110736807A (en) Method for detecting gas concentration and gas detection device
KR20200064508A (en) Apparatus for analyzing amount of food intake and the method thereof
JP2009133634A (en) State quantity measurement method for observed object by electronic image colorimetry, and system of the same
CN108760042B (en) Optical sensor calibration method and device, mobile device, medium and electronic device
CN111912974B (en) Immune reagent calibration method
CN112880831B (en) Chromatic aberration measuring method and device and chromatic aberration measuring instrument
KR101541977B1 (en) smart device-based simple point-of-care colorimetric diagnosis without reference and method.
Jeeva et al. Study of inter-integrated circuit color sensor with microcontroller
CN109416242A (en) Distance determines
CN111721415A (en) Color measuring instrument and method for realizing automatic compensation and accurate color measurement based on environmental change
JP2011002287A (en) Method for obtaining color value from spectral data and colorimeter
TWI745187B (en) Light sensing method and light sensor module thereo

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