Multi-color printing method and system

By converting and decomposing the color information in multi-color inkjet printing technology, analyzing the detail density of each color layer and adjusting the ink ejection amount, the problems of insufficient color performance and ink waste in the existing technology are solved, and the problem of insufficient color performance and ink waste is realized. More efficient printing effect.

CN119283510APending Publication Date: 2025-01-10SHENZHEN ELEGOO TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411720940.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The existing multi-color inkjet printing technology has problems such as insufficient color performance, insufficient detail density and waste of ink.

Method used

By converting and decomposing the color information of the object to be printed, the detail density of each color layer is analyzed, and the ink ejection quantity configuration is adaptively adjusted according to the color ratio and detail density to improve the color performance and color performance during the printing process. Detail restoration ability to reduce ink waste.

Benefits of technology

It effectively improves the color performance and detail restoration capabilities of each layer, reduces ink waste, and improves printing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119283510A_ABST
    Figure CN119283510A_ABST
Patent Text Reader

Abstract

The invention discloses a multicolor printing method and system, and the method comprises the steps: enabling an object to be printed to be converted and decomposed into a plurality of color layers through color space conversion, determining the color ratio of each color layer, and enabling each color layer to correspond to a specific color channel; analyzing the color change degree of each unit area in each color layer to obtain the detail density of each color layer; generating ink ejection quantity configuration of each color layer according to the color ratio and the detail density; and according to the ink ejection amount configuration, printing and overlapping are conducted on each color layer, and a printed object is obtained. By utilizing the embodiment of the invention, the color space conversion and decomposition can be carried out on the color information of the to-be-printed object, the detail density of each color layer is analyzed, and then the ink ejection quantity configuration is adaptively adjusted, so that the color expression and detail reduction capability of each layer in the printing process are effectively improved, the ink waste is reduced, and the printing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of printing technology, and in particular to a multi-color printing method and system. Background Art

[0002] In the field of digital printing, multi-color inkjet printing technology has been widely used in advertising, packaging, art printing and other industries due to its high precision, high flexibility and low production cost. However, the existing multi-color inkjet printing method still has the following technical bottlenecks: insufficient color performance, insufficient detail density, ink waste, etc. Summary of the invention

[0003] The purpose of the present invention is to provide a multi-color printing method and system to address the deficiencies in the prior art. The method and system can convert and decompose the color information of the object to be printed into a color space, analyze the detail density of each color layer, and then adaptively adjust the ink ejection volume configuration to effectively improve the color performance and detail restoration capabilities of each layer during the printing process, reduce ink waste, and improve printing efficiency.

[0004] An embodiment of the present application provides a multi-color printing method, the method comprising: The object to be printed is converted and decomposed into a plurality of color layers through color space conversion, and the color ratio of each color layer is determined, wherein each color layer corresponds to a specific color channel; Analyze the degree of color variation per unit area in each color layer to obtain the detail density of each color layer; generating an ink ejection amount configuration for each color layer according to the color ratio and the detail density; According to the ink ejection amount configuration, each color layer is printed and superimposed respectively to obtain a printed object.

[0005] Optionally, determining the color ratio of each color layer includes: Obtain the pixel value of each color channel corresponding to each color layer and the preset number of decomposition layers; The color ratio of each color layer is calculated according to the pixel value of each color channel and the number of decomposition layers.

[0006] Optionally, obtaining the detail density of each color layer includes: Determine the color value of each pixel in each color layer, and the average value of the color value of the layer; The detail density of each color layer is determined according to the color values ​​of the respective pixels and the average value.

[0007] Optionally, the ink ejection volume configuration of each color layer is generated in the following manner:

[0008] Among them, the is the ink ejection amount of the kth color layer, is the injection coefficient of the kth color layer, is the color ratio of the kth color layer, is the detail density of the kth color layer, is the maximum detail density in all color layers, is the index adjustment factor.

[0009] Another embodiment of the present application provides a multi-color printing system, the system comprising: A decomposition module, used for converting and decomposing the object to be printed into a plurality of color layers through color space conversion, and determining a color ratio of each color layer, wherein each color layer corresponds to a specific color channel; An acquisition module, used for analyzing the degree of color change per unit area in each color layer to obtain the detail density of each color layer; A generating module, used for generating an ink ejection volume configuration for each color layer according to the color ratio and the detail density; The printing module is used to print and superimpose each color layer according to the ink ejection amount configuration to obtain a printed object.

[0010] Yet another embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, wherein the computer program is configured to execute any of the above methods when running.

[0011] Yet another embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any of the methods described above.

[0012] Compared with the prior art, the present invention provides a multi-color printing method, which converts and decomposes the object to be printed into multiple color layers through color space conversion, and determines the color ratio of each color layer, wherein each color layer corresponds to a specific color channel; analyzes the degree of color change per unit area in each color layer to obtain the detail density of each color layer; generates an ink ejection volume configuration for each color layer according to the color ratio and the detail density; and prints and superimposes each color layer according to the ink ejection volume configuration to obtain a printed object, thereby converting and decomposing the color information of the object to be printed through color space conversion, analyzing the detail density of each color layer, and then adaptively adjusting the ink ejection volume configuration, so as to effectively improve the color performance and detail restoration capability of each layer during the printing process, reduce ink waste, and improve printing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A hardware structure block diagram of a computer terminal for a multi-color printing method provided by an embodiment of the present invention; Figure 2 A schematic flow chart of a multi-color printing method provided by an embodiment of the present invention; Figure 3 A schematic structural diagram of a multi-color printing system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0014] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but should not be construed as limiting the present invention.

[0015] The embodiment of the present invention first provides a multi-color printing method, which can be applied to electronic devices such as computer terminals, specifically ordinary computers, etc.

[0016] The following describes it in detail by taking running on a computer terminal as an example. Figure 1 The hardware structure block diagram of a computer terminal for a multi-color printing method provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the computer device includes a processor, a memory, and a network interface connected via a system bus, wherein the memory may include a non-volatile storage medium and an internal memory.

[0017] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any multi-color printing method.

[0018] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.

[0019] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any multi-color printing method.

[0020] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will appreciate that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0021] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0022] See also Figure 2 , an embodiment of the present invention provides a multi-color printing method, which may include the following steps: S201, converting and decomposing the object to be printed into multiple color layers through color space, and determining the color ratio of each color layer, wherein each color layer corresponds to a specific color channel; In the method of the present invention, the first step is to convert and decompose the object to be printed into multiple color layers through color space conversion, and determine the color ratio of each color layer. The core of this process is to effectively decompose the color information of the image to facilitate subsequent printing operations. Each color layer corresponds to a specific color channel, such as red (R), green (G), blue (B), cyan (C), magenta (M) and yellow (Y), so as to achieve precise control of the image color. Through color space conversion, the image can be converted from one color mode (such as RGB) to another mode (such as CMYK) for subsequent printing processing. Specifically, the decomposition of each color layer can be performed based on a preset number of decomposition layers. For example, in CMYK mode, the object to be printed can be decomposed into four color layers: C (cyan), M (magenta), Y (yellow) and K (black). For RGB mode, the object may be decomposed into three color layers: R (red), G (green) and B (blue). In this process, by obtaining the pixel value of each color channel and combining the number of decomposition layers, the color ratio of each color layer can be effectively calculated, which helps to ensure that the amount of ink ejected during the printing process of each layer matches the corresponding color information.

[0023] In the specific implementation process, the object to be printed needs to be digitized first and converted into a format that can be recognized by the computer. This object can be any type of image, including but not limited to photos, graphic designs, and artwork. Next, the object is loaded into the system through image processing software and converted to color space. The process of color space conversion usually involves converting an image from one color model (such as the RGB model, which is usually used for screen display) to another color model (such as the CMYK model) for printing. This process can be achieved through mathematical transformations and interpolation algorithms to ensure color accuracy and consistency. After the conversion is completed, the image will be decomposed into multiple color layers, usually each color layer corresponds to a color channel. During the decomposition process, the system will analyze the image data pixel by pixel and extract the pixel values ​​for each color channel. For example, for an RGB image, the system will extract a layer consisting of all red pixels, a layer consisting of all green pixels, and a layer consisting of all blue pixels. For a CMYK image, this process will involve extracting pixel values ​​for the cyan, magenta, yellow, and black channels. Once the decomposition is completed, the system will collect the pixel values ​​of each color layer and calculate the color ratio of these pixel values. This ratio will play a key role in the subsequent ink ejection volume configuration to ensure that the ink ejection volume of each color layer can reflect the original color information of the object to be printed. This method of decomposition and color ratio calculation can greatly improve the coordination and accuracy of each color layer during the printing process. For example, in an image with complex colors, the background may contain a lot of blue and cyan, while the foreground may be bright red and yellow. When inkjet printing, by pre-determining the color ratio of each color layer, the printer can accurately control the amount of different color inks sprayed according to these ratios, thereby ensuring that the printed image achieves the best effect in color reproduction and detail performance. In summary, by implementing this color space conversion and decomposition step, not only does it provide the necessary color information foundation for the printing process, but it also lays a solid data support for the subsequent ink ejection volume configuration. This method makes multi-color printing more flexible and high-precision, and can meet the printing needs of different images.

[0024] Specifically, the color ratio of each color layer is determined, and the pixel value of each color channel corresponding to each color layer and the pre-set number of decomposition layers can be obtained; In this step, the pixel values ​​of the color channels corresponding to each color layer need to be extracted from the object to be printed. Taking CMYK mode as an example, the system will extract the color values ​​of each pixel in the cyan (C), magenta (M), yellow (Y) and black (K) channels respectively. At the same time, the pre-set number of decomposition layers is used to control the decomposition details of the image, affecting the accuracy of subsequent color ratio calculations. The setting of the number of decomposition layers can be adjusted according to the required print quality and image complexity to ensure that different levels of color can be adequately expressed in printing.

[0025] This step provides basic data for the subsequent color ratio calculation, ensuring the accuracy and comprehensiveness of the decomposition and calculation of each color layer. By extracting the pixel value of each color channel, the system can understand the distribution of different colors in the image in detail, thus laying a data foundation for optimizing the ink ejection volume configuration, thereby improving the richness and layering of the printing effect.

[0026] The color ratio of each color layer is calculated according to the pixel value of each color channel and the number of decomposition layers.

[0027] In this step, the color ratio of each color layer is calculated using a specific calculation formula using the acquired color channel pixel values ​​and the set number of decomposition layers. The significance of this step is to quantify the color information between different color layers and standardize it into a proportional form. Through the calculated color ratio, the system can accurately grasp the relative importance of each color layer in the overall image, providing a basis for the subsequent ink ejection volume configuration. This can not only optimize the print quality, but also effectively avoid the problem of color imbalance, ensuring that the ink ejection volume of each color layer during the printing process is consistent with the target image.

[0028] For example, a color ratio could be:

[0029] in, The color ratio of the kth color layer is the key indicator for the subsequent ink ejection volume configuration. By accurately calculating the color ratio, it can be ensured that the ink ejection volume of the color layer during the printing process matches the target image, thereby improving the color reproduction rate of the final printing effect. is the pixel value of the color channel corresponding to the kth color layer, reflecting the original color information of the color layer in the target image. Its size directly affects the calculation result of C_k, highlighting the intensity of the color in the image. is the pixel value of the color channel corresponding to the jth color layer, The number of decomposition layers is an important parameter that affects the accuracy of color ratio calculation. By adjusting the number of decomposition layers, the fineness of color extraction can be controlled to a certain extent, thus affecting the printing quality. More decomposition layers can often provide more delicate color performance, but may increase the complexity of calculation. is a preset ratio constant, such as 100, which is used to adjust the overall scale of the color ratio. This constant can be adjusted according to actual printing requirements to ensure that the final inkjet volume is appropriate and avoid ink waste or color distortion caused by improper color ratio.

[0030] This formula is used to calculate the color ratio of the kth color layer and normalize the pixel value of each color channel. By introducing the number of decomposition layers p, the degree of detail of the calculation can be adjusted to a certain extent, thereby affecting the color level and quality of the print. The structure of the formula ensures that each color layer can be accurately quantified when the color layer is more complex, avoiding unsatisfactory printing effects caused by unbalanced color layers.

[0031] S202, analyzing the degree of color change per unit area in each color layer to obtain detail density of each color layer; In this step, the system conducts a detailed analysis of each color layer to evaluate the degree of color variation per unit area in the layer. This usually involves considering each pixel in the color layer to determine how its color value changes over space. By calculating the color value of each pixel and the average value of the color layer, the system can identify color fluctuations in different areas, thereby forming the detail density of the layer. The core of this step is to reflect the complexity and detail of the layer by evaluating the magnitude of color changes.

[0032] The implementation of this step is crucial to improving print quality. By quantifying the detail density of each color layer, the system can identify which areas require more detail, and make corresponding adjustments in the subsequent ink ejection volume configuration. This can effectively improve the printing effect, ensure that the necessary details are retained in complex images, and reduce color distortion or blurring caused by improper ink ejection, and also provide a basis for the rational use of resources in the actual printing process.

[0033] Based on the color layers obtained after conversion from the color space, all pixel values ​​in each color layer are extracted. These pixel values ​​not only need to be stored, but also need to be structured for subsequent statistical analysis.

[0034] The pixel values ​​of each color layer are statistically calculated to obtain the average color value of the color layer. This is achieved by adding the color values ​​of all pixels and dividing by the total number of pixels.

[0035] Next, the system analyzes each pixel individually. The difference between each pixel value and the average is calculated. The larger the difference, the more obvious the color change. Specifically, the squared difference can be used to evaluate the degree of change. This process can be done by traversing each pixel and generating a list of difference values. Finally, the detail density is calculated using the difference values ​​obtained above. The detail density can be calculated using the root mean square (RMS) method, which means summing the squares of all difference values, dividing by the total number of pixels in the color layer, and finally taking the square root. Therefore, the value of detail density can effectively reflect the richness of the details of the color layer.

[0036] Specifically, the detail density of each color layer is obtained, and the color value of each pixel in each color layer and the average value of the color value of the layer can be determined; In this step, the system needs to scan and determine the color values ​​of all pixels in each color layer. This process involves extracting the specific color value (such as RGB or CMYK value) of each pixel from the stored color layer data and calculating the average of these color values. By performing this statistics on all pixels, the system can ensure that the overall color performance of the color layer has a clear understanding.

[0037] The significance of this step is to lay the foundation for the subsequent calculation of detail density. Obtaining the pixel value and average value of each color layer not only makes the subsequent analysis of the degree of change possible, but also provides data support for how to accurately restore image details during the printing process. This provides an important basis for optimizing the configuration of ink ejection volume.

[0038] The detail density of each color layer is determined according to the color values ​​of the respective pixels and the average value.

[0039] In this step, the system calculates the detail density of each color layer based on the pixel color values ​​and average color values ​​of each color layer obtained in the previous step. Specifically, the system compares the color value of each pixel with the average value of the layer, calculates the average of the sum of the squares of each difference, and finally takes the square root to obtain the detail density. This process provides a method to quantify the degree of color change.

[0040] The core of this step is to measure the complexity and diversity of the color layer, reflecting the richness of its detail expression. The quantification of detail density enables the subsequent ink ejection volume configuration to be optimized according to the degree of variation of different color layers, thereby ensuring high-quality print output and avoiding blurred details or color distortion.

[0041] For example, one detail density could be:

[0042] in, is the detail density of the kth color layer, which is an important indicator to measure the complexity of the details of this layer. Its size directly affects the configuration of the ink ejection amount of this color layer during the printing process. The higher the density, the more ink is needed to ensure that the details are clearly presented. is the color value of the i-th pixel in the k-th color layer, reflecting the original information of the pixel in the color layer. It is an important basis for calculating the deviation. Only by accurately obtaining the color value of each pixel can the overall detail density be effectively evaluated. The average value of all color values ​​in the kth color layer is the reference for evaluating the color performance of each pixel. By comparing with the average value, it is possible to clearly identify which areas have significant color changes. is the total number of pixels of the kth color layer.

[0043] This formula is used to calculate the detail density of the kth color layer, which is intended to quantify the degree of change in the color value in the color layer. Through the calculation of the root mean square, the system can comprehensively consider the degree of deviation between each pixel and the average color value, thereby accurately reflecting the richness of the details of the color layer. The design of the formula can effectively identify the complexity of color and provide an important basis for the subsequent adjustment of the inkjet volume.

[0044] S203, generating an ink ejection volume configuration for each color layer according to the color ratio and the detail density; In this step, the color ratio and detail density of each color layer calculated previously are used to determine the corresponding ink ejection volume configuration. By combining the color ratio with the detail density, the system can evaluate the ink requirements of each color layer during the printing process. For example, a color layer with a higher detail density usually requires more ink to ensure the clear presentation of image details, while the color ratio reflects the importance of different colors in the overall image. The final calculated ink ejection volume configuration will enable the printer to effectively adjust the ejection of each layer of ink to achieve the best color reproduction and image effect.

[0045] Specifically, the ink ejection volume configuration of each color layer may be generated in the following manner:

[0046] Among them, the The ink ejection volume of the kth color layer is the direct basis for the actual inkjet operation in the subsequent printing process. Its value directly affects the performance of the color layer in the printing effect, ensuring that the required color is presented with the correct concentration. is the ejection coefficient of the kth color layer, reflecting the ink ejection capacity and efficiency of the color layer. The introduction of the ejection coefficient allows for detailed adjustments based on the characteristics of different types of inks, nozzles, and printing equipment to ensure the accuracy and efficiency of ink ejection. is the color ratio of the kth color layer, indicating the relative importance of the color layer in the printed image. A higher color ratio will result in an increase in the amount of ink ejected from the corresponding layer to ensure that the intensity of the color is properly expressed during the printing process. is the detail density of the kth color layer, which is used to judge the complexity and detail of the layer. Color layers with high detail density usually require more ink to maintain detail and clarity, so it has a direct impact on the calculation of ink ejection volume. is the maximum detail density in all color layers, which is used as a normalization factor. By comparing the current detail density with the maximum detail density, the formula can dynamically adjust the ink ejection amount to ensure that the high-detail area gets more ink supply during the printing process, while the relatively low-detail area gets less ink, thereby optimizing the overall printing effect. The index adjustment factor is used as a regulator to control the influence of detail density on ink ejection volume. By adjusting this index, fine adjustment of the printing effect can be achieved, so that the print output can achieve a more reasonable balance between detail performance and ink usage according to specific needs.

[0047] This formula is used to generate the ink ejection volume of the kth color layer. By combining the color ratio, detail density and other adjustment factors, the system can flexibly adjust the ink ejection volume of each color layer. The purpose of designing this formula is to ensure that each color layer obtains the appropriate amount of ink under different printing conditions and image characteristics to achieve the best printing effect. By introducing the ratio of detail density and maximum detail density, the formula can enhance the ink supply to the detail-rich area and ensure the clarity of the high-detail area. The ejection coefficient and exponential adjustment factor can be adjusted and optimized according to different printing requirements.

[0048] For example, the ejection coefficient reflects the ejection efficiency of different color layers of ink, and is usually set according to the characteristics of the printer and the ink. Example values ​​may be as follows: Black Ink: (Black ink has higher jetting efficiency, standard configuration); Cyan Ink: (Due to the high viscosity of the ink, the jetting efficiency is slightly lower); Magenta Ink: (The jetting efficiency is better, but slightly lower than black); Yellow Ink: (medium injection efficiency); These values ​​can be adjusted according to the characteristics of the actual printing device and ink to ensure reasonable inkjet volume output.

[0049] The exponential adjustment factor affects the degree to which detail density affects the ink ejection volume configuration. Common example values ​​may include: For images with low detail requirements: gamma = 1.0 (default setting, more balanced effect); Images with medium detail requirements: gamma = 1.5 (increases detail expression and improves ink ejection in detail areas); Images with high detail requirements: gamma = 2.0 (emphasizes details and significantly increases ink supply in detail areas); Images for specific effects (such as art design): gamma = 0.5 (reduces the impact of detail density, making the ejection smoother and reducing detail competition); These parameter values ​​can be adjusted appropriately according to specific printing requirements, image characteristics and expected effects to ensure the best printing effect and resource utilization.

[0050] S204, printing and superimposing each color layer separately according to the ink ejection amount configuration to obtain a printed object.

[0051] In this step, the system prints each color layer according to the ink ejection volume configuration of each color layer calculated previously. Specifically, the printer will eject the specified amount of ink layer by layer through the nozzle according to the configuration of each color layer. The ink of different color layers will be ejected alternately and finally overlap on the paper to form a complete image. This process ensures that the details and color information of each color layer are accurately expressed, especially in areas with high detail density, the concentration and clarity of the color can be enhanced by increasing the amount of ink ejected, thereby improving the quality of the final image. The implementation of this step is a key link in the entire multi-color printing method, which directly affects the appearance and quality of the printed product. By accurately controlling the amount of ink ejected for each color layer, the balance between different colors can be ensured to avoid color distortion or blur. In addition, the layer-by-layer printing method allows the printer to have higher flexibility and accuracy in processing complex images, and can effectively present patterns with rich details, meeting customers' needs for high-quality printing. This not only improves the printing effect, but also provides reliable support for applications in art design, commercial printing and other fields.

[0052] Specifically, make sure the printer is in normal working condition, with sufficient ink and clean nozzles. Select appropriate print media (such as glossy paper, plain paper or special effect paper), and adjust print settings (such as resolution, speed, etc.) as required.

[0053] According to the previous calculation, the ink ejection volume configuration M_k of each color layer is obtained. After determining the ejection coefficient, color ratio, detail density and maximum detail density, the corresponding ink ejection volume can be generated for each color layer. This stage requires strict control of the ink ejection volume to ensure that the device can accurately eject according to the configuration.

[0054] Starting from the first color layer, for example, black ink k = 1. The printer will turn on the corresponding nozzle and spray the calculated amount of ink M_1 to form the first layer of pattern on the paper.

[0055] After the first layer is completed, the printer waits for the ink to dry or prints the next layer according to the speed set by the device, for example, cyan k = 2. Similarly, the nozzle ejects cyan ink according to the configured amount M_2 and prints on top of the first layer. This process is repeated until all color layers are printed and superimposed. The printing of each color layer is superimposed on the previous layer to form a complete image. At each step of this process, it is necessary to ensure that the ink is fully dried to avoid interference and confusion between different color layers.

[0056] After all layers are printed, the print results are visually checked to ensure that the color levels and details are in line with expectations. If uneven colors or blurred patterns are found, the ink jetting volume configuration of certain color layers can be appropriately adjusted, corrected and reprinted to ensure that the final output effect meets customer requirements.

[0057] It can be seen that the object to be printed is converted and decomposed into multiple color layers through color space conversion, and the color ratio of each color layer is determined, wherein each color layer corresponds to a specific color channel; the degree of color change per unit area in each color layer is analyzed to obtain the detail density of each color layer; according to the color ratio and the detail density, the ink ejection volume configuration of each color layer is generated; according to the ink ejection volume configuration, each color layer is printed and superimposed separately to obtain the printed object, so that the color information of the object to be printed can be converted and decomposed in color space, the detail density of each color layer can be analyzed, and then the ink ejection volume configuration can be adaptively adjusted to effectively improve the color performance and detail restoration ability of each layer during the printing process, reduce ink waste, and improve printing efficiency.

[0058] Another embodiment of the present invention provides a multi-color printing system. Figure 3 , the system may include: A decomposition module 301, for converting and decomposing the object to be printed into a plurality of color layers through color space conversion, and determining a color ratio of each color layer, wherein each color layer corresponds to a specific color channel; An acquisition module 302 is used to analyze the degree of color change per unit area in each color layer to obtain the detail density of each color layer; A generating module 303, for generating an ink ejection volume configuration for each color layer according to the color ratio and the detail density; The printing module 304 is used to print and overlay each color layer according to the ink ejection amount configuration to obtain a printed object.

[0059] It can be seen that the object to be printed is converted and decomposed into multiple color layers through color space conversion, and the color ratio of each color layer is determined, wherein each color layer corresponds to a specific color channel; the degree of color change per unit area in each color layer is analyzed to obtain the detail density of each color layer; according to the color ratio and the detail density, the ink ejection volume configuration of each color layer is generated; according to the ink ejection volume configuration, each color layer is printed and superimposed separately to obtain the printed object, so that the color information of the object to be printed can be converted and decomposed in color space, the detail density of each color layer can be analyzed, and then the ink ejection volume configuration can be adaptively adjusted to effectively improve the color performance and detail restoration ability of each layer during the printing process, reduce ink waste, and improve printing efficiency.

[0060] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0061] Specifically, in this embodiment, the above storage medium may be configured to store a computer program for performing the following steps: S201, converting and decomposing the object to be printed into multiple color layers through color space, and determining the color ratio of each color layer, wherein each color layer corresponds to a specific color channel; S202, analyzing the degree of color change per unit area in each color layer to obtain detail density of each color layer; S203, generating an ink ejection volume configuration for each color layer according to the color ratio and the detail density; S204, printing and superimposing each color layer separately according to the ink ejection amount configuration to obtain a printed object.

[0062] It can be seen that the object to be printed is converted and decomposed into multiple color layers through color space conversion, and the color ratio of each color layer is determined, wherein each color layer corresponds to a specific color channel; the degree of color change per unit area in each color layer is analyzed to obtain the detail density of each color layer; according to the color ratio and the detail density, the ink ejection volume configuration of each color layer is generated; according to the ink ejection volume configuration, each color layer is printed and superimposed separately to obtain the printed object, so that the color information of the object to be printed can be converted and decomposed in color space, the detail density of each color layer can be analyzed, and then the ink ejection volume configuration can be adaptively adjusted to effectively improve the color performance and detail restoration ability of each layer during the printing process, reduce ink waste, and improve printing efficiency.

[0063] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0064] Specifically, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0065] Specifically, in this embodiment, the processor may be configured to perform the following steps through a computer program: S201, converting and decomposing the object to be printed into multiple color layers through color space, and determining the color ratio of each color layer, wherein each color layer corresponds to a specific color channel; S202, analyzing the degree of color change per unit area in each color layer to obtain detail density of each color layer; S203, generating an ink ejection volume configuration for each color layer according to the color ratio and the detail density; S204, printing and superimposing each color layer separately according to the ink ejection amount configuration to obtain a printed object.

[0066] It can be seen that the object to be printed is converted and decomposed into multiple color layers through color space conversion, and the color ratio of each color layer is determined, wherein each color layer corresponds to a specific color channel; the degree of color change per unit area in each color layer is analyzed to obtain the detail density of each color layer; according to the color ratio and the detail density, the ink ejection volume configuration of each color layer is generated; according to the ink ejection volume configuration, each color layer is printed and superimposed separately to obtain the printed object, so that the color information of the object to be printed can be converted and decomposed in color space, the detail density of each color layer can be analyzed, and then the ink ejection volume configuration can be adaptively adjusted to effectively improve the color performance and detail restoration ability of each layer during the printing process, reduce ink waste, and improve printing efficiency.

[0067] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings. The above is only a preferred embodiment of the present invention, but the present invention is not limited to the scope of implementation shown in the drawings. Any changes made according to the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the description and drawings, should be within the protection scope of the present invention.

Claims

1. A multi-color printing method, characterized in that: The method comprises: The object to be printed is converted and decomposed into a plurality of color layers through color space conversion, and the color ratio of each color layer is determined, wherein each color layer corresponds to a specific color channel; Analyze the degree of color variation per unit area in each color layer to obtain the detail density of each color layer; generating an ink ejection amount configuration for each color layer according to the color ratio and the detail density; According to the ink ejection amount configuration, each color layer is printed and superimposed respectively to obtain a printed object.

2. The method according to claim 1, characterized in that Determining the color ratio of each color layer includes: Obtain the pixel value of each color channel corresponding to each color layer and the preset number of decomposition layers; The color ratio of each color layer is calculated according to the pixel value of each color channel and the number of decomposition layers.

3. The method according to claim 2, characterized in that The obtaining of detail density of each color layer comprises: Determine the color value of each pixel in each color layer, and the average value of the color value of the layer; The detail density of each color layer is determined according to the color values ​​of the respective pixels and the average value.

4. The method according to claim 3, characterized in that The ink ejection amount configuration of each color layer is generated in the following manner: Among them, the is the ink ejection amount of the kth color layer, is the injection coefficient of the kth color layer, is the color ratio of the kth color layer, is the detail density of the kth color layer, is the maximum detail density in all color layers, is the index adjustment factor.

5. A multi-color printing system, characterized in that: The system comprises: A decomposition module, used for converting and decomposing the object to be printed into a plurality of color layers through color space conversion, and determining a color ratio of each color layer, wherein each color layer corresponds to a specific color channel; An acquisition module, used for analyzing the degree of color variation per unit area in each color layer to obtain the detail density of each color layer; A generating module, for generating an ink ejection volume configuration for each color layer according to the color ratio and the detail density; The printing module is used to print and superimpose each color layer according to the ink ejection amount configuration to obtain a printed object.

6. The system according to claim 5, characterized in that The decomposition module is specifically used for: Obtain the pixel value of each color channel corresponding to each color layer and the preset number of decomposition layers; The color ratio of each color layer is calculated according to the pixel value of each color channel and the number of decomposition layers.

7. The system according to claim 6, characterized in that The obtaining module is specifically used for: Determine the color value of each pixel in each color layer, and the average value of the color value of the layer; The detail density of each color layer is determined according to the color values ​​of the respective pixels and the average value.

8. The system according to claim 7, characterized in that The ink ejection amount configuration of each color layer is generated in the following manner: Among them, the is the ink ejection amount of the kth color layer, is the injection coefficient of the kth color layer, is the color ratio of the kth color layer, is the detail density of the kth color layer, is the maximum detail density in all color layers, is the index adjustment factor.

9. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 4 when executed.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Digital image color separation processing method

    CN104392470A

  • Printing color correction method of digital printer

    CN111163242A

  • Printing ink amount compensation method, device and equipment based on color channel difference

    CN117495942A

  • High-speed accurate digital printing color blending method

    CN118166559A