Color compensation method and computer readable storage medium

The color compensation method addresses inefficiencies in color management by calculating compensation amounts for cyan, magenta, and yellow based on Lab value differences, ensuring precise color matching and reducing production time and costs.

CN116012245BActive Publication Date: 2024-12-24RR DONNELLEY (GUANGDONG) PRINTING SOLUTIONS LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211724103.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2024-12-24
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

Existing color management in printing relies heavily on human experience, leading to inefficiencies and errors in adjusting screen value ratios to achieve target printing colors, requiring multiple iterations and increased production costs.

Method used

A color compensation method that determines the influence of differences in Lab values on cyan, magenta, and yellow channels, calculating rough and fine compensation amounts to automatically adjust printing parameters for accurate color matching.

Benefits of technology

Enables quick and accurate adjustment of screen value ratios, reducing the need for manual iterations and minimizing errors, thereby enhancing production efficiency and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116012245B_ABST
    Figure CN116012245B_ABST
Patent Text Reader

Abstract

The present invention provides a color compensation method, comprising: S11: printing according to a target Lab value to obtain a printing sample; S12: obtaining an actual Lab value of the printing sample; S13: determining a difference between the target Lab value and the actual Lab value, including an L channel difference delta L, an a channel difference delta a and a b channel difference delta b; S14: according to the difference, respectively determining an influence value of the difference on one or more of cyan, magenta and yellow; and S15: according to the influence value of the difference on one or more of cyan, magenta and yellow, determining a compensation amount of actual printing on cyan, magenta and yellow corresponding to the target Lab value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of printing, and in particular to a color compensation method and a computer-readable storage medium. Background Art

[0002] In the field of printing, in order to achieve color effects, it is usually necessary to carefully design the color printing parameters. However, there are often some differences between the theoretical printing parameters and the actual printing results. Therefore, the theoretical printing parameters need to be adjusted to achieve the expected printing color and effect. In order to achieve fast and accurate color modification, the color modification has always been completely dependent on the work experience of color management personnel. At present, the color checker visually judges the adjustment of the screen value ratio based on the experience of the color checker, or measures the Lab value through a spectrophotometer. The color checker then judges the difference between the printed sample and the standard sample based on the Lab value, and the color checker's experience determines the adjustment of the screen value ratio. People with different experiences estimate different modification ratios. Experienced color management personnel often need 2 modifications to reach the target value, and inexperienced color management personnel often need 3 or more modifications to reach the target value. Repeated machine verification requires a lot of cost to complete, which greatly reduces production efficiency.

[0003] In addition, judging the screen adjustment ratio based on human experience often has errors, and different color viewers will have different judgments on color, which will lead to further expansion of the error. It is often necessary to modify the screen value ratio multiple times to get close to the standard sample, which will waste a lot of time in the printing process.

[0004] Therefore, there is a need in the prior art for a tool that can help color management personnel quickly complete color modification and accurately achieve target printing colors.

[0005] The contents of the background technology section are merely the technologies known to the inventors and do not necessarily represent the prior art in the field. Summary of the invention

[0006] In view of one or more defects in the prior art, the present invention 1. A color compensation method, comprising:

[0007] S11: Printing is performed according to the target Lab value to obtain a printed sample;

[0008] S12: Obtaining the actual Lab value of the printed sample;

[0009] S13: Determine the difference between the Lab value and the actual Lab value, including the L channel difference deltaL, the a channel difference delta a and the b channel difference delta b;

[0010] S14: determining, according to the difference, an influence value of the difference on one or more of cyan, magenta and yellow; and

[0011] S15: Determine the compensation amount of the actual printing for the cyan, magenta and yellow corresponding to the target Lab value according to the influence of the difference on one or more of cyan, magenta and yellow.

[0012] According to one aspect of the present invention, step S14 comprises:

[0013] S141: Determine the influence value Cdl of the L channel difference delta L on cyan, the influence value Mdl on magenta, and the influence value Ydl on yellow;

[0014] S142: Determine the influence value Cda of the a channel difference delta a on cyan and the influence value Mda on magenta; and

[0015] S143: Determine the influence value Cdb of the b channel difference delta b on cyan and the influence value Ydb on yellow.

[0016] According to one aspect of the present invention, step S15 comprises:

[0017] respectively determining a rough compensation amount and a fine compensation amount for cyan, magenta, and yellow corresponding to the target Lab value; and

[0018] The compensation amounts for the cyan, magenta, and yellow colors are determined based on the rough compensation amount and the fine compensation amount.

[0019] According to one aspect of the present invention, the step S14 comprises: determining an adjustment coefficient k according to the L channel difference deltaL, and determining, according to the adjustment coefficient k, an influence value of the difference on one or more of cyan, magenta and yellow.

[0020] According to one aspect of the present invention, the step of determining the adjustment coefficient k according to the L channel difference deltaL comprises:

[0021] When the absolute value of the L channel difference deltaL is less than the first threshold, k=0;

[0022] When the absolute value of the L channel difference delta L is greater than or equal to the first threshold, k is obtained through prediction.

[0023] According to one aspect of the present invention, in step S141, Cdl=5k / 9, Mdl=4k / 9, Ydl=4k / 9;

[0024] In step S142,

[0025] When |delta a|<=0.4, Cda=0;

[0026] When delta a>0 and |delta a|<|k|, Cda=|delta a|,

[0027] When delta a<0 and |delta a|<|k|, Cda=-|delta a| / 2,

[0028] When delta a>0 and |delta a|>=|k|, Cda=|delta a| / 2,

[0029] When delta a<0 and |delta a|>=|k|, Cda=-|delta a| / 2,

[0030] When |delta a|<=0.4, Mda=0,

[0031] When delta a>0.4, Mda=-|delta a| / 2,

[0032] When delta a<-0.4, Mda=|delta a| / 2.

[0033] According to one aspect of the present invention, the step S143 includes: when |delta b|<=0.4, Ydb=0;

[0034] When delta b<0, |delta b|>0.4, min(L1,L2)>=86, Ydb=|delta b| / 2;

[0035] When delta b>0, |delta b|>0.4, min(L1,L2)>=86, Ydb=-delta b / 2;

[0036] When delta b < 0, |delta b| > 0.4, min(L1, L2) < 86, Ydb = |delta b|;

[0037] When delta b>0, |delta b|>0.4, min(L1,L2)<86, Ydb=-delta b;

[0038] When |delta b|<=0.4, Cdb=0;

[0039] When delta b>0.4, Cdb=1*2 / |delta b|;

[0040] When delta b<-0.4, Cdb=-1*2 / |delta b|.

[0041] According to one aspect of the present invention, the rough compensation amount for cyan is C1=Cdl+Cda+Cdb, the rough compensation amount for magenta is M1=Mdl+Mda, and the rough compensation amount for yellow is Y1=Ydl+Ydb.

[0042] According to one aspect of the present invention, the fine compensation amount C1f for cyan, the fine compensation amount M1f for magenta, and the fine compensation amount Y1f for yellow are calculated by the following method:

[0043] Overall eigenvalue = C1 + M1 + Y1 / 2.8

[0044] When |C1)|<0.5, C2=0, otherwise C2=|C1|

[0045] When |M1|<0.5, M2=0, otherwise M2=|M1|

[0046] When |Y1|<1.5, Y2=0, otherwise Y2=|Y1|

[0047] When C2=0, C3=0, otherwise C3=1

[0048] When M2=0, M3=0, otherwise M3=1

[0049] When Y2=0, Y3=0, otherwise Y3=1

[0050] When |k-total eigenvalue|<=k / 3, α=0, otherwise, α=k-total eigenvalue When C3+M3+Z3=0, β=0, otherwise, β=α / (C3+M3+Z3)

[0051] C1f=C3xβ, M1f=M3xβ, Y 1f=Y3xβ.

[0052] According to one aspect of the present invention, the color compensation method further includes: adjusting cyan, magenta and yellow corresponding to the target Lab value according to the compensation amount, and performing printing.

[0053] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program enables the processor to execute the color compensation method as described above.

[0054] Through the embodiments of the present invention, the software can quickly adjust the screen value ratio by comparing with the target value, and the color management personnel only need to modify the file according to the ratio. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0056] Figure 1 A color compensation method according to an embodiment of the present invention is shown;

[0057] Figure 2 A method for determining the influence values ​​of the difference on cyan, magenta and yellow according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0058] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0059] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0060] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0061] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is lower in level than the second feature.

[0062] The disclosure below provides many different embodiments or examples to realize different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplicity and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides various specific examples of processes and materials, but those of ordinary skill in the art can be aware of the application of other processes and / or the use of other materials.

[0063] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0064] In view of the difference that often exists between theoretical printing parameters and actual printing results, in order to help quickly complete color modification and adjustment and accurately achieve the target printing color, the present invention provides a color compensation method, which determines the influence value of the difference on one or more of cyan, magenta and yellow according to the difference between the Lab value of the printed sample actually obtained and the target Lab value, and then determines the compensation amount of the actual printing for the cyan, magenta and yellow corresponding to the target Lab value according to the influence value. The following is a detailed description.

[0065] Figure 1 A color compensation method 100 according to an embodiment of the present invention is shown below. Figure 1 Detailed description.

[0066] like Figure 1 As shown, in step S11: printing is performed according to the target Lab value to obtain a printed sample.

[0067] Lab is a device-independent color model. The Lab color model consists of three elements (or channels): brightness L and related colors a and b. L represents brightness (Luminosity), a represents the range from magenta to green, and b represents the range from yellow to blue. The value range of L is from 0 to 100. When L=50, it is equivalent to 50% black; the value ranges of a and b are both from +127 to -128, where +127a is red, and gradually turns to green when it transitions to -128a; by the same principle, +127b is yellow and -128b is blue. All colors are composed of these three values ​​that change alternately. The channels of the target Lab value are recorded as L1, a1, and b1. In step S11, a test print is performed using the ideal target Lab value to obtain a printed sample for subsequent use.

[0068] S12: Obtaining the actual Lab value of the printed sample;

[0069] For example, the actual Lab value of the printed sample can be obtained by measuring the color parameters, and each channel is recorded as: L2, a2, b2. Theoretically, L2, a2, b2 should be the same as L1, a1, b1, but due to various reasons such as ink, paper, environment, etc., there are certain differences between L2, a2, b2 and L1, a1, b1.

[0070] In step S13: determine the difference between the target Lab value and the actual Lab value, including the L channel difference deltaL, the a channel difference delta a and the b channel difference delta b, wherein:

[0071] delta L = L1 - L2;

[0072] delta a = a1 - a2;

[0073] delta b=b1-b2.

[0074] In step S14: according to the difference, the influence value of the difference on one or more of cyan, magenta and yellow is determined respectively.

[0075] When printing, after the target Lab value is given, it must be converted into the corresponding CMY model for actual printing. CMY is the abbreviation of cyan, magenta and yellow. It is a subtractive color mixing mode. The color produced by this method is called subtractive color because it reduces the reflected light required for the visual system to recognize the color. In addition, due to the chemical properties of color inks and pigments, the black obtained by using three basic colors is not pure black. Therefore, in printing, a true black (black ink) is often added. This model is also called the CMYK model and is widely used in printing. The value range of each color component is 0 to 100; CMY is often used in paper color printing.

[0076] The amount or value range of each color of cyan, magenta and yellow is specified in the CMY model obtained by conversion. In the present invention, the influence value on one or more of cyan, magenta and yellow is determined according to the difference between the target Lab value and the actual Lab value. For example, the brightness value L has an influence on CMY, a has an influence on CM, and b has an influence on CY. In addition, the influence of each channel of L, a, and b on color is different and needs to be calculated separately.

[0077] In step S15: according to the influence of the difference value on one or more of cyan, magenta and yellow, the compensation amount of actual printing for cyan, magenta and yellow corresponding to the target Lab value is determined.

[0078] The amount or value of cyan, magenta and yellow obtained after compensation will result in an actual printing effect that is closer to the effect obtained by the target Lab value under ideal circumstances.

[0079] According to a preferred embodiment of the present invention, Figure 2 As shown, the step S14 includes:

[0080] S141: Determine the influence value Cdl of the L channel difference delta L on cyan, the influence value Mdl on magenta, and the influence value Ydl on yellow;

[0081] S142: Determine the influence value Cda of the difference delta a of the a channel, ie, the red and green channels, on cyan and the influence value Mda on magenta; and

[0082] S143: Determine the influence value Cdb of the b channel, ie, the influence value Ydb of the difference delta b of the yellow and blue channels on cyan and yellow.

[0083] According to an embodiment of the present invention, when determining the compensation amount in step S15, the rough compensation amount and the fine compensation amount for cyan, magenta and yellow corresponding to the target Lab value are determined respectively, and then the compensation amount for the cyan, magenta and yellow is determined according to the rough compensation amount and the fine compensation amount. The rough compensation amount is used for approximate compensation, and the fine compensation amount is used for accurate compensation. The rough compensation amount and the fine compensation amount are calculated respectively, and then the two are combined to obtain the final compensation amount.

[0084] The following describes a method for calculating a compensation amount according to an embodiment of the present invention.

[0085] The step S14 includes: determining an adjustment coefficient k according to the L channel difference delta L, and determining an influence value of the difference on one or more of cyan, magenta and yellow according to the adjustment coefficient k.

[0086] The step of determining the adjustment coefficient k according to the L channel difference delta L comprises:

[0087] When the absolute value of the L channel difference delta L is less than the first threshold, k=0;

[0088] When the absolute value of the L channel difference delta L is greater than or equal to the first threshold, k is obtained by prediction. According to a preferred embodiment of the present invention, the first threshold is 1.

[0089] The following describes a prediction method according to a preferred embodiment of the present invention. forecast(min(L1, L2), brightness value series, compensation parameter series corresponding to L brightness value) is a prediction function: after determining the minimum value of the target brightness and the actual brightness, the brightness compensation parameter value corresponding to the minimum brightness value is selected from the brightness value series and the compensation parameter series corresponding to the brightness. The Forecast function calculates or predicts future values ​​based on existing values, and the predicted value is the compensation value obtained after the minimum brightness value min(L1, L2) is given. The known values ​​are the existing brightness values ​​and the brightness and brightness compensation interval values, and the new values ​​are predicted by linear regression.

[0090] L brightness value series = 95 92 86 75 65 55 45 35 25 15

[0091] L brightness value corresponding to compensation parameter series = 2 2 2 2.5 2.5 2.5 3 3.5 4.5 5.5

[0092] min(L1, L2) refers to the minimum brightness value of the target sample brightness L1 and the actual sample brightness L2.

[0093] In step S141, Cdl=5k / 9, Mdl=4k / 9, Ydl=4k / 9;

[0094] In step S142,

[0095] When |delta a|<=0.4, Cda=0;

[0096] When delta a>0 and |delta a|<|k|, Cda=|delta a|,

[0097] When delta a<0 and |delta a|<|k|, Cda=-|delta a| / 2,

[0098] When delta a>0 and |delta a|>=|k|, Cda=|delta a| / 2,

[0099] When delta a<0 and |delta a|>=|k|, Cda=-|delta a| / 2,

[0100] When |delta a|<=0.4, Mda=0,

[0101] When delta a>0.4, Mda=-|delta a| / 2,

[0102] When delta a<-0.4, Mda=|delta a| / 2.

[0103] According to one embodiment of the present invention, step S143 includes:

[0104] When |delta b|<=0.4, Ydb=0;

[0105] When delta b<0, |delta b|>0.4, min(L1,L2)>=86, Ydb=|delta b| / 2;

[0106] When delta b>0, |delta b|>0.4, min(L1,L2)>=86, Ydb=-delta b / 2;

[0107] When delta b < 0, |delta b| > 0.4, min(L1, L2) < 86, Ydb = |delta b|;

[0108] When delta b>0, |delta b|>0.4, min(L1,L2)<86, Ydb=-delta b;

[0109] When |delta b|<=0.4, Cdb=0;

[0110] When delta b>0.4, Cdb=1*2 / |delta b|;

[0111] When delta b<-0.4, Cdb=-1*2 / |delta b|.

[0112] Regarding min(L1,L2), the explanation is as follows.

[0113] min(L1, L2) refers to the minimum brightness value of the target sample brightness L1 and the actual sample brightness L2.

[0114] The rough compensation amount for cyan is C1=Cdl+Cda+Cdb, the rough compensation amount for magenta is M1=Mdl+Mda, and the rough compensation amount for yellow is Y1=Ydl+Ydb.

[0115] The subtle compensation amount C1f for cyan, the subtle compensation amount M1f for magenta, and the subtle compensation amount Y1f for yellow are calculated by the following method:

[0116] Overall eigenvalue = C1 + M1 + Y1 / 2.8

[0117] When |C1)|<0.5, C2=0, otherwise C2=|C1|

[0118] When |M1|<0.5, M2=0, otherwise M2=|M1|

[0119] When |Y1|<1.5, Y2=0, otherwise Y2=|Y1|

[0120] When C2=0, C3=0, otherwise C3=1)

[0121] When M2=0, M3=0, otherwise M3=1

[0122] When Y2=0, Y3=0, otherwise Y3=1

[0123] When |k-total eigenvalue|<=k / 3, α=0, otherwise, α=k-total eigenvalue

[0124] When C3+M3+Z3=0, β=0, otherwise, β=α / (C3+M3+Z3)

[0125] C1f=C3xβ, M1f=M3xβ, Y 1f=Y3xβ.

[0126] The color compensation method further includes: adjusting cyan, magenta and yellow corresponding to the target Lab value according to the compensation amount, and performing printing.

[0127] The screen value usually refers to the color composition of the printed file, which can also be called the value of the printing dot. The dot constitutes the basic printing unit of the continuous tone image. The contrast between this image unit and the blank on the printed product achieves the effect of reproducing the continuous tone. The screen value ratio refers to the proportional relationship of the color composition in the file. For example, if you see an orange, if it is expressed by the screen value ratio, it is M70Y100. However, during printing, due to the different dot expansion of the equipment, the same screen value ratio will print different oranges. At this time, the color management personnel need to make adjustments based on experience, such as: M+3 but it is still not right after printing, and M+2 is used again, and finally M75Y100 is achieved to catch up with the target. This patent can automatically calculate the screen value ratio that needs to be compensated through Lab value comparison to get M+5, so as to achieve M75Y100, and quickly and accurately catch up with the target.

[0128] The present invention also relates to a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the color compensation method as described above.

[0129] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A color compensation method, comprising: S11: Printing is performed according to the target Lab value to obtain a printed sample; S12: Obtaining the actual Lab value of the printed sample; S13: Determine the difference between the target Lab value and the actual Lab value, including the L channel difference delta L, the a channel difference delta a and the b channel difference delta b; S14: determining, according to the difference, an influence value of the difference on one or more of cyan, magenta and yellow; and S15: determining the compensation amount of the cyan, magenta and yellow corresponding to the target Lab value in actual printing according to the influence value of the difference on one or more of cyan, magenta and yellow; Wherein the step S14 comprises: S141: Determine the influence value Cdl of the L channel difference delta L on cyan, the influence value Mdl on magenta, and the influence value Ydl on yellow; S142: Determine the influence value Cda of the a channel difference delta a on cyan and the influence value Mda on magenta; and S143: Determine the influence value Cdb of the b channel difference delta b on cyan and the influence value Ydb on yellow; Wherein the step S15 comprises: respectively determining a rough compensation amount and a fine compensation amount for cyan, magenta, and yellow corresponding to the target Lab value; and Determining compensation amounts for the cyan, magenta, and yellow colors according to the rough compensation amount and the fine compensation amount; The step S14 comprises: determining an adjustment coefficient k according to the L channel difference delta L, and determining the influence value of the difference on one or more of cyan, magenta and yellow according to the adjustment coefficient k; The step of determining the adjustment coefficient k according to the L channel difference delta L comprises: When the absolute value of the L channel difference delta L is less than the first threshold, k=0; When the absolute value of the L channel difference delta L is greater than or equal to the first threshold, obtaining k by prediction; In step S141, Cdl=5k / 9, Mdl=4k / 9, Ydl=4k / 9; In step S142, When |delta a|<=0.4, Cda=0; When delta a>0 and |delta a|<|k|, Cda=|delta a|, When delta a<0 and |delta a|<|k|, Cda=-|delta a| / 2, When delta a>0 and |delta a|>=|k|, Cda=|delta a| / 2, When delta a<0 and |delta a|>=|k|, Cda=-|delta a| / 2, When |delta a|<=0.4, Mda=0, When delta a>0.4, Mda=-|delta a| / 2, When delta a < -0.4, Mda = |delta a| / 2; Wherein the step S143 comprises: When |delta b|<=0.4, Ydb=0; When delta b<0, |delta b|>0.4, min(L1,L2)>=86, Ydb=|delta b| / 2; When delta b>0, |delta b|>0.4, min(L1,L2)>=86, Ydb=-delta b / 2; When delta b < 0, |delta b| > 0.4, min(L1, L2) < 86, Ydb = |delta b|; When delta b>0, |delta b|>0.4, min(L1,L2)<86, Ydb=-delta b; When |delta b|<=0.4, Cdb=0; When delta b>0.4, Cdb=1*2 / |delta b|; When delta b<-0.4, Cdb=-1*2 / |delta b|; The rough compensation amount for cyan is C1=Cdl+Cda+Cdb, the rough compensation amount for magenta is M1=Mdl+Mda, and the rough compensation amount for yellow is Y1=Ydl+Ydb; The subtle compensation amount C1f for cyan, the subtle compensation amount M1f for magenta, and the subtle compensation amount Y1f for yellow are calculated by the following method: Overall eigenvalue = C1 + M1 + Y1 / 2.8, When |C1|<0.5, C2=0, otherwise C2=|C1|, When |M1|<0.5, M2=0, otherwise M2=|M1|, When |Y1|<1.5, Y2=0, otherwise Y2=|Y1|, When C2=0, C3=0, otherwise C3=1, When M2=0, M3=0, otherwise M3=1, When Y2=0, Y3=0, otherwise Y3=1, When |k-total eigenvalue|<=k / 3, α=0, otherwise, α=k-total eigenvalue, When C3+M3+Z3=0, β=0, otherwise, β=α / (C3+M3+Z3), C1f=C3xβ, M1 f=M3xβ, Y 1f=Y3xβ.

2. The color compensation method according to claim 1, further comprising: The cyan, magenta and yellow colors corresponding to the target Lab value are adjusted according to the compensation amount, and printing is performed.

3. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the color compensation method according to any one of claims 1 to 2.