CN114516233A - Printing optimization method and printer - Google Patents

Printing optimization method and printer Download PDF

Info

Publication number
CN114516233A
CN114516233A CN202210267881.8A CN202210267881A CN114516233A CN 114516233 A CN114516233 A CN 114516233A CN 202210267881 A CN202210267881 A CN 202210267881A CN 114516233 A CN114516233 A CN 114516233A
Authority
CN
China
Prior art keywords
thin line
line image
printing
image
optimized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210267881.8A
Other languages
Chinese (zh)
Other versions
CN114516233B (en
Inventor
陈锦涛
王紫菡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Deli Kebei Technology Co Ltd
Original Assignee
Ningbo Deli Kebei Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Deli Kebei Technology Co Ltd filed Critical Ningbo Deli Kebei Technology Co Ltd
Priority to CN202210267881.8A priority Critical patent/CN114516233B/en
Publication of CN114516233A publication Critical patent/CN114516233A/en
Application granted granted Critical
Publication of CN114516233B publication Critical patent/CN114516233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41MPRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
    • B41M5/00Duplicating or marking methods; Sheet materials for use therein
    • G06T5/90

Abstract

The invention relates to a printing optimization method, which comprises the steps of obtaining a printing image corresponding to a printing task, and screening out a thin line image to be optimized in the printing image based on a set screening condition; performing enhancement processing on the thin line image to be optimized so as to obtain an enhanced thin line image; when the print job is performed, the print job is performed based on the enhanced thin line image. The printing optimization method can optimize the printing effect of the over-shallow thin line, and further guarantee that the over-shallow thin line can be effectively printed. The invention also relates to a printer, which comprises a processor and a memory which is in communication connection with the processor, wherein the memory stores instructions which are executed by the processor to realize the printing optimization method. The printer has better image printing clarity and integrity, and the printing effect of the shallow thin line can be ensured.

Description

Printing optimization method and printer
Technical Field
The invention relates to a printing optimization method and a printer applying the printing optimization method.
Background
The ink jet mode of the ink jet printer in the current market is divided into two modes, one mode is a hot bubble type ink jet printer, and the other mode is a micro-piezoelectric type ink jet printer.
In the thermal bubble type inkjet printer, a heating component is usually arranged on an inkjet head, and when the thermal bubble type inkjet printer is used for printing, ink is heated instantaneously by the heating component on the inkjet head, so that the ink in the inkjet head is instantaneously vaporized to generate bubbles, and then the ink is ejected from a nozzle by utilizing the pressure generated by bubble expansion, and then ink droplets are ejected to paper to form images. When the ink is ejected, the bubble disappears and the ink pressure in the printing head returns to the initial state.
The printing nozzle in the micro-piezoelectric printer is characterized in that a key part of the printing nozzle is a piezoelectric element, ink is usually arranged in the nozzle, a piezoelectric crystal is respectively arranged on the upper side and the lower side of the nozzle, and when printing is carried out, the piezoelectric element is controlled to deform through current signals to extrude the ink in the nozzle, so that the ink is overstocked to generate ejection, the size and the ejection direction of ink drops can be more accurately controlled, and the accurate control of the ink is ensured. The micro-piezoelectric printing head is different from a thermal foaming printing head, and the whole ink spraying process is finished at normal temperature, so that heating is not required in the whole process. When the printer does not print, the ink is absorbed by the sponge in the box body, so that the ink cannot leak from the printing nozzle.
However, when the printer is used, the problem that the thin lines too shallow in the printed image cannot be printed due to components in the printer head, color mixing and the like is caused in many cases.
Disclosure of Invention
The first technical problem to be solved by the present invention is to provide a printing optimization method capable of optimizing the printing effect of an ultra-shallow thin line, thereby ensuring that the ultra-shallow thin line can be effectively printed.
A second technical problem to be solved by the present invention is to provide a printer, which has better clarity and completeness of image printing and can ensure the printing effect of an ultra-shallow thin line, in view of the above prior art.
The technical scheme adopted by the invention for solving the second technical problem is as follows: a method of print optimization, characterized by: acquiring a printing image corresponding to a printing task, and screening out a fine line image to be optimized in the printing image based on a set screening condition;
performing enhancement processing on the thin line image to be optimized so as to obtain an enhanced thin line image;
when the print job is performed, the print job is performed based on the enhanced thin line image.
Simply calculating, the enhancement processing method of the thin line image to be optimized is as follows: the RGB values of the thin line image to be optimized are R ═ a, G ═ B and B ═ c respectively; based on the set enhancement scale factor k, the RGB values of the thin line image to be optimized are respectively subjected to enhancement calculation to obtain the RGB values of the enhanced thin line image, namely R ' ═ k × a, G ' ═ k × B, and B ' ═ k × c.
Preferably, the screening conditions are: thin line images having pixel widths m or less and R, G, B values each greater than x. Wherein m and x can be specifically set based on the requirements on the image quality, for example, m can select data in the range of 2 to 5. x may select data in the range of 130 to 150.
In order to prevent the situation that the printing portrait is locally colorful and obtrusive due to the fact that the color of the enhanced thin line image is too dark, the values of R ', G' and B 'of the enhanced thin line image are respectively compared with x, and if the value of R', G 'and B' of the enhanced thin line image is smaller than x, the corresponding value is determined to be x.
In order to reduce the ink concentration of the enhanced thin line image part during ink jet, thereby ensuring the natural display of the printed portrait, further reducing the natural transition between the enhanced thin line image and the periphery, blurring and thickening the periphery of the enhanced thin line image, further acquiring the thickened optimized thin line image, and performing printing work based on the optimized thin line image during printing work.
Preferably, the blurring and thickening processing method for enhancing the thin line image is as follows: and at least the upper edge and the lower edge of the enhanced fine line image are wrapped with light-color pixel points, so that the thickened optimized fine line image is obtained.
The technical scheme adopted by the invention for solving the second technical problem is as follows: a printer comprising a processor and a memory communicatively coupled to the processor, the memory having instructions stored therein, wherein: the instructions are executed by a processor to implement a print optimization method as previously described.
Compared with the prior art, the invention has the advantages that: according to the printing optimization method, before printing, the thin line to be optimized with the over-light color in the printed image can be screened out, the thin line to be optimized with the over-light color is subjected to enhancement processing, and then the thin line to be optimized with the over-light color can be printed during printing, so that the printed image is clearer and more complete, and the problem that the thin line with the over-light color cannot be printed by an ink-jet printer is solved.
The printer using the printing optimization method has better image printing effect.
Drawings
Fig. 1 is a comparison diagram of a print image corresponding to a print job and a thin line image to be optimized obtained after screening calculation in the embodiment of the present invention.
Fig. 2 is a comparison diagram of a light-colored thin line without enhancement and blurring thickening processing and a light-colored thin line with enhancement and blurring thickening processing in the black-and-white printing mode in the embodiment of the present invention.
Fig. 3 is a comparison diagram of a light-colored thin line without enhancement and blurring thickening and a light-colored thin line with enhancement and blurring thickening in the color printing mode in the embodiment of the present invention.
FIG. 4 is a print image corresponding to a print job in an embodiment of the present invention.
Fig. 5 is a comparison graph of an image printed without using the print optimization method in the embodiment and an image printed with using the print optimization method in the embodiment in the black-and-white printing mode in the embodiment of the present invention.
Fig. 6 is a comparison graph of an image printed without using the print optimization method in the embodiment and an image printed using the print optimization method in the embodiment in the color printing mode in the embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the following examples of the drawings.
The printing optimization method in the embodiment can be applied to various types of printers, such as laser printers and inkjet printers, and is particularly suitable for inkjet printers. Based on the working principle of ink jet, when a thin line with a light color is printed, the ink concentration of the corresponding position is too low, and the problem that the thin line with the too low color cannot be printed is easy to occur.
As shown in fig. 1, the print optimization method in this embodiment is: the method comprises the steps of obtaining a printing image corresponding to a printing task, screening out a thin line image to be optimized in the printing image based on set screening conditions, carrying out enhancement processing on the thin line image to be optimized, further obtaining an enhanced thin line image, and carrying out printing work based on the enhanced thin line image when carrying out printing work.
After a print job is determined, a control unit in the printer reads a print image corresponding to the current print job, and a thin line image with a light color in the print image is used as a thin line image to be optimized to be subjected to enhancement processing. The screening conditions of the thin line images to be optimized can be specifically set based on different printing requirements, and in this embodiment, the screening conditions of the thin line images to be optimized are as follows: thin line images having pixel widths of m or less and R, G, B values of x or more. Wherein m and x can be specifically set based on the requirements of the printed picture, for example, m can select data in the range of 2 to 5. x may select data in the range of 130 to 150. In the embodiment, m is 3, and x is 140.
The screening calculation of the printed image can be calculated by using an image calculation method in the prior art. Specifically, R, G, B values are screened firstly for the printed image data, image data with R, G, B values larger than 140 are screened out, then matrix mapping is carried out on the image data meeting the requirement of R, G, B values, and on the basis of pixel width conditions, after matrix opening and closing operation and exclusive-or mapping, the thin line image data to be optimized, meeting the requirement that the pixel width is smaller than or equal to 3, is screened out. As shown in fig. 1, the left side is a print image corresponding to an original print job, and the right side is thin line image data to be optimized, which is obtained after the screening calculation of the print image.
And after screening out the image data of the thin line to be optimized, enhancing the image of the thin line to be optimized to obtain an enhanced thin line image. In this embodiment, the enhancement processing method of the thin line image to be optimized includes: the RGB values of the thin line image to be optimized are R ═ a, G ═ B and B ═ c respectively; based on the set enhancement scale factor k, the RGB values of the thin line image to be optimized are respectively subjected to enhancement calculation to obtain the RGB values of the enhanced thin line image, namely R ' ═ k × a, G ' ═ k × B, and B ' ═ k × c. The enhancement scale factor k may be obtained through experimental tests, and different enhancement scale factors may be selected for different picture properties and picture quality requirements. If for the black and white printing mode, the enhancement scale factor k may be set to 0.85. For the color printing mode, the scaling factor k may be increased to 0.83. However, if a value exceeding 140 may exist in the RGB value of the enhanced thin line image calculated by k, the enhanced effect of the thin line image to be optimized is too strong, that is, the color of the thin line image to be optimized printed is too dark, so that the color of the thin line portion that is too light in the printed image is too dark, which causes a situation of local color obtrusiveness, and affects the aesthetic property of the printed image display. Therefore, to prevent this, the R ', G ', B ' values of the enhanced thin line images are compared with x, respectively, and if a smaller than x occurs, the corresponding value is determined to be x. If the calculated enhanced value of R ' is greater than 140, the value of R ' is directly taken as x, and the RGB values corresponding to the enhanced thin line image are respectively taken as R ' ═ x, G ' ═ k × B and B ' ═ k × c. This strategy is employed when this occurs for R ', G ' and/or B '.
In addition, based on the thin line image to be optimized, compared with the contrast degree between the color corresponding to the thin line image portion to be optimized and the surrounding color in the original print image, the contrast between the color printed by the thin line image to be optimized and the surrounding color is more abrupt, and in order to enable the color printed by the thin line image to be enhanced to be naturally transited to the surrounding color, in this embodiment, the periphery of the thin line image to be enhanced is further subjected to blurring and thickening processing, so that the thickened and optimized thin line image is obtained, and when the print job is performed, the print job is performed based on the optimized thin line image.
Specifically, the blurring and thickening method for enhancing the thin line image in this embodiment includes: the upper edge and the lower edge of the enhanced thin line image are wrapped with light-color pixel points, and then the thickened optimized thin line image is obtained. The width and the specific RGB value of the light-color pixel point are determined based on the specific condition of the thin line image to be optimized. As in the case where m is 3 in this embodiment, the width of the light-colored pixel point may be set to 2. The RGB values of the light colored pixels can also be chosen to be fixed values. In this embodiment, for the monochrome printing mode, R, G, B of the RGB values of the light-color pixels are all set to 243. For the color printing mode, R, G, B of the RGB values of the light-colored pixels are all set to be 235. The light-color pixel points under the RGB value condition are very light in color, and can form better color transition around the enhanced thin line image, so that the printing picture finally presented by the optimized thin line image is more natural and not obtrusive. And because the light-color pixel point color of the RGB value condition is very light, when the method is applied to an ink-jet printer, the ink-jet printer can hardly print the image of the light-color pixel point part, but can disperse and enhance the ink distribution corresponding to the thin line image by a small amount, so that the ink concentration of the thin line image part is slightly reduced and the natural display of the printed portrait is further ensured.
Fig. 2 is a graph showing a comparison between a light-colored thin line without enhancement and blurring and a light-colored thin line with enhancement and blurring in the black-and-white printing mode, where the left side is the light-colored thin line without enhancement and blurring, and the right side is the light-colored thin line with enhancement and blurring. Fig. 3 is a diagram showing a comparison between a light-colored thin line without enhancement and blurring and a light-colored thin line with enhancement and blurring in the color printing mode, where the left side is the light-colored thin line without enhancement and blurring and the right side is the light-colored thin line with enhancement and blurring.
And finally obtaining the image matrix data corresponding to the optimized thin line image through inverse matrix calculation, and further obtaining the final optimized complete printing image data, and further carrying out printing work on the basis of the optimized complete printing image data by a control unit in the printer, namely carrying out printing work on the basis of the optimized thin line image.
FIG. 4 is a print image corresponding to a print job. Fig. 5 is a comparison graph of an image printed without using the print optimization method in the present embodiment and an image printed using the print optimization method in the present embodiment in the black-and-white printing mode. The left side is an image printed without using the print optimization method in the present embodiment, and the right side is an image printed with using the print optimization method in the present embodiment. Fig. 6 is a comparison graph of an image printed without using the print optimization method in the present embodiment and an image printed using the print optimization method in the present embodiment in the color printing mode. The left side is an image printed without using the print optimization method in the present embodiment, and the right side is an image printed with using the print optimization method in the present embodiment. By contrast, the optimized black-white and color images can better satisfy the requirements of the original image for printing the images.
According to the printing optimization method, the thin line to be optimized with the over-light color can be subjected to strengthening treatment, so that the thin line to be optimized with the over-light color can be printed during printing, the printed image is clearer and more complete, and the problem that the thin line with the over-light color cannot be printed by an ink-jet printer is solved.
The invention also relates to a printer comprising a processor and a memory communicatively connected to the processor, the memory having stored therein instructions executable by the processor to implement a print optimization method as described above. Therefore, the printer using the printing optimization method solves the problem that light-colored thin lines cannot be effectively printed out by printed images, so that the printed images are more complete and better in effect.

Claims (7)

1. A method of print optimization, characterized by: acquiring a printing image corresponding to a printing task, and screening out a fine line image to be optimized in the printing image based on a set screening condition;
performing enhancement processing on the thin line image to be optimized so as to obtain an enhanced thin line image;
when the print job is performed, the print job is performed based on the enhanced thin line image.
2. The print optimization method of claim 1, wherein: the enhancement processing method of the thin line image to be optimized comprises the following steps: the RGB values of the thin line image to be optimized are R ═ a, G ═ B and B ═ c respectively; based on the set enhancement scale factor k, the RGB values of the thin line image to be optimized are respectively subjected to enhancement calculation to obtain the RGB values of the enhanced thin line image, namely R ' ═ k × a, G ' ═ k × B, and B ' ═ k × c.
3. The print optimization method of claim 2, wherein: the screening conditions are as follows: thin line images having pixel widths m or less and R, G, B values each greater than x.
4. A print optimization method as in claim 3, wherein: the R ', G ', B ' values of the enhanced thin line image are compared with x, respectively, and if less than x occurs, the corresponding value is determined to be x.
5. The print optimization method according to any one of claims 1 to 4, wherein: blurring and thickening are carried out on the periphery of the enhanced thin line image, the thickened optimized thin line image is obtained, and during printing, printing is carried out based on the optimized thin line image.
6. The print optimization method of claim 5, wherein: the blurring and thickening processing method for the enhanced thin line image comprises the following steps: and at least the upper edge and the lower edge of the enhanced fine line image are wrapped with light-color pixel points, so that the thickened optimized fine line image is obtained.
7. A printer comprising a processor and a memory communicatively coupled to the processor, the memory having instructions stored therein, wherein: the instructions being executable by a processor to implement the print optimization method of any one of claims 1 to 6.
CN202210267881.8A 2022-03-17 2022-03-17 Printing optimization method and printer Active CN114516233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210267881.8A CN114516233B (en) 2022-03-17 2022-03-17 Printing optimization method and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210267881.8A CN114516233B (en) 2022-03-17 2022-03-17 Printing optimization method and printer

Publications (2)

Publication Number Publication Date
CN114516233A true CN114516233A (en) 2022-05-20
CN114516233B CN114516233B (en) 2023-09-01

Family

ID=81600313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210267881.8A Active CN114516233B (en) 2022-03-17 2022-03-17 Printing optimization method and printer

Country Status (1)

Country Link
CN (1) CN114516233B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4544264A (en) * 1984-05-17 1985-10-01 International Business Machines Corporation Fine line print enhancement
US5408338A (en) * 1992-02-19 1995-04-18 Ricoh Company, Ltd. Image processing unit processing pixel data according to scan line density
US20080278761A1 (en) * 2006-05-11 2008-11-13 Murata Kikai Kabushiki Kaisha Image processing method, image processing device, and computer program
US20090153923A1 (en) * 2007-12-17 2009-06-18 Xerox Corporation Methods and systems for rendering and printing reverse fine features
JP2012093545A (en) * 2010-10-27 2012-05-17 Sharp Corp Printer
US9338324B1 (en) * 2015-05-11 2016-05-10 Xerox Corporation Systems and methods for rule-based thin-line enhancement in halftone images

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4544264A (en) * 1984-05-17 1985-10-01 International Business Machines Corporation Fine line print enhancement
US5408338A (en) * 1992-02-19 1995-04-18 Ricoh Company, Ltd. Image processing unit processing pixel data according to scan line density
US20080278761A1 (en) * 2006-05-11 2008-11-13 Murata Kikai Kabushiki Kaisha Image processing method, image processing device, and computer program
US20090153923A1 (en) * 2007-12-17 2009-06-18 Xerox Corporation Methods and systems for rendering and printing reverse fine features
JP2012093545A (en) * 2010-10-27 2012-05-17 Sharp Corp Printer
US9338324B1 (en) * 2015-05-11 2016-05-10 Xerox Corporation Systems and methods for rule-based thin-line enhancement in halftone images

Also Published As

Publication number Publication date
CN114516233B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
US5847724A (en) Method for diffusing errors according to spot size in a printed liquid ink image
JP4890974B2 (en) Image processing apparatus and image processing method
US8498016B2 (en) Image processing apparatus and image processing method
WO2008004710A1 (en) Image processing device, image processing method, and image processing program
JP2006224419A (en) Printing device, printing program, printing method, image processor, image processing program, image processing method, and recording medium having program recorded therein
US9706081B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
US8675968B2 (en) Image processing apparatus
US8149465B2 (en) Coloring image generating apparatus and coloring image generating method for generating a coloring image from an image using an edge intensity frequency distribution of the image
JP2012056235A (en) Image processing device and image processing program
US20110298857A1 (en) Image Processing Apparatus And Program
JP2002292836A (en) Print density correction program, print density corrector and print density correcting method
US20090028426A1 (en) Coloring picture, coloring picture generating apparatus, and coloring picture generating method
US8743422B2 (en) Image processing apparatus, image processing method, image processing program and printing device
JP5058695B2 (en) Image processing apparatus, image processing method, and image processing program
CN114516233A (en) Printing optimization method and printer
EP1291192A1 (en) Color correction for bi-directional printing in inkjet printers
JP5003777B2 (en) Image processing program and image processing apparatus
US20060132538A1 (en) Method for compensating for induced artifacts on an image to be printed
EP1946932B1 (en) Thermal recording device, image forming method, and printed object
JP2013037309A (en) Image forming apparatus
JP2001008033A (en) Image processor and image processing method
JP2004240200A (en) Image forming apparatus
JP6038568B2 (en) Image forming apparatus
US11917115B1 (en) Shift compensation mechanism
US20060103857A1 (en) Method of reducing a consumption of imaging substance when forming an image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant