Printer linearization curve updating method, apparatus, device, and storage medium
By acquiring the original and current linearization data of the inkjet printer and updating its linearization curve, the problem of large color differences after printing intervals is solved, ensuring color consistency, simplifying reordering operations, and improving user experience.
Patent Information
- Application Number
- CN202210142998.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-12-17
- Filing Date
- 2022-02-16
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2042-02-16
AI Technical Summary
In inkjet printers, when the same printer performs the same printing task after a period of time, the colors of the two prints are significantly different. Existing technology controls the ink volume by adjusting the ICC file, which is cumbersome, time-consuming and laborious.
Obtain the printer's original linearization data and the linearization data in the current state. By calculating the difference between ink volume values and color values, update the printer's linearization curve to ensure color consistency.
It enables printing images with the same colors as the previous print job even when the printer status changes, simplifying the reprint process and improving the user experience.
Smart Images

Figure CN116265262B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of inkjet printing technology, and in particular to a printer linearization curve updating method, device, equipment and storage medium. BACKGROUND
[0002] In the color management process of an inkjet printer, the output ink amount of each channel of the printer is controlled by adjusting the ICC file of the printer, so as to control the overall printing color effect of the printer. However, in actual production application, the products ordered several days or months ago are often re-produced (also known as re-ordering), so a batch of image products with the same color as the previous order need to be printed. During this period, the machine state, ink batch and printhead state will change (such as the change of the environment state of the machine, the change of the ink batch, and the wear of the printhead due to long-term use), resulting in a large difference in the image color printed by the same printer at the same interval after executing the same printing task twice. If the output ink amount of each channel of the printer is controlled by adjusting the ICC file of the printer in order to make the image color printed again consistent with the image color printed previously, the entire debugging process will be complex and tedious, and time-consuming and labor-intensive. SUMMARY
[0003] Therefore, the embodiments of the present application provide a printer linearization curve updating method, device, equipment and storage medium to solve the technical problem that the same printer executes the same task at the same interval but the printing color difference is large between the two times.
[0004] In a first aspect, the embodiments of the present application provide a printer linearization curve updating method, which comprises:
[0005] obtaining original linearization data of a printer;
[0006] obtaining linearization data of the printer in a current state, denoted as current linearization data;
[0007] obtaining a new linearization curve of the printer according to the original linearization data and the current linearization data.
[0008] Preferably, the step of obtaining linearization data of the printer in a current state, denoted as current linearization data comprises:
[0009] obtaining a first ink amount value of the printer according to the original linearization data;
[0010] obtaining linearization data of the printer in a current state according to the first ink amount value and the linearization curve of the printer, which is the current linearization data.
[0011] Preferably, the original linearization data comprises a plurality of different ink amount values and corresponding color values, and the obtaining the first ink amount value according to the original linearization data comprises:
[0012] printing a first color block chart according to the linearization curve of the printer, wherein the first color block chart comprises a plurality of color blocks with different ink amounts;
[0013] collecting color values of the color blocks in the first color block chart, and recording a set of ink amount values and color values corresponding to each color block in the first color block chart as a first color block chart color value set;
[0014] obtaining the first ink amount value according to the original linearization data and the first color block chart color value set.
[0015] Preferably, the obtaining the first ink amount value according to the original linearization data and the first color block chart color value set comprises:
[0016] obtaining a color value corresponding to a maximum ink amount value in the original linearization data, and recording the color value as an original first color value;
[0017] obtaining an ink amount value corresponding to a color value with a minimum color difference from the original first color value in the first color block chart color value set, and recording the ink amount value as the first ink amount value.
[0018] Preferably, the obtaining the first ink amount value according to the original linearization data and the first color block chart color value set comprises:
[0019] obtaining a color value corresponding to a maximum ink amount value in the original linearization data, and recording the color value as an original first color value;
[0020] obtaining a color value corresponding to a minimum ink amount value in the original linearization data, and recording the color value as an original second color value;
[0021] obtaining a color difference value of the original first color value and the original second color value, and recording the color difference value as a maximum color difference value;
[0022] respectively obtaining color difference values of each color value in the first color block chart color value set and the original second color value, and recording a set of ink amount values and color difference values corresponding to each color value in the first color block chart color value set as a first color difference set;
[0023] obtaining an ink amount value corresponding to the maximum color difference value according to the first color difference set, and recording the ink amount value as the first ink amount value.
[0024] Preferably, the obtaining an ink amount value corresponding to the maximum color difference value according to the first color difference set comprises:
[0025] interpolating the first set of color differences by using an interpolation method to obtain the ink amount corresponding to the maximum color difference value; or:
[0026] fitting the elements in the first set of color differences to obtain a first fitting curve;
[0027] substituting the maximum color difference value into the first fitting curve to obtain the ink amount value corresponding to the maximum color difference value.
[0028] Preferably, the obtaining the linearization data of the printer in the current state according to the first ink amount value and the linearization curve of the printer, denoted as current linearization data, comprises:
[0029] printing a second color block diagram according to the maximum printing ink amount and the linearization curve of the printer, wherein the second color block diagram comprises a plurality of color blocks with different ink amounts;
[0030] collecting the color values of the color blocks in the second color block diagram;
[0031] obtaining the current linearization data, wherein the current linearization data comprises the ink amount values and the color values corresponding to the color blocks in the second color block diagram.
[0032] Preferably, the obtaining the new linearization curve of the printer according to the original linearization data and the current linearization data comprises:
[0033] respectively obtaining the color difference values between the color values corresponding to each ink amount value in the current linearization data and the color value corresponding to the minimum ink amount value in the original linearization data, obtaining a set of ink amount values and their corresponding color difference values in the current linearization data, denoted as a second set of color differences;
[0034] respectively obtaining the color difference values between the color values corresponding to each ink amount value in the original linearization data and the color value corresponding to the minimum ink amount value in the original linearization data, obtaining a set of ink amount values and their corresponding color difference values in the original linearization data, denoted as a third set of color differences;
[0035] obtaining the new linearization curve of the printer according to the second set of color differences and the third set of color differences.
[0036] Preferably, the obtaining the new linearization curve of the printer according to the second set of color differences and the third set of color differences comprises:
[0037] fitting the elements in the second set of color differences to obtain a second fitting curve;
[0038] obtaining the ink amount values in all elements in the third set of color differences, denoted as a second ink amount;
[0039] According to the second fitting curve, a third ink amount corresponding to a color difference value in all elements of the third color difference set is obtained;
[0040] The second ink amount and the third ink amount are fitted to obtain a new linearization curve of the printer.
[0041] Preferably, the method further comprises:
[0042] The new linearization curve is adjusted until a new linearization curve meeting a preset condition is obtained.
[0043] In a second aspect, an embodiment of the present application provides a printer linearization curve updating device, the device comprising:
[0044] An original linearization data obtaining module is configured to obtain original linearization data of a printer.
[0045] A current linearization data obtaining module is configured to obtain linearization data of the printer in a current state, denoted as current linearization data.
[0046] An updating module is configured to obtain a new linearization curve of the printer according to the original linearization data and the current linearization data.
[0047] In a third aspect, an embodiment of the present application provides a printing device, comprising at least one processor, at least one memory, and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, the method of the first aspect in the above-mentioned embodiment is implemented.
[0048] In a fourth aspect, an embodiment of the present application provides a storage medium having computer program instructions stored thereon, when the computer program instructions are executed by a processor, the method of the first aspect in the above-mentioned embodiment is implemented.
[0049] In summary, the beneficial effects of the present application are as follows:
[0050] The printer linearization curve updating method, device, equipment and storage medium provided by the embodiment of the present application, by obtaining the original linearization data of the printer, then obtaining the current linearization data of the printer, and finally obtaining the new linearization curve of the printer according to the original linearization data and the current linearization data, ensures that the printer can print an image with consistent color as when the same printing task is performed before after a period of time even if the state changes (such as ink batch change, nozzle state change), thereby helping users to realize the re-ordering operation anytime and anywhere, and effectively improving the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly introduced. For those skilled in the art, other drawings can be obtained without creative labor on the basis of these drawings, and these are within the protection scope of the present application.
[0052] Figure 1 Fig. 1 is a flow diagram of a printer linearization curve updating method according to an embodiment of the present application.
[0053] Figure 2a Fig. 2 is a schematic diagram of a color block chart printed by a printer according to its linearization curve according to an embodiment of the present application.
[0054] Figure 3 Fig. 3 is a schematic diagram of a color block chart printed by a printer according to its linearization curve according to an embodiment of the present application.
[0055] Figure 4a Fig. 4 is a schematic diagram of a first color block chart according to an embodiment of the present application.
[0056] Figure 5 Fig. 5 is a schematic diagram of a first fitting curve according to an embodiment of the present application.
[0057] Figure 6 Fig. 6 is a schematic diagram of a second color block chart according to an embodiment of the present application.
[0058] Figure 7 Fig. 7 is a structural schematic diagram of a printer linearization curve updating device according to an embodiment of the present application.
[0059] Figure 8 Fig. 8 is a structural schematic diagram of a printing device according to an embodiment of the present application. DETAILED DESCRIPTION
[0060] The features and exemplary embodiments of various aspects of the present application will be described in detail below, in order to make the purposes, technical solutions and advantages of the present application more clear and apparent, the present application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are configured only to explain the present application, and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present application by showing examples of the present application.
[0061] It is to be noted that, in the present document, relational terms such as first and second, and the like, can be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0062] Embodiment one
[0063] The embodiment of the present application provides a printer linearization curve updating method, which is suitable for linearization curve updating processing of an inkjet printer. In actual production application, a product order in a period of time before is often reproduced, and therefore a batch of image products with consistent colors of previous orders need to be printed. The method provided by the embodiment of the present application updates the linearization curve of the printer, so that the printer can print the image with consistent colors with the image printed before a period of time in the current state.
[0064] Please refer to Figure 1 The embodiment of the present application provides a printer linearization curve updating method, which comprises the following steps:
[0065] S1: obtaining original linearization data of a printer;
[0066] S2: obtaining linearization data of the printer in a current state, denoted as current linearization data;
[0067] S3: obtaining a new linearization curve of the printer according to the original linearization data and the current linearization data.
[0068] Specifically, before performing a printing task, the printer generally needs to make linearization curves of CMYK color channels, and print a color block diagram according to the linearization curves. As shown in Figure 2a The color block diagram of the K channel of the printer is shown. In some embodiments, the color block diagram printed by the printer can be a color block diagram of any one, two, three or four color channels of the C channel, the M channel, the Y channel or the K channel, as shown in Figure 3 The color block diagram of the CMYK four color channels is shown; it can also be a color block diagram of a mixture of two, three or four colors of the CMYK four colors. As shown in Figure 2aThe color block chart shown is marked with the ink amount value corresponding to each color block. The color value (such as Lab value) of each color block is collected by a collector such as a spectrophotometer, and the final linearization curve is obtained by ink cutting or correction processing according to these data, and then the subsequent ICC file is made, so as to complete the color management setting of the inkjet printer, and then the printing task is executed.
[0069] In actual production application, it is possible that after a period of time (such as several days or months) after completing a printing task, the same printing task needs to be re-produced, but since the machine state, ink batch or nozzle state have changed at this time, the colors of the two images printed by the same task will inevitably be different. In order to make the colors of the images re-printed later consistent or close to the images printed a period of time ago, in the embodiment of the present application, the color block chart (denoted as original color block chart) printed by the printer (according to the machine state, ink batch, nozzle state, etc. at that time) when the previous printing task was executed is first backed up to the storage module according to the data collected from the original color block chart (i.e. original linearization data), so as to be quickly retrieved and imported into the printer under the current state in subsequent order translation, and the linearization curve of the printer is updated by using the original linearization data and the linearization data of the printer under the current state (denoted as current linearization data), and then the same printing task is executed, so as to ensure that the colors of the images printed by the same printer even after a period of time are re-executed are consistent or close to the same printing task. The embodiment takes updating the linearization curve of the K color channel as an example to illustrate how to update the linearization curve of each channel of the printer.
[0070] Preferably, the obtaining of the linearization data of the printer under the current state, denoted as current linearization data, comprises:
[0071] S21: obtaining the first ink amount value of the printer according to the original linearization data;
[0072] S22: obtaining the linearization data of the printer under the current state, i.e. current linearization data, according to the first ink amount value and the linearization curve of the printer.
[0073] Preferably, the backup original linearization data includes a plurality of different ink amount values and color values corresponding to the different ink amount values. For example, the original color block chart printed before (a period of time ago) includes m ink amount different color blocks (m is a natural number greater than or equal to 1), the m ink amount different color blocks are arranged in order of ink amount from small to large: K1, K2, …, Km, and the color values of the above-mentioned color blocks measured by a spectrophotometer are, for example, L1, L2, …, Lm in order, then the original linearization data is: L = {(K1, L1), (K2, L2), …, (Km, Lm)}, where the original linearization data is actually a set, and the elements of the set are the ink amount values of the color blocks in the original color block chart and the corresponding color values. The original linearization data is backed up to the storage module for subsequent use when the order is reversed.
[0074] The original linearization data is mainly used for ink cutting processing of the printer when the order is reversed, that is, the first ink amount value of the printer is obtained, so that it is consistent with the first ink amount value before a period of time. The first ink amount value refers to the maximum ink amount of the printer in the actual printing process, which is called maximum ink cutting amount or ink cutting amount in actual production application. Preferably, obtaining the first ink amount value of the printer according to the original linearization data comprises:
[0075] S211: printing a first color block chart according to the linearization curve of the printer, wherein the first color block chart includes a plurality of color blocks with different ink amounts;
[0076] S212: collecting the color values of the color blocks in the first color block chart, and the set of ink amount values and color values corresponding to each color block is recorded as the first color block chart color value set;
[0077] S213: obtaining the first ink amount value according to the original linearization data and the first color block chart color value set.
[0078] Specifically, the first color block chart is a color block chart printed by the printer in the current state (machine state, ink batch, nozzle state, etc.) according to its linearization curve, which includes a plurality of color blocks with different ink amounts. In one embodiment, the number of color blocks of the first color block chart is the same as the number of color blocks of the original color block chart before the order is reversed. In one example, as shown in FIG. 2, the first color block chart includes m color blocks with different ink amounts, and the ink amount of each color block is K1, K2, …, Km in order. Figure 4aThe first color block diagram includes 21 color blocks with different ink amounts, and the 21 color blocks with different ink amounts are arranged in order of small to large ink amounts. Assuming that the minimum ink amount of the printer is 0 and the maximum ink amount is 100, the ink amount interval between each color block in the first color block diagram is 5, and the ink amount of each color block is 0, 5, 10, 15, …, 100 in order. In another example, the ink amount of the first color block in the first color block diagram is not 0 but starts from 60, and the maximum ink amount is 100. The ink amount interval between each color block is 2, and the ink amount of each color block is marked as 60, 62, 64, …, 100 in order. There are 21 color blocks with different ink amounts to form the first color block diagram.
[0079] In another embodiment, the number of color blocks in the first color block diagram is different from the number of color blocks in the original color block diagram. The number of color blocks in the first color block diagram can be greater than or less than the number of color blocks in the original color block diagram. For example, the first color block diagram can be composed of 51 color blocks with different ink amounts arranged in order of small to large ink amounts. Assuming that the minimum ink amount of the printer is 0 and the maximum ink amount is 100, the ink amount interval between each color block in the first color block diagram is 1, and the ink amount of each color block is 0, 1, 2, 3, …, 100 in order. In another example, the ink amount of the first color block in the first color block diagram starts from 60, and the maximum ink amount is 100. The ink amount interval between each color block is 5, and the ink amount of each color block is 60, 65, …, 100 in order. There are 11 color blocks with different ink amounts. It is worth noting that the minimum and maximum ink amounts of the printer are not necessarily 0 and 100, but can be determined according to the actual printing situation. The ink amount interval between each color block and the number of color blocks can also be set according to the actual application, which is not limited here. The more the number of color blocks and the smaller the ink amount interval, the more accurate the new linearization curve obtained.
[0080] After obtaining the first color block diagram, the actual color values of each color block in the first color block diagram are collected, and the ink amount values and color values of each color block are formed into a data set, denoted as the first color block diagram color value set A, A = {(M1, C1), (M2, C2), …, (Mn, Cn)}, where M1 is the ink amount value corresponding to the first color block, C1 is the color value of the first color block; M2 is the ink amount value corresponding to the second color block, C2 is the color value of the second color block, …, Mn is the ink amount value corresponding to the nth color block, Cn is the color value of the nth color block, and n is the number of color blocks in the first color block diagram, n is a natural number greater than or equal to 1.
[0081] In one embodiment, the first ink amount value is obtained according to the original linearization data and the first color block diagram color value set, specifically comprising:
[0082] S2131: Obtain the color value corresponding to the maximum ink amount value in the original linearization data, denoted as the original first color value;
[0083] S2132: Obtain the ink amount value corresponding to the color value with the minimum color difference value between the original first color value in the first color block chart color value set, which is the first ink amount value.
[0084] Specifically, assuming that the original linearization data is L={(K1, L1), (K2, L2), …, (Km, Lm)}, and the first color set is A={(M1, C1), (M2, C2), …, (Mn, Cn)}. Preferably, n=m, and K1=M1, K2=M2, …, Km=Mn. Assuming that the maximum ink amount value in the original linearization data is Km, and the color value corresponding thereto is Lm, which is referred to as the original first color value. The color difference values of C1, C2, …, Cn and Lm are calculated respectively, and it is assumed that the color difference value of Ci and Lm is the minimum. Then, the ink amount value Mi corresponding to Ci is the first ink amount value of the printer (wherein i is a natural number greater than 1 and less than n). By directly comparing each color value in the first color block chart color value set with the original first color value (color value comparison method), the first ink amount value of the printer can be obtained relatively simply and quickly.
[0085] In another embodiment, obtaining the first ink amount value according to the original linearization data and the first color block chart color value set specifically comprises:
[0086] S21301: Obtain the color value corresponding to the maximum ink amount value in the original linearization data, which is referred to as the original first color value;
[0087] S21302: Obtain the color value corresponding to the minimum ink amount value in the original linearization data, which is referred to as the original second color value;
[0088] S21303: Obtain the color difference value of the original first color value and the original second color value, which is referred to as the maximum color difference value;
[0089] S21304: Obtain the color difference values of each color value in the first color block chart color value set and the original second color value respectively, and the set of ink amount values and color difference values corresponding to each color value in the first color block chart color value set is referred to as the first color difference set;
[0090] S21305: Obtain the ink amount value corresponding to the maximum color difference value according to the first color difference set, which is the first ink amount value.
[0091] Specifically, let the original linearized data be L = {(K1, L1), (K2, L2), ..., (Km, Lm)}, and the first color set be A = {(M1, C1), (M2, C2), ..., (Mn, Cn)}. Preferably, n = m, and K1 = M1, K2 = M2, ..., Km = Mn. Let the maximum ink volume in the original linearized data be Km, and its corresponding color value be Lm, denoted as the original first color value; let the minimum ink volume be K1, and its corresponding color value be L1, denoted as the original second color value (because when printing the original color block image, the ink blocks are generally printed in ascending order of ink volume); the maximum color difference value ΔEmax obtained by subtracting the original first color value from the original second color value is ΔEmax = Lm – L1.
[0092] Calculate the color difference between each color value in the first color block color value set and the original second color value to obtain ΔE1, ΔE2, ..., ΔEn, where ΔE1 = C1 - L1, ΔE2 = C2 - L1, ΔEn = Cn - L1, thus obtaining the first color difference set B = {(C1, ΔE1), (C2, ΔE2), ..., (Cn, ΔEn)}.
[0093] In the first color difference set B, each element (ΔE1, C1), (ΔE2, C2), ..., (ΔEn, Cn) represents n coordinate points on a two-dimensional plane, with ink volume as the x-axis and color difference as the y-axis. In one example, based on the coordinate position of the maximum color difference value ΔEmax, interpolation is used to obtain the ink volume value corresponding to the maximum color difference value ΔE, denoted as the first ink volume value Cmax; in another example, such as... Figure 5 As shown, (ΔE1, C1), (ΔE2, C2), ..., (ΔEn, Cn) can also be fitted to obtain the first fitting curve. Then, the maximum color difference value ΔE is substituted into the above fitting curve to obtain the ink volume value Cmax corresponding to the maximum color difference value ΔEmax, which is the first ink volume value of the printer in the current state.
[0094] The method of obtaining the first ink volume value (or maximum ink cut-off value) based on the maximum color difference value is more accurate than the method of comparing color values. It obtains the accurate actual maximum ink volume for printing, and the second color block map created based on this first ink volume value is more accurate. The current linearization data obtained based on the second color block map is also more accurate.
[0095] In one embodiment, when the maximum actual printing maximum ink amount obtained by using the color value comparison method, the interpolation method or the curve fitting method is not within the preset ink amount range, the first external input information can also be obtained as the actual printing maximum ink amount. The first external input information here can be an ink amount value set by the user according to the actual application situation, and the preset ink amount range can also be set by the user according to the actual application situation. For example, when the user accumulates the first ink amount value in the current state to be within the range of 90 to 95, the image printed is more consistent in color with the image printed by the same task last time, then the preset ink amount range can be set as 90≤Cmax≤95, when the first ink amount value (such as Cmax=88) obtained by the interpolation method or the curve fitting method is not within the preset ink amount range, this value can not be used, but the ink amount value input by the user is used as the first ink amount value, so that the final image color effect can better meet the user's demand.
[0096] After obtaining the first ink amount value of the printer, the linearization data of the printer in the current state can be obtained according to this, which is recorded as the current linearization data, and the specific steps are as follows:
[0097] S221: printing a second color block image according to the first ink amount value and the linearization curve of the printer, wherein the second color block image includes a plurality of color blocks with different ink amounts;
[0098] S222: collecting color values of each color block in the second color block image;
[0099] S223: obtaining the current linearization data, wherein the current linearization data includes the ink amount value and the color value corresponding to each color block in the second color block image.
[0100] Specifically, the first ink amount value Cmax is used as the maximum ink amount of the printer in the current state and a second color block image is printed, wherein the second color block image is composed of a plurality of color blocks with different ink amounts. In one embodiment, the second color block image has the same number of color blocks as the first color block image. For example, as shown in Figure 6 , the number of color blocks in the second color block image is consistent with that in the first color block image in Figure 4a , which is 21 color blocks, and the ink amount interval between each color block is 5, and the ink amount of each color block is 0, 5, 10, …, 100 in turn, wherein the color block with the ink amount value marked as 100 has an actual ink amount of Cmax (such as Cmax=88) when printing.
[0101] In another embodiment, the second color block chart has a different number of color blocks than the first color block chart. In one example, the second color block chart has 51 color blocks with a minimum ink amount of 0, a maximum ink amount of 100 (actual ink amount when printing is Cmax), an ink amount interval of 2 between each color block, and ink amounts of 0, 2, 4,..., 100 for each color block. In another example, the second color block chart has 11 color blocks with a minimum ink amount of 0, a maximum ink amount of 100 (actual ink amount when printing is Cmax), an ink amount interval of 10 between each color block, and ink amounts of 0, 10, 20,..., 100 for each color block.
[0102] After the printer prints the second color block chart, the actual color values (e.g., Lab values) of each color block in the second color block chart are collected, such as by using a spectrophotometer to measure the color values of each color block. Assume that the second color block chart includes j color blocks, the ink amount values of each color block are P1, P2,..., Pj, and the color values of each color block are Q1, Q2,..., Qj. The set of ink amount values and color values of each color block {(P1, Q1), (P2, Q2),..., (Pj, Qj)} is referred to as current linearization data.
[0103] After the current linearization data is obtained, the new linearization curve of the printer is obtained based on the original linearization data and the current linearization data, which includes the following steps:
[0104] S31: The color difference values between the color values corresponding to each ink amount value in the current linearization data and the color value corresponding to the minimum ink amount value in the original linearization data are obtained, and a set of ink amount values and their corresponding color difference values in the current linearization data is obtained and referred to as a second color difference set;
[0105] S32: The color difference values between the color values corresponding to each ink amount value in the original linearization data and the color value corresponding to the minimum ink amount value in the original linearization data are obtained, and a set of ink amount values and their corresponding color difference values in the original linearization data is obtained and referred to as a third color difference set;
[0106] S33: The new linearization curve of the printer is obtained based on the second color difference set and the third color difference set.
[0107] Specifically, the color value corresponding to the minimum ink amount value in the original linearization data is the original second color value, which is referred to as L1. The color difference values between the color values corresponding to each ink amount value in the current linearization data and the original second color value are calculated to obtain the second color difference set D={(P1, ΔE1), (P2, ΔE2),..., (Pj, ΔEj)}. The color difference values between the color values corresponding to each ink amount value in the original linearization data and the original second color value are calculated to obtain the third color difference set E={(P1, ΔE1), (P2, ΔE2),..., (Pj, ΔEj)}. The new linearization curve of the printer is obtained based on the second color difference set D and the third color difference set E.p1 ), (P2, ΔE P2 ),……,(Pj,ΔE Pj )}, where ΔE p1 =Q1–L1,ΔE p2 =Q2–L1, …,ΔE pj =Qj–L1.
[0108] Similarly, by calculating the color difference between the color value corresponding to each ink quantity value in the original linearized data and the original second color value, the third color difference set E = {(K1, ΔE} is obtained. K1 ), (K2, ΔE K2 ),……,(Km,ΔE Km )}, where ΔE K1 =L1–L1,ΔE K2 =L2–L1, …,ΔE Km =Lm–L1. At the same time, the ink amounts K1, K2, ..., Km of each element in the third color difference set are collectively referred to as the second ink amount.
[0109] Each element (P1, ΔE) in the second color difference set p1 ), (P2, ΔE P2 ),……,(Pj,ΔE Pj On a two-dimensional plane, j coordinate points are represented with ink quantity as the x-axis and color difference as the y-axis. A cubic spline curve is fitted to all elements of the second color difference set D to obtain the second fitted curve.
[0110] The color difference value ΔE in all elements of the third color difference set K1 ΔE K2 ... ΔE Km Substituting these values into the second fitted curve, we obtain the third ink amounts corresponding to each of the aforementioned color difference values: K1', K2', ..., Km'. Fitting (K1, K1'), (K2, K2'), ..., (Km, Km') yields a new linearized curve for the printer's C color channel. The color-tracking curve obtained using this fitting method exhibits small color differences, high color reproduction, and excellent color-tracking performance, achieving a satisfactory color-tracking effect for the user.
[0111] Similarly, the linearization curves of the printer's C color channel, M color channel, Y color channel, or mixed channel can also be updated. The specific method is similar to that of the K color channel, and will not be repeated here.
[0112] In one embodiment, after updating the printer's linearization curve and reprinting the image sample, if the user believes that the current image effect does not meet preset conditions (e.g., the color difference of the same color in the updated image sample and the image sample printed before the order is changed is less than a certain set value; the preset conditions can be set by the user according to the actual situation and are not limited here), the new linearization curve can be adjusted until a new linearization curve that meets the user's preset conditions is obtained. For example, the printer's first ink volume value can be adjusted, or a portion of the new linearization curve can be smoothed to make the colors of the reprinted image sample closer to the colors of the image sample printed before the order is changed.
[0113] In summary, the printer linearization curve update method provided by this invention obtains the printer's original linearization data; obtains the printer's first ink volume value based on the original linearization data; obtains the printer's current linearization data based on the first ink volume value and the printer's linearization curve; and finally obtains the printer's new linearization curve based on the original linearization data and the current linearization data. This ensures that even after a period of time, if the printer's state changes (such as ink batch change or printhead state change), it can still print images with the same color as when performing the same printing task before. This helps users perform repeat order operations anytime and anywhere, effectively improving the user experience.
[0114] Example 2
[0115] Please see Figure 7 This invention provides a printer linearization curve update device 200, the device 200 comprising:
[0116] The raw linearization data acquisition module 201 is used to acquire the raw linearization data of the printer;
[0117] The current linearization data acquisition module 202 is used to acquire the linearization data of the printer in the current state, which is denoted as the current linearization data;
[0118] The update module 203 is used to obtain a new linearization curve for the printer based on the original linearization data and the current linearization data.
[0119] Preferably, the current linearized data acquisition module 202 includes:
[0120] The first ink volume value acquisition unit is used to acquire the first ink volume value of the printer based on the original linearized data.
[0121] The current linearization data acquisition unit is used to acquire the linearization data of the printer in the current state based on the first ink volume value and the linearization curve of the printer, which is the current linearization data.
[0122] Preferably, the first ink volume acquisition unit includes:
[0123] The first color block image acquisition unit is used to print a first color block image according to the linearization curve of the printer, wherein the first color block image includes several color blocks with different ink amounts;
[0124] The first color block image color value set acquisition unit is used to collect the color value of each color block in the first color block image and record the set of ink volume value and color value corresponding to each color block as the first color block image color value set.
[0125] The first maximum ink volume acquisition unit is used to acquire the first ink volume value based on the original linearized data and the first color block image color value set.
[0126] Preferably, the first ink volume acquisition unit includes:
[0127] The original first color value acquisition unit is used to acquire the color value corresponding to the maximum ink volume value in the original linearized data, which is denoted as the original first color value.
[0128] The second maximum ink volume acquisition unit is used to acquire the ink volume value corresponding to the color value with the smallest color difference value compared with the original first color value in the color value set of the first color block image, which is the first ink volume value.
[0129] Preferably, the second maximum ink volume acquisition unit includes:
[0130] The first interpolation unit is used to interpolate the first color difference set using an interpolation method to obtain the ink amount corresponding to the maximum color difference value; or:
[0131] The first fitting unit is used to fit the elements in the first color difference set to obtain a first fitting curve; and to substitute the maximum color difference value into the first fitting curve to obtain the ink amount value corresponding to the maximum color difference value.
[0132] Preferably, the current linearized data acquisition module 202 includes:
[0133] The second linear color block acquisition and printing is used to print a second color block image based on the maximum printing ink volume and the linearization curve of the printer, wherein the second color block image includes several color blocks with different ink volumes;
[0134] The acquisition unit is used to acquire the color values of each color block in the second color block image;
[0135] The current linearized data acquisition unit is used to acquire the current linearized data, wherein the current linearized data includes the ink volume value and color value corresponding to each color block in the second color block image.
[0136] Preferably, the update module 203 includes:
[0137] The second color difference set acquisition unit is used to acquire the color difference value between the color value corresponding to each ink quantity value in the current linearized data and the color value corresponding to the minimum ink quantity value in the original linearized data, and to acquire the set of each ink quantity value and its corresponding color difference value in the current linearized data, which is denoted as the second color difference set.
[0138] The third color difference set acquisition unit is used to acquire the color difference value of the color value corresponding to each ink quantity value in the original linearized data and the color value corresponding to the minimum ink quantity value in the original linearized data respectively, and to acquire the set of each ink quantity value and its corresponding color difference value in the original linearized data, which is denoted as the third color difference set;
[0139] The new linear curve acquisition unit is used to acquire a new linearization curve of the printer based on the second color difference set and the third color difference set.
[0140] Furthermore, the new linear curve acquisition unit includes:
[0141] The second fitting unit is used to fit the elements in the second color difference set to obtain the second fitting curve;
[0142] The second ink quantity acquisition unit is used to acquire the ink quantity value of all elements in the third color difference set, which is denoted as the second ink quantity.
[0143] The third ink volume acquisition unit is used to acquire the third ink volume corresponding to the color difference value in all elements of the third color difference set according to the second fitting curve.
[0144] The third fitting unit is used to fit the second ink volume and the third ink volume to obtain a new linearization curve for the printer.
[0145] In summary, the printer linearization curve update device provided in this embodiment of the invention obtains the printer's original linearization data, then obtains the printer's current linearization data, and finally obtains the printer's new linearization curve based on the original linearization data and the current linearization data. This ensures that even after a period of time, when the printer's state changes (such as ink batch change or printhead state change), it can still print images with the same color as when performing the same printing task before. This helps users perform repeat order operations anytime and anywhere, effectively improving the user experience.
[0146] Example 3
[0147] Furthermore, the printer linearization curve update method of this embodiment can be implemented by a printing device. Figure 8 A schematic diagram of the hardware structure of the printing device provided in an embodiment of the present invention is shown.
[0148] The printing device may include a processor 301 and a memory 302 storing computer program instructions.
[0149] Specifically, the processor 301 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.
[0150] Memory 302 may include mass storage for data or instructions. For example, and not limitingly, memory 302 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 302 may include removable or non-removable (or fixed) media. Where appropriate, memory 302 may be internal or external to a data processing device. In a particular embodiment, memory 302 is a non-volatile solid-state memory. In a particular embodiment, memory 302 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0151] The processor 301 reads and executes computer program instructions stored in the memory 302 to implement any of the printer linearization curve update methods in the above embodiments.
[0152] In one example, the printing device may also include a communication interface 303 and a bus 310. For example, Figure 8 As shown, the processor 301, memory 302, and communication interface 303 are connected through bus 310 and complete communication with each other.
[0153] The communication interface 303 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of the present invention.
[0154] Bus 310 includes hardware, software, or both, that couples components of a printing device together. For example, and not as a limitation, bus 310 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 310 may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.
[0155] Example 4
[0156] Furthermore, in conjunction with the printer linearization curve update method in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by the processor 301, they implement any of the printer linearization curve update methods in the above embodiments.
[0157] In summary, the printer linearization curve update method, apparatus, device, and storage medium provided in this embodiment of the invention obtain the printer's original linearization data; then obtain the printer's current linearization data; and finally obtain the printer's new linearization curve based on the original linearization data and the current linearization data. This ensures that even after a period of time, when the printer's state changes (such as ink batch change or printhead state change), it can still print images with the same color as when performing the same printing task before. This helps users perform repeat order operations anytime and anywhere, effectively improving the user experience.
[0158] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.
[0159] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0160] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0161] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.
Claims
1. A method for updating the linearization curve of a printer, characterized in that, The method includes: Obtain the printer's raw linearization data; Obtain the linearized data of the printer in its current state, and record it as the current linearized data; Obtaining a new linearization curve for the printer based on the original linearization data and the current linearization data includes: Obtain the color difference between the color value corresponding to each ink quantity value in the current linearized data and the color value corresponding to the minimum ink quantity value in the original linearized data, and obtain the set of each ink quantity value and its corresponding color difference value in the current linearized data, denoted as the second color difference set; Obtain the color difference value of each ink quantity value in the original linearized data and the color value of the minimum ink quantity value in the original linearized data respectively. Obtain the set of each ink quantity value and its corresponding color difference value in the original linearized data, and denote it as the third color difference set. A new linearization curve for the printer is obtained based on the second color difference set and the third color difference set.
2. The printer linearization curve update method according to claim 1, characterized in that, The step of obtaining the linearized data of the printer in its current state, denoted as the current linearized data, includes: The first ink volume value of the printer is obtained based on the original linearized data; The linearization data of the printer in the current state is obtained based on the first ink volume value and the linearization curve of the printer, which is the current linearization data.
3. The printer linearization curve update method according to claim 2, characterized in that, The original linearized data includes several different ink volume values and their corresponding color values. Obtaining the first ink volume value of the printer based on the original linearized data includes: Print a first color patch image according to the linearization curve of the printer, wherein the first color patch image includes several color patches with different ink amounts; Collect the color values of each color block in the first color block image, and record the set of ink volume values and color values corresponding to each color block as the color value set of the first color block image; The first ink volume value is obtained based on the original linearized data and the first color block image color value set.
4. The printer linearization curve update method according to claim 3, characterized in that, The step of obtaining the first ink volume value based on the original linearized data and the first color block image color value set includes: Obtain the color value corresponding to the maximum ink volume value in the original linearized data, and denot it as the original first color value; The ink volume value corresponding to the color value with the smallest color difference compared with the original first color value in the first color block image color value set is obtained, which is the first ink volume value.
5. The printer linearization curve update method according to claim 3, characterized in that, The step of obtaining the first ink volume value based on the original linearized data and the first color block image color value set includes: Obtain the color value corresponding to the maximum ink volume value in the original linearized data, and denot it as the original first color value; Obtain the color value corresponding to the minimum ink volume value in the original linearized data, and denot it as the original second color value; Obtain the color difference between the original first color value and the original second color value, and record it as the maximum color difference value; Obtain the color difference value between each color value in the first color block image color value set and the original second color value respectively, and denote the set of ink amount value and color difference value corresponding to each color value in the first color block image color value set as the first color difference set; The ink volume value corresponding to the maximum color difference value is obtained from the first color difference set, which is the first ink volume value.
6. The printer linearization curve update method according to claim 5, characterized in that, The step of obtaining the ink volume value corresponding to the maximum color difference value based on the first color difference set includes: The ink volume corresponding to the maximum color difference value is obtained by interpolating the first color difference set using an interpolation method; or: Fit the elements in the first color difference set to obtain the first fitting curve; Substitute the maximum color difference value into the first fitted curve to obtain the ink volume value corresponding to the maximum color difference value.
7. The printer linearization curve update method according to claim 2, characterized in that, The step of obtaining the linearization data of the printer in the current state based on the first ink volume value and the linearization curve of the printer, i.e., the current linearization data, includes: Print a second color patch image based on the first ink volume value and the linearization curve of the printer, wherein the second color patch image includes several color patches with different ink volumes; Collect the color values of each color block in the second color block image; Obtain the current linearized data, wherein the current linearized data includes the ink volume value and color value corresponding to each color block in the second color block image.
8. The printer linearization curve update method according to claim 1, characterized in that, The step of obtaining the new linearization curve of the printer based on the second color difference set and the third color difference set includes: The elements in the second color difference set are fitted to obtain a second fitting curve; Obtain the ink quantity value of all elements in the third color difference set, and denote it as the second ink quantity; The third ink volume corresponding to the color difference value in all elements of the third color difference set is obtained based on the second fitting curve. The second ink volume and the third ink volume are fitted to obtain a new linearization curve for the printer.
9. The printer linearization curve update method according to claim 1, characterized in that, The method further includes: The new linearization curve is adjusted until a new linearization curve that meets the preset conditions is obtained.
10. A printer linearization curve updating device, characterized in that, The device includes: The raw linearized data acquisition module is used to acquire the raw linearized data of the printer; The current linearization data acquisition module is used to acquire the linearization data of the printer in the current state, which is denoted as the current linearization data; The update module is used to obtain a new linearization curve for the printer based on the original linearized data and the current linearized data, including: obtaining the color difference value between the color value corresponding to each ink volume value in the current linearized data and the color value corresponding to the minimum ink volume value in the original linearized data; obtaining a set of each ink volume value and its corresponding color difference value in the current linearized data, denoted as the second color difference set; obtaining the color difference value between the color value corresponding to each ink volume value in the original linearized data and the color value corresponding to the minimum ink volume value in the original linearized data; obtaining a set of each ink volume value and its corresponding color difference value in the original linearized data, denoted as the third color difference set; and obtaining a new linearization curve for the printer based on the second color difference set and the third color difference set.
11. A printing device, characterized in that, include: At least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method as described in any one of claims 1-9.
12. A storage medium storing computer program instructions thereon, characterized in that, When the computer program instructions are executed by a processor, the method as described in any one of claims 1-9 is implemented.
Citation Information
Patent Citations
Continuous color chasing method, device and equipment of ink-jet printer, and storage medium
CN111752492A