Method, system and storage medium for defining hue deviation range of white plastic color matching
By defining the hue offset range of white plastic during the color matching process of white plastic, and measuring the values of L, a, and b using a color difference meter, the problem of unclear distinction between white and other colors in the prior art is solved, and the accuracy and efficiency of white plastic color matching is improved.
Patent Information
- Application Number
- CN202310230802.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-11
- Publication Date
- 2025-04-08
AI Technical Summary
In the process of white plastic color matching, the prior art cannot accurately distinguish white from other colors, resulting in low color matching accuracy and low efficiency.
By obtaining the color data samples of white plastic products, they are divided into light and dark samples and hue-biased samples, and are divided into six groups of hue-biased color groups according to the three primary colors. Use a colorimeter to measure the values of L, a, and b, and set the upper limit values of the L values of the light and dark samples and the hue bias samples and the upper limit values of the a and b values to define the hue offset range of white plastic.
It realizes a quick judgment on whether the plastic sample belongs to white, thereby selecting a suitable color sample database, improving the accuracy and efficiency of white plastic color matching.
Abstract
Description
Technical Field
[0001] The present invention relates to the field of plastic color matching, and in particular to a method, system and storage medium for defining a hue offset range of white plastic color matching. Background Art
[0002] In the process of matching white plastic colors, due to the shift in color hue and changes in the brightness of white, when comparing colors, the color is often white, but compared to pure white, the naked eye sees light yellow, light red, light blue, light green, light gray and other colors.
[0003] At present, in the field of plastic color matching, there is no distinction between the boundary between white and other colors. In the current plastic color matching process, the commonly used method is to collect the L, a, and b values of the plastic color sample through a colorimeter to form a reference database for different color matching, and then compare the L, a, and b values of the plastic sample measured by the colorimeter with the corresponding color database, and find the plastic sample closest to the color of the plastic sample from the color database, so as to achieve the color matching of the plastic sample; because it is impossible to distinguish between white and other colors, it is impossible to accurately judge whether the color is white in the plastic color matching process. If the plastic sample is actually white, but it is considered to be another color after observation by the naked eye, and the corresponding color database is wrongly selected, the color difference between the plastic sample color closest to the plastic sample found in the database and the color of the plastic sample is large, which in turn affects the accuracy and efficiency of white plastic color matching. Therefore, in the field of plastic color matching, it is urgent to define the boundary between white and other colors, so as to accurately and quickly match the color of white plastic. Summary of the invention
[0004] The purpose of the present invention is to address the deficiencies in the prior art and provide a method, system and storage medium for defining the hue offset range of white plastic color matching, so as to solve the problems of low accuracy and low color matching efficiency in the current white plastic color matching process.
[0005] The technical solution adopted by the present invention to achieve the above-mentioned purpose is:
[0006] The method for defining the hue deviation range of white plastic color matching comprises the following steps:
[0007] (1) Obtain a sample of white plastic product color data;
[0008] (2) Divide the color data samples of white plastic products into light and dark samples and hue bias samples;
[0009] (3) Dividing the hue deviation samples into a red group, a yellow group and a blue group according to the three primary colors, and then dividing them into six hue deviation color groups according to the characteristics that each primary color has a hue deviation toward the other two primary colors; the six hue deviation color groups include: dividing the red group into a red-yellow group and a red-blue group, dividing the yellow group into a yellow-red group and a yellow-blue group, and dividing the blue group into a blue-red group and a blue-yellow group;
[0010] (4) Obtaining the L value, a value, and b value of the hue bias sample and the lightness and darkness sample using a colorimeter;
[0011] (5) Setting the range of L values of the light and dark samples and the hue bias samples. When the L value is within the range, it is white. Conversely, when the L value is not within the range, it is not white.
[0012] (6) Setting the upper limit of a and b for each color bias. When the a and b values are greater than the upper limit, they are not white. On the contrary, when the a and b values are less than the upper limit, and the L value is within the range of white described in step (5), they are white. When a=0 and b=0, there is no color bias, and the color is pure white. The upper limit is the absolute value of the a and b values.
[0013] The upper limit of the yellowish red color in the yellow group is set to b=+5, a=+2. When the a and b values exceed the upper limit, it is considered light yellow, and when they are lower than the upper limit, it is considered white.
[0014] The upper limit of the yellow-bluish color in the yellow group is set to b=+5, a=-1. When the a and b values exceed the upper limit, it is considered light yellow, and when they are lower than the upper limit, it is considered white.
[0015] The upper limit of the bluish-red color in the blue group is set to b=-0.7 and a=-1.1. When the a and b values exceed the upper limit, it is considered light blue, and when they are lower than the upper limit, it is considered white.
[0016] The upper limit of the blue-yellow color in the blue group is set to b=+2.8, a=-1.8. When the a and b values exceed the upper limit, it is considered light green, and when they are lower than the upper limit, it is considered white.
[0017] The upper limit value of the yellowish red in the red group is set to b=+3.1, a=+0.5. When the a and b values exceed the upper limit value, it is considered light red, and when it is lower than the upper limit value, it is considered white.
[0018] The upper limit of the red-to-bluish color in the red group is set to b=+2.0 and a=+0.3. When the a and b values exceed the upper limit, it is considered light red, and when they are lower than the upper limit, it is considered white.
[0019] The upper limit values described in the present invention are the absolute values of a value and b value. For example, the upper limit value of the yellowish reddish color in the yellow group is set to b=+5, a=+2, and its white range is 0<b<+5, 0<a<+2; the upper limit value of the blueish reddish color in the blue group is set to b=-0.7, a=-1.1, and its white range is -0.7<b<0, -1.1<a<0; the upper limit value of the blueish yellowish color in the blue group is set to b=+2.8, a=-1.8, and its white range is 0<b<+2.8, -1.8<a<0.
[0020] The L value range of the light and dark samples is set to 86<L<98.2. When the L value is lower than 86, it is not white.
[0021] A device for defining a hue deviation range of a white plastic color matching system, comprising:
[0022] Memory for storing computer programs;
[0023] The processor is used to implement the steps of the method for defining the hue offset range of white plastic color matching when storing a computer program.
[0024] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for defining the hue offset range of a white plastic color matching are implemented.
[0025] The beneficial effect of the present invention is that the present invention defines the upper limit value of the hue deviation range of white plastic color matching, so that after measuring the a value, b value and L value of the sample by a colorimeter, it can quickly determine whether the plastic sample is white, thereby selecting a plastic sample database of appropriate color, narrowing the database sample search range, and improving the accuracy and efficiency of white plastic color matching.
[0026] By defining the hue deviation range of white plastic color matching, it is possible to provide a data upper limit basis for the hue deviation of each color of the underlying color for the establishment of a white plastic color matching database, thereby providing data support for the establishment of a white plastic color matching database, and providing help for further improving the accuracy of white plastic color matching and the efficiency of color matching. DETAILED DESCRIPTION
[0027] Embodiment: This embodiment provides a method for defining a hue deviation range of a white plastic color matching, which includes the following steps:
[0028] (1) Obtain a sample of white plastic product color data;
[0029] (2) Divide the color data samples of white plastic products into light and dark samples and hue bias samples;
[0030] (3) Dividing the hue deviation samples into a red group, a yellow group and a blue group according to the three primary colors, and then dividing them into six hue deviation color groups according to the characteristics that each primary color has a hue deviation toward the other two primary colors; the six hue deviation color groups include: dividing the red group into a red-yellow group and a red-blue group, dividing the yellow group into a yellow-red group and a yellow-blue group, and dividing the blue group into a blue-red group and a blue-yellow group;
[0031] (4) Obtaining the L value, a value, and b value of the hue bias sample and the lightness and darkness sample using a colorimeter;
[0032] (5) Setting the range of L values of the light and dark samples and the hue bias samples. When the L value is within the range, it is white. Conversely, when the L value is not within the range, it is not white.
[0033] (6) Setting the upper limit of a and b for each color bias. When the a and b values are greater than the upper limit, they are not white. On the contrary, when the a and b values are less than the upper limit, and the L value is within the range of white described in step (5), they are white. When a=0 and b=0, there is no color bias, and the color is pure white. The upper limit is the absolute value of the a and b values.
[0034] The upper limit of the yellowish red color in the yellow group is set to b=+5, a=+2. When the a and b values exceed the upper limit, it is considered light yellow, and when they are lower than the upper limit, it is considered white.
[0035] The upper limit of the yellow-bluish color in the yellow group is set to b=+5, a=-1. When the a and b values exceed the upper limit, it is considered light yellow, and when they are lower than the upper limit, it is considered white.
[0036] The upper limit of the bluish-red color in the blue group is set to b=-0.7 and a=-1.1. When the a and b values exceed the upper limit, it is considered light blue, and when they are lower than the upper limit, it is considered white.
[0037] The upper limit of the blue-yellow color in the blue group is set to b=+2.8, a=-1.8. When the a and b values exceed the upper limit, it is considered light green, and when they are lower than the upper limit, it is considered white.
[0038] The upper limit value of the yellowish red in the red group is set to b=+3.1, a=+0.5. When the a and b values exceed the upper limit value, it is considered light red, and when it is lower than the upper limit value, it is considered white.
[0039] The upper limit of the red-to-bluish color in the red group is set to b=+2.0 and a=+0.3. When the a and b values exceed the upper limit, it is considered light red, and when they are lower than the upper limit, it is considered white.
[0040] The upper limit values described in this embodiment are the absolute values of a and b. For example, the upper limit value of the yellowish reddish color in the yellow group is set to b=+5, a=+2, and its white range is 0<b<+5, 0<a<+2; the upper limit value of the blueish reddish color in the blue group is set to b=-0.7, a=-1.1, and its white range is -0.7<b<0, -1.1<a<0; the upper limit value of the blueish yellowish color in the blue group is set to b=+2.8, a=-1.8, and its white range is 0<b<+2.8, -1.8<a<0.
[0041] The L value range of the light and dark samples is set to 86<L<98.2. When the L value is lower than 86, it is not white.
[0042] A device for defining a hue deviation range of a white plastic color matching system, comprising:
[0043] Memory for storing computer programs;
[0044] The processor is used to implement the steps of the method for defining the hue offset range of white plastic color matching when storing a computer program.
[0045] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for defining the hue offset range of a white plastic color matching are implemented.
[0046] The above description is only a preferred embodiment of the present invention and is not intended to limit the patent scope of the present invention. Therefore, all changes in the method steps made using the contents of the present invention specification are included in the protection scope of the present invention.
Claims
1. A method for defining a hue deviation range of a white plastic color matching, characterized in that: It includes the following steps: (1) Obtain a sample of white plastic product color data; (2) Divide the color data samples of white plastic products into light and dark samples and hue bias samples; (3) Dividing the hue deviation samples into a red group, a yellow group and a blue group according to the three primary colors, and then dividing them into six hue deviation color groups according to the characteristics that each primary color has a hue deviation toward the other two primary colors; the six hue deviation color groups include: dividing the red group into a red-yellow group and a red-blue group, dividing the yellow group into a yellow-red group and a yellow-blue group, and dividing the blue group into a blue-red group and a blue-yellow group; (4) Obtaining the L value, a value, and b value of the hue bias sample and the lightness and darkness sample using a colorimeter; (5) Setting the range of L values of the light and dark samples and the hue bias samples. When the L value is within the range, it is white. Conversely, when the L value is not within the range, it is not white. (6) Setting the upper limit of a and b for each color bias. When the a and b values are greater than the upper limit, they are not white. On the contrary, when the a and b values are less than the upper limit, and the L value is within the range of white described in step (5), they are white. When a=0 and b=0, there is no color bias, and the color is pure white. The upper limit is the absolute value of the a and b values.
2. The method for defining the hue deviation range of white plastic color matching according to claim 1, characterized in that: The upper limit of the yellowish red color in the yellow group is set to b=+5, a=+2. When the a and b values exceed the upper limit, it is considered light yellow, and when they are lower than the upper limit, it is considered white.
3. The method for defining the hue deviation range of white plastic color matching according to claim 1, characterized in that: The upper limit of the yellow-bluish color in the yellow group is set to b=+5, a=-1. When the a and b values exceed the upper limit, it is considered light yellow, and when they are lower than the upper limit, it is considered white.
4. The method for defining the hue deviation range of white plastic color matching according to claim 1, characterized in that: The upper limit of the bluish-red color in the blue group is set to b=-0.7 and a=-1.
1. When the a and b values exceed the upper limit, it is considered light blue, and when they are lower than the upper limit, it is considered white.
5. The method for defining the hue deviation range of white plastic color matching according to claim 1, characterized in that: The upper limit of the blue-yellow color in the blue group is set to b=+2.8, a=-1.
8. When the a and b values exceed the upper limit, it is considered light green, and when they are lower than the upper limit, it is considered white.
6. The method for defining the hue deviation range of white plastic color matching according to claim 1, characterized in that: The upper limit value of the yellowish red in the red group is set to b=+3.1, a=+0.
5. When the a and b values exceed the upper limit value, it is considered light red, and when it is lower than the upper limit value, it is considered white.
7. The method for defining the hue deviation range of white plastic color matching according to claim 1, characterized in that: The upper limit of the red-to-bluish color in the red group is set to b=+2.0 and a=+0.
3. When the a and b values exceed the upper limit, it is considered light red, and when they are lower than the upper limit, it is considered white.
8. The method for defining the hue deviation range of white plastic color matching according to claim 1, characterized in that: The L value range of the light and dark samples and the hue bias samples is set to 86<L<98.
2. When the L value is lower than 86, it is not white.
9. A device for defining a hue deviation range of a white plastic color matching, characterized in that: It includes: Memory for storing computer programs; A processor is used to implement the steps of the method for defining the hue shift range of white plastic color matching as described in any one of claims 1 to 8 when storing a computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the method for defining the hue shift range of white plastic color matching according to any one of claims 1 to 8 are implemented.