Ink-jet printing method, device and equipment capable of automatically selecting printing mode and medium

By performing color gradation analysis on the image to be printed, the appropriate printing mode is automatically selected, solving the problem of low efficiency in inkjet printing mode selection in existing technologies and achieving efficient and economical printing results.

CN121858048APending Publication Date: 2026-04-14SHENZHEN HOSONSOFT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing technologies, inkjet printing mode selection is inefficient, relies on human experience, and is a lengthy and inaccurate process.

Method used

By performing a color gradation analysis on the image to be printed, the printing difficulty of the image is determined, and an appropriate printing mode is automatically selected based on the printing difficulty, such as feathered printing mode, extended pass printing mode, 2-bit printing mode, etc.

Benefits of technology

It improves the efficiency of selecting printing modes, reduces costs, enhances print quality and effect, and reduces ink waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121858048A_ABST
    Figure CN121858048A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of ink-jet printing, provides an ink-jet printing method and device capable of automatically selecting a printing mode, equipment and a medium, and is used for solving the problem of low printing mode selection efficiency when different products are printed in the prior art. The method comprises the steps of performing printing difficulty color gradation analysis on a to-be-printed image, determining the printing difficulty of the to-be-printed image, determining a proper printing mode according to the printing difficulty of the to-be-printed image, and finally performing ink-jet printing according to the printing mode to output the to-be-printed image. According to the method, the proper printing mode can be automatically selected according to the printing difficulty without depending on the experience of the user, the selection efficiency of the printing mode is improved, and the printing effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of inkjet printing, and more particularly to an inkjet printing method, apparatus, equipment, and medium with automatic printing mode selection. Background Technology

[0002] With the widespread use of computers in graphics and word processing, printers have become increasingly common. Through printers, people can easily output text or graphics from their computers to media such as paper, glass, acrylic sheets, cardboard, wine bottles, and fabrics, for purposes such as advertisements, flyers, product labels, prints, and personalized images.

[0003] As printing technology develops, people's requirements for the quality of printed products are getting higher and higher. They not only require the printed products to be clear, but also to have bright and uniform colors, natural transitions between colors and between different images, and soft image edges without fuzz. In order to meet people's various quality requirements for printed products, developers have invented various printing modes, such as feathering printing mode (different printing requirements require different feathering amplitudes), expanded pass printing mode, reduced pass printing mode, 2-bit printing mode, etc. The existing method is mainly that experienced employees initially select the printing mode based on their experience, then print and observe the printed test image, and then adjust the printing according to the test image. The process is lengthy and inaccurate. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide an inkjet printing method, apparatus, device, and medium with automatic printing mode selection, in order to solve the problem of low efficiency in printing mode selection when printing different products in the prior art.

[0005] The technical solution adopted in this invention is:

[0006] In a first aspect, embodiments of the present invention provide an inkjet printing method with automatic printing mode selection, characterized in that the method includes:

[0007] Perform a color gradation analysis on the image to be printed to determine the printing difficulty of the image;

[0008] Select the printing mode based on the stated printing difficulty;

[0009] The image to be printed is output by inkjet printing according to the printing mode.

[0010] Preferably, the step of performing a color gradation analysis on the image to be printed to determine the printing difficulty includes:

[0011] Scan the image to be printed to obtain the color value of each pixel;

[0012] Obtain the printing difficulty threshold of the printing device;

[0013] The printing difficulty of the image to be printed is determined based on the color value and the printing difficulty threshold.

[0014] Preferably, the step of performing a color gradation analysis on the image to be printed to determine the printing difficulty of the image further includes:

[0015] Scan the image to be printed to obtain the color value of each pixel;

[0016] The image to be printed is processed using a 2-bit dot matrix algorithm based on its color values ​​to obtain the dot pattern of each color for each pixel.

[0017] The printing difficulty of the image to be printed is determined based on the dot shape of each pixel and each color.

[0018] Preferably, the image to be printed includes several printing areas, and determining the printing difficulty of the image to be printed based on the color value and the printing difficulty threshold includes:

[0019] When the color value of each pixel in the printing area is greater than the printing difficulty threshold, the printing area is recorded as a difficult printing area.

[0020] When the color value of each pixel in the printing area is less than or equal to the printing difficulty threshold, the printing area is recorded as an easy-to-print area;

[0021] The proportion of the difficult-to-print area in the image to be printed is recorded as the proportion of the difficult-to-print area.

[0022] Preferably, the dot type includes large-diameter ink dots, medium-diameter ink dots, and small-diameter ink dots, and the difficulty of obtaining the printing difficulty of the graphic to be printed based on the dot type of each color of each pixel includes:

[0023] When the number of large-diameter ink dots in the printing area is greater than the number of medium-diameter ink dots and small-diameter ink dots, the printing difficulty of the printing area is recorded as b1.

[0024] When the number of medium-diameter ink dots in the printing area is greater than the number of large-diameter ink dots and small-diameter ink dots, the printing difficulty of the printing area is recorded as b2.

[0025] When the number of medium-diameter ink dots in the printing area is greater than the number of large-diameter ink dots and small-diameter ink dots, the printing difficulty of the printing area is recorded as 0.

[0026] Based on the printing difficulty of each of the printing areas, the printing difficulty of the image to be printed is obtained, where b1 > b2.

[0027] Preferably, selecting the printing mode based on the printing difficulty includes:

[0028] Let i be the proportion of the difficult-to-print area, a1 be the first preset value, and a2 be the second preset value. When i < a1, the image to be printed is processed by 1-bit dot matrix and the normal printing mode is selected.

[0029] When a1≤i≤a2, the image to be printed is processed with 2-bit dots and printed in normal printing mode, or the image to be printed is processed with 1-bit dots and feathered printing mode is selected.

[0030] When a2 < i, the image to be printed is processed using 2-bit dots and positive feathering printing mode is selected.

[0031] Preferably, selecting the printing mode based on the printing difficulty further includes:

[0032] Let the printing difficulty be j, and the preset value of the third difficulty be a3;

[0033] When j≤a3, select normal printing mode;

[0034] When j > a3, select feathered printing mode.

[0035] Secondly, embodiments of the present invention provide an inkjet printing device with automatic printing mode selection, characterized in that the inkjet printing device comprises:

[0036] The printing difficulty color gradation analysis module is used to perform printing difficulty color gradation analysis on the image to be printed, and to determine the printing difficulty of the image to be printed.

[0037] A print mode selection module is used to select a print mode based on the printing difficulty.

[0038] The inkjet printing module is used to output the image to be printed by inkjet printing according to the printing mode.

[0039] Thirdly, embodiments of the present invention provide an inkjet printing device with automatic printing mode selection, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, wherein when the computer program instructions are executed by the processor, the method of the first aspect described above is implemented.

[0040] Fourthly, embodiments of the present invention provide a storage medium storing computer program instructions, which, when executed by a processor, implement the method of the first aspect described above.

[0041] In summary, the beneficial effects of the present invention are as follows:

[0042] This invention provides an inkjet printing method, apparatus, device, and medium with automatic print mode selection. By performing a color gradation analysis on the image to be printed, the printing difficulty of the image is determined. Based on the printing difficulty, a suitable print mode is determined, and finally, the image is printed using inkjet printing according to the print mode. This method can automatically select a suitable print mode based on the printing difficulty without relying on user experience, thus improving the efficiency of print mode selection. Since test printing is not required, costs are reduced and print quality is improved. Attached Figure Description

[0043] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, and these are all within the protection scope of the present invention.

[0044] Figure 1 This is a flowchart illustrating the inkjet printing method with automatic printing mode selection according to an embodiment of the present invention.

[0045] Figure 2 This is a flowchart illustrating the inkjet printing method with automatic printing mode selection according to an embodiment of the present invention.

[0046] Figure 3 This is a flowchart illustrating the inkjet printing method with automatic printing mode selection according to an embodiment of the present invention.

[0047] Figure 4 This is a schematic diagram of the structure of an inkjet printing device with automatic printing mode selection according to an embodiment of the present invention;

[0048] Figure 5 This is a schematic diagram of the structure of an inkjet printing device with automatic printing mode selection according to an embodiment of the present invention. Detailed Implementation

[0049] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the invention.

[0050] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0051] Please see Figure 1 This invention provides an inkjet printing method with automatic printing mode selection, the method comprising:

[0052] S1: Perform a color gradation analysis on the image to be printed to determine the printing difficulty of the image;

[0053] S2: Select the printing mode based on the printing difficulty;

[0054] S3: Print the image to be printed using inkjet printing according to the printing mode.

[0055] Specifically, during printing, the image to be printed is first acquired, and the printing difficulty level of the image is analyzed to obtain the printing difficulty of the image to be printed. Then, based on the obtained printing difficulty, a suitable printing mode is selected for the image to be printed. The printing mode includes, but is not limited to, feathering printing mode (different printing requirements require different feathering amplitudes), expanded pass printing mode, contracted pass printing mode, and 2-bit printing mode.

[0056] In one embodiment, see Figure 2 Step S1 includes:

[0057] S11: Scan the image to be printed to obtain the color value of each pixel;

[0058] S12: Obtain the printing difficulty threshold of the printing device;

[0059] S13: Determine the printing difficulty of the image to be printed based on the color value and the printing difficulty threshold;

[0060] Specifically, when performing a color gradation analysis on the printing difficulty of an image to be printed, the color value of each pixel is first scanned, such as the KCMY value or KCMY+Cl value. Then, the printing difficulty threshold of the printing device is obtained, and the printing difficulty of the image to be printed is determined by comparing the color value with the printing difficulty threshold.

[0061] In one embodiment, the image to be printed includes several printing areas, and step S13 includes:

[0062] S131: When the color value of each pixel in the printing area is greater than the printing difficulty threshold, the printing area is recorded as a difficult printing area;

[0063] S132: When the color value of each pixel in the printing area is less than or equal to the printing difficulty threshold, the printing area is recorded as an easy-to-print area;

[0064] S133: Calculate the proportion of the difficult-to-print area in the image to be printed, and record it as the proportion of the difficult-to-print area.

[0065] Specifically, the image to be printed is first divided into several printing areas. This improves the efficiency of the statistics. When the color value of each pixel in the printing area is greater than the printing difficulty threshold (e.g., any one of the C, M, and Y values ​​is greater than the threshold), the printing area is considered a difficult-to-print area. When the color value of each pixel in the printing area is less than or equal to the threshold, the printing area is considered an easy-to-print area. Difficult-to-print areas are marked in red, and easy-to-print areas are marked in green. The proportion of difficult-to-print areas in the image to be printed is recorded as the proportion of difficult-to-print areas.

[0066] In this embodiment, selecting the printing mode based on the printing difficulty includes:

[0067] S21. The proportion of the difficult-to-print area is denoted as i, the first preset value is denoted as a1, and the second preset value is denoted as a2. When i < a1, the image to be printed is processed by 1-bit dot matrix and the normal printing mode is selected.

[0068] When the proportion of the difficult-to-print area is less than the first preset value, 1-bit dot processing is selected for the image to be printed, and normal printing mode is used for printing. 1-bit dot processing simplifies the printing process, which can significantly improve printing speed and reduce ink consumption. When the proportion of the difficult-to-print area is small, the printing difficulty is relatively low, and using 1-bit dot processing can fully meet the image printing quality requirements and effectively improve efficiency.

[0069] S22. When a1≤i≤a2, process the image to be printed with 2-bit dots and print in normal mode, or select 1-bit dots to process the image to be printed and select feathered printing mode.

[0070] When the proportion of the hard-to-print area i is between a1 and a2, there are two options: process the image using 2-bit halftone dots and maintain the normal printing mode, or process the image using 1-bit halftone dots and select the feathered printing mode (suitable for handling details such as edge gradients).

[0071] This step offers two flexible options for images of moderate difficulty: ensuring print quality while allowing for feathering to optimize image details and reduce print defects when appropriate. 2-bit dot processing enables more precise handling of color transitions, while feathering helps smooth transitions in hard-to-print areas, reducing the risk of ink buildup.

[0072] S23. When a2 < i, process the image to be printed using 2-bit dots and select positive feathering printing mode.

[0073] Specifically, when the proportion of the difficult-to-print area (i) exceeds the preset a2, 2-bit halftone processing is selected for the image, and positive feathering printing mode is adopted. When the proportion of the difficult-to-print area is large, the image may contain complex colors and details, which ordinary printing mode cannot meet the requirements. 2-bit halftone processing combined with positive feathering printing mode can provide smoother color transitions, reduce excessive ink accumulation and color difference problems during printing, and ensure image quality and accuracy. Positive feathering printing mode further improves the softness of printing, especially in complex image details, and can prevent textures or spots caused by color overlap.

[0074] Through the steps described above, the system can select the appropriate printing mode based on regional differences in printing difficulty and dynamically adjust the processing method. This not only improves the print quality of the image but also optimizes printing efficiency, reduces ink waste, and selects the most suitable printing technology according to the specific needs of the image, ultimately enhancing the overall user experience and device performance.

[0075] In another embodiment, see Figure 3 Step S1 includes:

[0076] S011: Scan the image to be printed to obtain the color value of each pixel;

[0077] Specifically, the image to be printed is scanned to obtain the color value of each pixel, such as C (cyan), M (magenta), and Y (yellow). Obtaining these color values ​​is fundamental for further analysis of the image's printing difficulty. This provides data input for subsequent dot matrix algorithm processing, ensuring that the color information of each pixel is accurately fed back into the printing process, thus guaranteeing printing precision.

[0078] S012: Based on the color value, perform 2-bit dot matrix algorithm processing on the image to be printed to obtain the dot pattern of each color of the pixel;

[0079] Specifically, based on the color values, a 2-bit dot matrix algorithm is used to convert the color information of each pixel into ink dots of different sizes (large diameter, medium diameter, and small diameter ink dots), representing how the printer actually outputs the color. This 2-bit dot matrix algorithm reduces the complexity of the image information and provides a basis for assessing the difficulty of each printing area. By converting the image into specific ink dot sizes, the printing difficulty can be determined more accurately.

[0080] S013: Obtain the printing difficulty of the image to be printed based on the dot pattern of each color for each pixel.

[0081] Specifically, when performing a color gradation analysis of the printing difficulty of an image to be printed, the image to be printed is first scanned to obtain the color value of each pixel. Based on the color value, the image to be printed is processed by a 2-bit dot matrix algorithm to obtain the dot shape (large diameter ink dot, medium diameter ink dot, small diameter ink dot) of each color of a pixel in a printing area. The printing difficulty of each pixel is obtained by statistically analyzing the dot shape of each color of each pixel.

[0082] In one embodiment, step S013 includes:

[0083] S0131: When the number of large-diameter ink dots in the printing area is greater than the number of medium-diameter ink dots and small-diameter ink dots, the printing difficulty of the printing area is recorded as b1.

[0084] S0132: When the number of medium-diameter ink dots in the printing area is greater than the number of large-diameter ink dots and small-diameter ink dots, the printing difficulty of the printing area is recorded as b2.

[0085] S0133: When the number of medium-diameter ink dots in the printing area is greater than the number of large-diameter ink dots and small-diameter ink dots, the printing difficulty of the printing area is recorded as 0.

[0086] S0134: Based on the printing difficulty of each of the printing areas, obtain the printing difficulty of the image to be printed, where b1 > b2.

[0087] Specifically, when the number of large-diameter ink dots in the printing area is greater than the number of medium-diameter and small-diameter ink dots, the printing difficulty of the printing area is denoted as b1; when the number of medium-diameter ink dots in the printing area is greater than the number of large-diameter and small-diameter ink dots, the printing difficulty of the printing area is denoted as b2; when the number of medium-diameter ink dots in the printing area is greater than the number of large-diameter and small-diameter ink dots, the printing difficulty of the printing area is denoted as 0. Based on the printing difficulty of each printing area, the printing difficulty of the image to be printed is obtained, where b1 > b2. The entire image can be divided into multiple printing areas, and each area has a different printing difficulty (b1, b2, 0). The goal of step S0134 is to combine the difficulties of these individual areas to obtain the overall printing difficulty of the entire image. A commonly used calculation method is the weighted average method, which calculates the overall printing difficulty of the image based on the printing difficulty of each area and their proportion in the entire image. By calculating the printing difficulty of the entire image, the system can accurately assess the overall complexity of the image, rather than simply judging based on a single color or area. This avoids over-processing easily printable areas and ensures that necessary measures (such as feathering) are taken in challenging areas.

[0088] By analyzing the number of ink dots of different sizes, the difficulty level of each printing area can be accurately determined. Areas with large-diameter ink dots indicate high color coverage and require more precise control over ink volume during printing, thus making them more difficult (b1). Medium and small-diameter ink dots are relatively easier to handle. This method allows for precise division of difficulty on a region-by-region basis, avoiding the inaccuracies of global processing.

[0089] In this embodiment, step S2 includes:

[0090] S021. Let the printing difficulty be j, and the preset value of the third difficulty be a3;

[0091] S022. When j≤a3, select normal printing mode;

[0092] S023. When j > a3, select feathered printing mode.

[0093] Specifically, after obtaining the printing difficulty of each printing area of ​​the image to be printed, the printing difficulty of the image to be printed is calculated. When the calculated difficulty of the entire image is less than a third preset value, the normal printing mode is used. For images with low printing difficulty, using the normal printing mode can effectively improve printing speed, save ink, and reduce printing time and cost. The normal mode is sufficient for processing easy-to-print images, avoiding resource waste caused by over-processing. When the calculated difficulty of the entire image is greater than the third preset value, the feathered printing mode is used. When the proportion of difficult-to-print areas in the image is large, the feathered mode helps to smooth transition areas, reduce color conflicts and excessive ink, and improve print quality.

[0094] This method not only improves print quality but also reduces ink waste and equipment load, optimizing the overall efficiency and economy of the printing process. Simultaneously, the feathering printing mode prevents print defects and ensures high detail reproduction in challenging areas.

[0095] This invention provides an inkjet printing method with automatic print mode selection. By performing a color gradation analysis on the image to be printed, the printing difficulty of the image is determined. Based on the printing difficulty of the image, a suitable print mode is determined. Finally, the image is printed using inkjet printing based on the print mode. This method can automatically select a suitable print mode based on the printing difficulty without relying on the user's experience, thus improving the efficiency of print mode selection. Since test printing is not required, costs are reduced and the printing effect is improved.

[0096] Example 2

[0097] Please see Figure 4 This invention provides an inkjet printing device with automatic printing mode selection, the device comprising:

[0098] The printing difficulty color gradation analysis module is used to perform printing difficulty color gradation analysis on the image to be printed, and to determine the printing difficulty of the image to be printed.

[0099] A print mode selection module is used to select a print mode based on the printing difficulty.

[0100] The inkjet printing module is used to output the image to be printed by inkjet printing according to the printing mode.

[0101] In one embodiment, the printing difficulty color gradation analysis module includes:

[0102] The color value acquisition unit is used to scan the image to be printed and acquire the color value of each pixel.

[0103] The device printing difficulty threshold acquisition unit is used to acquire the printing difficulty threshold of the printing device.

[0104] A printing difficulty determination unit is used to determine the printing difficulty of the image to be printed based on the color value and the printing difficulty threshold.

[0105] Specifically, the printing difficulty color gradation analysis is completed through the following steps: first, the image to be printed is scanned to obtain the color value of each pixel, such as KCMY value or KCMY+Cl value; then, the printing difficulty threshold of the printing device is obtained; and the printing difficulty of the image to be printed is determined by comparing the color value with the printing difficulty threshold.

[0106] In another embodiment, the printing difficulty level analysis module includes:

[0107] The color value acquisition unit is used to scan the image to be printed and acquire the color value of each pixel.

[0108] The dot pattern confirmation unit is used to process the image to be printed using a 2-bit dot algorithm based on the color value to obtain the dot pattern of each color of the pixel.

[0109] The printing difficulty confirmation unit is used to obtain the printing difficulty of the image to be printed based on the dot pattern of each color of each pixel.

[0110] Specifically, when performing a color gradation analysis of the printing difficulty of an image to be printed, the image is first scanned to obtain the color value of each pixel. Based on the color value, a 2-bit halftone algorithm is applied to the image to be printed to obtain the dot pattern (large diameter dot, medium diameter dot, small diameter dot) of each color in a printing area. The printing difficulty of each pixel is obtained by statistically analyzing the dot pattern of each color in each pixel. When the number of large diameter dots in the printing area is greater than the number of medium diameter dots and small diameter dots, the printing difficulty of the printing area is recorded as b1. When the number of medium diameter dots in the printing area is greater than the number of large diameter dots and small diameter dots, the printing difficulty of the printing area is recorded as b2. When the number of medium diameter dots in the printing area is greater than the number of large diameter dots and small diameter dots, the printing difficulty of the printing area is recorded as 0. Based on the printing difficulty of each printing area, the printing difficulty of the image to be printed is obtained, where b1 > b2. After obtaining the printing difficulty of each printing area of ​​the image to be printed, the printing difficulty of the image to be printed can be calculated according to the formula: When the difficulty of obtaining the entire image is less than the third preset value, the normal printing mode is used; when the difficulty of obtaining the entire image is greater than the third preset value, the feathered printing mode is used.

[0111] This invention provides an inkjet printing device with automatic printing mode selection. By performing a color gradation analysis on the image to be printed, the printing difficulty of the image is determined. Based on the printing difficulty, a suitable printing mode is determined, and finally, the image is printed using inkjet printing according to the printing mode. This device can automatically select a suitable printing mode based on the printing difficulty without relying on the user's experience, thus improving the efficiency of printing mode selection. Since test printing is not required, costs are reduced and printing quality is improved.

[0112] In addition, combined Figure 1 The inkjet printing method for automatic print mode selection described in this embodiment of the invention can be implemented by an inkjet printing device that automatically selects print mode. Figure 5 A schematic diagram of the hardware structure of an inkjet printing device with automatic printing mode selection provided in an embodiment of the present invention is shown.

[0113] Inkjet printing devices that automatically select print modes may include a processor and a memory storing computer program instructions.

[0114] Specifically, the processor may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement embodiments of the present invention.

[0115] The memory may include a large-capacity storage device for data or instructions. For example, and not limitingly, the memory may include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disk drive, a magneto-optical disk drive, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory may include removable or non-removable (or fixed) media. Where appropriate, the memory may be internal or external to a data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.

[0116] The processor reads and executes computer program instructions stored in the memory to implement an inkjet printing method that automatically selects any of the printing modes in the above embodiments.

[0117] In one example, an inkjet printer with automatic print mode selection may also include a communication interface and a bus. For example, Figure 5 As shown, the processor, memory, and communication interface are connected via a bus and communicate with each other.

[0118] The communication interface is mainly used to enable communication between various modules, devices, units and / or equipment in the embodiments of the present invention.

[0119] A bus, including hardware, software, or both, couples together components of an inkjet printer that automatically selects the print mode. For example, and not limitingly, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, a bus may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.

[0120] Furthermore, in conjunction with the inkjet printing method for automatic print mode selection in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the inkjet printing methods for automatic print mode selection in the above embodiments.

[0121] In summary, the embodiments of the present invention provide an inkjet printing method, apparatus, device, and medium with automatic printing mode selection. By performing a color gradation analysis on the image to be printed, the printing difficulty of the image to be printed is determined. Based on the printing difficulty of the image to be printed, a suitable printing mode is determined. Finally, the image to be printed is printed using inkjet printing based on the printing mode. This method can automatically select a suitable printing mode based on the printing difficulty without relying on the user's experience, thus improving the efficiency of printing mode selection. Since test printing is not required, costs are reduced and printing results are improved.

[0122] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.

[0123] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0124] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0125] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.

Claims

1. An inkjet printing method with automatic print mode selection, characterized in that, The method includes: Perform a color gradation analysis on the image to be printed to determine the printing difficulty of the image; Select the printing mode based on the stated printing difficulty; The image to be printed is output by inkjet printing according to the printing mode.

2. The inkjet printing method with automatic printing mode selection according to claim 1, characterized in that, The step of performing a color gradation analysis on the image to be printed to determine its printing difficulty includes: Scan the image to be printed to obtain the color value of each pixel; Obtain the printing difficulty threshold of the printing device; The printing difficulty of the image to be printed is determined based on the color value and the printing difficulty threshold.

3. The inkjet printing method with automatic printing mode selection according to claim 1, characterized in that, The step of performing a color gradation analysis on the image to be printed to determine its printing difficulty also includes: Scan the image to be printed to obtain the color value of each pixel; The image to be printed is processed using a 2-bit dot matrix algorithm based on its color values ​​to obtain the dot pattern of each color for each pixel. The printing difficulty of the image to be printed is determined based on the dot shape of each pixel and each color.

4. The inkjet printing method with automatic printing mode selection according to claim 2, characterized in that, The image to be printed includes several printing areas, and determining the printing difficulty of the image to be printed based on the color value and the printing difficulty threshold includes: When the color value of each pixel in the printing area is greater than the printing difficulty threshold, the printing area is recorded as a difficult printing area. When the color value of each pixel in the printing area is less than or equal to the printing difficulty threshold, the printing area is recorded as an easy-to-print area; The proportion of the difficult-to-print area in the image to be printed is recorded as the proportion of the difficult-to-print area.

5. The inkjet printing method with automatic printing mode selection according to claim 3, characterized in that, The dot types include large-diameter ink dots, medium-diameter ink dots, and small-diameter ink dots. The printing difficulty of obtaining the printable graphic based on the dot type of each color of each pixel includes: When the number of large-diameter ink dots in the printing area is greater than the number of medium-diameter ink dots and small-diameter ink dots, the printing difficulty of the printing area is recorded as b1. When the number of medium-diameter ink dots in the printing area is greater than the number of large-diameter ink dots and small-diameter ink dots, the printing difficulty of the printing area is recorded as b2. When the number of medium-diameter ink dots in the printing area is greater than the number of large-diameter ink dots and small-diameter ink dots, the printing difficulty of the printing area is recorded as 0. Based on the printing difficulty of each of the printing areas, the printing difficulty of the image to be printed is obtained, where b1 > b2.

6. The inkjet printing method with automatic printing mode selection according to claim 4, characterized in that, The selection of printing mode based on the printing difficulty includes: Let i be the proportion of the difficult-to-print area, a1 be the first preset value, and a2 be the second preset value. When i < a1, the image to be printed is processed by 1-bit dot matrix and the normal printing mode is selected. When a1≤i≤a2, the image to be printed is processed with 2-bit dots and printed in normal printing mode, or the image to be printed is processed with 1-bit dots and feathered printing mode is selected. When a2 < i, the image to be printed is processed using 2-bit dots and positive feathering printing mode is selected.

7. The inkjet printing method with automatic printing mode selection according to claim 5, characterized in that, The method of selecting the printing mode based on the printing difficulty also includes: Let the printing difficulty be j, and the preset value of the third difficulty be a3; When j≤a3, select normal printing mode; When j > a3, select feathered printing mode.

8. An inkjet printing device with automatic printing mode selection, characterized in that, The device includes: The printing difficulty color gradation analysis module is used to perform printing difficulty color gradation analysis on the image to be printed, and to determine the printing difficulty of the image to be printed. A print mode selection module is used to select a print mode based on the printing difficulty. The inkjet printing module is used to output the image to be printed by inkjet printing according to the printing mode.

9. An inkjet printing device with automatic printing mode selection, characterized in that, include: At least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method as described in any one of claims 1-7.

10. A storage medium storing computer program instructions thereon, characterized in that, The method as described in any one of claims 1-7 is implemented when the computer program instructions are executed by the processor.