Colorimetric method and device based on colorimetric pen

Through the comparison and difference adjustment between the color pen and the color comparison database, the problem of color differences between low-cost color pens in different materials is solved, and the same accuracy as professional equipment is achieved.

CN118913449APending Publication Date: 2024-11-08浙江海蜂智能科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411132862.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing low-cost, low-energy-consuming color pens are difficult to avoid color differences under different materials of stitching and fabric, and cannot achieve the accuracy of professional colorimetric equipment.

Method used

Get real-time color data through a color pen, compare it with the first color data in the color comparison database, determine the closest first color data, calculate the color difference value with the standard color device data, and adjust the real-time color data to obtain The final accurate color data.

Benefits of technology

It realizes the problem of avoiding the color difference of stitches under low-cost, low-energy-consuming color ratio pens, and obtains the same accurate color values ​​as professional color ratio equipment without the need for high-cost equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118913449A_ABST
    Figure CN118913449A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of clothing manufacturing equipment, and discloses a colorimetric method based on a colorimetric pen, which comprises the following steps: acquiring real-time color data of a to-be-identified colorimetric object by using the colorimetric pen; the real-time color data are compared with first color data in a color contrast database, the first color data closest to the real-time color data are determined, and the color contrast database comprises multiple sets of first color data and second color data which are in one-to-one correspondence; and obtaining second color data corresponding to the closest first color data, obtaining a color difference value between the second color data and the closest first color data, and adding the color difference value to the real-time color data as final color data of the colorimetric object. According to the method, a low-cost and low-energy-consumption colorimetric pen can be utilized to avoid the problem of color difference of the sewing thread under different materials, and a more accurate color value is obtained. The invention further discloses a colorimetric device based on the colorimetric pen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of clothing manufacturing equipment, and in particular relates to a colorimetric method and device based on a colorimetric pen. Background Art

[0002] When making clothes in current garment factories, it is necessary to find threads with specific colors before weaving and other subsequent operations can be carried out. Currently, the human eye is generally used to compare thread cards to find the corresponding stitches, but this method is slow and requires high skills from the operator. In addition, since everyone has different preferences for colors, it is impossible to achieve standardization. This requires the use of colorimetric equipment to replace the manual colorimetric solution.

[0003] An existing professional colorimetric device is a desktop spectrometer, which has the advantages of high energy and high stability. It can well avoid the LAB value difference caused by the structural differences between the two materials of suture and cloth. However, general garment factories do not have particularly high requirements for color, and based on production cost considerations, they generally do not use overpriced professional colorimetric equipment for colorimetric, but are accustomed to using handheld colorimetric pens. Using this colorimetric pen, when targeting the same material, colorimetric can be well performed. The materials mentioned here refer to the two situations of a single suture and a woven flat cloth. When targeting two different materials, that is, in the two states of suture and cloth, there are some differences in colorimetric ability and equipment collection methods. Therefore, there will be a large color difference between using a desktop spectrometer for detection and using a colorimetric pen for detection. For example, in the measurement of extremely dark and extremely light colors, due to the structural problems of the equipment and the inability of the suture to be interlaced with the warp and weft of the cloth, the L value (brightness value in colorimetry) of the colorimetric pen is greatly different from that of the standard desktop spectrometer equipment. Similarly, the A value and B value will also be greatly different. Based on the above-mentioned prior art, it can be seen that the technical problem that needs to be solved urgently is how to use low-cost, low-energy colorimetric pens to avoid the problem of color differences between sutures made of different materials and obtain color values ​​as accurate as a desktop spectrometer. Summary of the invention

[0004] To solve the above problems, the present invention provides a colorimetric method and device based on a colorimetric pen, which can utilize a low-cost, low-energy colorimetric pen to avoid the problem of color differences in sutures made of different materials and obtain more accurate color values.

[0005] The present invention provides a colorimetric method based on a colorimetric pen, comprising:

[0006] Using a colorimetric pen to obtain real-time color data of a colorimetric object to be identified;

[0007] Compare the real-time color data with first color data in a color comparison database to determine the first color data that is closest to the real-time color data, wherein the color comparison database includes a plurality of sets of first color data and second color data that correspond to each other, the first color data is color data obtained by color identification of a color comparison object using a colorimetric pen, and the second color data is color data obtained by color identification of the same color comparison object using a standard colorimetric device;

[0008] The second color data corresponding to the closest first color data is obtained, the color difference between the two is obtained, and the real-time color data plus the color difference is used as the final color data of the colorimetric object.

[0009] Preferably, in the above colorimetric method based on a colorimetric pen, the real-time color data is compared with the first color data in the color comparison database, and the first color data closest to the real-time color data is determined as:

[0010] The LAB value in the real-time color data and the LAB value in the first color data are obtained, and the LAB values ​​are substituted into the CMC color difference formula, and the first color data that can obtain the minimum color difference result is used as the closest first color data.

[0011] Preferably, in the above colorimetric method based on a colorimetric pen, the second color data corresponding to the closest first color data is obtained, and the color difference between the two is obtained as follows:

[0012] According to the LAB value of the closest first color data and the LAB value of the second color data corresponding thereto, the two are subtracted to calculate the LAB difference values ​​DL, DA and DB between the two.

[0013] Preferably, in the above colorimetric method based on a colorimetric pen, the final color data of the colorimetric object obtained by adding the real-time color data to the color difference is:

[0014] The L value, A value and B value in the real-time color data are added to DL, DA and DB respectively, and the obtained data is the final color data of the colorimetric object.

[0015] Preferably, in the above colorimetric pen-based colorimetric method, before comparing the real-time color data with the first color data in the color comparison database, the method further includes:

[0016] Using a colorimetric pen and a standard colorimetric device to perform color identification on the same colorimetric object to obtain a set of corresponding first color data and second color data;

[0017] The above steps are repeated to obtain multiple sets of corresponding first color data and second color data for multiple color comparison objects to form the color comparison database.

[0018] Preferably, in the above colorimetric method based on a colorimetric pen, after forming the color comparison database, it further includes:

[0019] The L value, A value and B value of the second color data in each group of data are respectively subtracted from the L value, A value and B value of the corresponding first color data, and then the obtained differences are correspondingly written into the color comparison database.

[0020] Preferably, in the above colorimetric pen-based colorimetric method, comparing the real-time color data with the first color data in the color comparison database to determine the first color data closest to the real-time color data includes:

[0021] Using a computer to obtain the real-time color data from the colorimetric pen;

[0022] Automatically comparing the real-time color data with the first color data in the color comparison database, each comparison generating a difference value;

[0023] After all the comparisons are completed, the minimum value of the difference is determined, and the first color data corresponding to the minimum value of the difference is used as the closest first color data.

[0024] Preferably, in the above colorimetric method based on a colorimetric pen, a computer is used to obtain the first color data and the second color data from the colorimetric pen and the standard colorimetric device in a one-to-one correspondence, and store them in a one-to-one correspondence to form the color comparison database.

[0025] Preferably, in the above colorimetric pen-based colorimetric method, comparing the real-time color data with the first color data in the color comparison database to determine the first color data closest to the real-time color data includes:

[0026] Comparing the real-time color data with the first color data in the color comparison database to determine a plurality of first color data closest to the real-time color data;

[0027] The second color data corresponding to the closest first color data is obtained, the color difference between the two is obtained, and the real-time color data plus the color difference is used as the final color data of the color comparison object:

[0028] A plurality of second color data corresponding to the closest plurality of first color data are obtained, and a plurality of color difference values ​​between the second color data and the corresponding first color data are respectively obtained, and the plurality of color difference values ​​are respectively multiplied by respective weighted values ​​and then divided by the number of the closest plurality of first color data to obtain a weighted average color difference value, and the real-time color data plus the weighted average color difference value are used as the final color data of the colorimetric object.

[0029] The present invention provides a colorimetric device based on a colorimetric pen, comprising:

[0030] An acquisition component, used for acquiring real-time color data of a colorimetric object to be identified using a colorimetric pen;

[0031] A comparison component, used for comparing the real-time color data with first color data in a color comparison database, and determining the first color data that is closest to the real-time color data, wherein the color comparison database includes a plurality of sets of first color data and second color data in one-to-one correspondence, wherein the first color data is color data obtained by color identification of a color comparison object using a colorimetric pen, and the second color data is color data obtained by color identification of the same color comparison object using a standard colorimetric device;

[0032] The final color data determining component is used to obtain the second color data corresponding to the closest first color data, calculate the color difference between the two, and add the real-time color data to the color difference as the final color data of the colorimetric object.

[0033] It can be known from the above description that the colorimetric method based on the colorimetric pen provided by the present invention includes using the colorimetric pen to obtain the real-time color data of the colorimetric object to be identified; comparing the real-time color data with the first color data in the color comparison database to determine the first color data closest to the real-time color data, wherein the color comparison database includes a plurality of groups of first color data and second color data corresponding to each other, the first color data is the color data obtained by color identification of the colorimetric object using the colorimetric pen, and the second color data is the color data obtained by color identification of the same colorimetric object using a standard colorimetric device; obtaining the second color data corresponding to the closest first color data, obtaining the color difference between the two, and adding the real-time color data to the color difference as the final color data of the colorimetric object, so that the problem of color difference of sutures under different materials can be avoided by using a low-cost and low-energy colorimetric pen, and a more accurate color value can be obtained, and the accuracy requirements of professional colorimetric equipment can be met without the need for high-cost professional colorimetric equipment. The colorimetric device based on the colorimetric pen provided by the present invention has the same advantages as the above method. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0035] Figure 1 A schematic diagram of an embodiment of a colorimetric method based on a colorimetric pen provided by the present invention;

[0036] Figure 2 The present invention provides a schematic diagram of a colorimetric device based on a colorimetric pen according to an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The core of the present invention is to provide a colorimetric method and device based on a colorimetric pen, which can utilize a low-cost, low-energy colorimetric pen to avoid the problem of color differences between sutures made of different materials and obtain more accurate color values.

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] An embodiment of a colorimetric method based on a colorimetric pen provided by the present invention is as follows: Figure 1 As shown, Figure 1 A schematic diagram of an embodiment of a colorimetric method based on a colorimetric pen provided by the present invention, the method may include the following steps:

[0040] S1: using a colorimetric pen to obtain real-time color data of the colorimetric object to be identified;

[0041] It should be noted that the power of the colorimetric pen is smaller than that of the professional colorimetric equipment, and the collection and sensing methods of the two are also different. When the colors are the same, the color error on the fabric and the color error on the stitching are different. In this case, when the color detection is performed with the colorimetric pen, the detection is generally performed on the winding wire, so the color error is relatively large. However, the cost of the colorimetric pen is much lower than that of the professional colorimetric equipment, so it is more suitable for users who prefer low costs, and it is also more convenient to operate and can be used at any time. This solution is to use this low-cost and easy-to-operate colorimetric pen with a certain conversion method to achieve improved colorimetric accuracy, and even reach the accuracy standard of professional colorimetric equipment. Specifically, this step is to use the operator to hold the colorimetric pen to directly collect real-time color data of the winding wire, without the trouble of taking the winding wire to the professional colorimetric equipment for colorimetric comparison.

[0042] S2: Compare the real-time color data with the first color data in the color comparison database to determine the first color data that is closest to the real-time color data, wherein the color comparison database includes a plurality of sets of first color data and second color data that correspond to each other one by one, the first color data is color data obtained by color identification of a color comparison object using a colorimetric pen, and the second color data is color data obtained by color identification of the same color comparison object using a standard colorimetric device;

[0043] It should be noted that the number of the closest first color data can be determined according to actual needs, because sometimes there is not necessarily only one closest first color data, and the use of multiple closest first color data will further improve the accuracy of color comparison. This can be selected according to actual needs. Moreover, this color comparison database can collect all the data in advance, and then there is no need to enter the data every time a comparison is made. In some cases, some new color comparisons can be made and the obtained data can be added to the database to improve the accuracy of color recognition. When determining the color data, it is necessary to ensure that the colorimetric pen and the standard colorimetric device perform color recognition on the same suture of a certain color in the same state, and the color data obtained by these two devices are entered one by one into the above-mentioned color comparison database. In each subsequent comparison process, the colorimetric pen should also perform color recognition on the sutures in the same state, so as to ensure the accuracy of the results.

[0044] S3: obtaining second color data corresponding to the closest first color data, obtaining a color difference between the two, and adding the real-time color data to the color difference as final color data of the colorimetric object.

[0045] It should be noted that after finding the corresponding second color data in the database, the corresponding closest first color data can be subtracted from the second color data, and the obtained color difference can represent the colorimetric error between the standard colorimetric device and the colorimetric pen. Then, this color difference plus the real-time color data can compensate for the colorimetric error and obtain the final color data of the colorimetric object. It can be seen that the color recognition accuracy of the standard colorimetric device can be achieved with the colorimetric pen, which is lower in cost and more convenient to operate.

[0046] It can be seen from the above description that in the embodiment of the colorimetric method based on the colorimetric pen provided by the present invention, since it includes using the colorimetric pen to obtain real-time color data of the colorimetric object to be identified; comparing the real-time color data with the first color data in the color comparison database, determining the first color data closest to the real-time color data, wherein the color comparison database includes a plurality of groups of first color data and second color data corresponding to each other, the first color data is color data obtained by color identification of the colorimetric object using the colorimetric pen, and the second color data is color data obtained by color identification of the same colorimetric object using a standard colorimetric device; obtaining the second color data corresponding to the closest first color data, obtaining the color difference between the two, and taking the real-time color data plus the color difference as the final color data of the colorimetric object, it is possible to use a low-cost, low-energy colorimetric pen to avoid the problem of color differences in sutures under different materials, obtain more accurate color values, and meet the accuracy requirements of professional colorimetric equipment without the need for high-cost professional colorimetric equipment.

[0047] In a specific embodiment of the colorimetric method based on the colorimetric pen, the real-time color data is compared with the first color data in the color comparison database, and the first color data closest to the real-time color data is determined to be:

[0048] The LAB value in the real-time color data and the LAB value in the first color data are obtained, and the LAB values ​​are substituted into the CMC color difference formula, and the first color data that can obtain the minimum color difference result is used as the closest first color data.

[0049] It should be noted that the LAB color space is a device-independent color representation method based on three basic properties of human visual perception: brightness (L), the range from green to red (A), and the range from blue to yellow (B). The LAB color space consists of three coordinate axes: the L value represents the brightness of the color, usually ranging from 0 to 100, with 0 representing black and 100 representing white; the A value represents the color range from green to red, with positive values ​​leaning toward red and negative values ​​leaning toward green; the B value represents the color range from blue to yellow, with positive values ​​leaning toward yellow and negative values ​​leaning toward blue. The characteristic of the LAB color space is that it can reflect color changes more evenly, which makes it very useful in color management and calibration. It can also represent all colors that human vision can perceive, which is called "full coverage of colors". The LAB color space is widely used in fields such as color conversion, color correction, and color analysis. In this solution, the real-time color data and each first color data in the database are calculated using the CMC color difference formula, and the closest first color data, that is, the minimum value of the color difference result data, is found from the multiple color difference results obtained. This process can be completed automatically by a computer without manual operation.

[0050] In another specific embodiment of the colorimetric method based on the colorimetric pen, the second color data corresponding to the closest first color data is obtained, and the color difference between the two is obtained as follows:

[0051] According to the LAB value of the closest first color data and the LAB value of the second color data corresponding thereto, the two are subtracted to calculate the LAB difference values ​​DL, DA and DB between the two.

[0052] Specifically, to calculate the LAB difference between two colors, we first need the LAB values ​​of the two colors. Assume that we have the following LAB values ​​of two colors: the LAB value of the closest first color data is 𝐿1,𝑎1,𝑏1, and the corresponding LAB value of the second color data is 𝐿2,𝑎2,𝑏2, then the steps to calculate the LAB difference are as follows:

[0053] 1. Luminance difference (DL): DL = L2 − L1,

[0054] 2. Range difference from green to red (DA): 𝐷A=𝑎2−𝑎1,

[0055] 3. Range difference from blue to yellow (DB): 𝐷𝐵=𝑏2−𝑏1,

[0056] These differences represent the difference in position of the two colors in the LAB color space, the brightness difference (DL) represents the difference in brightness between the two colors, the range difference (DA) represents the difference between the two colors on the green to red axis, and the chromaticity difference (DB) represents the difference between the two colors on the blue to yellow axis.

[0057] For example, if the closest LAB value of the first color is (𝐿1,𝑎1,𝑏1)=(50,20,−10), and the corresponding LAB value of the second color is (𝐿2,𝑎2,𝑏2)=(55,25,−5), then the LAB difference is calculated as follows:

[0058] DL=55-50=5,

[0059] DA=25-20=5,

[0060] DB=(-5)-(-10)=5,

[0061] This means that the corresponding second color is 5 units brighter than the closest first color, 5 units redder on the a-axis, and 5 units yellower on the b-axis.

[0062] In a further embodiment, the final color data obtained by adding the color difference to the real-time color data as the colorimetric object may specifically be:

[0063] The L value, A value and B value in the real-time color data are added to DL, DA and DB respectively, and the obtained data is the final color data of the colorimetric object.

[0064] Continuing with the above example, if the LAB value of the above real-time color data is (54, 22, -9), then after adding (5, 5, 5), the resulting (59, 27, -4) is the final color data of the colorimetric object. This corresponds to the color data obtained when the colorimetric object is collected using a standard colorimetric device. This shows that the colorimetric purpose of the colorimetric pen is achieved with an accuracy close to or even the same as that of the standard colorimetric device.

[0065] In another specific embodiment of the colorimetric method based on the colorimetric pen, before comparing the real-time color data with the first color data in the color comparison database, the following steps may be further included:

[0066] Using a colorimetric pen and a standard colorimetric device to perform color identification on the same colorimetric object to obtain a set of corresponding first color data and second color data;

[0067] The above steps are repeated to obtain multiple sets of corresponding first color data and second color data for multiple color comparison objects to form a color comparison database.

[0068] It should be noted that the process of establishing such a database can be realized through a computer, which makes the collection efficiency higher. For each color, it is only necessary to collect it once with a colorimetric pen and a standard colorimetric device and enter it into the database. There is no need to collect it again with a standard colorimetric device in the future, so the colorimetric cost is lower.

[0069] In a preferred embodiment of the colorimetric method based on the colorimetric pen, after forming the color comparison database, the following steps may also be included:

[0070] The L value, A value and B value of the second color data in each group of data are respectively subtracted from the L value, A value and B value of the corresponding first color data, and then the obtained differences are correspondingly written into the color comparison database.

[0071] That is to say, this step is put in front, so as to avoid the step of calculating the difference after obtaining the closest first color data each time. In this way, the corresponding difference can be directly retrieved from the database, thereby further improving the efficiency of colorimetry.

[0072] In another preferred embodiment of the colorimetric method based on a colorimetric pen, comparing the real-time color data with the first color data in the color comparison database to determine the first color data closest to the real-time color data may specifically include the following steps:

[0073] Use a computer to obtain real-time color data from a colorimetric pen;

[0074] Automatically compare the real-time color data with the first color data in the color comparison database, and each comparison generates a difference value;

[0075] After all the comparisons are completed, the minimum value of the difference is determined, and the first color data corresponding to the minimum value of the difference is used as the closest first color data.

[0076] In this case, a colorimetric kit installed at the front end of the colorimetric pen and a computer in communication with the colorimetric kit can be used to achieve this. In this way, the closest first color data can be found quickly and the accuracy of the result can be guaranteed.

[0077] Furthermore, it is preferred to use a computer to obtain the first color data and the second color data from the colorimetric pen and the standard colorimetric device in a one-to-one correspondence, and store them in a one-to-one correspondence to form a color comparison database. That is to say, during the initial data collection process, the computer can be used to communicate with the colorimetric pen and the standard colorimetric device at the same time, and the data of the same colorimetric object collected by the two can be transmitted to the computer in a one-to-one correspondence for storage, so as to finally form a color comparison database, so as to make up for the differences in colorimetric capabilities of different colorimetric devices themselves.

[0078] In another preferred embodiment of the colorimetric method based on the colorimetric pen, the real-time color data is compared with the first color data in the color comparison database, and the first color data closest to the real-time color data is determined to include:

[0079] Comparing the real-time color data with the first color data in the color comparison database, and determining a plurality of first color data closest to the real-time color data;

[0080] Furthermore, the second color data corresponding to the closest first color data is obtained, and the color difference between the two is obtained. The real-time color data plus the color difference is used as the final color data of the colorimetric object:

[0081] A plurality of second color data corresponding to the closest plurality of first color data are obtained, and a plurality of color difference values ​​between the second color data and the corresponding first color data are respectively obtained, and the plurality of color difference values ​​are respectively multiplied by respective weighted values ​​and then divided by the number of the closest plurality of first color data to obtain a weighted average color difference value, and the real-time color data plus the weighted average color difference value are used as the final color data of the colorimetric object.

[0082] It can be seen that the scheme comprehensively selects multiple corresponding closest first color data, and after finding the corresponding multiple second color data, calculates multiple color difference values ​​respectively, and then performs weighted averaging to obtain a color difference value that is closer to the actual situation. The final color data obtained by adding the color difference value after weighted averaging and real-time color data will be more accurate. Of course, this can be selected according to actual needs. There is no limit on the number of specific closest first color data, nor on the specific weighted value.

[0083] An embodiment of a colorimetric device based on a colorimetric pen provided by the present invention is as follows: Figure 2 As shown, Figure 2 A schematic diagram of an embodiment of a colorimetric device based on a colorimetric pen provided by the present invention, the device may include:

[0084] The acquisition component 201 is used to use a colorimetric pen to acquire real-time color data of the colorimetric object to be identified. It should be noted that the power of the colorimetric pen is smaller than that of the professional colorimetric equipment, and the acquisition method and sensing method of the two are also different. When the colors are the same, the color error on the cloth and the color error on the suture are different. In this case, when the colorimetric pen is used for color detection, it is generally used to detect the winding wire, so the color error generated is relatively large. However, the cost of the colorimetric pen is much lower than that of the professional colorimetric equipment, so it is more suitable for users who prefer low costs, and it is also more convenient to operate and can be used at any time. This solution is to use this low-cost and easy-to-operate colorimetric pen with a certain conversion method to improve the colorimetric accuracy, and even reach the accuracy standard of professional colorimetric equipment. Specifically, this step is to use the operator to hold the colorimetric pen directly to collect real-time color data of the winding wire, without the trouble of taking the winding wire to the professional colorimetric equipment for colorimetric comparison;

[0085] The comparison component 202 is used to compare the real-time color data with the first color data in the color comparison database to determine the first color data that is closest to the real-time color data, wherein the color comparison database includes a plurality of sets of first color data and second color data that correspond to each other. The first color data is color data obtained by color identification of a color comparison object using a colorimetric pen, and the second color data is color data obtained by color identification of the same color comparison object using a standard colorimetric device. It should be noted that the number of the closest first color data can be determined according to actual needs, because sometimes there is not necessarily only one closest first color data, and using multiple closest first color data will further improve the comparison. The accuracy of color can be selected according to actual needs. Moreover, this color comparison database can collect all the data in advance, so there is no need to enter the data every time for comparison. In some cases, some new color comparisons can be made and the obtained data can be added to the database to improve the accuracy of color recognition. When determining the color data, it is necessary to ensure that the colorimetric pen and the standard colorimetric device perform color recognition on the same suture with a certain color in the same state, and the color data obtained by the two devices are input into the above-mentioned color comparison database one by one. In each subsequent comparison process, the colorimetric pen should also perform color recognition on the suture with the same state, so as to ensure the accuracy of the result;

[0086] The final color data determination component 203 is used to obtain the second color data corresponding to the closest first color data, calculate the color difference between the two, and add the real-time color data to the color difference as the final color data of the colorimetric object. It should be noted that after finding the corresponding second color data in the database, the second color data can be subtracted from the corresponding closest first color data. The obtained color difference can represent the colorimetric error between the standard colorimetric device and the colorimetric pen. Then, after adding this color difference to the real-time color data, the colorimetric error can be compensated, and the final color data of the colorimetric object can be obtained. It can be seen that the color recognition accuracy of the standard colorimetric device is achieved by using the colorimetric pen, which is lower in cost and more convenient to operate.

[0087] It should also be noted that the acquisition component 201 may specifically be a colorimetric kit installed together with the front end of the colorimetric pen, and the comparison component 202 and the final color data determination component 203 may be computers that are communicatively connected to the colorimetric kit.

[0088] In summary, the above-mentioned colorimetric method and device based on the colorimetric pen provided in the present application have the following advantages: (1) high accuracy. As long as enough LAB suture comparison tables are collected and the software is used to automatically calculate and correct them, the problem of insufficient colorimetric pen capacity can be well corrected; (2) low cost. It is only necessary to collect the color difference once, and there is no need to purchase more expensive desktop standard colorimetric equipment; (3) convenience. The colorimetric pen can be equipped with corresponding tooling to directly collect LAB values ​​in the coiled wire. There is no need to wind it into a special wire board for collection like standard colorimetric equipment.

[0089] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A colorimetric method based on a colorimetric pen, It is characterized in that include: Using a colorimetric pen to obtain real-time color data of a colorimetric object to be identified; Compare the real-time color data with first color data in a color comparison database to determine the first color data that is closest to the real-time color data, wherein the color comparison database includes a plurality of sets of first color data and second color data that correspond to each other, the first color data is color data obtained by color identification of a color comparison object using a colorimetric pen, and the second color data is color data obtained by color identification of the same color comparison object using a standard colorimetric device; The second color data corresponding to the closest first color data is obtained, the color difference between the two is obtained, and the real-time color data plus the color difference is used as the final color data of the colorimetric object.

2. The colorimetric method based on a colorimetric pen according to claim 1, It is characterized in that The real-time color data is compared with the first color data in the color comparison database, and the first color data closest to the real-time color data is determined as: The LAB value in the real-time color data and the LAB value in the first color data are obtained, and the LAB values ​​are substituted into the CMC color difference formula, and the first color data that can obtain the minimum color difference result is used as the closest first color data.

3. The colorimetric method based on a colorimetric pen according to claim 2, It is characterized in that The second color data corresponding to the closest first color data is obtained, and the color difference between the two is obtained as follows: According to the LAB value of the closest first color data and the LAB value of the second color data corresponding thereto, the two are subtracted to calculate the LAB difference values ​​DL, DA and DB between the two.

4. The colorimetric method based on a colorimetric pen according to claim 3, It is characterized in that The final color data of the color comparison object obtained by adding the color difference to the real-time color data is: The L value, A value and B value in the real-time color data are added to DL, DA and DB respectively, and the obtained data is the final color data of the colorimetric object.

5. The colorimetric method based on a colorimetric pen according to claim 1, It is characterized in that Before comparing the real-time color data with the first color data in the color comparison database, the method further includes: Using a colorimetric pen and a standard colorimetric device to perform color identification on the same colorimetric object to obtain a set of corresponding first color data and second color data; The above steps are repeated to obtain multiple sets of corresponding first color data and second color data for multiple color comparison objects to form the color comparison database.

6. The colorimetric method based on a colorimetric pen according to claim 5, It is characterized in that After forming the color comparison database, the method further includes: The L value, A value and B value of the second color data in each group of data are respectively subtracted from the L value, A value and B value of the corresponding first color data, and then the obtained differences are correspondingly written into the color comparison database.

7. The colorimetric method based on a colorimetric pen according to any one of claims 1 to 6, It is characterized in that The step of comparing the real-time color data with the first color data in a color comparison database to determine the first color data closest to the real-time color data includes: Using a computer to obtain the real-time color data from the colorimetric pen; Automatically comparing the real-time color data with the first color data in the color comparison database, each comparison generating a difference value; After all the comparisons are completed, the minimum value of the difference is determined, and the first color data corresponding to the minimum value of the difference is used as the closest first color data.

8. The colorimetric method based on a colorimetric pen according to claim 7, It is characterized in that The first color data and the second color data are acquired from the colorimetric pen and the standard colorimetric device in a one-to-one correspondence by using a computer, and are stored in a one-to-one correspondence to form the color comparison database.

9. The colorimetric method based on a colorimetric pen according to claim 1, It is characterized in that The step of comparing the real-time color data with the first color data in a color comparison database to determine the first color data closest to the real-time color data includes: Comparing the real-time color data with the first color data in the color comparison database to determine a plurality of first color data closest to the real-time color data; The second color data corresponding to the closest first color data is obtained, the color difference between the two is obtained, and the real-time color data plus the color difference is used as the final color data of the color comparison object: A plurality of second color data corresponding to the closest plurality of first color data are obtained, and a plurality of color difference values ​​between the second color data and the corresponding first color data are respectively obtained, and the plurality of color difference values ​​are respectively multiplied by respective weighted values ​​and then divided by the number of the closest plurality of first color data to obtain a weighted average color difference value, and the real-time color data plus the weighted average color difference value are used as the final color data of the colorimetric object.

10. A colorimetric device based on a colorimetric pen, It is characterized in that include: An acquisition component, used for acquiring real-time color data of a colorimetric object to be identified using a colorimetric pen; A comparison component, used for comparing the real-time color data with first color data in a color comparison database, and determining the first color data that is closest to the real-time color data, wherein the color comparison database includes a plurality of sets of first color data and second color data in one-to-one correspondence, wherein the first color data is color data obtained by color identification of a color comparison object using a colorimetric pen, and the second color data is color data obtained by color identification of the same color comparison object using a standard colorimetric device; The final color data determining component is used to obtain the second color data corresponding to the closest first color data, calculate the color difference between the two, and add the real-time color data to the color difference as the final color data of the colorimetric object.