Inkjet control method and system based on AI imaging

Through the inkjet control method based on AI imaging, combining the number of nozzles and color types, and combining the size of the main objects to identify the image recognition model, the number of pixel interpolation is adjusted, which solves the problem that inkjet printers cannot adaptively adjust the printing resolution, and achieves efficient printing effect optimization.

CN119135813BActive Publication Date: 2025-04-18GUANGZHOU MEGA BUILDING MATERIALS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411273272.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2025-04-18
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

Existing inkjet printers cannot adaptively adjust the printing resolution according to actual conditions, resulting in poor printing results.

Method used

Using an inkjet control method based on AI imaging, the target image, the optimal resolution of the inkjet printer, the number of nozzles and color types are adjusted, and the number of pixel interpolation is adjusted in combination with the image recognition model to identify the size of the main object, and the resolution of the target image is finally adjusted to optimize the printing effect.

Benefits of technology

The printing resolution is adaptively adjusted according to actual conditions, the threshold for printing ideal pictures is reduced, the printing effect is optimized, and the problem that inkjet printers in the prior art cannot adaptively adjust the printing resolution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135813B_ABST
    Figure CN119135813B_ABST
Patent Text Reader

Abstract

The present invention relates to an inkjet control method and system based on Al imaging, which first corrects the first pixel interpolation number according to the number of nozzle color types, corrects the second pixel interpolation number according to the number of nozzles, then identifies the main object of the target image based on a preset image recognition model, and corrects the third pixel interpolation number according to the size of the main object in the target image, corrects the fourth pixel interpolation number according to the size of the main object in the target image, and finally adjusts the resolution of the target image based on the fifth pixel interpolation number and the sixth pixel interpolation number. Compared with the prior art, the present invention obtains a suitable pixel interpolation number from the physical conditions of the printer through the number of nozzle color types and the number of nozzles, and further combines the content of the target image itself to further obtain a more reasonable pixel interpolation number, thereby solving the problem in the prior art that the inkjet printer cannot adaptively adjust the printing resolution according to the actual situation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of inkjet printer control technology, and in particular to an inkjet control method and system based on AI imaging. Background Art

[0002] An inkjet printer is a device that uses a nozzle to spray ink to form an image or text on a medium. It prints images or text on paper by precisely controlling the nozzle to spray ink. It is favored by users for its high printing quality, bright colors and simple operation. Inkjet printers are divided into two technologies: thermal inkjet and piezoelectric inkjet. The former generates ink spray by heating, while the latter uses the piezoelectric effect to control the ink. This type of printer is suitable for home and office use, especially for printing photos and documents.

[0003] Resolution control is an important factor in determining the printing effect when printing images. However, in reality, not everyone has the ability to adjust the appropriate printing resolution, which can easily result in unsatisfactory printing results.

[0004] Therefore, people need a solution that can adaptively adjust the printing resolution according to actual conditions to further lower the threshold for using inkjet printers. Summary of the invention

[0005] The purpose of the present invention is to provide an inkjet control method and system based on AI imaging to solve the following technical problems:

[0006] Inkjet printers in the prior art cannot adaptively adjust the printing resolution according to actual conditions.

[0007] The purpose of the present invention can be achieved through the following technical solutions:

[0008] An inkjet control method based on AI imaging comprises the following steps:

[0009] Obtaining a target image, an optimal resolution of an inkjet printer, and the number of types of colors of the print heads along a moving direction of the carriage and the number of print heads along a moving direction of the paper in the print head of the inkjet printer;

[0010] According to the difference between the resolution of the target image and the optimal resolution, a first pixel interpolation number in the moving direction of the carriage and a second pixel interpolation number in the moving direction of the paper are obtained;

[0011] The first pixel interpolation quantity is corrected according to the number of nozzle color types to obtain a third pixel interpolation quantity, and the second pixel interpolation quantity is corrected according to the number of nozzles to obtain a fourth pixel interpolation quantity;

[0012] Identify the main object of the target image based on a preset image recognition model, and correct the third pixel interpolation number according to the size of the main object in the target image to obtain a fifth pixel interpolation number, and correct the fourth pixel interpolation number according to the size of the main object in the target image to obtain a sixth pixel interpolation number;

[0013] adjusting the resolution of the target image based on the fifth pixel interpolation quantity and the sixth pixel interpolation quantity to obtain a printed image;

[0014] The inkjet printer is controlled to print based on the print image.

[0015] As a further solution of the present invention: the third pixel interpolation quantity is proportional to the number of nozzle color types, and the fourth pixel interpolation quantity is inversely proportional to the number of nozzles.

[0016] As a further solution of the present invention: the first pixel interpolation quantity is corrected according to the number of nozzle color types to obtain a third pixel interpolation quantity, including:

[0017] The third pixel interpolation quantity is calculated by the following formula:

[0018] ;

[0019] Wherein, N3 is the third pixel interpolation number, N1 is the first pixel interpolation number, m is the preset lower limit threshold, a is the preset first unit adjustment coefficient, [ ] is the integer symbol, ln is the natural logarithm function, and C is the number of nozzle color types.

[0020] As a further solution of the present invention: correcting the second pixel interpolation number according to the number of nozzles to obtain a fourth pixel interpolation number includes:

[0021] ;

[0022] Wherein, N4 is the fourth pixel interpolation number, N2 is the second pixel interpolation number, b is the preset second unit adjustment coefficient, and P is the number of nozzles.

[0023] As a further solution of the present invention: based on a preset image recognition model, a main object of a target image is identified, and according to the size of the main object in the target image, the third pixel interpolation number is corrected to obtain a fifth pixel interpolation number, and according to the size of the main object in the target image, the fourth pixel interpolation number is corrected to obtain a sixth pixel interpolation number, including:

[0024] Identify multiple main objects in the target image based on a preset image recognition model, and obtain a recognition vector corresponding to each main object, wherein the recognition vector includes the length and width of a bounding box of the corresponding main object in the image;

[0025] Calculate the average length of the bounding boxes of all main objects and the average width of the bounding boxes of all main objects;

[0026] According to the ratio of the average length and the average width to the size of the target image, the third pixel interpolation quantity is corrected to obtain a fifth pixel interpolation quantity;

[0027] According to the ratio of the average value of the length and the average value of the width to the size of the target image, the fourth pixel interpolation quantity is corrected to obtain a sixth pixel interpolation quantity.

[0028] As a further solution of the present invention: the fifth pixel interpolation number is smaller than the third pixel interpolation number, and the fifth pixel interpolation number and the average length and the average width are inversely proportional to the ratio of the size of the target image; the sixth pixel interpolation number is smaller than the fourth pixel interpolation number, and the sixth pixel interpolation number and the average length and the average width are inversely proportional to the ratio of the size of the target image.

[0029] An inkjet control system based on AI imaging, comprising:

[0030] An initialization module is used to obtain a target image, an optimal resolution of an inkjet printer, and the number of types of colors of the print heads along the moving direction of the carriage and the number of print heads along the moving direction of the paper in the print head of the inkjet printer;

[0031] An interpolation preparation module, which obtains a first pixel interpolation quantity in the moving direction of the carriage and a second pixel interpolation quantity in the moving direction of the paper according to the difference between the resolution of the target image and the optimal resolution;

[0032] A physical correction module, used for correcting the first pixel interpolation quantity according to the number of nozzle color types to obtain a third pixel interpolation quantity, and correcting the second pixel interpolation quantity according to the number of nozzles to obtain a fourth pixel interpolation quantity;

[0033] a content correction module, configured to identify a main object of a target image based on a preset image recognition model, and to correct the third pixel interpolation quantity according to the size of the main object in the target image to obtain a fifth pixel interpolation quantity, and to correct the fourth pixel interpolation quantity according to the size of the main object in the target image to obtain a sixth pixel interpolation quantity;

[0034] An interpolation correction module, used for adjusting the resolution of the target image based on the fifth pixel interpolation quantity and the sixth pixel interpolation quantity to obtain a printed image;

[0035] The printing control module is used to control the inkjet printer to print based on the printing image.

[0036] Beneficial effects of the present invention:

[0037] The present invention provides an inkjet control method and system based on AI imaging, which first obtains a target image, an optimal resolution of an inkjet printer, and the number of nozzle color types in the print head of the inkjet printer along the moving direction of the carriage and the number of nozzles along the moving direction of the paper, then obtains a first pixel interpolation number in the moving direction of the carriage and a second pixel interpolation number in the moving direction of the paper according to the difference between the resolution of the target image and the optimal resolution, then corrects the first pixel interpolation number according to the number of nozzle color types to obtain a third pixel interpolation number, corrects the second pixel interpolation number according to the number of nozzles to obtain a fourth pixel interpolation number, then identifies the main object of the target image based on a preset image recognition model, corrects the third pixel interpolation number according to the size of the main object in the target image to obtain a fifth pixel interpolation number, corrects the fourth pixel interpolation number according to the size of the main object in the target image to obtain a sixth pixel interpolation number, adjusts the resolution of the target image based on the fifth pixel interpolation number and the sixth pixel interpolation number to obtain a printed image, and finally controls the inkjet printer to print based on the printed image. Compared with the prior art, the present invention adopts an interpolation method to adjust the resolution of the target image. Specifically, the appropriate pixel interpolation number is obtained from the physical conditions of the printer through the number of nozzle color types and the number of nozzles, and further combined with the analysis of the content of the target image itself to further obtain a more reasonable pixel interpolation number, so that printing personnel no longer need to study how to adjust the printing resolution. The printing effect is optimized from the software level, the threshold for printing ideal pictures is lowered, and the problem that the inkjet printer in the prior art cannot adaptively adjust the printing resolution according to actual conditions is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The present invention will be further described below in conjunction with the accompanying drawings.

[0039] Figure 1 is a method flow chart of the inkjet control method based on AI imaging of the present invention;

[0040] Figure 2 yes Figure 1 Specific step diagram of step S104 in an embodiment;

[0041] Figure 3 It is a system structure diagram of the inkjet control system based on AI imaging of the present invention. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] See also Figure 1 The present invention is an inkjet control method based on AI imaging, comprising the following steps:

[0044] S101, obtaining a target image, an optimal resolution of an inkjet printer, and the number of types of colors of the print heads along a moving direction of the carriage and the number of print heads along a moving direction of the paper in the print head of the inkjet printer;

[0045] S102, obtaining a first pixel interpolation number in the moving direction of the carriage and a second pixel interpolation number in the moving direction of the paper according to the difference between the resolution of the target image and the optimal resolution;

[0046] S103, correcting the first pixel interpolation number according to the number of nozzle color types to obtain a third pixel interpolation number, and correcting the second pixel interpolation number according to the number of nozzles to obtain a fourth pixel interpolation number;

[0047] S104, identifying the main object of the target image based on a preset image recognition model, and correcting the third pixel interpolation number according to the size of the main object in the target image to obtain a fifth pixel interpolation number, and correcting the fourth pixel interpolation number according to the size of the main object in the target image to obtain a sixth pixel interpolation number;

[0048] S105, adjusting the resolution of the target image based on the fifth pixel interpolation number and the sixth pixel interpolation number to obtain a printed image;

[0049] S106: Control the inkjet printer to print based on the print image.

[0050] Compared with the prior art, the present invention adopts an interpolation method to adjust the resolution of the target image. Specifically, the appropriate pixel interpolation number is obtained from the physical conditions of the printer through the number of nozzle color types and the number of nozzles, and further combined with the analysis of the content of the target image itself to further obtain a more reasonable pixel interpolation number, so that printing personnel no longer need to study how to adjust the printing resolution. The printing effect is optimized from the software level, the threshold for printing ideal pictures is lowered, and the problem that the inkjet printer in the prior art cannot adaptively adjust the printing resolution according to actual conditions is solved.

[0051] In the above process, the resolution of the target image is optimized by interpolation. The optimal resolution is the highest resolution of the inkjet printer. The first pixel interpolation number to the sixth pixel interpolation number are the interpolation numbers between two original pixels when the target image is interpolated. They are just expressed by different names in different steps for easy understanding. In this embodiment, the adjustment is made according to the two directions of the carriage movement direction and the paper movement direction in the print head of the inkjet printer. However, in practice, if the resolution is optimized based on the highest resolution, the image edges may be too sharp, the image may be distorted, etc., and the workload of the inkjet printer may be increased, and the hardware loss may be increased. Therefore, the present invention further reduces the number of pixels that need to be interpolated according to the physical structure of the printer and the content of the image itself to meet the actual situation.

[0052] Specifically, in a preferred embodiment, in the above step S103, the third pixel interpolation number is proportional to the number of nozzle color types, and the fourth pixel interpolation number is inversely proportional to the number of nozzles. The significance of the above limiting method is that the fewer the number of nozzle color types, the lower the fineness of the printed color, the more monotonous the image tone, and the printed image pays more attention to the changes in depth. At this time, there is no need to increase the resolution too much to ensure color diversity, and the third pixel interpolation can be appropriately reduced. As for the number of nozzles, the more nozzles there are, the more ink dot rows printed at one time. At this time, the resolution of the target image in this direction can be further reduced, that is, the fourth pixel interpolation number can be appropriately reduced to increase the printing speed of the printer.

[0053] Specifically, in a preferred embodiment, in the above step S103, the first pixel interpolation number is corrected according to the number of nozzle color types to obtain the third pixel interpolation number, which specifically includes:

[0054] The third pixel interpolation quantity is calculated by the following formula:

[0055] ;

[0056] Wherein, N3 is the third pixel interpolation number, N1 is the first pixel interpolation number, m is the preset lower limit threshold, a is the preset first unit adjustment coefficient, [ ] is the integer symbol, ln is the natural logarithm function, and C is the nozzle color interpolation number.

[0057] The above process controls the lower limit of the third pixel interpolation number by presetting the lower limit threshold so that it cannot be too low, otherwise the resolution optimization will lose its meaning. At the same time, the natural logarithm function is used to control the influence of the number of nozzle color types on the result. When the number of nozzle color types is too large, in order to ensure the image fineness, the influence on the third pixel interpolation number should be reduced to avoid the image being too blurred.

[0058] Further, in a preferred embodiment, in the above step S103, the second pixel interpolation number is corrected according to the number of nozzles to obtain the fourth pixel interpolation number, including:

[0059] ;

[0060] Wherein, N4 is the fourth pixel interpolation number, N2 is the second pixel interpolation number, b is the preset second unit adjustment coefficient, and P is the number of nozzles.

[0061] Further, combined with Figure 2 As shown, in a preferred embodiment, the above step S104, identifying the main object of the target image based on the preset image recognition model, and correcting the third pixel interpolation number according to the size of the main object in the target image to obtain the fifth pixel interpolation number, and correcting the fourth pixel interpolation number according to the size of the main object in the target image to obtain the sixth pixel interpolation number, specifically includes:

[0062] S201, identifying multiple main objects in the target image based on a preset image recognition model, and obtaining a recognition vector corresponding to each main object, wherein the recognition vector includes the length and width of a bounding box of the corresponding main object in the image;

[0063] S202, calculating the average length of the bounding boxes of all main objects and the average width of the bounding boxes of all main objects;

[0064] S203, correcting the third pixel interpolation number according to the ratio of the average length and the average width to the size of the target image to obtain a fifth pixel interpolation number;

[0065] S204 . According to a ratio of the average length and the average width to the size of the target image, correct the fourth pixel interpolation quantity to obtain a sixth pixel interpolation quantity.

[0066] In this embodiment, the main object is an object that is distinguished from the image background and is to be highlighted. In practice, the specific object type may not be limited. It is only necessary to identify the recognizable objects existing in the target image through the preset image recognition model. In the above process, the preset image recognition model can be implemented using the YOLO algorithm. The YOLO algorithm can quickly identify the approximate position of the object in the image, and the vector output by the YOLO algorithm usually includes information such as a bounding box. The bounding box (Bounding Boxes) is: Each detected object has a bounding box, which is usually composed of four coordinates: (x, y, width, height). These coordinates represent the position and size of the object in the image.

[0067] In this way, through the output vector of the YOLO algorithm, the approximate position and size of each main object in the target image can be obtained naturally and directly without processing. At this time, by calculating the average length and the average width, the size of the subject in the target image can be evaluated, so that the resolution can be adjusted in a targeted manner. Specifically, in this embodiment, the ratio of the average length and the average width to the size of the target image is used as an indicator to express the size relationship between the subject and the frame in the target image, so as to adjust the resolution more targetedly.

[0068] Further, in a preferred embodiment, the fifth pixel interpolation number is smaller than the third pixel interpolation number, and the fifth pixel interpolation number and the average length and the average width are inversely proportional to the ratio of the size of the target image; the sixth pixel interpolation number is smaller than the fourth pixel interpolation number, and the sixth pixel interpolation number and the average length and the average width are inversely proportional to the ratio of the size of the target image.

[0069] The significance of the above definition is that if the ratio of the average length and average width to the size of the target image is large, it means that the main object in the target image accounts for a large proportion of the frame, and even if the clarity is poor, it will not affect the perception. At this time, the number of pixel interpolation can be appropriately reduced to save ink. On the contrary, if the ratio of the average length and average width to the size of the target image is small, in order to ensure the fineness of the image, especially the clarity of the edge of the main object, the number of pixel interpolation can be slightly increased.

[0070] Combination Figure 3 As shown, the present invention also provides an inkjet control system based on AI imaging, comprising:

[0071] Initialization module 310, used to obtain the target image, the optimal resolution of the inkjet printer, and the number of types of colors of the print heads along the moving direction of the carriage and the number of print heads along the moving direction of the paper in the print head of the inkjet printer;

[0072] The interpolation preparation module 320 obtains a first pixel interpolation quantity in the moving direction of the carriage and a second pixel interpolation quantity in the moving direction of the paper according to the difference between the resolution of the target image and the optimal resolution;

[0073] The physical correction module 330 is used to correct the first pixel interpolation quantity according to the number of nozzle color types to obtain a third pixel interpolation quantity, and to correct the second pixel interpolation quantity according to the number of nozzles to obtain a fourth pixel interpolation quantity;

[0074] a content correction module 340, configured to identify a main object of a target image based on a preset image recognition model, and correct the third pixel interpolation quantity according to the size of the main object in the target image to obtain a fifth pixel interpolation quantity, and correct the fourth pixel interpolation quantity according to the size of the main object in the target image to obtain a sixth pixel interpolation quantity;

[0075] An interpolation correction module 350, configured to adjust the resolution of the target image based on the fifth pixel interpolation quantity and the sixth pixel interpolation quantity to obtain a printed image;

[0076] The printing control module 360 ​​is used to control the inkjet printer to print based on the printing image.

[0077] Working principle of the present invention:

[0078] The present invention provides an inkjet control method and system based on AI imaging, which first obtains a target image, an optimal resolution of an inkjet printer, and the number of nozzle color types in the print head of the inkjet printer along the moving direction of the carriage and the number of nozzles along the moving direction of the paper, then obtains a first pixel interpolation number in the moving direction of the carriage and a second pixel interpolation number in the moving direction of the paper according to the difference between the resolution of the target image and the optimal resolution, then corrects the first pixel interpolation number according to the number of nozzle color types to obtain a third pixel interpolation number, corrects the second pixel interpolation number according to the number of nozzles to obtain a fourth pixel interpolation number, then identifies the main object of the target image based on a preset image recognition model, corrects the third pixel interpolation number according to the size of the main object in the target image to obtain a fifth pixel interpolation number, corrects the fourth pixel interpolation number according to the size of the main object in the target image to obtain a sixth pixel interpolation number, adjusts the resolution of the target image based on the fifth pixel interpolation number and the sixth pixel interpolation number to obtain a printed image, and finally controls the inkjet printer to print based on the printed image. Compared with the prior art, the present invention adopts an interpolation method to adjust the resolution of the target image. Specifically, the appropriate pixel interpolation number is obtained from the physical conditions of the printer through the number of nozzle color types and the number of nozzles, and further combined with the analysis of the content of the target image itself to further obtain a more reasonable pixel interpolation number, so that printing personnel no longer need to study how to adjust the printing resolution. The printing effect is optimized from the software level, the threshold for printing ideal pictures is lowered, and the problem that the inkjet printer in the prior art cannot adaptively adjust the printing resolution according to actual conditions is solved.

[0079] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. An inkjet control method based on AI imaging, characterized in that: The following steps are involved: Obtaining a target image, an optimal resolution of an inkjet printer, and the number of types of colors of the print heads along a moving direction of the carriage and the number of print heads along a moving direction of the paper in the print head of the inkjet printer; According to the difference between the resolution of the target image and the optimal resolution, a first pixel interpolation number in the moving direction of the carriage and a second pixel interpolation number in the moving direction of the paper are obtained; The first pixel interpolation quantity is corrected according to the number of nozzle color types to obtain a third pixel interpolation quantity, and the second pixel interpolation quantity is corrected according to the number of nozzles to obtain a fourth pixel interpolation quantity; Identify the main object of the target image based on a preset image recognition model, and correct the third pixel interpolation number according to the size of the main object in the target image to obtain a fifth pixel interpolation number, and correct the fourth pixel interpolation number according to the size of the main object in the target image to obtain a sixth pixel interpolation number; adjusting the resolution of the target image based on the fifth pixel interpolation quantity and the sixth pixel interpolation quantity to obtain a printed image; Controlling the inkjet printer to print based on the print image; The first pixel interpolation quantity is corrected according to the number of nozzle color types to obtain the third pixel interpolation quantity, including: The third pixel interpolation quantity is calculated by the following formula: ; Wherein, N3 is the third pixel interpolation number, N1 is the first pixel interpolation number, m is the preset lower limit threshold, a is the preset first unit adjustment coefficient, [ ] is the integer symbol, ln is the natural logarithm function, and C is the number of nozzle color types; The fourth pixel interpolation number is obtained by correcting the second pixel interpolation number according to the number of nozzles, including: ; Wherein, N4 is the fourth pixel interpolation number, N2 is the second pixel interpolation number, b is the preset second unit adjustment coefficient, and P is the number of nozzles.

2. The inkjet control method based on AI imaging according to claim 1, characterized in that: The third pixel interpolation quantity is proportional to the number of nozzle color types, and the fourth pixel interpolation quantity is inversely proportional to the number of nozzles.

3. The inkjet control method based on AI imaging according to claim 1, characterized in that: The method includes: identifying a main object of the target image based on a preset image recognition model, correcting the third pixel interpolation number according to the size of the main object in the target image to obtain a fifth pixel interpolation number, and correcting the fourth pixel interpolation number according to the size of the main object in the target image to obtain a sixth pixel interpolation number, including: Identify multiple main objects in the target image based on a preset image recognition model, and obtain a recognition vector corresponding to each main object, wherein the recognition vector includes the length and width of a bounding box of the corresponding main object in the image; Calculate the average length of the bounding boxes of all main objects and the average width of the bounding boxes of all main objects; According to the ratio of the average length and the average width to the size of the target image, the third pixel interpolation quantity is corrected to obtain a fifth pixel interpolation quantity; According to the ratio of the average value of the length and the average value of the width to the size of the target image, the fourth pixel interpolation quantity is corrected to obtain a sixth pixel interpolation quantity.

4. The inkjet control method based on AI imaging according to claim 3, characterized in that: The fifth pixel interpolation number is smaller than the third pixel interpolation number, and the fifth pixel interpolation number and the average length and the average width are inversely proportional to the ratio of the size of the target image; the sixth pixel interpolation number is smaller than the fourth pixel interpolation number, and the sixth pixel interpolation number and the average length and the average width are inversely proportional to the ratio of the size of the target image.

5. An inkjet control system based on AI imaging, characterized in that: include: An initialization module is used to obtain a target image, an optimal resolution of an inkjet printer, and the number of types of colors of the print heads along the moving direction of the carriage and the number of print heads along the moving direction of the paper in the print head of the inkjet printer; An interpolation preparation module, which obtains a first pixel interpolation quantity in the moving direction of the carriage and a second pixel interpolation quantity in the moving direction of the paper according to the difference between the resolution of the target image and the optimal resolution; A physical correction module, used for correcting the first pixel interpolation quantity according to the number of nozzle color types to obtain a third pixel interpolation quantity, and correcting the second pixel interpolation quantity according to the number of nozzles to obtain a fourth pixel interpolation quantity; a content correction module, configured to identify a main object of a target image based on a preset image recognition model, and to correct the third pixel interpolation quantity according to the size of the main object in the target image to obtain a fifth pixel interpolation quantity, and to correct the fourth pixel interpolation quantity according to the size of the main object in the target image to obtain a sixth pixel interpolation quantity; An interpolation correction module, used for adjusting the resolution of the target image based on the fifth pixel interpolation quantity and the sixth pixel interpolation quantity to obtain a printed image; A printing control module, used for controlling the inkjet printer to print based on the print image; The first pixel interpolation quantity is corrected according to the number of nozzle color types to obtain the third pixel interpolation quantity, including: The third pixel interpolation quantity is calculated by the following formula: ; Wherein, N3 is the third pixel interpolation number, N1 is the first pixel interpolation number, m is the preset lower limit threshold, a is the preset first unit adjustment coefficient, [ ] is the integer symbol, ln is the natural logarithm function, and C is the number of nozzle color types; The fourth pixel interpolation number is obtained by correcting the second pixel interpolation number according to the number of nozzles, including: ; Wherein, N4 is the fourth pixel interpolation number, N2 is the second pixel interpolation number, b is the preset second unit adjustment coefficient, and P is the number of nozzles.

Citation Information

Patent Citations

  • Printing method and device

    CN117656680A

  • Digital printing water-based printing online control method

    CN118567590A