CN114516233B - Printing optimization method and printer - Google Patents

Printing optimization method and printer Download PDF

Info

Publication number
CN114516233B
CN114516233B CN202210267881.8A CN202210267881A CN114516233B CN 114516233 B CN114516233 B CN 114516233B CN 202210267881 A CN202210267881 A CN 202210267881A CN 114516233 B CN114516233 B CN 114516233B
Authority
CN
China
Prior art keywords
thin line
line image
image
optimized
printing
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.)
Active
Application number
CN202210267881.8A
Other languages
Chinese (zh)
Other versions
CN114516233A (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

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Ink Jet (AREA)
  • Record Information Processing For Printing (AREA)
  • Facsimile Image Signal Circuits (AREA)

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, and further obtaining 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 ultra-shallow thin line, and further ensure that the ultra-shallow thin line can be effectively printed. The invention also relates to a printer comprising a processor and a memory in communication with the processor, the memory storing instructions which are executed by the processor to implement the aforementioned print optimization method. The printer has better image printing clarity and integrity, and the printing effect of the ultra-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 modes of the ink jet printers in the market at present are divided into two types, one type is a thermal bubble type ink jet printer, and the other type is a micro piezoelectric type ink jet printer.
In a thermal bubble type inkjet printer, a heating member is usually provided on an inkjet head, and when a printing operation is performed, ink is instantaneously heated by the heating member on the inkjet head, so that the ink in the inkjet head is instantaneously vaporized to generate bubbles, and then the pressure generated by expansion of the bubbles is used to eject the ink from a nozzle, so that ink droplets are ejected onto a sheet of paper to form an image. After the ink is ejected, the air bubbles disappear, and the ink pressure in the print head returns to the initial state.
The printing nozzle in the micro-piezoelectric printer has the key components of piezoelectric element, ink is filled in the nozzle, one piezoelectric crystal is respectively filled on the upper side and the lower side of the nozzle, and when the printing operation is carried out, the piezoelectric element is controlled to deform through a current signal, and the ink in the nozzle is extruded, so that the ink backlog is ejected, the size and the ejection direction of ink drops can be controlled more accurately, and the accurate control of the ink is ensured. Micro-piezoelectric printheads differ from thermal bubble printheads in that the entire ink ejection process is done at ambient temperature, requiring no heating throughout. When not printing, the ink is adsorbed by the sponge in the box body, so as to ensure that the ink cannot leak from the printing spray head.
However, when in use, the problem that the thin lines too shallow in the printed image cannot be printed often occurs due to components, color mixing and the like in the printer nozzle.
Disclosure of Invention
The first technical problem to be solved by the invention is to provide a printing optimization method capable of optimizing the printing effect of the ultra-shallow thin line and further ensuring that the ultra-shallow thin line can be printed effectively.
The second technical problem to be solved by the present invention is to provide a printer with better clarity and integrity of image printing, and capable of ensuring the printing effect of the too shallow thin line.
The invention solves the second technical problem by adopting the technical proposal that: a print optimization method, characterized by: acquiring 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, and further obtaining an enhanced thin line image;
when the print job is performed, the print job is performed based on the enhanced thin line image.
The method for enhancing the thin line image to be optimized comprises the following steps of: RGB values of the thin line image to be optimized are r=a, g=b, b=c, respectively; and respectively carrying out enhancement calculation on RGB values of the thin line image to be optimized based on the set enhancement proportion coefficient k to obtain RGB values of the enhanced thin line image, wherein R ' =k×a, G ' =k×b and B ' =k×c.
Preferably, the screening conditions are: thin line images with pixel widths less than or equal to m and R, G, B values all greater than x. Wherein m and x can be specifically set based on the requirements of image quality, and for example, m can be selected from data in the range of 2 to 5. x may select data in the range of 130 to 150.
In order to prevent the case where the color of the enhanced thin line image is too deep to cause local color abrupt of the printed image, R ', G ', B ' values of the enhanced thin line image are compared with x, respectively, and if the value is smaller than x, the corresponding value is determined as x.
In order to reduce the ink concentration of the enhanced thin line image part during ink jetting, thereby ensuring the natural display of the printed image, further reducing the natural transition between the enhanced thin line image and the surrounding, carrying out blurring thickening treatment on the periphery of the enhanced thin line image, further obtaining a thickened optimized thin line image, and carrying out printing work based on the optimized thin line image during printing work.
Preferably, the blurring and thickening processing method of the enhanced thin line image comprises the following steps: and light-colored pixel points are wrapped and arranged on at least the upper edge and the lower edge of the reinforced thin line image, so that a thickened optimized thin line image is obtained.
The invention solves the second technical problem by adopting the technical proposal that: a printer comprising a processor and a memory communicatively coupled to the processor, the memory having instructions stored therein, the printer comprising: the instructions are executed by the processor to implement a print optimization method as described above.
Compared with the prior art, the invention has the advantages that: according to the printing optimization method, the thin lines to be optimized with the too shallow color in the printed image can be screened out before the printing work is carried out, and the strengthening treatment is carried out on the thin lines to be optimized with the too shallow color, so that the thin lines to be optimized with the too shallow color can be printed out during printing, the printed image is clearer and more complete, and the problem that the ink-jet printer cannot print the too shallow thin lines is solved.
The printer applying 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 graph showing a comparison of light-colored thin lines without the reinforcing and blurring thickening treatment and light-colored thin lines with the reinforcing and blurring thickening treatment in a black-and-white printing mode according to an embodiment of the present invention.
Fig. 3 is a graph showing a comparison of light-colored thin lines without the reinforcing and blurring thickening treatment and light-colored thin lines with the reinforcing and blurring thickening treatment in a color printing mode according to an 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 diagram showing a comparison between an image printed by the print optimizing method in the present embodiment and an image printed by the print optimizing method in the present embodiment in a black-and-white print mode in the present embodiment.
Fig. 6 is a diagram showing a comparison between an image printed by the print optimizing method in the present embodiment and an image printed by the print optimizing method in the present embodiment in the color printing mode in the present embodiment.
Detailed Description
The invention is described in further detail below with reference to the embodiments of the drawings.
The print optimizing method in the present embodiment can be applied to various types of printers, such as laser printers, inkjet printers, and is particularly suitable for inkjet printers. The ink jet printer is based on the working principle of ink jet, when printing thin lines with lighter colors, the concentration of ink at the corresponding position is too low, the problem that the thin lines with too shallow colors cannot be printed easily occurs, and the problem can be well solved based on the printing optimization method in the embodiment.
As shown in fig. 1, the print optimization method in this embodiment is: and acquiring a printing image corresponding to the printing task, screening out a thin line image to be optimized in the printing image based on the set screening condition, performing enhancement processing on the thin line image to be optimized, further acquiring an enhanced thin line image, and performing printing work based on the enhanced thin line image when performing printing work.
When 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 too shallow color in the print image is used as a thin line image to be optimized for 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 with pixel widths less than or equal to m and R, G, B values all greater than x. Where m and x may be specifically set based on the requirements for the print image quality, for example, m may be selected from data in the range of 2 to 5. x may select data in the range of 130 to 150. In this embodiment, m=3 and x=140.
The screening calculation of the printed image can be calculated by using an image calculation method in the prior art. Specifically, firstly screening R, G, B values of printed image data, screening image data with R, G, B values being greater than 140, then performing matrix mapping on the image data meeting the requirement on R, G, B values, and screening fine line image data to be optimized with the pixel width being less than or equal to 3 through matrix switching operation and exclusive or mapping based on pixel width conditions. As shown in fig. 1, the left side is a print image corresponding to an original print job, and the right side is fine line image data to be optimized obtained after screening calculation of the print image.
And after the fine line image data to be optimized are screened out, carrying out enhancement processing on the fine line image to be optimized so as to obtain an enhanced fine line image. In this embodiment, the enhancement processing method for the thin line image to be optimized includes: RGB values of the thin line image to be optimized are r=a, g=b, b=c, respectively; and respectively carrying out enhancement calculation on RGB values of the thin line image to be optimized based on the set enhancement proportion coefficient k to obtain RGB values of the enhanced thin line image, wherein R ' =k×a, G ' =k×b and B ' =k×c. The enhancement scaling factor k can be obtained through experimental tests, and different enhancement scaling factors can be selected for different picture properties and picture quality requirements. As for the black-and-white print mode, the enhancement scaling factor k=0.85 can be set. For color print mode, the scaling factor k=0.83 may be enhanced. However, the RGB values of the enhanced thin line image after k calculation may have values exceeding 140, which may result in an excessively strong enhancement effect of the thin line image to be optimized, that is, the color of the thin line image to be optimized is excessively deep corresponding to the printed color, so that the color of the excessively light thin line part in the printed image is excessively deep to generate a local abrupt color, thereby affecting the aesthetic property of the printed image display. Thus, in order to prevent this, the R ', G ', B ' values of the enhanced thin line image are compared with x, respectively, and if a case smaller than x occurs, the corresponding value is determined as x. If R ' after enhancement calculation is greater than 140, R ' is directly taken as x, so that RGB values corresponding to the enhanced thin line image are R ' =x, G ' =k×b, and B ' =k×c, respectively. This strategy is employed when R ', G ' and/or B ' are present.
In addition, based on the enhancement processing performed on the thin line image to be optimized, compared with the contrast degree between the color corresponding to the thin line image part to be optimized and the surrounding color in the original printing image, the contrast between the color corresponding to the printed out enhanced thin line image and the surrounding color is more abrupt, so that the color corresponding to the printed out enhanced thin line image can be naturally transited with the surrounding color.
The blurring and thickening processing method for enhancing the thin line image in the embodiment comprises the following steps: and light-colored pixel points are wrapped and arranged on at least the upper edge and the lower edge of the reinforced fine line image, so that a thickened optimized fine line image is obtained. The width of the light-colored pixels and the specific RGB values are determined based on the specific situation of the thin-line image to be optimized. As for the case where m=3 in the present embodiment, the width of the light-color pixel point may be set to 2. The RGB values of the light-colored pixels may also be chosen to be fixed values. In the present embodiment, R, G, B in RGB values of the set light-color pixel dots is 243 for the black-and-white print mode. For the color print mode, R, G, B in RGB values of the set light-color pixel dots is 235. The light pixel point with the RGB value condition has very light 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 unobtrusive. And because the light color pixel point of the RGB value condition has very light color, the light color pixel point 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 the ink distribution corresponding to the enhanced fine line image in a small amount, so that the ink concentration of the enhanced fine line image part is slightly reduced during ink-jet, and the natural display of the printed image is further ensured.
As shown in fig. 2, in the black-and-white printing mode, the light-colored thin line which is not subjected to the enhancement and blurring thickening treatment is compared with the light-colored thin line which is subjected to the enhancement and blurring thickening treatment, wherein the light-colored thin line which is not subjected to the enhancement and blurring thickening treatment is on the left side, and the light-colored thin line which is subjected to the enhancement and blurring thickening treatment is on the right side. Fig. 3 is a diagram showing a comparison of light-colored thin lines not subjected to the reinforcing, blurring and thickening treatment and light-colored thin lines subjected to the reinforcing, blurring and thickening treatment in a color printing mode, wherein the light-colored thin lines not subjected to the reinforcing, blurring and thickening treatment are on the left side and the light-colored thin lines subjected to the reinforcing, blurring and thickening treatment are on the right side.
And finally obtaining the image matrix data corresponding to the optimized thin line image, and obtaining the final complete printing image data after the optimization processing through inverse matrix calculation, and further carrying out printing work by a control unit in the printer based on the complete printing image data after the optimization processing, namely carrying out printing work based on the optimized thin line image.
Fig. 4 is a print image corresponding to a print job. Fig. 5 is a diagram showing a comparison of an image printed without using the print optimizing method in the present embodiment and an image printed using the print optimizing method in the present embodiment in the black-and-white print mode. Wherein the left side is an image which is not printed using the print optimizing method in the present embodiment, and the right side is an image which is printed using the print optimizing method in the present embodiment. Fig. 6 is a diagram showing a comparison of an image printed without using the print optimizing method in the present embodiment and an image printed using the print optimizing method in the present embodiment in the color print mode. Wherein the left side is an image which is not printed using the print optimizing method in the present embodiment, and the right side is an image which is printed using the print optimizing method in the present embodiment. As can be seen by comparison, the optimized black and white and color images can meet the requirements of the original image on the printed image.
The printing optimization method can strengthen the thin line to be optimized with the too shallow color, further enables the thin line to be optimized with the too shallow color to be printed during printing, enables the printed image to be clearer and more complete, and solves the problem that the ink-jet printer cannot print the too shallow thin line.
The invention also relates to a printer comprising a processor and a memory communicatively coupled to the processor, the memory having instructions stored therein for execution by the processor to implement a print optimization method as described above. The printer applying the printing optimization method solves the problem that light-color fine lines cannot be effectively printed, and the printed image is more complete and better in effect.

Claims (3)

1. A print optimization method, characterized by: acquiring 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; the screening conditions are as follows: a thin line image having a pixel width of m or less and R, G, B values of x or more;
performing enhancement processing on the thin line image to be optimized, and further obtaining an enhanced thin line image; the enhancement processing method of the thin line image to be optimized comprises the following steps: RGB values of the thin line image to be optimized are r=a, g=b, b=c, respectively; respectively carrying out enhancement calculation on RGB values of the thin line image to be optimized based on the set enhancement proportion coefficient k to obtain RGB values of the enhanced thin line image, wherein R ' =k×a, G ' =k×b and B ' =k×c;
comparing R ', G', B 'values of the enhanced thin line image with x respectively, and if the R', G ', B' values are smaller than x, determining that the corresponding values are x;
blurring and thickening the periphery of the enhanced thin line image to obtain a thickened optimized thin line image;
when the print job is performed, the print job is performed based on the optimized thin line image.
2. The print optimization method according to claim 1, characterized in that: the blurring and thickening processing method of the enhanced thin line image comprises the following steps: and light-colored pixel points are wrapped and arranged on at least the upper edge and the lower edge of the reinforced thin line image, so that a thickened optimized thin line image is obtained.
3. A printer comprising a processor and a memory communicatively coupled to the processor, the memory having instructions stored therein, the printer comprising: the instructions are executed by a processor to implement the print optimization method of claim 1 or 2.
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 CN114516233A (en) 2022-05-20
CN114516233B true 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 (4)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4622932B2 (en) * 2006-05-11 2011-02-02 村田機械株式会社 Image processing method, image processing apparatus, computer program, and recording medium
US7965409B2 (en) * 2007-12-17 2011-06-21 Xerox Corporation Methods and systems for rendering and printing reverse fine features

Patent Citations (4)

* 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
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
CN114516233A (en) 2022-05-20

Similar Documents

Publication Publication Date Title
US5847724A (en) Method for diffusing errors according to spot size in a printed liquid ink image
JP2000307865A (en) Information processor, recorded device, information processing method and recording method
JP2018015964A (en) Ink consumption estimation method, ink consumption estimation device, and printing system
JP2006224419A (en) Printing device, printing program, printing method, image processor, image processing program, image processing method, and recording medium having program recorded therein
JP5333389B2 (en) Image processing apparatus and image processing program
US10449779B2 (en) Image processing apparatus, printing apparatus, and program
JP3988401B2 (en) Print density correction program, print density correction apparatus, and print density correction method
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
US7564591B1 (en) Image processing apparatus and image processing method
US7537306B2 (en) Ink jet printing method and ink jet printing apparatus
US7731342B2 (en) Image correction system and method for a direct marking system
US7699426B2 (en) Image processing method and ink jet printing apparatus
CN114516233B (en) Printing optimization method and printer
JP6969180B2 (en) Image processing equipment, printing equipment, image processing methods, and image processing programs
US20040165022A1 (en) Printing method and printing apparatus
US7397580B2 (en) Ejection control of quality-enhancing ink
JP2007160539A (en) Inkjet recording apparatus and recording method
JP2000177150A (en) Printing apparatus, printing method and recording medium
JP2011143623A (en) Printer, printing method, and computer program
US20110063349A1 (en) Printing apparatus and printing method
US20100225942A1 (en) Color conversion apparatus, recording medium storing computer program product, and color conversion method
JP2011167896A (en) Image processor, image processing program, image processing method, and recorder
JP2012095065A (en) Image processing apparatus, image processing method and computer program
JP3058238B2 (en) Color inkjet recording method and recording apparatus
JP4948221B2 (en) Data generator

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