Color correction method of printing equipment, printing equipment and storage medium

By acquiring the step color block images printed by the printing device and determining the correction curve, the problem of low color correction accuracy of the printing device is solved, and higher color correction accuracy and accuracy of printing ink volume control are achieved.

CN119484726APending Publication Date: 2025-02-18SHENZHEN MAKER WORKS TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411531178.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Existing printing equipment may have printing color aberrations during use or after replacing the ink, resulting in low accuracy of color correction.

Method used

By obtaining the step color block image printed by the printing device, the color density of each color block is determined, and the correction curve of the printing ink quantity is determined based on the actual color curve and the preset reference color curve, thereby correcting the printing ink quantity control parameters of the printing device.

Benefits of technology

It improves the accuracy of printing ink quantity determination, enhances the accuracy of color correction of printing equipment, and reduces the time and cost of artificial adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484726A_ABST
    Figure CN119484726A_ABST
Patent Text Reader

Abstract

The invention discloses a color correction method of a printing device, the printing device and a storage medium, and relates to the technical field of ink-jet printing, the method comprises the following steps: obtaining a step color block image, the step color block image is obtained by shooting a step color block pattern, the step color block pattern is a pattern printed by the printing device, and the step color block image is obtained by shooting the step color block pattern; the stepped color block pattern comprises a plurality of color blocks corresponding to at least one color channel and with color concentration changing in a stepped manner; the color concentration of each color block in the stepped color block image is determined, the actual color curve of each color channel is determined according to the color concentration of the stepped color blocks corresponding to each color channel, the independent variable of the actual color curve is the printing ink amount, and the dependent variable of the actual color curve is the color concentration; and according to the actual color curve and a preset reference color curve, a correction curve of the printing ink amount is determined, and control parameters of the printing ink amount of the printing equipment are corrected according to the correction curve. According to the method and the device, the printing ink quantity is calibrated, and the correction cost of the printing ink quantity is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of inkjet printing, and in particular to a color correction method for a printing device, a printing device and a storage medium. Background Art

[0002] When the color density of a printing device changes during use or after changing ink, color difference may occur. In order to achieve a printing job with higher color accuracy, the printing color of the printing device needs to be calibrated. The current color calibration solution for printing devices is usually to perform color calibration by manual adjustment, which takes a lot of time for fine-tuning and printing comparison. In addition, the human eye cannot distinguish subtle color changes, and the accuracy of color calibration for printing devices is low. Summary of the invention

[0003] The main purpose of the present application is to provide a color correction method for a printing device, a printing device and a storage medium, aiming to solve the technical problem of low accuracy of color correction of the printing device.

[0004] To achieve the above object, the present application proposes a color correction method for a printing device, the method comprising:

[0005] Acquire a step color block image, wherein the step color block image is obtained by photographing a step color block pattern, wherein the step color block pattern is a pattern printed by the printing device, and wherein the step color block pattern includes a plurality of color blocks with stepwise changes in color concentration corresponding to at least one color channel;

[0006] Determine the color density of each color block in the step color block image, and determine the actual color curve of each color channel according to the color densities of the multiple step color blocks corresponding to each color channel, wherein the independent variable of the actual color curve is the amount of printing ink, and the dependent variable is the color density;

[0007] A correction curve for the amount of printing ink is determined according to the actual color curve and the preset reference color curve, so as to correct the control parameters of the amount of printing ink of the printing device according to the correction curve.

[0008] In one embodiment, the step of determining the color density of each color block in the stepped color block image and determining the actual color curve of each color channel according to the color densities of the plurality of stepped color blocks corresponding to each color channel comprises:

[0009] Calculating the dot area ratio of each color block, the dot area ratio being the ratio of the sum of dot areas to the total printing area, and the color density including the dot area ratio;

[0010] According to the dot area rates of the multiple color blocks corresponding to each color channel, a dot area rate curve corresponding to each color channel is obtained, and the dot area rate curve is used as the actual color curve.

[0011] In one embodiment, the step of obtaining a dot area ratio curve corresponding to each color channel according to the dot area ratios of the plurality of color blocks corresponding to each color channel comprises:

[0012] Determine an array corresponding to each color channel according to the printing ink amount corresponding to the multiple color blocks of each color channel and the dot area rate;

[0013] The array is fitted to obtain the dot area ratio curve corresponding to each color channel.

[0014] In one embodiment, the step of determining a correction curve for the amount of printed ink according to the actual color curve and the preset reference color curve comprises:

[0015] Determining an inverse function of the actual color curve and an inverse function of the reference color curve;

[0016] According to the difference between the inverse function of the actual color curve and the inverse function of the reference color curve, a correction curve of the printing ink amount is determined, wherein the independent variable of the correction curve is the color concentration and the dependent variable is the printing ink amount.

[0017] In one embodiment, before the step of determining the correction curve of the printing ink amount according to the actual color curve and the preset reference color curve, the step further includes:

[0018] Acquire a reference step color block image, wherein the reference step color block image is obtained by photographing a reference step color block pattern;

[0019] The color concentration of each color block in the reference step color block image is determined, and the reference color curve corresponding to each color channel is determined according to the color concentrations of multiple color blocks corresponding to each color channel.

[0020] In one embodiment, after the step of determining the correction curve of the printing ink amount according to the actual color curve and the preset reference color curve, the method further comprises:

[0021] updating a control parameter of a printing ink amount of the printing device according to the correction curve;

[0022] Based on the updated control parameter of the printing ink amount, controlling the printing device to reprint the stepped color block pattern;

[0023] Obtaining a corrected color block image corresponding to the reprinted step color block pattern;

[0024] Determine the color density of each color block in the corrected color block image, and determine the corrected color curve corresponding to each color channel according to the color density of multiple color blocks corresponding to each color channel;

[0025] determining a color difference between the modified color curve and the reference color curve for each color channel;

[0026] If the color difference is greater than a preset threshold, the corrected color curve is used as the actual color curve, and the process returns to the step of determining a corrected curve for the amount of printing ink based on the actual color curve and the preset reference color curve;

[0027] If the color difference is less than a preset threshold, the correction curve is saved.

[0028] In one embodiment, the step of acquiring the stepped color block image includes:

[0029] If the preset correction condition is met, controlling the printing device to print the stepped color block pattern;

[0030] Acquire the stepped color block image corresponding to the stepped color block pattern;

[0031] Among them, satisfying the preset correction condition includes at least one of the following: the cumulative printing time of the printing device is greater than the preset time threshold; it is detected that the printing device replaces the ink cartridge or the print head; and a correction instruction input by the user is received.

[0032] In one embodiment, the step of obtaining the stepped color block image corresponding to the stepped color block pattern includes:

[0033] If the plurality of color blocks corresponding to each color channel in the step color block pattern are arranged one by one along the row direction, each color block corresponding to each color channel in the step color block pattern is controlled to be photographed along the row direction to obtain the step color block image;

[0034] If the multiple color blocks corresponding to each color channel in the stepped color block pattern are arranged one by one along the column direction, each color block corresponding to each color channel in the stepped color block pattern is controlled to be photographed along the column direction to obtain the stepped color block image.

[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the color correction method of the printing device as described above.

[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a printing system, which includes a host computer and a printing device, and the host computer is communicatively connected to the printing device; the printing device is used to print a step color block pattern based on a color calibration instruction, and to collect an image of the step color block pattern; the host computer is used to: send a color calibration instruction to the printing device, receive the image of the step color block pattern, and based on the color correction method of the printing device as described in any of the above embodiments, obtain a correction curve for the printed ink amount.

[0037] Optionally, the printing device includes a print head and a camera, the print head is used to print a pattern, and the camera is used to capture an image of the pattern.

[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the color correction method of the printing device as described above are implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the color correction method of the printing device as described above are implemented.

[0040] One or more technical solutions proposed in this application have at least the following technical effects:

[0041] By photographing the stepped color block pattern printed by the printing device, a stepped color block image is obtained, and the actual color curve is determined by the stepped color block image, thereby determining the actual printing effect of the printing device, and determining the correction curve of the printing ink amount based on the actual printing effect, thereby improving the accuracy of determining the printing ink amount. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] Figure 1 A schematic diagram of the system composition of an embodiment of a printing system provided by the present application;

[0045] Figure 2A schematic diagram of the structure of an embodiment of a printing device provided by the present application;

[0046] Figure 3 A schematic diagram of the structure of the print head and camera of the printing device provided for this application;

[0047] Figure 4 A schematic diagram of a process flow provided for a first embodiment of a method for color correction of a printing device of the present application;

[0048] Figure 5 A schematic diagram of an ink volume step color block pattern provided in Example 1 of the color correction method for a printing device of the present application;

[0049] Figure 6 A schematic diagram of a process flow provided for a first embodiment of a method for color correction of a printing device of the present application;

[0050] Figure 7 A schematic diagram of a flow chart provided for the second embodiment of the color correction method for a printing device of the present application;

[0051] Figure 8 A schematic diagram of the dot area provided for the second embodiment of the color correction method for the printing device of the present application;

[0052] Fig. 9 A schematic diagram of the dot area provided for the second embodiment of the color correction method for the printing device of the present application;

[0053] Fig.10 A schematic diagram of an actual color curve and a reference color curve provided in Example 2 of the color correction method for a printing device of the present application;

[0054] Fig.11 A schematic diagram of a correction curve provided in Embodiment 2 of the color correction method for a printing device of the present application;

[0055] Fig.12 A schematic diagram of a flow chart provided for the second embodiment of the color correction method for a printing device of the present application;

[0056] Fig.13 A schematic diagram of a process flow provided for a third embodiment of a color correction method for a printing device of the present application;

[0057] Fig.14 A flowchart diagram of a fourth embodiment of a color correction method for a printing device of the present application;

[0058] Fig.15 A schematic diagram of a reference color block image provided in Example 4 of the color correction method for a printing device of the present application;

[0059] Fig.16 Schematic diagram of the device structure of the hardware operating environment involved in the color correction method of the electronic device in the embodiment of the present application.

[0060] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0061] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0062] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0063] The main solution of the embodiment of the present application is: to obtain a stepped color block image; to determine the color concentration of each color block in the stepped color block image, and to determine the actual color curve of each color channel based on the color concentrations of multiple stepped color blocks corresponding to each color channel, wherein the independent variable of the actual color curve is the amount of printed ink, and the dependent variable is the color concentration; to determine a correction curve for the amount of printed ink based on the actual color curve and a preset reference color curve, so as to correct the control parameters of the amount of printed ink of the printing device based on the correction curve.

[0064] In this embodiment, for the convenience of description, the following description is made with the printing device as the execution subject.

[0065] Since printing equipment may have printing color differences during use, industrial-grade printing equipment is generally calibrated using professional color calibration instruments, which are not only expensive, but also complicated to operate and have a certain learning cost. Therefore, the accuracy of color calibration of printing equipment is low.

[0066] The present application provides a solution by photographing the stepped color block pattern printed by a printing device to obtain a stepped color block image, and determining the actual color curve through the stepped color block image, thereby determining the actual printing effect of the printing device, and determining a correction curve for the amount of printed ink based on the actual printing effect, thereby improving the accuracy of determining the amount of printed ink.

[0067] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, such as a printing device, a host computer of a printing device, etc. The following takes the host computer of a printing device as an example to illustrate this embodiment and the following embodiments.

[0068] Optionally, see Figure 1The printing system 2000 provided in the embodiment of the present application includes a host computer 1100 and a printing device 1000. The host computer 1100 is used to control the printing device to print. The host computer 1100 can be a mobile phone, a tablet computer, a laptop computer, etc. The host computer 1100 is installed with software for setting printing tasks. For example, the printing task can include a task of printing a step color block image. The host computer 1100 can send the printing task to the printing device 1000, and the printing device 1000 can start printing after receiving the printing task.

[0069] It should be noted that the printing device 1000 proposed in the present application can be a thermal inkjet printer, a piezoelectric inkjet printer, or a white ink heat transfer printer ("Direct to Film DTF" printer), a white ink direct injection printer ("Direct to Garment" DTG printer), etc., as long as it is a device used for jetting ink for printing operations.

[0070] When printing color correction is required, the host computer 1100 can issue a color correction instruction to the printing device, and the printing device 1000 can print a step color block pattern based on the color correction instruction, and can collect an image of the step color block pattern and send it to the host computer 1100, and the host computer 1100 can obtain a correction curve based on the color correction method provided in the embodiment of the present application. In some embodiments, the printing device 1000 can also obtain a correction curve based on the image of the step color block pattern and the color correction method provided in the embodiment of the present application. Further, the printing parameters of the printing device 1000 can be corrected based on the correction curve.

[0071] See also Figures 1 to 3 In one embodiment of the present application, the printing device 1000 includes a printing table 200, a print head 100, an ink supply module 300 and a cutter module 15, wherein the print head 100 is movably disposed above the printing table 200 and is used to process materials disposed on the printing table 200; the ink supply module 300 is used to supply ink to the print head 100; the cutter module 15 is disposed on the print head 100, and the cutter module 15 is used to cut the material on the printing table 200.

[0072] The printing table 200 can form a bearing structure for the whole machine to operate and process, so that the print head 100 can stably print and process the material carried on the printing table 200, thereby ensuring the stable operation of the printing device 1000. The printing table 200 can be set in a regular shape, such as a cube, a truncated cone, etc., and of course, it can also be set in an irregular shape. The specific shape of the printing table 200 is not limited in this application.

[0073] The print head 100 may be integrated with ink nozzles, control components, etc., so that the ink supplied by the ink supply module 300 can be accurately sprayed onto the material. The principle of the print head 100 spraying ink to perform printing operations is a prior art, so the structure of the print head 100 is not limited. Among them, by making the print head 100 movably arranged above the printing table 200, the print head 100 can be driven to move by a track transmission device, or the print head 100 can be driven to move by a device such as a mechanical arm. The present application does not limit the movement mode of the print head 100, and it is sufficient to be able to realize the movement of the print head 100 on the printing table 200. In addition, the print head 100 can perform printing operations according to a certain movement path, so that the print head 100 can better spray ink on the material to form the desired image or text.

[0074] The ink supply module 300 can be connected to the print head 100 through a pipeline to transport ink, or the ink supply module 300 can be set in the print head 100 to directly transport ink to the print nozzle in the print head 100. Of course, the ink supply module 300 can also use other methods to supply ink to the print head 100, as long as it can ensure that the ink is stably transported to the print head 100 for inkjet printing, and this application does not limit this.

[0075] like Figure 2 As shown, in one embodiment, the printing device 1000 further includes a housing 700, a processing space is formed in the housing 700, and the print head 100 and the printing table 200 are arranged in the processing space. In some embodiments of the present application, the housing 700 is provided with a first opening 71a and a first cover plate 71b connected to the processing space, and the first cover plate 71b can open or cover the first opening 71a.

[0076] like Figure 2 As shown, in one embodiment, the printing device 1000 further includes a discharge bracket 900, which is disposed on the discharge side of the printing table 200. For example, the discharge bracket 900 can be disposed at the material outlet 75b of the housing 700. The discharge bracket 900 can include at least two support plates 91, and at least two support plates 91 can be extended or overlapped. The print head 100 further includes an image acquisition module 18. By arranging the image acquisition module 18 on the print head 100, the pattern printed by the print head 100 can be photographed, for example, the calibration pattern printed by the print head 100 can be captured, and then the calibration image can be obtained. The image acquisition module 18 can be a camera.

[0077] By integrating the cutter module 15 on the print head 100, the cutter module 15 can be installed inside the housing 11 of the print head 100, or the cutter module 15 can be installed outside the housing 11 of the print head 100. The present application does not limit the position of the cutter module on the print head 100, as long as the cutter module 15 and the print head 100 can be combined to form an integral structure. Furthermore, by using the mobile printing operation of the print head 100 on the printing table 200, the print head 100 can synchronously drive the cutter module 15 to move, and then the print head 100 can drive the cutter module 15 to cut the material placed on the printing table 200, so as to adjust the size of the material, which is conducive to directly cutting the material during the printing process, so that the printing device 1000 can directly output the processed material of the required size, and realize a more convenient and reliable processing procedure of the printing device 1000. Among them, in addition to using the print head 100 to drive the cutter module 15 to move synchronously, the cutter module 15 and the print head 100 can also adopt a connection structure composed of a slide rail and a slider, so that the cutter module 15 can move relative to the print head 100 to cut the material; of course, the cutter module 15 can also be connected to the print head 100 by lifting and lowering, so that the cutter module 15 can also cut the material by lifting and lowering and pressing. Therefore, there are many ways for the cutter module 15 to cut the material, and the present application does not limit this.

[0078] It should be noted that the printing device includes a driving device disposed outside the print head 100, and the print head 100 can be in transmission connection with the driving device. During use, the print head 100 can be driven by the driving device to move relative to the material to move to the corresponding position of the material, and the printing module 13 or the cutting module 15 can be used to print and cut the material respectively.

[0079] The printing module 13 can be completely disposed in the accommodating cavity of the shell 11, or a part of it can be disposed in the accommodating cavity and the other part can be disposed outside the accommodating cavity, which is not limited here. The cutter module 15 can be retractably disposed relative to the second port 1111b. When performing the printing step, the processing surface of the print head 100 and the material are disposed relative to each other in the vertical direction, that is, they are disposed relative to each other in the third direction. The printing module 13 can perform inkjet printing on the material below it, and at the same time, the cutter assembly 153 remains in a retracted state of retracting the second port 1111b to prevent the cutter 1533 from damaging the material being printed during the mobile printing process of the print head 100, thereby affecting the processing effect of the print head 100.

[0080] In an embodiment of the present application, the shell 11 also includes a mounting member 115, one end of the mounting member 115 is arranged on a side of the main shell 111 away from the connecting member 113, and the other end extends in a direction away from the main shell 111; the print head 100 also includes a camera module 18, which is installed on the mounting member 115.

[0081] It can be understood that by setting a camera module 18 on the print head 100 to photograph the printing path of the print head 100, it is possible to detect whether the printing path of the print head 100 is a straight line, and the printing position of the print head 100 can be further calibrated based on the detection result, which is beneficial to ensure the printing quality of the print head 100.

[0082] Based on this, the present application embodiment provides a color correction method for a printing device, referring to Figure 4 , Figure 4 This is a flow chart of a first embodiment of a color correction method for a printing device of the present application.

[0083] In this embodiment, the color correction method of the printing device includes steps S10 to S30:

[0084] Step S10, obtaining a stepped color block image, the stepped color block image is obtained by photographing a stepped color block pattern, the stepped color block pattern is a pattern printed by a printing device, and the stepped color block pattern includes a plurality of color blocks with stepped color concentrations corresponding to at least one color channel.

[0085] It should be noted that the step color block image is composed of a series of color blocks of different colors or grayscales, and the ink concentration or color depth of each color block gradually changes to form a step-like effect. Among them, the step color block image is obtained by photographing the step color block pattern with a camera, and the step color block image and the step color block pattern correspond one to one. Exemplarily, the step color block image is an electronic version, and the step color block pattern is a paper version.

[0086] Optionally, the stepped color block image includes a CMYK ink stepped color block image, a monochrome ink stepped color block image, an RGB ink stepped color block image, a multi-color ink stepped color block image, a spot color ink stepped color block image, and a grayscale stepped color block image, etc., wherein the color concentration of the stepped color block changes according to a preset ink volume ratio.

[0087] Among them, the CMYK ink ladder color block image includes at least one color channel, and the amount of printing ink corresponding to each color block in the color channel changes according to a preset ink amount ratio. The CMYK ink ladder color block image contains different combinations and concentrations of four printing inks: cyan, magenta, yellow and black. The CMYK ink ladder color block image is used for color calibration and characterization of printing equipment to ensure the color accuracy and consistency of the printed output. It should be noted that the characteristics of the CMYK ink ladder color block image include: color block arrangement, the image is composed of multiple color blocks, each color block represents a different concentration combination of one or more inks in CMYK. Increasing concentration, the color blocks are usually arranged in increasing order of ink concentration, for example, from 0% (no ink) to 100% (full concentration). Uniform gradient, the transition between color blocks should be uniform, so as to facilitate the measurement and analysis of the impact of changes in ink concentration on color. Color space coverage, through different CMYK combinations, these color blocks cover a large part of the color space that the device can print.

[0088] The monochrome ink ladder patch image contains only one color of ink, usually black (Key), and is used to test the printer's response to a single ink and the print quality. The RGB ink ladder patch image, for printers using the RGB color model, such as inkjet printers, contains different concentration combinations of red, green, and blue inks, and is used to calibrate and test the color output of the printer. Multicolor ink ladder patch images, in addition to CMYK and RGB color patches, some printers may use additional colors, such as light cyan, light magenta, orange, and green, collectively referred to as CcMmYK, to expand the color range of the printer. Multicolor ladder patch images are used to calibrate the output of these additional colors. Spot color ink ladder patch images, spot colors refer to those colors that cannot be obtained by mixing CMYK. Spot color ink ladder patch images are used to test and calibrate the printing effects of these specific colors. Grayscale ladder patch images contain different percentages of black ink, from 0% to 100%, and are used to test the printer's grayscale printing ability and the smoothness of gradients.

[0089] Optionally, before step S10, the method further includes: controlling a printing device to print a stepped color block pattern, and photographing the printed stepped color block pattern through a camera to obtain a photographed stepped color block image.

[0090] Alternatively, if Figure 5 As shown, the camera is installed on one side of the print head, or directly in front of it. The camera can be used to obtain images corresponding to the color blocks while the printing device prints different color blocks in the stepped color block pattern, thereby obtaining a stepped color block image.

[0091] Optionally, after the step color block pattern is printed, the camera is controlled to shoot the color blocks in the step color block image according to a preset shooting order to obtain a series of step color block images. Exemplarily, the preset shooting order may be row by row and one by one.

[0092] Optionally, if the multiple color blocks corresponding to each color channel in the step color block pattern are arranged one by one along the row direction, each color block corresponding to each color channel in the step color block pattern is controlled to be photographed along the row direction to obtain a step color block image; if the multiple color blocks corresponding to each color channel in the step color block pattern are arranged one by one along the column direction, each color block corresponding to each color channel in the step color block pattern is controlled to be photographed along the column direction to obtain a step color block image. For example, Figure 5 As shown, the step color block image is a CMYK ink step color block image, and the step color blocks of each color channel are arranged in sequence along the row direction, and multiple color channels are arranged in sequence along the column direction. Control the camera to shoot the color blocks of the C channel one by one along the row direction to obtain the color block image corresponding to the C channel, then control the camera to shoot the color blocks of the M channel one by one along the row direction to obtain the color block image corresponding to the M channel, then control the camera to shoot the color blocks of the Y channel one by one along the row direction to obtain the color block image corresponding to the Y channel, and finally, control the camera to shoot the color blocks of the K channel one by one along the row direction to obtain the color block image corresponding to the K channel. Among them, the color block image corresponding to each channel can be obtained by splicing the images of multiple color blocks, or it can include images of all color blocks corresponding to each channel.

[0093] Optionally, before step S10, the method further includes: controlling the printing device to perform initialization calibration to ensure that no abnormal conditions such as ghosting, stripes, distortion, etc. occur during printing.

[0094] Optionally, step S10 includes: when a preset correction condition is met, controlling the printing device to print a stepped color block pattern; obtaining a stepped color block image corresponding to the stepped color block pattern, thereby improving the degree of automation of color correction of the printing device. Wherein, meeting the preset correction condition includes at least one of the following: the cumulative printing time of the printing device is greater than the preset time threshold; detecting that the printing device replaces the ink cartridge or print head; receiving a correction instruction input by the user. Wherein, when the cumulative printing time is long, the printing device is prone to printing color difference, so color correction is required. When it is detected that the printing device replaces the ink cartridge or print head, the same control parameters may result in different ink output, resulting in different printing effects, so color correction is also required. In order to improve the flexibility of color correction, color correction can also be performed when a correction instruction input by the user is received.

[0095] Step S20, determining the color density of each color block in the stepped color block image, and determining the actual color curve of each color channel according to the color densities of the multiple stepped color blocks corresponding to each color channel, wherein the independent variable of the actual color curve is the printing ink volume, and the dependent variable is the color density.

[0096] It should be noted that color density refers to the depth of color in a color block, which is related to the amount of ink in the color block. Different amounts of printing ink in a printing device correspond to different color densities. Optionally, color density can be expressed by ink density, which refers to the ability of ink to absorb light, wherein the higher the ink density, the darker the color and the greater the color density.

[0097] Optionally, the color density is represented by the dot area ratio of the color block. The dot area ratio refers to the area ratio of the ink dots in the color block, which reflects the coverage of the ink on the paper and is directly related to the depth and density of the color. Among them, the higher the dot area ratio, the larger the area covered by the ink, and the darker the color looks. On the contrary, the lower the dot area ratio, the smaller the area covered by the ink, and the lighter the color appears.

[0098] It should be noted that each color block corresponds to a printing ink volume. After determining the color concentration corresponding to each color block, the actual color curve of each color channel is obtained, wherein the independent variable of the real-time color curve is the printing ink volume, and the dependent variable is the color concentration. Each color channel corresponds to an actual color curve. For example, the C channel corresponds to an actual color curve a1, the M channel corresponds to an actual color curve a2, the Y channel corresponds to an actual color curve a3, and the K channel corresponds to an actual color curve a4. Among them, the independent variable of the actual color curve is the printing ink volume, and the dependent variable is the color concentration.

[0099] In an optional embodiment, an array corresponding to each color channel is determined, the array including the amount of printing ink and color concentration corresponding to the color block; the array is polynomially fitted to obtain an actual color curve corresponding to each color channel.

[0100] Step S30, determining a correction curve of the printing ink amount according to the actual color curve and the preset reference color curve, so as to correct the control parameters of the printing ink amount of the printing device according to the correction curve.

[0101] Optionally, the preset reference color curve may be a standard color curve pre-stored by a printing device or terminal. The preset reference color curve may also be obtained by photographing a standard step color block pattern to obtain a standard step color block image, and processing the standard step color block image to obtain the reference color curve.

[0102] Optionally, the deviation value between the actual color curve and the reference color curve is determined, and a color correction curve is obtained by fitting according to the relationship between the printing ink amount and the deviation value, that is, the independent variable of the color correction curve is the printing ink amount, and the dependent variable is the deviation value of the color concentration. A correction curve for the printing ink amount is determined according to the color correction curve, and the control parameters of the printing ink amount of the printing device can be updated according to the correction curve, which is used to change the ink output of the printing device for printing the same color concentration, so that printing based on the updated control parameters of the printing ink amount can produce more accurate printed colors.

[0103] The control parameters of the printing device, such as the ink volume, printing speed, etc., can be adjusted according to the correction curve to ensure that the color of the printout matches the expected color. The correction curve includes color concentrations corresponding to different ink volumes. When it is determined that the required color concentration does not change, the corresponding ink volume is queried in the correction curve, and the control parameters of the printing ink volume of the printing device are adjusted according to the ink volume.

[0104] In an optional embodiment, after step S30, it also includes: reprinting the stepped color block pattern based on the updated control parameters of the printing ink volume; obtaining a corrected color block image corresponding to the reprinted stepped color block pattern; determining the color concentration of each color block in the corrected color block image, and determining the corrected color curve corresponding to each color channel according to the color concentration of each color block corresponding to each color channel; determining the color concentration difference between the corrected color curve and the reference color curve of each color channel; if the color concentration difference is greater than a preset threshold, using the corrected color curve as the actual color curve, and returning to execute the step of determining the corrected curve of the printing ink volume according to the actual color curve and the preset reference color curve; if the color concentration difference is less than the preset threshold, saving the corrected curve.

[0105] Alternatively, if Figure 6As shown, a simplified flow chart of the automatic color calibration method provided by an embodiment of the present application is shown. Specifically, it includes: the printing device performs initialization calibration to ensure that the printing does not have abnormalities such as ghosting, stripes, and distortion; prints a standard CMYK ink step color block pattern; controls the camera to capture the color block image line by line; the host computer performs machine vision processing, extracts the dot area rate of each color block, and calculates the reference color curve 1 of the current CMYK four channels as the color curve of the device standard, that is, the reference color curve; when the device is used for a period of time or the ink is replaced, color difference occurs; prints the ink step color block image and collects the current image; after machine vision processing, the actual color curve 2 of the current CMYK channel can be obtained; according to the reference color curve 1 and the actual color curve 2, the correction curve 3 of the actual color curve 2 can be obtained by inverse function calculation; prints the color block image through the correction curve 3, and collects the current color curve 4; compares the color difference between the color curve 4 and the reference color curve 1, if it is greater than the set value, the curve is calibrated twice, if it is less than the set value, the calibration is successful, and the correction curve 3 is saved.

[0106] Optionally, different printing media, such as paper, cloth, plastic, etc., have different color expressions. By printing a stepped color block pattern on different printing media and executing steps S10 to S30, the color settings can be automatically adjusted according to the media type to ensure the best color effect on various media.

[0107] In the technical solution of this embodiment, a step color block image is obtained; the color concentration of each color block in the step color block image is determined, and the actual color curve of each color channel is determined according to the color concentration of multiple step color blocks corresponding to each color channel, the independent variable of the actual color curve is the printing ink volume, and the dependent variable is the color concentration; according to the actual color curve and the preset reference color curve, a correction curve of the printing ink volume is determined, so as to correct the control parameters of the printing ink volume of the printing device according to the correction curve. The step color block image is obtained by photographing the step color block pattern printed by the printing device, and the actual color curve is determined by the step color block image, so as to determine the actual printing effect of the printing device, and the correction curve of the printing ink volume is determined according to the actual printing effect, thereby improving the accuracy of the determination of the printing ink volume.

[0108] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above embodiment can refer to the above introduction, and will not be repeated later. Figure 7 , step S20 further includes:

[0109] Step S21, calculating the dot area ratio of each color block, the dot area ratio is the ratio of the sum of dot areas to the total printing area, and the color density includes the dot area ratio;

[0110] Step S22, obtaining a dot area ratio curve corresponding to each color channel according to the dot area ratios of the plurality of color blocks corresponding to each color channel, and using the dot area ratio curve as an actual color curve.

[0111] It should be noted that the dot area ratio refers to the area ratio of the ink dots in the color block. Figure 8 The blue block diagram, or Fig. 9 Shown Figure 8 The binary color block image after the binarization process reflects the coverage of the ink on the paper, which is directly related to the depth and concentration of the color. Optionally, the dot area ratio of the color block is determined, for example, as shown in the following formula:

[0112]

[0113] in, Indicates the dot area ratio of the color block, S DOT It represents the sum of the dot areas in the color block, and S represents the total printing area of ​​the color block.

[0114] Optionally, each color channel corresponds to a dot area ratio curve. Exemplarily, the dot area ratio curves corresponding to the C channel, the M channel, the Y channel and the K channel are determined respectively, and the four dot area ratio curves are used as actual color curves.

[0115] The image processing technology is used to extract the characteristics of the current ink, and the ink area is counted based on the area ratio of the full image. The dot images and dot area ratios presented by color blocks with different ink ratios are different. The color of the printed color blocks also changes in depth with different ink concentrations, and the dot area of ​​the captured image, that is, the color concentration of the color blocks, is also different.

[0116] The reference color curve is fitted based on the collected dot area rate data of the standard color block, and the actual color curve is fitted based on the collected dot area rate data of the step color block. Each color channel corresponds to an actual color curve, and the four CMYK channels correspond to four actual color curves respectively. Then, through the inverse function calculation, the correction curve of the printing ink volume corresponding to the four CMYK channels currently measured can be obtained.

[0117] In an optional embodiment, the inverse function of the actual color curve and the inverse function of the reference color curve are determined; based on the difference between the inverse function of the actual color curve and the inverse function of the reference color curve, a correction curve for the amount of printed ink is determined, the independent variable of the correction curve is the dot area ratio, and the dependent variable is the amount of printed ink.

[0118] For example, if the dot area rate data of 2%, 4%, 6% ... 98%, 100% of a channel are collected, the reference color curve and the actual color curve are obtained by fitting, such as Fig.10As shown in the figure, the dot area ratio corresponding to 50% ink volume of the reference color curve and 45% ink volume of the actual color curve is equal. By performing inverse function calculation on each dot area ratio curve, the relationship curve between the original ink volume and the corrected ink volume, i.e., the correction curve, can be obtained, as shown in Fig.13 shown.

[0119] Alternatively, if Fig.12 The machine vision processing flow shown in the figure performs a series of image processing on the input step color block image, including Gaussian blur smoothing, maximizing image contrast, local adaptive threshold binarization segmentation, and morphological processing to fill in target features. Then, the total number of pixels in the target area is counted to calculate the dot area rate. Furthermore, the dot area rate curves a1, a2, a3, and a4 of the current step color block image, such as the CMYK channels, can be obtained.

[0120] The reference color curve and the actual color curve are used to obtain a correction curve of the actual color curve through inverse function calculation, and the control parameters of the printing ink volume are updated through the correction curve to print the color block image based on the updated control parameters of the printing ink volume.

[0121] In an optional embodiment, an array corresponding to each color channel is determined, the array including the amount of printing ink corresponding to the color block and the dot area ratio; the array is polynomially fitted to obtain a dot area ratio curve corresponding to each color channel.

[0122] Exemplarily, m images of the first color channel are captured. Exemplarily, the total number of images is determined by the change ratio of the segmented ink. For example, 50 images can be obtained with a segmentation step of 2%. The m images are processed and the dot area ratio is calculated to obtain an array array {V1 (W1, F1), V2 (W2, F2) ... Vm (Wm, Fm)}, where Vm represents the current ink volume value, and Wm represents the dot area ratio value Fm corresponding to the current ink volume value. The array array is fitted to obtain the corresponding curve. The fitting can be a polynomial fitting or other fitting methods.

[0123] In the technical solution of this embodiment, the dot area ratio of the color block is calculated, and the actual color curve of each color channel is determined according to the dot area ratio, thereby determining the printing effect of the color block, and then the printing ink amount is corrected according to the actual color curve, thereby improving the accuracy of controlling the printing ink amount and reducing the correction cost of the printing ink amount.

[0124] Based on the first or second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above embodiment can be referred to the above introduction, and will not be repeated in the following. Fig.13 , step S30 further includes:

[0125] Step S31, determining an inverse function of the actual color curve and an inverse function of the reference color curve;

[0126] Step S32, determining a correction curve of the printing ink amount according to the difference between the inverse function of the actual color curve and the inverse function of the reference color curve, wherein the independent variable of the correction curve is the color density and the dependent variable is the printing ink amount.

[0127] It should be noted that the inverse function of the actual color curve is determined, and the inverse function of the reference color curve is determined, wherein the independent variable of the inverse function is the color concentration and the dependent variable is the printing ink volume. According to the inverse function of the actual color curve and the inverse function of the reference color curve, the difference between the printing ink volumes of the two at the same color concentration can be determined, and then a correction curve of the printing ink volume can be obtained, so that the control parameters of the printing ink volume of the printing device can be corrected according to the correction curve. Among them, the correction curve may include the ink volume correction value corresponding to each color concentration.

[0128] After machine vision processing, the dot area rate curves corresponding to the current CMYK channels can be obtained, for example, the C channel corresponds to the dot area rate curve a1, the M channel corresponds to the dot area rate curve a2, the Y channel corresponds to the dot area rate curve a3, and the K channel corresponds to the dot area rate curve a4. In the reference color curve, the CMYK channels correspond to dot area rate curves, for example, the C channel corresponds to the dot area rate curve c1, the M channel corresponds to the dot area rate curve c2, the Y channel corresponds to the dot area rate curve c3, and the K channel corresponds to the dot area rate curve c4.

[0129] In the technical solution of this embodiment, by comparing the actual color curve with the reference color curve, the printing ink volume is corrected according to the comparison result, thereby improving the control accuracy of the printing ink volume of the printing device and reducing the correction cost of the printing ink volume.

[0130] Based on any one of the first to third embodiments of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the above embodiments can refer to the above introduction, and will not be repeated later. Fig.14 , before step S30, further comprising:

[0131] Step S40, obtaining a reference step color block image, where the reference step color block image is obtained by photographing a reference step color block pattern;

[0132] Step S50, determining the color density of each color block in the reference step color block image, and determining the reference color curve corresponding to each color channel according to the color densities of the multiple color blocks corresponding to each color channel.

[0133] It should be noted that the reference step color block image is a standard step color block image, such as a CMYK ink step color block image, wherein each color channel changes according to a set ink volume ratio to obtain a step color block.

[0134] The reference step color block image may be an image corresponding to a standard step color block printed by a printing device at the factory. Then, the color concentration of each color block in the reference step color block image is determined, and the reference color curve corresponding to each color channel is determined according to the color concentration of multiple color blocks corresponding to each color channel. The reference color curve may be calculated in advance and stored in a memory. The method for obtaining the reference color curve may refer to the method for obtaining the actual color curve in the above embodiment, which will not be described in detail here.

[0135] Optionally, the camera is controlled to capture the reference color block pattern line by line to obtain a reference step color block image, the color concentration of each color block, such as the dot area ratio, is extracted, and the dot area ratio curves of the current four CMYK channels are calculated as the standard color curve of the device, namely the reference color curve.

[0136] Optionally, if the multiple color blocks corresponding to each color channel in the step color block pattern are arranged one by one along the row direction, each color block corresponding to each color channel in the step color block pattern is controlled to be photographed along the row direction to obtain a step color block image; if the multiple color blocks corresponding to each color channel in the step color block pattern are arranged one by one along the column direction, each color block corresponding to each color channel in the step color block pattern is controlled to be photographed along the column direction to obtain a step color block image. In one embodiment, Fig.15 As shown, when the reference step color block image is a CMYK ink step color block image, the step color blocks of each color channel are arranged in sequence along the row direction, and multiple color channels are arranged in sequence along the column direction. Exemplarily, the camera is controlled to shoot the color blocks of the C channel one by one along the row direction to obtain the color block image corresponding to the C channel, then the camera is controlled to shoot the color blocks of the M channel one by one along the row direction to obtain the color block image corresponding to the M channel, then the camera is controlled to shoot the color blocks of the Y channel one by one along the row direction to obtain the color block image corresponding to the Y channel, and finally, the camera is controlled to shoot the color blocks of the K channel one by one along the row direction to obtain the color block image corresponding to the K channel. Among them, controlling the camera to shoot one by one along the row direction means controlling the camera to shoot the image of each color block when moving the camera along the row direction and corresponding to the position of each color block.

[0137] It should be noted that if Fig.15 As shown, the reference step color block image includes a step diagram of the ink volume of pure color blocks under different channels, and the color block of each channel increases from 0 to 100% with an ink ratio of 2%. In other embodiments, different ink volume change values ​​can be set, not limited to 2%.

[0138] In the technical solution of this embodiment, the printing effect of the color block is determined by comparing the actual color curve with the reference color curve, and then the printing ink amount of the printing device is corrected, thereby improving the control accuracy of the printing ink amount and reducing the correction cost of the printing ink amount.

[0139] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the color correction method of the printing device of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0140] The present application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the color correction method of the electronic device in the above-mentioned embodiment 1.

[0141] Reference below Fig.16 , which shows a schematic diagram of the structure of an electronic device suitable for implementing an embodiment of the present application. Fig.16 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0142] like Fig.16 As shown, the electronic device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0143] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0144] The electronic device provided by the present application adopts the color correction method of the electronic device in the above embodiment, which can solve the technical problem of high cost of color difference adjustment of the electronic device. Compared with the prior art, the beneficial effects of the electronic device provided by the present application are the same as the beneficial effects of the color correction method of the electronic device provided by the above embodiment, and other technical features in the electronic device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0145] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0146] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0147] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the color correction method of the printing device in the above-mentioned embodiment.

[0148] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0149] The computer-readable storage medium may be included in the printing device; or may exist independently without being installed in the printing device.

[0150] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the printing device, the printing device: obtains a step color block image by photographing the step color block pattern printed by the printing device, and determines the actual color curve through the step color block image, thereby determining the actual printing effect of the printing device, and determines the correction curve of the printing ink amount according to the actual printing effect, thereby improving the accuracy of determining the printing ink amount.

[0151] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0152] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0153] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0154] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the color correction method of the above-mentioned printing device, and can solve the technical problem of low accuracy of color correction of the printing device. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the color correction method of the printing device provided by the above-mentioned embodiment, and will not be repeated here.

[0155] The present application also provides a computer program product, including a computer program, which implements the steps of the color correction method for a printing device as described above when the computer program is executed by a processor.

[0156] The computer program product provided by the present application can solve the technical problem of low accuracy of color correction of printing equipment. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the color correction method of the printing equipment provided by the above embodiment, which will not be described in detail here.

[0157] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A color correction method for a printing device, characterized in that: The method comprises: Acquire a step color block image, wherein the step color block image is obtained by photographing a step color block pattern, wherein the step color block pattern is a pattern printed by the printing device, and wherein the step color block pattern includes a plurality of color blocks with stepwise changes in color concentration corresponding to at least one color channel; Determine the color density of each color block in the step color block image, and determine the actual color curve of each color channel according to the color densities of the multiple step color blocks corresponding to each color channel, wherein the independent variable of the actual color curve is the amount of printing ink, and the dependent variable is the color density; A correction curve for the amount of printing ink is determined according to the actual color curve and the preset reference color curve, so as to correct the control parameters of the amount of printing ink of the printing device according to the correction curve.

2. The method according to claim 1, characterized in that The step of determining the color density of each color block in the stepped color block image and determining the actual color curve of each color channel according to the color density of the plurality of stepped color blocks corresponding to each color channel comprises: Calculating the dot area ratio of each color block, the dot area ratio being the ratio of the sum of dot areas to the total printing area, and the color density including the dot area ratio; According to the dot area rates of the multiple color blocks corresponding to each color channel, a dot area rate curve corresponding to each color channel is obtained, and the dot area rate curve is used as the actual color curve.

3. The method according to claim 2, characterized in that The step of obtaining a dot area ratio curve corresponding to each color channel according to the dot area ratios of the plurality of color blocks corresponding to each color channel comprises: Determine an array corresponding to each color channel according to the printing ink amount corresponding to the multiple color blocks of each color channel and the dot area rate; The array is fitted to obtain the dot area ratio curve corresponding to each color channel.

4. The method according to claim 1, characterized in that The step of determining a correction curve for the amount of printing ink according to the actual color curve and the preset reference color curve comprises: Determining an inverse function of the actual color curve and an inverse function of the reference color curve; According to the difference between the inverse function of the actual color curve and the inverse function of the reference color curve, a correction curve of the printing ink amount is determined, wherein the independent variable of the correction curve is the color concentration and the dependent variable is the printing ink amount.

5. The method according to claim 1, characterized in that Before the step of determining the correction curve of the printing ink amount according to the actual color curve and the preset reference color curve, the method further includes: Acquire a reference step color block image, wherein the reference step color block image is obtained by photographing a reference step color block pattern; The color concentration of each color block in the reference step color block image is determined, and the reference color curve corresponding to each color channel is determined according to the color concentrations of multiple color blocks corresponding to each color channel.

6. The method according to claim 1, characterized in that After the step of determining the correction curve of the printing ink amount according to the actual color curve and the preset reference color curve, the method further includes: updating a control parameter of a printing ink amount of the printing device according to the correction curve; Based on the updated control parameter of the printing ink amount, controlling the printing device to reprint the stepped color block pattern; Obtaining a corrected color block image corresponding to the reprinted step color block pattern; Determine the color density of each color block in the corrected color block image, and determine the corrected color curve corresponding to each color channel according to the color density of multiple color blocks corresponding to each color channel; determining a color difference between the modified color curve and the reference color curve for each color channel; If the color difference is greater than a preset threshold, the corrected color curve is used as the actual color curve, and the process returns to the step of determining a corrected curve for the amount of printing ink based on the actual color curve and the preset reference color curve; If the color difference is less than a preset threshold, the correction curve is saved.

7. The method according to claim 1, characterized in that The step of obtaining a stepped color block image comprises: If the preset correction condition is met, controlling the printing device to print the stepped color block pattern; Acquire the stepped color block image corresponding to the stepped color block pattern; Among them, satisfying the preset correction condition includes at least one of the following: the cumulative printing time of the printing device is greater than the preset time threshold; it is detected that the printing device replaces the ink cartridge or the print head; and a correction instruction input by the user is received.

8. The method according to claim 7, characterized in that The step of obtaining the stepped color block image corresponding to the stepped color block pattern comprises: If the plurality of color blocks corresponding to each color channel in the step color block pattern are arranged one by one along the row direction, each color block corresponding to each color channel in the step color block pattern is controlled to be photographed along the row direction to obtain the step color block image; If the multiple color blocks corresponding to each color channel in the stepped color block pattern are arranged one by one along the column direction, each color block corresponding to each color channel in the stepped color block pattern is controlled to be photographed along the column direction to obtain the stepped color block image.

9. An electronic device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the color correction method of the printing device according to any one of claims 1 to 8.

10. A printing system, characterized in that: The printing system comprises a host computer and a printing device, wherein the host computer is communicatively connected with the printing device; The printing device is used to print a stepped color block pattern based on a color calibration instruction and to capture an image of the stepped color block pattern; The host computer is used to: send a color calibration instruction to the printing device, receive the image of the stepped color block pattern, and obtain a correction curve for the printing ink amount based on the color correction method of the printing device according to any one of claims 1 to 8.

11. The printing system according to claim 10, characterized in that: The printing device comprises a print head and a camera, wherein the print head is used for printing a pattern, and the camera is used for collecting an image of the pattern.

12. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the color correction method of the printing device according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Printing color control method and system and storage medium

    CN119814940A

  • Color calibration method, device and system

    CN120416409A

  • A color calibration method, apparatus and system

    CN120416409B