Textile exquisite color matching method and system
By independently setting dyeing factors, establishing a historical database, and screening and evaluating smart color points, the accuracy and applicability issues of existing smart color matching methods for textiles have been resolved, achieving efficient and accurate color matching results.
Patent Information
- Application Number
- CN202511072702.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-31
- Publication Date
- 2025-11-18
AI Technical Summary
Existing smart color matching methods for textiles have overly coarse conditions when selecting smart color points, which cannot flexibly adapt to the actual situation of different enterprises, resulting in limited accuracy and applicability. Furthermore, when there is a large amount of historical data, the calculation speed is slow and abnormal color points are prone to appear, affecting the accuracy of the results.
The system allows users to independently set factors that significantly affect the dyeing effect, establish a historical dyeing database for textiles, screen and sort key color points, remove abnormal color points through evaluation, and use a textile color matching system to determine whether the color difference value meets the preset conditions.
It improves the accuracy and calculation speed of smart color matching results, reduces the number of color mixing rounds, lowers production costs, and has wider applicability to meet the actual needs of different enterprises.
Smart Images

Figure CN120976341A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a computer color matching method and system, and more particularly to a novel smart color matching method and system for textiles. Background Technology
[0002] Textile color matching refers to the process of applying different color dyes or pigments to textiles using specific processing methods, based on the material properties of the textiles, to achieve a specific color. Early on, the textile industry relied primarily on manual experience for color matching, but this method suffered from low efficiency and poor accuracy. In the mid-20th century, with the initial development of computer technology and the continuous improvement of colorimetry theory, computer-aided color matching began to emerge, and professionals began exploring the combination of computer technology and textile color matching, attempting to implement computer-based color matching.
[0003] With the continuous development and improvement of computer technology, color science theory, and color measurement equipment, computer color matching technology for textiles has gradually matured, resulting in various computer color matching methods and models, and professional computer color matching systems have also gradually developed. In the 21st century, computer color matching technology for textiles has been widely used in the textile printing and dyeing industry. Compared with manual color matching, it has significantly improved the efficiency and accuracy of color matching, and reduced the consumption of manpower, time, and materials. To further improve the accuracy of computer color matching and reduce the number of color mixing rounds, intelligent computer color matching has emerged. Intelligent color matching is based on searching for historical data (also known as intelligent color points) that are the same as the dye to be matched and have similar colors and dyeing processes. Based on historical color samples and formulas that have already been dyed, it obtains the difference between the actual and initial color matching results before the first dyeing, and then corrects the initial calculated color matching results to reduce the impact of the diversity of dyeing substrates, differences in dye batches and dyeing processes, and the interaction of blended dyes on color matching, thereby improving the accuracy of intelligent color matching.
[0004] Although the accuracy of intelligent color matching is significantly improved compared to early computer-aided color matching, some problems still exist. First, the criteria for selecting intelligent color points are rather "coarse and rigid," lacking refinement and flexibility. In the process of selecting intelligent color points, in addition to having the same substrate type, dye combination, and similar colors, the "factors that have a significant impact on the dyeing effect" also need to be the same or similar to be accurate in distinguishing the actual results from the initial color matching, thus improving the accuracy of intelligent color matching. In reality, there are numerous domestic printing and dyeing enterprises producing a wide variety of textiles, and their dyeing processes vary greatly. Therefore, the factors that significantly impact dyeing results also differ. However, current smart color matching methods and systems only specify one or two fixed factors that significantly affect dyeing results, limiting their applicability and impacting the accuracy of smart color matching. Secondly, the methods for using the selected smart color points are not rigorous enough; either only the color with the smallest difference from the standard sample is selected, or all selected smart color points are used. The former has too few samples, potentially failing to objectively reflect the difference between the actual and initial color matching results, while the latter provides a more comprehensive and objective assessment. However, when historical data reaches a certain quantity, the number of selected smart color points becomes increasingly limited. In the long run, this not only increases the system's computational load and reduces calculation speed, but also leads to situations where clever color points with large color differences from the standard sample actually "drag down" clever color points with smaller color differences from the standard sample, reducing the accuracy of obtaining the "difference between the actual and the initial color matching result" and lowering the accuracy of clever color matching. Finally, the selected clever color points are used directly without reliability assessment. In fact, during the search for clever color points, due to various reasons such as a coarse search rule, errors in historical data recording, or special circumstances in the dyeing process, there may be "special / abnormal clever points" among the searched clever colors. "Special / abnormal clever points" will affect the "difference between the actual and the initial color matching result" and may even lead to incorrect results.
[0005] In summary, the current shortcomings in smart color matching for textiles hinder further improvement in color accuracy. If a practical and effective solution can be provided to address these issues, a smart color matching method and system with higher accuracy, faster calculation speed, and wider applicability can be obtained. This would reduce the number of color matching rounds for enterprises, improve production efficiency, reduce production costs, and enhance enterprise competitiveness. It would also have significant practical significance and application value in promoting the intelligent and digital development of the textile industry. Summary of the Invention
[0006] The following provides a brief overview of one or more aspects to offer a basic understanding of them. This overview is not an exhaustive summary of all conceived aspects, nor is it intended to identify key or decisive elements of all aspects, nor to define the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form to prepare for the more detailed descriptions that follow.
[0007] The purpose of this invention is to solve the above-mentioned problems and provide a smart color matching method and system for textiles. This method not only improves the accuracy of smart color matching results and can quickly obtain more accurate smart color matching results, but also effectively reduces the number of color matching rounds for enterprises, improves production efficiency, and reduces production costs. Furthermore, it breaks through the limitations of existing methods and has wider applicability.
[0008] The technical solution of this invention is as follows: This invention discloses a method for smart color matching of textiles, the method comprising:
[0009] Step S1: Independently set the factors that have a significant impact on the dyeing effect, and then establish a historical dyeing database for textiles;
[0010] Step S2: Obtain the basic information of the color scheme to be cleverly matched;
[0011] Step S3: From the established historical dyeing database of textiles, filter out the smart color points that meet the conditions and sort them, and then obtain the information of the smart color points in the top sorted column.
[0012] Step S4: Evaluate the smart color points obtained in step S3 using different methods depending on the situation, and remove "abnormal smart color points";
[0013] Step S5: Based on the smart color points and corresponding information obtained in step S4, calculate the smart reflectance value, and then use the textile color matching system to output the result, thus obtaining the smart color matching result.
[0014] Step S6: Determine whether the color difference value of the smart formula obtained in step S5 meets the preset conditions and perform corresponding processing based on the determination result.
[0015] According to an embodiment of the smart color matching method for textiles of the present invention, the factors that have a significant impact on the dyeing effect in step S1 include: the specifications of the color sample substrate, the dyeing method, and the dyeing process. The specifications of the color sample substrate include: weight, structure, warp and weft yarn density, and pretreatment method. The dyeing method includes: immersion dyeing, roll dyeing, pad dyeing, and cold pad dyeing. The dyeing process includes: dyeing temperature, dyeing time, liquor ratio, heating rate, cooling rate, color fixing method, soaping method, and water washing method. The data in the historical textile dyeing database includes: the color reflectance value of the actual dyed sample and the corresponding actual dyeing formula, the substrate type of the actual dyed sample, and the factors affecting the dyeing effect. The color reflectance value is the reflectance value within the wavelength range of visible light, and the substrate type is: natural fiber, regenerated fiber, or synthetic fiber.
[0016] According to an embodiment of the smart color matching method for textiles of the present invention, the basic information to be smartly matched in step S2 includes: the reflectance value of the standard sample color, the type of textile substrate, the type of light source, the type of color difference, the color difference threshold, factors affecting the dyeing effect, and the name of the dye required for color matching. The light source type includes one of D65, CWF, A, TL84, U3000, UL35, and TL83, and the color difference type is CIE DE or DE. CMC(l:c) One of DE2000, with a color difference threshold of any value greater than 0.
[0017] According to an embodiment of the smart color matching method for textiles of the present invention, the information of the smart color point in step S3 includes: the actual color reflectance value of the smart color point and the corresponding actual dyeing formula;
[0018] The method for selecting the smart color points in step S3 is as follows:
[0019] The first step is to select historical colors that are the same as those in the "basic information of textile substrate type and dye required for color matching" in the established historical dyeing database of textiles.
[0020] The second step is to continue filtering from the colors selected in the first step to find historical colors that match the standard sample color and have a color difference ≤ the set value under "Light source type in basic information of step S2".
[0021] The third step is to further filter out historical colors from the colors selected in the second step that match the "factors affecting the dyeing effect in the basic information of step S2". These are the smart color points that meet the conditions.
[0022] The sorting method for the smart color points in step S3 is as follows: sorting is based on the color difference value between the smart color point and the standard sample color. The smaller the color difference value, the higher the sorting.
[0023] According to an embodiment of the smart color matching method for textiles of the present invention, the evaluation method in step S4 includes:
[0024] The first step is to use a textile color matching system to generate a theoretical formula based on the actual color reflectance value of the smart color point.
[0025] The second step is to calculate the difference between the actual dyeing formula and the theoretical formula for each smart color point;
[0026] The third step is to calculate the degree of deviation for each smart color point according to different situations;
[0027] The fourth step is to make judgments based on the above calculation results, remove "abnormally smart color points" according to different situations, and obtain the evaluated smart color points.
[0028] In one embodiment of the smart color matching method for textiles according to the present invention, the difference between the actual dyeing formula and the theoretical formula for each smart color point is calculated in the second step as follows:
[0029]
[0030] in: For the j-th dye at the i-th sharp color point, the difference between the actual dyeing formula and the theoretical formula;
[0031] P i j The amount of the j-th dye used in the i-th bright color point in the actual dyeing formula;
[0032] The amount of the j-th dye used in the theoretical formula for the i-th bright color point;
[0033] In the third step, the deviation of each smart color point is calculated according to the following methods, depending on the specific case:
[0034] Case 1: The total number of clever colored dots obtained is n = 1
[0035]
[0036] in: For the j-th dye, this represents the degree of deviation of the clever color point;
[0037] For the j-th dye of this clever color point, the difference between the actual dyeing formula and the theoretical formula;
[0038] The amount of the j-th dye used in the theoretical formula for this clever color point;
[0039] Case 2: The total number of clever colored dots obtained is n = 2
[0040]
[0041] in: For the j-th dye, the degree of deviation between two bright color points;
[0042] The difference between the actual dyeing formula and the theoretical formula for the j-th dye at the first clever color point;
[0043] For the j-th dye of the second smart color point, the difference between the actual dyeing formula and the theoretical formula; Case 3: The total number of smart color points obtained, n > 2.
[0044] in:
[0045] Where: β i The degree of deviation of the i-th clever color point;
[0046] m is the number of dyes in the formula;
[0047] For the j-th dye at the i-th sharp color point, the difference between the actual dyeing formula and the theoretical formula;
[0048] n is the number of all the clever colored points obtained;
[0049] In the fourth step, based on different situations, judgments are made to remove "abnormally smart color points." The processing of the evaluated smart color points further includes:
[0050] Case 1: The total number of clever points n = 1
[0051] The degree of deviation of this clever color point for all dyes Make a judgment:
[0052] like If all values are ∈ (u, v), then the clever color matching point is retained;
[0053] If any Then remove the clever point and output: No clever color matching result that meets the conditions;
[0054] Where u is any value between -0.99 and 0; v is any value between 0.01 and 50;
[0055] Case 2: The total number of clever points n = 2
[0056] The degree of deviation of all dyes for two clever color points Make a judgment:
[0057] like If all are ∈ (e, f), then retain 2 bright colored points;
[0058] If any Remove The corresponding smart color point;
[0059] Where: e and f are any values between 0.01 and 20, and e > f;
[0060] m is the number of dyes in the formula;
[0061] Case 3: The total number of clever points n > 2
[0062] Deviation β for all clever color points i Make a judgment:
[0063] like Then all the clever color points will be retained;
[0064] like Then remove (β) i ) max The corresponding smart color point,
[0065] Among them, (β) i ) max The maximum deviation among all the cleverly colored points, (β) i ) min The minimum deviation among all the clever color points is k, which is any value between 0.01 and 20.
[0066] According to an embodiment of the smart color matching method for textiles of the present invention, the smart color matching result in step S5 includes: smart formula, color difference value, and relevant color difference parameters;
[0067] The method for calculating the smart reflectance value in step S5 further includes:
[0068] The first step is to use a textile color matching system to generate a formula based on the reflectance value of the standard sample color, thereby obtaining the corresponding theoretical formula.
[0069] The second step involves using interpolation to calculate the theoretical formula for the standard sample color, the actual dyeing formula for each refined color point after evaluation, and the reflectance value corresponding to the amount of dye used per unit in the theoretical formula. These values are then converted into K / S values.
[0070] The third step, based on the above results, is to calculate the Smart K / S value using the following formula, and then convert it into a Smart Reflectance value:
[0071]
[0072] in: For: the desired K / S value;
[0073] For: After evaluation, the K / S value corresponding to the amount of dye used in the j-th dye in the actual dyeing formula for the t-th smart color point;
[0074] For: the K / S value corresponding to the amount of dye used in the j-th dye in the theoretical formula of the standard sample color;
[0075] For: After evaluation, the K / S value corresponding to the amount of dye used in the j-th dye in the theoretical formula of the t-th smart color point;
[0076] m represents the number of dyes in the formula;
[0077] h represents the number of smart color dots after evaluation;
[0078] In this third step, the conversion formulas between reflectance values and K / S values are as follows:
[0079]
[0080] in: For: the desired K / S value;
[0081] R represents the desired reflectivity value.
[0082] In one embodiment of the smart color matching method for textiles according to the present invention, the judgment condition is: whether the color difference value of the smart formula obtained in step S5 is ≤ the color difference threshold in step S2; the processing corresponding to different judgment results is as follows:
[0083] If the following conditions are met, then output the smart color matching result in step S5;
[0084] If not satisfied: Return to step S4: Evaluated Smart Color Points and related information:
[0085] When the number of clever points is 1, the output prompt is: No clever color matching result meets the conditions;
[0086] If the number of smart points is ≥2, for the smart points after evaluation, remove the smart point at the bottom of the sort according to the sorting in step S3, and then continue to steps S5 and S6.
[0087] This invention also discloses a smart color matching system for textiles, the system comprising:
[0088] The database creation module is configured to allow users to set factors that have a significant impact on the dyeing effect, and then a historical dyeing database for textiles is created.
[0089] The color scheme basic information acquisition module is configured to acquire the basic information of the color scheme to be cleverly matched.
[0090] The Smart Color Spot Filtering and Sorting Module is configured to filter out and sort smart color spots that meet the conditions from the established historical dyeing database of textiles, and then obtain the information of the top-ranked smart color spots.
[0091] The evaluation and removal module is configured to evaluate the smart color points obtained from the smart color point filtering and sorting module using different methods based on different situations, and remove "abnormal smart color points".
[0092] The output module is configured to calculate the smart reflectance value based on the smart color points and corresponding information obtained from the evaluation and removal module, and then use the textile color matching system to output the smart color matching result.
[0093] The judgment execution module is configured to determine whether the color difference value of the smart recipe obtained by the formula module meets the preset conditions and perform corresponding processing based on the judgment result.
[0094] The present invention also discloses a computer system for smart color matching of textiles, including a memory, a processor, and program instructions stored in the memory that can be executed by the processor, wherein the processor executes the program instructions to implement the steps of the smart color matching method for textiles as described above.
[0095] The present invention also discloses a computer-readable storage medium for smart color matching of textiles, which stores program instructions executable by a processor to implement the steps of the smart color matching method for textiles as described above.
[0096] The present invention also discloses a computer program product, comprising a computer program that, when executed by a processor, implements the steps of the smart color matching method for textiles as described above.
[0097] Compared with the prior art, the present invention has the following beneficial effects: The present invention can flexibly and independently set the conditions for filtering smart color points according to the actual situation of the user, and obtain smart color points with high matching performance; then, according to the sorting, an appropriate number of smart color points are selected, which can select smart color points to a greater extent when there is little historical data, and select the closest smart color points when there is a lot of historical data, thereby improving accuracy while maintaining high-efficiency computing speed; and the selected smart color points are subjected to reliability evaluation to remove "special / abnormal smart points", further improving the accuracy of smart color matching results.
[0098] In detail, the advantages of this invention over traditional technologies are as follows:
[0099] 1) The novel smart color matching method established by this invention allows users to set the "factors affecting the dyeing effect" according to their own actual situation. This not only flexibly meets the actual needs of different users, but also filters out smart color points with a higher degree of matching with the target of smart color matching, thus improving the accuracy of smart color matching results and having a wide range of applications.
[0100] 2) The novel smart color matching method established in this invention sorts the selected smart color points based on their proximity to the color standard sample to be matched, and then selects an appropriate number of smart color points. This method can select smart color points to a greater extent when there is little historical data, and select the closest smart color points when there is a lot of historical data. It avoids the "drag of distant smart color points", further improves accuracy, and significantly reduces the negative impact of increased data on the system's calculation speed.
[0101] 3) The novel smart color matching method established in this invention performs a reliability assessment on the selected smart color points, removes "special / abnormal smart points", avoids the decrease in accuracy or errors in the smart color matching results caused by this, and further improves the accuracy of smart color matching results;
[0102] 4) The novel smart color matching method provided by this invention can flexibly and independently set the conditions for filtering smart color points according to the actual situation of the user, obtain smart color points with high matching performance, select an appropriate number of smart color points according to the sorting, and then further evaluate the reliability. This not only improves the accuracy of smart color matching results and can quickly obtain more accurate smart color matching results, but also effectively reduces the number of color matching rounds for enterprises, improves production efficiency, and reduces production costs. It also breaks through the limitations of existing methods and has wider applicability. Attached Figure Description
[0103] The above-described features and advantages of the present invention will be better understood after reading the following detailed description of embodiments of the present disclosure in conjunction with the accompanying drawings. In the drawings, components are not necessarily drawn to scale, and components having similar related characteristics or features may have the same or similar reference numerals.
[0104] Figure 1 A flowchart illustrating an embodiment of the smart color matching method for textiles of the present invention is shown.
[0105] Figure 2 A schematic diagram of an embodiment of the smart color matching system for textiles of the present invention is shown. Detailed Implementation
[0106] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. It should be noted that the aspects described below with reference to the accompanying drawings and specific embodiments are merely exemplary and should not be construed as limiting the scope of protection of the present invention in any way.
[0107] Figure 1 The flowchart of one embodiment of the smart color matching method for textiles of the present invention is shown. Please refer to... Figure 1 The following is a detailed description of each implementation step of the smart color matching method for textiles in this embodiment.
[0108] Step S1: Independently set the factors that have a significant impact on the dyeing effect, and then establish a historical dyeing database for textiles, including: the color reflectance value of the actual dyed sample and the corresponding actual dyeing formula, the substrate type of the actual dyed sample, and the factors that affect the dyeing effect.
[0109] Factors that significantly affect the dyeing effect include: the specifications of the sample substrate, the dyeing method, and the dyeing process.
[0110] In this step, the specifications of the color sample substrate include: weight, structure, warp and weft yarn density, pretreatment method, etc.; the dyeing methods include: immersion dyeing, roll dyeing, pad dyeing, cold piling, etc.; the dyeing process includes: dyeing temperature, dyeing time, liquor ratio, heating rate, cooling rate, color fixing method, soaping method, water washing method, etc.
[0111] In this step, the color reflectance value is the reflectance value within the range of visible light wavelengths for the human eye.
[0112] In this step, the substrate type is: natural fiber, regenerated fiber, synthetic fiber, etc.
[0113] Step S2: Obtain the basic information for the color matching to be refined: the reflectance value of the standard sample color, the type of textile substrate, the type of light source, the type of color difference, the color difference threshold, the factors affecting the dyeing effect, and the name of the dye required for color matching.
[0114] In this step, the light source type includes one of the following: D65, CWF, A, TL84, U3000, UL35, and TL83;
[0115] In this step, the color difference type is CIE DE, DE. CMC(l:c) One of DE2000, with a color difference threshold of any value greater than 0.
[0116] Step S3: From the established historical dyeing database of textiles, select and sort the smart color points that meet the conditions, and then obtain the information of the top G smart color points: the actual color reflectance value of the smart color point and the corresponding actual dyeing formula. Wherein, G is any integer from 1 to 50, preferably any integer between 3 and 15.
[0117] In this step, the method for selecting the smart color points is as follows:
[0118] The first step is to select historical colors that are the same as those in the "basic information of textile substrate type and dye required for color matching" in the established historical dyeing database of textiles.
[0119] The second step is to continue filtering the colors selected in the first step to find historical colors that match the standard sample color and have a color difference ≤ D under "Light source type in basic information of step S2", where D is any value from 0.01 to 50.
[0120] The third step is to further filter out historical colors from the colors selected in the second step that match the "factors affecting the dyeing effect in the basic information of step S2". These are the smart color points that meet the conditions.
[0121] In this step, the sorting method for the smart color points is as follows: sorting is based on the color difference value between the smart color point and the standard sample color; the smaller the color difference value, the higher the sorting.
[0122] Step S4: Evaluate the smart color points obtained in step S3 using different methods depending on the situation, and remove "abnormal smart color points".
[0123] The specific evaluation method is as follows.
[0124] The first step is to use a textile color matching system to generate a theoretical formula based on the actual color reflectance value of the smart color point.
[0125] The second step is to calculate the difference between the actual dyeing formula and the theoretical formula for each smart color point according to the following formula;
[0126]
[0127] in: Let: the difference between the actual dyeing formula and the theoretical formula for the j-th dye at the i-th clever color point;
[0128] P i j For: the amount of the j-th dye used in the i-th bright color point in the actual dyeing formula;
[0129] Let be the amount of the j-th dye used in the theoretical formula for the i-th bright color point.
[0130] The third step is to calculate the degree of deviation for each smart color point according to the following formulas, depending on the different situations.
[0131] Case 1: The total number of clever colored dots obtained is n = 1
[0132]
[0133] in: Let: For the j-th dye, the degree of deviation of the clever color point;
[0134] For: the difference between the actual dyeing formula and the theoretical formula for the j-th dye of this clever color point;
[0135] Let be the amount of the j-th dye used in the theoretical formula for this clever color point.
[0136] Case 2: The total number of clever colored dots obtained is n = 2
[0137]
[0138] in: Let: For the j-th dye, the degree of deviation between two bright color points;
[0139] For: the difference between the actual dyeing formula and the theoretical formula for the j-th dye at the first clever color point;
[0140] For: the j-th dye of the second clever color point, the difference between the actual dyeing formula and the theoretical formula.
[0141] Case 3: The total number of clever colored dots obtained, n > 2
[0142] in:
[0143] Where: β i Let: be the degree of deviation of the i-th clever color point;
[0144] m represents the number of dyes in the formula;
[0145] Let: the difference between the actual dyeing formula and the theoretical formula for the j-th dye at the i-th clever color point;
[0146] n represents the total number of cleverly colored dots obtained.
[0147] Let be the average difference between the actual and theoretical dyeing formulas for all smart color points for the j-th dye.
[0148] The fourth step is to make judgments based on the above calculation results, remove "abnormally smart color points" according to different situations, and obtain the evaluated smart color points.
[0149] In this fourth step, the method for removing "abnormally clever color points" is as follows, depending on the different situations:
[0150] Case 1: The total number of clever points n = 1
[0151] The degree of deviation of this clever color point for all dyes Make a judgment:
[0152] like If all ∈ (u, v), then: retain the clever color matching point;
[0153] If any Then: Remove the clever point and output: No clever color matching result that meets the conditions;
[0154] Where u is any value between -0.99 and 0; v is any value between 0.01 and 50.
[0155] Case 2: The total number of clever points n = 2
[0156] The degree of deviation of all dyes for two clever color points Make a judgment:
[0157] like If all ∈ (e, f), then: retain 2 bright color points;
[0158] If any Then: remove The corresponding smart color point;
[0159] Where: e and f are any values between 0.01 and 20, and e > f;
[0160] m is the number of dyes in the formula.
[0161] Case 3: The total number of clever points n > 2
[0162] Deviation β for all clever color points i Make a judgment:
[0163] like Then: retain all the clever color points;
[0164] like Then: Remove (β) i ) max The corresponding smart color point,
[0165] Where k is any value between 0.01 and 20.
[0166] (β i ) max Let be the maximum deviation among all the cleverly colored points, (β) i ) min : The minimum deviation among all the smart color points.
[0167] Step S5: Based on the smart color points and corresponding information obtained in Step S4, calculate the smart reflectance value and then use the textile color matching system to generate the smart color matching result: smart formula, color difference value, and related color difference parameters.
[0168] The method for calculating the smart reflectance value is as follows:
[0169] The first step is to use a textile color matching system to generate a formula based on the reflectance value of the standard sample color, thereby obtaining the corresponding theoretical formula.
[0170] The second step involves using interpolation to calculate the theoretical formula for the standard sample color, the actual dyeing formula for each smart color point after evaluation, and the reflectance value corresponding to the amount of dye used per unit in the theoretical formula, and then converting them into K / S values.
[0171] In this second step, the formula for calculating the reflectance value corresponding to the amount of dye used per unit using the interpolation method is as follows:
[0172]
[0173] Where: x is the amount of dye used per single tube;
[0174] α and θ represent the limit dosage of the corresponding dye dosage region in the basic data of the single dye being calculated.
[0175] R x Here is the reflectance value corresponding to the amount of dye used per single tube;
[0176] R α R θ These are: the reflectance corresponding to the limit dosages α and θ in the basic data of the single dye to be determined.
[0177] The third step is to calculate the Smart K / S value based on the above results, and then convert it into a Smart Reflectance value according to the following formula.
[0178]
[0179] in: For: the desired K / S value;
[0180] For: After evaluation, the K / S value corresponding to the amount of dye used in the j-th dye in the actual dyeing formula for the t-th smart color point;
[0181] For: the K / S value corresponding to the amount of dye used in the j-th dye in the theoretical formula of the standard sample color;
[0182] For: After evaluation, the K / S value corresponding to the amount of dye used in the j-th dye in the theoretical formula of the t-th smart color point;
[0183] m represents the number of dyes in the formula;
[0184] h represents the number of smart color dots after evaluation.
[0185] In this third step, the conversion formulas between reflectance values and K / S values are as follows:
[0186]
[0187] in: For: the desired K / S value;
[0188] R represents the desired reflectivity value.
[0189] Step S6: Determine whether the color difference value of the smart formula obtained in step S5 meets the preset condition and perform corresponding processing based on the determination result. The determination condition is: whether the color difference value of the smart formula obtained in step S5 is ≤ the color difference threshold in step S2; the processing corresponding to different determination results is as follows:
[0190] If the following conditions are met, then output the smart color matching result in step S5;
[0191] If not satisfied: Return to step S4: Evaluated Smart Color Points and related information:
[0192] When the number of clever points is 1, the output prompt is: No clever color matching result meets the conditions;
[0193] If the number of smart points is ≥2, for the smart points after evaluation, remove the smart point at the bottom of the sort according to the sorting in step S3, and then continue to steps S5 and S6.
[0194] Figure 2 The principle of one embodiment of the smart color matching system for textiles of the present invention is illustrated. Please refer to... Figure 2 The smart color matching system for textiles in this embodiment includes: a database establishment module, a basic color matching information acquisition module, a smart color point filtering and sorting module, an evaluation and removal module, an output module, and a judgment and execution module.
[0195] The database creation module is configured to allow users to set factors that significantly affect the dyeing effect, and then a historical dyeing database for textiles is established. The specific processing of this module is the same as step S1 in the aforementioned method embodiment, and will not be repeated here.
[0196] The color scheme basic information acquisition module is configured to acquire the basic information of the color scheme to be refined. The specific processing of this module is the same as step S2 in the aforementioned method embodiment, and will not be repeated here.
[0197] The smart color point filtering and sorting module is configured to filter and sort smart color points that meet the established historical dyeing database of textiles, and then obtain the information of the top-ranked smart color points. The specific processing of this module is the same as step S3 in the aforementioned method embodiment, and will not be repeated here.
[0198] The evaluation and removal module is configured to evaluate the "smart color points" obtained from the smart color point filtering and sorting module using different methods depending on the situation, and remove "abnormal smart color points". The specific processing of this module is the same as step S4 in the aforementioned method embodiment, and will not be repeated here.
[0199] The output module is configured to calculate the smart reflectance value based on the smart color points and corresponding information obtained from the evaluation and removal module, and then use a textile color matching system to output the smart color matching result. The specific processing of this module is the same as step S5 in the aforementioned method embodiment, and will not be repeated here.
[0200] The judgment execution module is configured to determine whether the color difference value of the smart formula obtained by the formula module meets the preset conditions and perform corresponding processing based on the judgment result. The specific processing of this module is the same as step S6 in the aforementioned method embodiment, and will not be repeated here.
[0201] The present invention also discloses a computer system for intelligent color matching of textiles, including a memory, a processor, and program instructions stored in the memory that are executable by the processor, wherein the processor executes the program instructions to achieve the aforementioned Figure 1 The steps of the illustrated method for smart color matching of textiles are described above. Specific details are as described above and will not be repeated here.
[0202] The present invention also discloses a computer-readable storage medium for smart color matching of textiles, which stores program instructions executable by a processor to achieve the aforementioned Figure 1 The steps for a smart color matching method for textiles are shown below. For specific details, please refer to the preceding content; they will not be repeated here.
[0203] The present invention also discloses a computer program product, including a computer program, which, when executed by a processor, implements the aforementioned... Figure 1 The steps for a smart color matching method for textiles are shown below. For specific details, please refer to the preceding content; they will not be repeated here.
[0204] Although the methods described above are illustrated and depicted as a series of actions for the sake of simplicity, it should be understood and appreciated that these methods are not limited by the order of the actions, as some actions may occur in a different order and / or concurrently with other actions from the illustrations and descriptions herein or not illustrated and described herein but which may be understood by those skilled in the art, according to one or more embodiments.
[0205] Those skilled in the art will further appreciate that the various illustrative logic blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or a combination of both. To clearly illustrate this interchangeability between hardware and software, the various illustrative components, blocks, modules, circuits, and steps are described above in a generalized manner in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. Those skilled in the art may implement the described functionality in different ways for each specific application, but such implementation decisions should not be construed as departing from the scope of the invention.
[0206] The various illustrative logic blocks, modules, and circuits described in conjunction with the embodiments disclosed herein can be implemented or performed using a general-purpose processor, 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, discrete hardware components, or any combination thereof designed to perform the functions described herein. The general-purpose processor may be a microprocessor, but in alternatives, it may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors cooperating with a DSP core, or any other such configuration.
[0207] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of both. The software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor such that the processor can read and write information to / from the storage medium. In an alternative, the storage medium may be integrated into the processor. The processor and storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In an alternative, the processor and storage medium may reside as discrete components in the user terminal.
[0208] In one or more exemplary embodiments, the described functionality may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software as a computer program product, the functionality may be stored or transmitted as one or more instructions or code on or through a computer-readable medium. A computer-readable medium includes both computer storage media and communication media, encompassing any medium that facilitates the transfer of a computer program from one location to another. A storage medium may be any available medium accessible to a computer. By way of example and not limitation, such a computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and is accessible to a computer. Any connection is also legitimately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of a medium. As used in this article, disk and disc include compact discs (CDs), laser discs, optical discs, digital multi-purpose discs (DVDs), floppy disks, and Blu-ray discs. Disks typically reproduce data magnetically, while discs reproduce data optically using lasers. Combinations of these should also be included within the scope of computer-readable media.
[0209] The prior description of this disclosure is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to this disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not intended to be limited to the examples and designs described herein, but should be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for intelligent color matching in textiles, characterized in that, The methods include: Step S1: Independently set the factors that have a significant impact on the dyeing effect, and then establish a historical dyeing database for textiles; Step S2: Obtain the basic information of the color scheme to be cleverly matched; Step S3: From the established historical dyeing database of textiles, filter out the smart color points that meet the conditions and sort them, and then obtain the information of the smart color points in the top sorted column. Step S4: Evaluate the smart color points obtained in step S3 using different methods depending on the situation, and remove "abnormal smart color points"; Step S5: Based on the smart color points and corresponding information obtained in step S4, calculate the smart reflectance value, and then use the textile color matching system to output the result, thus obtaining the smart color matching result. Step S6: Determine whether the color difference value of the smart formula obtained in step S5 meets the preset conditions and perform corresponding processing based on the determination result.
2. The method for intelligent color matching of textiles according to claim 1, characterized in that, The factors that significantly affect the dyeing effect in step S1 include: the specifications of the color sample substrate, the dyeing method, and the dyeing process. The specifications of the color sample substrate include: weight, structure, warp and weft yarn density, and pretreatment method. The dyeing methods include: immersion dyeing, roll dyeing, pad dyeing, and cold pad dyeing. The dyeing process includes: dyeing temperature, dyeing time, liquor ratio, heating rate, cooling rate, color fixing method, soaping method, and water washing method. The data in the historical textile dyeing database includes: the color reflectance value of the actual dyed sample and the corresponding actual dyeing formula, the substrate type of the actual dyed sample, and the factors affecting the dyeing effect. The color reflectance value is the reflectance value within the visible light wavelength range of the human eye, and the substrate type is: natural fiber, regenerated fiber, and synthetic fiber.
3. The method for intelligent color matching of textiles according to claim 1, characterized in that, The basic information for color matching in step S2 includes: the reflectance value of the standard sample color, the type of textile substrate, the type of light source, the type of color difference, the color difference threshold, factors affecting the dyeing effect, and the name of the dye required for color matching. The light source type includes one of the following: D65, CWF, A, TL84, U3000, UL35, or TL83. The color difference type is CIE DE or DE. CMC(l:c) One of DE2000, with a color difference threshold of any value greater than 0.
4. The method for intelligent color matching of textiles according to claim 1, characterized in that, The information for the smart color point in step S3 includes: the actual color reflectance value of the smart color point and the corresponding dyeing formula; The method for selecting the smart color points in step S3 is as follows: The first step is to select historical colors that are the same as those in the "basic information of textile substrate type and dye required for color matching" in the established historical dyeing database of textiles. The second step is to continue filtering from the colors selected in the first step to find historical colors that match the standard sample color and have a color difference ≤ the set value under "Light source type in basic information of step S2". The third step is to further filter out historical colors from the colors selected in the second step that match the factors affecting the dyeing effect in the basic information of step S2. These are the smart color points that meet the conditions. The sorting method for the smart color points in step S3 is as follows: sorting is based on the color difference value between the smart color point and the standard sample color. The smaller the color difference value, the higher the sorting.
5. The method for intelligent color matching of textiles according to claim 1, characterized in that, The evaluation methods in step S4 include: The first step is to use a textile color matching system to generate a theoretical formula based on the actual color reflectance value of the smart color point. The second step is to calculate the difference between the actual dyeing formula and the theoretical formula for each smart color point; The third step is to calculate the degree of deviation for each smart color point according to different situations; The fourth step is to make judgments based on the above calculation results, remove "abnormally smart color points" according to different situations, and obtain the evaluated smart color points.
6. The method for smart color matching of textiles according to claim 5, characterized in that, In the second step, the difference between the actual dyeing formula and the theoretical formula for each smart color point is calculated as follows: in: For the j-th dye at the i-th sharp color point, the difference between the actual dyeing formula and the theoretical formula; The amount of the j-th dye used in the i-th bright color point in the actual dyeing formula; The amount of the j-th dye used in the theoretical formula for the i-th bright color point; In the third step, the deviation of each smart color point is calculated according to the following methods, depending on the specific case: Case 1: The total number of clever colored dots obtained is n = 1 in: For the j-th dye, this represents the degree of deviation of the clever color point; For the j-th dye of this clever color point, the difference between the actual dyeing formula and the theoretical formula; The amount of the j-th dye used in the theoretical formula for this clever color point; Case 2: The total number of clever colored dots obtained is n = 2 in: For the j-th dye, the degree of deviation between two bright color points; The difference between the actual dyeing formula and the theoretical formula for the j-th dye at the first clever color point; The difference between the actual dyeing formula and the theoretical formula for the j-th dye of the second clever color point; Case 3: The total number of clever colored dots obtained, n > 2 in: Where: β i The degree of deviation of the i-th clever color point; m is the number of dyes in the formula; For the j-th dye at the i-th sharp color point, the difference between the actual dyeing formula and the theoretical formula; n is the number of all the clever colored points obtained; In the fourth step, based on different situations, judgments are made to remove "abnormally smart color points." The processing of the evaluated smart color points further includes: Case 1: The total number of clever points n = 1 The degree of deviation of this clever color point for all dyes Make a judgment: like If all values are ∈ (u, v), then the clever color matching point is retained; If any Then remove the clever point and output: No clever color matching result that meets the conditions; Where u is any value between -0.99 and 0; v is any value between 0.01 and 50; Case 2: The total number of clever points n = 2 The degree of deviation of all dyes for two clever color points Make a judgment: like If all are ∈ (e, f), then retain 2 bright colored points; If any Remove The corresponding smart color point; Where: e and f are any values between 0.01 and 20, and e > f; m is the number of dyes in the formula; Case 3: The total number of clever points n > 2 Deviation β for all clever color points i Make a judgment: like Then all the clever color points will be retained; like Then remove (β) i ) max The corresponding smart color point, Among them, (β) i ) max The maximum deviation among all the cleverly colored points, (β) i ) min The minimum deviation among all the clever color points is k, which is any value between 0.01 and 20.
7. The method for intelligent color matching of textiles according to claim 1, characterized in that, The smart color matching results in step S5 include: smart formula, color difference value, and relevant color difference parameters; The method for calculating the smart reflectance value in step S5 further includes: The first step is to use a textile color matching system to generate a formula based on the reflectance value of the standard sample color to obtain the corresponding theoretical formula. The second step is to use interpolation to calculate the theoretical formula of the standard sample color, the actual dyeing formula of each smart color point after evaluation, and the reflectance value corresponding to the amount of a single dye in the theoretical formula, and then convert them into K / S values. The third step, based on the above results, is to calculate the Smart K / S value using the following formula, and then convert it into a Smart Reflectance value: in: For: the desired K / S value; For: After evaluation, the K / S value corresponding to the amount of dye used in the j-th dye in the actual dyeing formula for the t-th smart color point; For: the K / S value corresponding to the amount of dye used in the j-th dye in the theoretical formula of the standard sample color; For: After evaluation, the K / S value corresponding to the amount of dye used in the j-th dye in the theoretical formula of the t-th smart color point; m represents the number of dyes in the formula; h represents the number of smart color dots after evaluation; In this third step, the conversion formulas between reflectance values and K / S values are as follows: in: For: the desired K / S value; R represents the desired reflectivity value.
8. The method for intelligent color matching of textiles according to claim 1, characterized in that, In step S6, the judgment condition is: whether the color difference value of the smart formula obtained in step S5 is ≤ the color difference threshold in step S2; the processing corresponding to different judgment results is as follows: If the following conditions are met, then output the smart color matching result in step S5; If not satisfied: Return to step S4: Evaluated Smart Color Points and related information: When the number of clever points is 1, the output prompt is: No clever color matching result meets the conditions; If the number of smart points is ≥2, for the smart points after evaluation, remove the smart point at the bottom of the sort according to the sorting in step S3, and then continue to steps S5 and S6.
9. A smart color matching system for textiles, characterized in that the system include: The database creation module is configured to allow users to set factors that have a significant impact on the dyeing effect, and then a historical dyeing database for textiles is created. The color scheme basic information acquisition module is configured to acquire the basic information of the color scheme to be cleverly matched. The Smart Color Spot Filtering and Sorting Module is configured to filter out and sort smart color spots that meet the conditions from the established historical dyeing database of textiles, and then obtain the information of the top-ranked smart color spots. The evaluation and removal module is configured to evaluate the smart color points obtained from the smart color point filtering and sorting module using different methods based on different situations, and remove "abnormal smart color points". The output module is configured to calculate the smart reflectance value based on the smart color points and corresponding information obtained from the evaluation and removal module, and then use the textile color matching system to output the smart color matching result. The judgment execution module is configured to determine whether the color difference value of the smart recipe obtained by the formula module meets the preset conditions and perform corresponding processing based on the judgment result.
10. A computer system for intelligent color matching of textiles, characterized in that, It includes a memory, a processor, and program instructions stored in the memory that are executable by the processor, wherein the processor executes the program instructions to implement the steps of the smart color matching method for textiles as claimed in any one of claims 1 to 8.
11. A computer-readable storage medium for textile color matching, characterized in that, It stores program instructions executable by a processor to implement the steps of the smart color matching method for textiles as described in any one of claims 1 to 8.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the smart color matching method for textiles as described in any one of claims 1 to 8.