A gray balance gradation method for thermal printing
By adjusting the printing equipment parameters and regulating the ink tone curve, the gray balance process was simplified, reducing the difficulty and accuracy of gray balance adjustment and solving the problem of cumbersome and complex steps in the existing technology.
Patent Information
- Application Number
- CN202211406994.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-10
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2042-11-10
AI Technical Summary
In existing technologies, gray balance data acquisition methods are cumbersome and complex, involve a large workload, and require readjustment when equipment parameters deviate, making it difficult to simplify the gray balance process.
By adjusting the printing equipment parameters, the optimal color rendering range of cyan, magenta, and yellow inks was determined. Using cyan ink as a benchmark, the tone curves of magenta and yellow inks were adjusted to achieve gray balance and simplify the gray balance process.
The gray balance process has been simplified, the difficulty of subsequent adjustments has been reduced, and the accuracy and efficiency of gray balance adjustment have been improved.
Smart Images

Figure CN115648825B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of thermal printing, and in particular to a gray balance gradation method for thermal printing. Background Art
[0002] Gray balance is also called printing gray balance. By overprinting cyan, magenta and yellow inks in a certain proportion, different brightness of achromatic colors can be obtained, that is, a visually neutral gray color is obtained. This process is called gray balance.
[0003] With the advancement of technology and the popularization of computers, digital printing has gradually entered the public's field of vision. Compared with traditional printing, digital printing has incomparable advantages: digital printing not only greatly simplifies the printing process, but also can easily realize the printing of variable data, and has extremely high flexibility in printing time, location and quantity. At the same time, digital printing occupies a smaller area and is more convenient to use. However, the application of digital printing still faces many problems and challenges. Gray balance plays an important role in the field of traditional printing. The quality of gray balance directly determines the quality of traditional printing. Although gray balance is not a decisive factor in printing quality in digital printing, it is also one of the main factors affecting the quality of digital printing.
[0004] In the prior art, gray balance data acquisition methods are generally divided into two categories: chromatography method: using the three-color ink used in actual printing, changing the proportion of the three-color ink for overprinting, and obtaining a series of color blocks. These color blocks must have neutral gray with a gradient of brightness levels. Based on these neutral gray blocks, cyan, magenta, and yellow combinations with different ink proportions can be obtained. Measurement and control tool method: gray balance data is acquired using tools for quality inspection. However, the above method has cumbersome and complex steps and a large workload. The adjustability is poor, and gray balance needs to be redone when equipment parameters deviate.
[0005] Therefore, those skilled in the art are committed to developing a gray balance gradation method for thermal printing to simplify the gray balance process and reduce the difficulty of subsequent gray balance adjustment. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a gray balance gradation method for thermal printing, which simplifies the gray balance process and reduces the difficulty of subsequent gray balance adjustment.
[0007] The technical solution of the present invention to solve the above technical problem is as follows: A gray balance gradation method for thermal printing comprises the following steps:
[0008] S100. Adjust equipment parameters;
[0009] S200. Confirm the best color rendering range of cyan, magenta and yellow inks in the printing device so that the concentration combination of the three inks at the same gradation achieves that all gradations are in a color-decolorizing state;
[0010] S300. Adjusting the optimal color rendering range distribution of cyan ink according to the cyan ink gradation curve;
[0011] S400. Adjusting the magenta ink gradation curve according to the cyan ink gradation curve;
[0012] S500. Adjusting the yellow ink gradation curve according to the cyan ink gradation curve;
[0013] S600. Adjust the concentrations of the three primary colors of light and the three inks in the printing device to achieve gray balance.
[0014] The beneficial effect of the present invention is that after confirming the optimal color rendering range of the three colors in the printing device, the magenta ink gradation curve and the yellow ink gradation curve are adjusted based on the cyan ink to achieve gray balance, thereby simplifying the gray balance process and reducing the difficulty of subsequent gray balance adjustment.
[0015] Based on the above technical solution, the present invention can also be improved as follows.
[0016] Further, in step S300, the cyan ink tone curve is:
[0017] Y=(ε1+(x / n1)*ε2)*(λ-ln((n2 / x)));
[0018] Among them, ε1 is the bright tone correction parameter, ε2 is the dark tone correction parameter; λ is a constant; n1 is the bright tone and dark tone area in the curve; n2 is the range of limiting the number of tone values.
[0019] The beneficial effect of adopting the above further solution is that it is helpful to quickly determine the optimal color development range distribution of the cyan ink based on the cyan ink concentration.
[0020] Further, in step S400, the magenta ink tone curve is:
[0021] Y=(ε1+(x / n1)*ε2)*(λ-ln((n2 / x)));
[0022] Among them, ε1 is the bright tone correction parameter, ε2 is the dark tone correction parameter; λ is a constant; n1 is the bright tone and dark tone area in the curve; n2 is the range of limiting the number of tone values.
[0023] The beneficial effect of adopting the above further solution is that it is beneficial to quickly determine the optimal color development range distribution of the magenta ink based on the cyan ink concentration.
[0024] Further, in step S500, the yellow ink gradation curve is:
[0025] Y=(ε1+(x / n1)*ε2)*(λ-ln((n2 / x)));
[0026] Among them, ε1 is the bright tone correction parameter, ε2 is the dark tone correction parameter; λ is a constant; n1 is the bright tone and dark tone area in the curve; n2 is the range of limiting the number of tone values.
[0027] The beneficial effect of adopting the above further solution is that it is beneficial to quickly determine the optimal color rendering range distribution of the yellow ink based on the concentration of the cyan ink.
[0028] Further, in step S600, when the three inks are mixed in equal amounts, neutral gray is generated, which is divided into 256 levels of gray, corresponding to white (255,255,255), black (0,0,0) and other grays between white and black in sRGB, and arranged in sequence.
[0029] The beneficial effect of adopting the above further solution is to divide the mixed ink into multiple gray levels, thereby improving the gray balance adjustment accuracy.
[0030] Further, in step S600, the cyan ink gradation curve, the magenta ink gradation curve, and the yellow ink gradation curve are adjusted until the CMY concentration combinations corresponding to the 256 gradation grays in sRGB are all neutral gray, thus completing the gray balance. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 The figure is a flowchart of a specific embodiment of the present invention.
[0032] Figure 2 It is a schematic diagram of a tone curve according to a specific embodiment of the present invention.
[0033] Figure 3 This is a schematic diagram of the density of three-color inks according to a specific embodiment of the present invention;
[0034] Figure 4 It is a schematic diagram of overprinting black density according to a specific embodiment of the present invention. DETAILED DESCRIPTION
[0035] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0036] In the description of the present invention, it is necessary to understand that the terms "center", "length", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "inside", "outside", "peripheral", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred system or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0037] In the description of the present invention, “plurality” means at least two, for example, two, three, etc., unless otherwise clearly and specifically defined.
[0038] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like 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 or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0039] like Figure 1 As shown, a gray balance gradation method for thermal printing includes the following steps:
[0040] S100. Adjust device parameters, including adjusting the downward pressure position of the print head in the printing device.
[0041] S200. Confirm the best color development range of the three inks of cyan, magenta and yellow in the printing device, so that the concentration combination of the three inks at the same gradation can achieve all gradations in a color-decolorizing state. The color development range is the device concentration value, which is related to the temperature of the thermal print head. The higher the concentration, the higher the temperature generated by the thermal print head. Among them, the color development range is affected by the device parameters (substrate, carbon ribbon, print head pressure, etc.). When printing in this range, the carbon ribbon has no obvious overheating damage, the print head is easy to clean, and it can print continuously for a long time. If the printing concentration is lower than the best color development range, the three primary color inks are in a non-color development state under this device parameter condition. When the printing concentration is higher than the best color development range, the print head will be damaged when printing continuously for a long time or solid black.
[0042] S300. Adjust the optimal color rendering range distribution of cyan ink according to the cyan ink gradation curve. The cyan ink gradation curve is:
[0043] Y=(ε1+(x / n1)*ε2)*(λ-ln((n2 / x)));
[0044] Among them, ε1 is the highlight correction parameter (the same below), ε2 is the shadow correction parameter (the same below); λ is a constant (the same below); n1 is the highlight and shadow regions in the curve (the same below); n2 is the range limiting the number of gradations (the same below).
[0045] Among them, ε1 is the curve change trend within the adjustable value range (x < n1), and the optimal value range of ε1 is the interval [10, 40]. ε2 adjusts the curve change trend within the value range (x > n1), and the optimal value range of ε2 is the interval [0, 10]. λ is a constant, and the optimal value range of λ is the interval [3, 5]. The value range of n1 is [50, n2], and its main function is to divide the highlight and shadow regions in the curve. When n1 = n2, it means that the curve does not distinguish between highlights and shadows. n2 limits the value range of the number of gradations, and the optimal value range of n2 is [256, 400]. The value of n2 should ensure both that the printing density can be differentiated and that the number of gradations can be divided into enough levels.
[0046] As Figure 2 shown, the first half of the curve is the distribution trend of the highlight part. Generally, the energy curve output by the thermal print head in the highlight part is relatively flat. In order to differentiate the highlight levels, this section of the curve should be designed as a "convex" shape. Similarly, the energy curve output by the thermal print head in the shadow part is also relatively flat. Therefore, in order to differentiate the shadow levels, the second half of the curve controlling the shadow part should be designed as a "concave" shape. In the middle part between the highlights and shadows, the energy curve output by the thermal print head generally shows a linearly increasing trend. Therefore, the gradation curve should also be designed as a linearly increasing one.
[0047] Since among the three kinds of inks, the cyan ink can withstand the highest concentration, therefore, in this step, the cyan ink is used as the reference. Selecting the ink with the highest maximum concentration in the color display range as the reference is to retain the carbon ribbon color gamut as much as possible. If other inks are used as the reference, it may be necessary to exceed the maximum concentration of the cyan ink in order to adjust the maximum concentration of the cyan ink to achieve gray balance, and exceeding the maximum concentration will affect the service life of some components of the device (such as the print head).
[0048] S400. Adjust the magenta ink gradation curve according to the cyan ink gradation curve. The magenta ink gradation curve is:
[0049] Y = (ε1 + (x / n1) * ε2) * (λ - ln((n2 / x)));
[0050] Among them, ε1 is the highlight correction parameter, ε2 is the shadow correction parameter; λ is a constant; n1 is the highlight and shadow regions in the curve; n2 is the range limiting the number of gradations.
[0051] Each gradation of magenta ink will have a corresponding Y value, where the Y value corresponding to each gradation is the concentration value output by the print head corresponding to the gradation (this concentration value is a measure of the energy output by the print head, and can also be understood as a measure of the heating temperature of the print head. The larger the concentration value, the higher the temperature generated by the print head, and the more ink is transferred by the thermal sublimation ribbon, which makes it look as if the color concentration of the final print has increased).
[0052] S500. Adjust the yellow ink gradation curve according to the cyan ink gradation curve. The yellow ink gradation curve is:
[0053] Y=(ε1+(x / n1)*ε2)*(λ-ln((n2 / x)));
[0054] Among them, ε1 is the bright tone correction parameter, ε2 is the dark tone correction parameter; λ is a constant; n1 is the bright tone and dark tone area in the curve; n2 is the range of limiting the number of tone values.
[0055] When the three inks are mixed in equal amounts, neutral gray is produced, which is divided into 256 gray levels, corresponding to white (255,255,255), black (0,0,0) and other grays between white and black in sRGB, and arranged in sequence. Specifically, the sRGB space belongs to the three primary colors of light, and neutral gray is produced when the three primary colors of light are mixed in equal amounts. That is, (255,255,255), (254,254,254), ..., (2,2,2), (1,1,1), (0,0,0) a total of 256 are neutral grays in the sRGB space, marked as the 1st gray level, the 2nd gray level, ... the 254th gray level, the 255th gray level, and the 256th gray level. Among them, (255,255,255) is white, (0,0,0) is black, and the rest are between white and black, arranged in sequence.
[0056] S600. Adjust the concentrations of the three primary colors of light and the three inks in the printing device to achieve gray balance. Adjust the cyan ink gradation curve, the magenta ink gradation curve, and the yellow ink gradation curve until the CMY concentration combinations corresponding to the 256 gradation grays in sRGB are all neutral gray, and gray balance is achieved.
[0057] Embodiment 1
[0058] 1) Adjust equipment parameters,
[0059] 2) Confirm the optimal color rendering range of the three inks of cyan, magenta and yellow in the printing device. In this embodiment, the optimal color rendering range of cyan ink is [48,175].
[0060] 3) Cyan ink tone curve:
[0061] Y=30.1*(1+(x / 306)*(-0.055))*(3-ln((306 / x)))
[0062] where x∈[21,276].
[0063] In this example, the x value is a closed interval, and the discrete values of all integers in it are taken, a total of 256 values, and these 256 values are the 256 shades corresponding to the cyan ink. Each shade will have a corresponding Y value, and the Y value corresponding to each shade is the density value output by the print head corresponding to the shade (this density value is a measure of the energy output by the print head, and can also be understood as a measure of the heating temperature of the print head. The larger this density value is, the higher the temperature generated by the print head is, and the more ink is transferred by the thermal sublimation ribbon, which looks like the color density of the final print is increased).
[0064] When x=276, Y=175 (because the concentration is only an integer).
[0065] When x = 21, Y = 41. The reason for not starting from Y = 48 is to be closer to paper white. The low concentration range with no color will need to be processed separately later.
[0066] 4) Start from the cyan tone curve and adjust the magenta tone curve to:
[0067] Y=30.1*(0.91+(x / 306)*(0.015))*(3-ln((306 / x)))
[0068] where x∈[21,276].
[0069] When x=276, Y=170.
[0070] When x=21, Y=37.
[0071] 5) Start from the cyan tone curve and adjust the yellow tone curve to:
[0072] Y=30.7*(1+(x / 306)*(-0.16))*(3-ln((306 / x)))
[0073] where x∈[21,276].
[0074] When x=276, Y=160.
[0075] When x=21, Y=41.
[0076] 6) Taking the 256th grayscale tone (0,0,0) in sRGB as an example, the concentrations of cyan, magenta, and yellow inks should all be the 256th values in their respective tone curves. That is, in the cyan tone curve, x=276, Y=175, the cyan ink concentration is 175; in the magenta tone curve, x=276, Y=170, the magenta ink concentration is 170; in the yellow tone curve, x=276, Y=160, the yellow ink concentration is 160.
[0077] That is, the 256th grayscale adjustment (0,0,0) in sRGB corresponds to the CMY density output by this device of (175,170,160). The same is true for other grayscales. When the three curves are adjusted until the CMY density combinations corresponding to the 256 grayscales in sRGB are all neutral gray, gray balance is achieved.
[0078] The color density corresponding to each CMY tone when gray balance, as well as the relationship between the density and tone of the CMY composite color K (black) are as follows: Figure 3 and Figure 4 shown.
[0079] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0080] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A gray balance gradation method for thermal printing. It is characterized in that The following steps are involved: S100. Adjust equipment parameters; S200. Confirm the best color rendering range of cyan, magenta and yellow inks in the printing device so that the concentration combination of the three inks at the same gradation achieves that all gradations are in a color-decolorizing state; S300. Adjusting the optimal color rendering range distribution of cyan ink according to the cyan ink gradation curve; S400. Adjusting the magenta ink gradation curve according to the cyan ink gradation curve; S500. Adjusting the yellow ink gradation curve according to the cyan ink gradation curve; S600. Adjust the concentrations of the three primary colors of light and the three inks in the printing device to achieve gray balance; The cyan ink tone curve, the magenta ink tone curve, and the yellow ink tone curve are all: ; in, For bright tone correction parameters, Correct parameters for dark tones; is a constant; For the bright and dark areas of the curve; To limit the range of the number of tones; The value range of is [10,40], The value range of is [0,10]. The value range is [50, ], The value range is [256,400]; In step S600, when the three inks are mixed in equal amounts, neutral gray is generated, which is divided into 256 levels of gray, corresponding to white (255,255,255), black (0,0,0) and other grays between white and black in sRGB, and arranged in sequence.
2. The gray balance gradation method of thermal printing according to claim 1, It is characterized in that In step S600, the cyan ink gradation curve, the magenta ink gradation curve, and the yellow ink gradation curve are adjusted until the CMY concentration combinations corresponding to the 256 gradation grays in sRGB are all neutral gray, thus completing the gray balance.
