CN115476583B - Image printing method, device, equipment and storage medium - Google Patents

Image printing method, device, equipment and storage medium Download PDF

Info

Publication number
CN115476583B
CN115476583B CN202110601082.5A CN202110601082A CN115476583B CN 115476583 B CN115476583 B CN 115476583B CN 202110601082 A CN202110601082 A CN 202110601082A CN 115476583 B CN115476583 B CN 115476583B
Authority
CN
China
Prior art keywords
image
pixel
pixel value
target
actual
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
CN202110601082.5A
Other languages
Chinese (zh)
Other versions
CN115476583A (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.)
Shenzhen Hansen Software Co.,Ltd.
Original Assignee
Shenzhen Hosonsoft 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 Shenzhen Hosonsoft Co Ltd filed Critical Shenzhen Hosonsoft Co Ltd
Priority to CN202110601082.5A priority Critical patent/CN115476583B/en
Publication of CN115476583A publication Critical patent/CN115476583A/en
Application granted granted Critical
Publication of CN115476583B publication Critical patent/CN115476583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1208Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Ink Jet (AREA)

Abstract

The application belongs to the technical field of industrial inkjet printing, solves the technical problem that the image quality is poor due to the fact that edge blurring exists in a local area after screening treatment during image printing, and provides an image printing method, an image printing device, image printing equipment and a storage medium. The method comprises the steps of obtaining an original pixel value of a pixel point of a designated image area in an image to be printed and an actual pixel value after screening treatment; according to the original pixel value, the actual pixel value is adjusted to obtain a target pixel value of a pixel point of the designated image area; thereby generating actual image data of an image to be printed; printing is then performed, and an image to be printed is formed on the printing medium. The application also includes an apparatus, a device and a storage medium for performing the above method. According to the application, the pixel values of the pixel points of the appointed image area of the image to be printed are adjusted, so that the boundary of the appointed image area is clear, and the effect of the image to be printed is ensured.

Description

Image printing method, device, equipment and storage medium
Technical Field
The present application relates to the field of industrial inkjet printing technology, and in particular, to an image printing method, apparatus, device, and storage medium.
Background
The ink jet printing technology is that the printer performs ink jet printing on a printing medium to form images or characters by controlling the movement of a nozzle of the nozzle in the process of moving along with the nozzle.
In the prior art, after an image to be printed is processed through image screening, a printing file which can be identified by printing equipment is obtained, and the global image is processed in the same way in the current image screening process, so that the whole ink points of the image are uniform. However, the edge contour of a local image area in the image has scattered ink points, so that the graph structure of the local image area is destroyed, the image to be printed is visually blurred in edge, and the problem of poor image effect is caused.
Disclosure of Invention
In view of the above, embodiments of the present application provide an image printing method, apparatus, device, and storage medium, so as to solve the technical problem of poor image quality caused by edge blurring in a local area after a screening process during image printing.
The technical scheme adopted by the application is as follows:
the application provides an image printing method, which comprises the following steps:
s1: acquiring an original pixel value of a pixel point of a designated image area in an image to be printed and an actual pixel value of the image to be printed after the image data of the image to be printed is screened;
s2: the actual pixel value is adjusted according to the original pixel value, and a target pixel value of the pixel point of the designated image area is obtained;
s3: generating actual image data of the image to be printed according to the target pixel value;
s4: and forming the image to be printed on a printing medium according to the actual image data.
Preferably, the specified image area includes a target image and an edge image adjacent to the target image, and the S1 includes:
s11: acquiring position information of each pixel point corresponding to the target image and the edge image at adjacent positions;
s12: and determining the original pixel value of each pixel point of the designated image area according to the position information and the pixel value of each pixel point of the edge image.
Preferably, the S2 includes:
s21: acquiring the actual pixel values of adjacent pixel points, which are in one-to-one correspondence with the edge image, of the target image at adjacent positions;
s22: and adjusting the corresponding actual pixel value according to the original pixel value of each adjacent pixel point to obtain a target pixel value of each adjacent pixel point.
Preferably, the S22 includes:
s2201: acquiring a display parameter threshold value of a position adjacent to the target image and the edge image;
s2202: the actual pixel value is adjusted according to the display parameter threshold value and the original pixel value, and the target pixel value is obtained;
the display parameter threshold is an ink concentration value and/or a color value of the pixel point.
Preferably, the pixel points are divided into an ink-outlet pixel point and an ink-non-outlet pixel point according to the ink-outlet type, and the step S22 comprises;
s2211: acquiring the ink outlet type of the adjacent pixel points;
s2211: setting the actual pixel value of the adjacent pixel belonging to the target image to be 1, and setting the actual pixel value of the adjacent pixel belonging to the edge image to be 0, so as to obtain the target pixel value of each pixel;
wherein 1 indicates an ink pixel point, and 0 indicates no ink pixel point.
Preferably, the S3 includes;
s31: acquiring original image data of the image to be printed;
s32: and updating the pixel value of the pixel point corresponding to the target pixel value in the original image data according to the target pixel value to obtain the image data.
Preferably, before S1, the method further includes:
s101: acquiring an original pixel value of a pixel point of a designated image area in an image to be printed and an actual pixel value after screening treatment;
s102: partitioning the target printing image according to the image position information and the image contour information to obtain a plurality of images to be printed.
The application also provides a printing device, which is characterized by comprising:
and a data acquisition module: the method comprises the steps of acquiring original pixel values of pixel points in a designated image area of an image to be printed and actual pixel values of the image data of the image to be printed after screening treatment;
and a data processing module: the target pixel value of the pixel point of the appointed image area is obtained by adjusting the actual pixel value according to the original pixel value;
and a data verification module: the actual image data is used for generating the image to be printed according to the target pixel value;
and a data printing module: for forming the image to be printed on a printing medium according to the actual image data.
The present application also provides a printing apparatus including: 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 of any of the above.
The application also provides a storage medium having stored thereon computer program instructions which when executed by a processor implement a method as claimed in any preceding claim.
In summary, the beneficial effects of the application are as follows:
the application provides an image printing method, an image printing device, image printing equipment and a storage medium, wherein an original pixel value and an actual pixel value of a pixel point of a designated image area are obtained, and the actual pixel value is adjusted through the difference between the original pixel value and the actual pixel value to obtain a target pixel value; writing each target pixel value into the address of the corresponding pixel point to obtain image data of an image to be printed, and then performing ink-jet printing; by the method, free ink points of the designated image area can be eliminated after the image to be printed is integrally screened, so that the boundary of the designated image area is clear, and the effect of printing the image is ensured.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings required to be used in the embodiments of the present application will be briefly described, and it is within the scope of the present application to obtain other drawings according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an image printing method in embodiment 1 of the present application;
fig. 2 is a flow chart of the pixel values corresponding to the pixels of the image printing method in embodiment 1 of the present application;
FIG. 3 is a schematic flow chart of pixel value processing of the image printing method in embodiment 1 of the present application;
FIG. 4 is a flow chart of the target pixel values of the image printing method according to the embodiment 1 of the present application;
FIG. 5 is a schematic flow chart of the target pixel processing of the image printing method in the embodiment 1 of the present application;
fig. 5-1 is a schematic diagram of the structure of original image data of an image to be printed in embodiment 1 of the present application;
fig. 5-2 is a schematic diagram of the structure of image data to be printed in the screening process of the image in embodiment 1 of the present application;
fig. 5-3 are schematic diagrams showing the structure of target image data of an image to be printed in embodiment 1 of the present application;
fig. 6 is a flow chart of image data of the image printing method in embodiment 1 of the present application;
fig. 7 is a flow chart showing a designated image area of the image printing method in embodiment 1 of the present application;
fig. 8 is a block diagram showing the structure of a printing apparatus according to embodiment 2 of the present application;
fig. 9 is a schematic structural view of a printing apparatus in embodiment 3 of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. In the description of the present application, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate describing the present application and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element. If not conflicting, the embodiments of the present application and the features of the embodiments may be combined with each other, which are all within the protection scope of the present application.
Example 1:
the embodiment 1 of the application discloses an image printing method, as shown in fig. 1, comprising the following steps:
s1: acquiring an original pixel value of a pixel point of a designated image area of an image to be printed and an actual pixel value of the image data of the image to be printed after screening treatment;
specifically, the pixel value of each pixel point of the image data of the image to be printed is the original pixel value before the screen processing is not performed, and the pixel value of each pixel point is the actual pixel value after the image screen processing is performed on the image data of the image to be printed; further, according to the position information of the designated image area in the image to be printed, extracting an original pixel value and an actual pixel value of each pixel point of the designated image area, wherein the original pixel value and/or the actual pixel value may be a pixel value of a key pixel point representing each sub-image in the designated image area, such as a pixel point on a contour line, or may be each pixel value corresponding to all pixel points representing each sub-image.
It should be noted that: the original pixel value is the pixel value corresponding to the pixel point in the ideal state, if one sub-image of the designated image area is a circle, all the pixel points on the outline of the circle are the ink outlet pixel points, then the original pixel values corresponding to all the pixel points on the outline of the circle are not 0, namely the ink outlet pixel points are all the original pixel points, and the pixel values of the pixel points adjacent to the pixel points on the outline of the circle outside and/or inside the outline of the circle are different, can be different in ink outlet concentration, and can also be different in color parameters such as color gradation, brightness or saturation.
In an embodiment, referring to fig. 2, the designated image area includes a target image and an edge image adjacent to the target image, and the S1 includes:
s11: acquiring position information of each pixel point corresponding to the target image and the edge image at adjacent positions;
specifically, after determining a target image that needs to be highlighted or highlighted, designating an edge image associated with the target image, thereby forming a designated image area, wherein the target image at least comprises one of the following: a pattern, font or color. Determining the outline of the target image, and acquiring the position information of each pixel point on the outline and the position information of each pixel point adjacent to each pixel point on the outline in the edge image, wherein the position information can be coordinate information corresponding to dot matrix data after the image screening processing.
S12: and determining the original pixel value of each pixel point of the designated image area according to the position information and the pixel value of each pixel point of the edge image.
Specifically, according to the position information of the pixel points, the pixel values of the pixel points on the boundaries are determined, so that the difference exists between the target image and the edge image, and the target image can be intuitively found, namely, the target image is highlighted.
S2: adjusting the actual pixel value according to the original pixel value to obtain a target pixel value of a pixel point of the designated image area;
specifically, because the target image of the designated image area needs to be highlighted, the outline of the target image of the designated image area needs to be clear so as to ensure the viewing quality of the image, however, after the image data of the image to be printed is screened, free ink points appear near the target image of the designated image area, so that the actual pixel value of the pixel point of the designated image area is inconsistent with the original pixel value, the actual pixel value is adjusted according to the original pixel value, and the original pixel value of each pixel point is identical with the actual pixel value, so that the target pixel value is obtained; it should be noted that, the adjustment of the actual pixel value according to the original pixel value is not limited to writing the original pixel value into the address of the corresponding pixel point again, but may also be the adjustment of the pixel value of the pixel point of the adjacent area according to the original pixel value of the pixel point of the designated image area, so as to meet the precision requirement of the designated image area.
In an embodiment, please refer to fig. 3, there is provided an image printing method, the S2 includes:
s21: acquiring the actual pixel values of adjacent pixel points, which are in one-to-one correspondence with the edge image, of the target image at adjacent positions;
specifically, each pixel point on the edge of the target image is marked as a first pixel point, each pixel point on the edge of the edge image is marked as a second pixel point, each pixel point adjacent to each other in the first pixel point and the second pixel point is marked as an adjacent pixel point, and the actual pixel value of each adjacent pixel point is obtained.
S22: and adjusting the corresponding actual pixel value according to the original pixel value of each adjacent pixel point to obtain a target pixel value of each adjacent pixel point.
Specifically, comparing the original pixel value and the actual pixel value of the adjacent pixel points; then, the actual pixel value is adjusted to obtain target pixel values of each pixel point of the edge image and the target image on the adjacent edge, wherein the actual pixel value can be adjusted to be an original pixel value or can be adjusted according to display conditions, for example, according to color information, tone scale information and the color system of the pixel points; if the pixel values of the adjacent pixels are adjusted by the cold color system, the warm color system or the intermediate color system, the edge image and the target image are distinguished, and the quality of the target image is ensured.
In one embodiment, referring to fig. 4, the step S22 includes:
s2201: acquiring a display parameter threshold value of a position adjacent to the target image and the edge image;
specifically, a display parameter threshold corresponding to a display difference between an edge image and a target image at an adjacent position is obtained, where the display parameter threshold includes: brightness differences, saturation differences, color system differences, and density differences in ink amounts, etc.
S2202: the actual pixel value is adjusted according to the display parameter threshold value and the original pixel value, and the target pixel value is obtained;
the display parameter threshold is an ink concentration value and/or a color value of the pixel point.
Specifically, the pixel points at the edge positions of the designated image areas and the pixel points of the adjacent non-designated image area have visual differences through displaying the parameter threshold values, so that the definition of the boundary of the designated image areas can be ensured as long as the parameter threshold values are met, and the effect of printing images is ensured.
In an embodiment, referring to fig. 5, the pixels are divided into an ink-outputting pixel and a non-ink-outputting pixel according to the type of the ink output, and the step S22 includes;
s2211: acquiring the ink outlet type of the adjacent pixel points;
specifically, the pixel points are divided into ink outlet pixel points and non-ink outlet pixel points according to the type of ink outlet, wherein the ink outlet pixel points are normally ink outlet when an ink jet mechanism prints the pixel points; the pixel point which does not discharge ink is the ink-jet mechanism which does not discharge ink when the pixel point is printed.
S2211: setting the actual pixel value of the adjacent pixel belonging to the target image to be 1, and setting the actual pixel value of the adjacent pixel belonging to the edge image to be 0, so as to obtain the target pixel value of each pixel;
wherein 1 indicates an ink pixel point, and 0 indicates no ink pixel point.
Specifically, the pixel value of the pixel point at the edge position of the target image is adjusted to the pixel value of the ink outlet pixel point, and the pixel value of the pixel point corresponding to the edge position of the edge image adjacent to the target image is adjusted to the pixel value of the ink outlet pixel point; referring to fig. 5-1, which is an original image of a designated area of an image to be printed, the designated image area in fig. 5-1 includes an "E" character pattern formed by "∈and an edge image formed by" Σ "around the" E "character pattern, and any position of the edge image is not limited to" Σ "but may be" ∈ ", and it is to be noted that: as can be seen from fig. 5-2, the dot matrix data of the designated area after the screening process is kept in the whole, but the difference of the ink outlet information of part of the pixel points exists, and free ink points exist, if the image data of the screened process is directly printed by the image data of the screened process corresponding to fig. 5-2, the problem of poor boundary quality exists between the target image and the edge image of the designated area, and the problem of poor boundary quality exists between the free ink points and the target ink points after the screening process is found out, and the ink outlet data of the free ink points and the target ink points are replaced, so that the difference of the target image and the edge image of the designated area is ensured, and the clear boundary E-shaped pattern is obtained, and the effect of the printed image is ensured; it should be noted that: the processing method is not limited to processing the free ink dots obtained after the screening processing, and may be: if fig. 5-2 is original image data, that is, the original image itself has free ink dots, but not free ink dots generated after the screening process, the method may also be used to optimize the target image of the designated area, further, the method is that a clear boundary exists between the target image of the designated area and the edge image, so it may be understood that the pixel dots of the boundary between the edge image and the target image are respectively given different pixel values, for example, the pixel values of all the pixel dots on the boundary of the edge image are set to "0", the pixel values of all the pixel dots on the boundary of the target image are set to "1", the "0" indicates that the ink-out type of the pixel dots is not ink-out, and the "1" indicates that the ink-out type of the pixel dots is ink-out.
S3: obtaining image data of the image to be printed according to the target pixel value;
specifically, according to the adjusted target pixel values of the pixel points, writing the target pixel values into addresses corresponding to the pixel points to obtain image data of inkjet printing of the image to be printed.
In an embodiment, please refer to fig. 6, there is provided an image printing method, the S3 includes;
s31: acquiring original image data of the image to be printed;
s32: and updating the pixel value of the pixel point corresponding to the target pixel value in the original image data according to the target pixel value to obtain the image data.
Specifically, screening an image to be printed to obtain original image data of the image to be printed, and then adjusting pixel values of pixel points of a designated image area in the screened original image data to obtain actual print data of the designated image area; and updating the original image data of the image to be printed to obtain the image data of the image to be printed when the image to be printed is actually printed.
S4: and forming the image to be printed on a printing medium according to the image data.
In an embodiment, referring to fig. 7, an image printing method is provided, and before S1, the method further includes:
s101: acquiring image position information and image contour information of a designated image area of a target print image;
s102: partitioning the target printing image according to the image position information and the image contour information to obtain a plurality of images to be printed.
Specifically, position information of designated image areas of a target print image to be printed and image contour information of each designated image area are acquired; and determining the position information of the designated image area according to the contour information of the target image, thereby determining the position of each pixel point.
Adopting the image printing method of the embodiment 1, according to the to-be-printed image screening treatment, obtaining an original pixel value and an actual pixel value of a pixel point of a designated image area, and adjusting the actual pixel value through the difference between the original pixel value and the actual pixel value to obtain a target pixel value; writing each target pixel value into the address of the corresponding pixel point to obtain image data of an image to be printed, and then performing ink-jet printing; by the method, free ink points of the designated image area can be eliminated after the image to be printed is integrally screened, so that the boundary of the designated image area is clear, and the effect of printing the image is ensured.
Example 2
Referring to fig. 8, fig. 8 is a printing apparatus according to embodiment 2 of the present application, where embodiment 2 is a printing apparatus correspondingly provided based on the image printing method of embodiment 1, and the apparatus includes:
and a data acquisition module: the method comprises the steps of acquiring an original pixel value of a pixel point of a designated image area of an image to be printed and an actual pixel value after screening treatment;
and a data processing module: the target pixel value of the pixel point of the appointed image area is obtained by adjusting the actual pixel value according to the original pixel value;
and a data verification module: the image data is used for obtaining the image to be printed according to the target pixel value;
and a data printing module: and the image forming device is used for forming the image to be printed on a printing medium according to the image data.
According to the printing device, the original pixel value and the actual pixel value of the pixel point of the designated image area are obtained by screening the image to be printed, and the actual pixel value is adjusted through the difference between the original pixel value and the actual pixel value to obtain the target pixel value; writing each target pixel value into the address of the corresponding pixel point to obtain image data of an image to be printed, and then performing ink-jet printing; by the method, free ink points of the designated image area can be eliminated after the image to be printed is integrally screened, so that the boundary of the designated image area is clear, and the effect of printing the image is ensured.
In an embodiment, the designated image area includes a target image and an edge image adjacent to the target image, and the data acquisition module includes:
position acquisition unit: acquiring position information of each pixel point corresponding to the target image and the edge image at adjacent positions;
an information acquisition unit: and determining the original pixel value of each pixel point of the designated image area according to the position information and the pixel value of each pixel point of the edge image.
In one embodiment, the data processing module comprises:
parameter acquisition unit: acquiring the actual pixel values of adjacent pixel points, which are in one-to-one correspondence with the edge image, of the target image at adjacent positions;
a pixel value adjustment unit: and adjusting the corresponding actual pixel value according to the original pixel value of each adjacent pixel point to obtain a target pixel value of each adjacent pixel point.
In an embodiment, the parameter adjustment unit includes:
threshold unit: acquiring a display parameter threshold value of a position adjacent to the target image and the edge image;
target parameter unit: the actual pixel value is adjusted according to the display parameter threshold value and the original pixel value, and the target pixel value is obtained;
the display parameter threshold is an ink concentration value and/or a color value of the pixel point.
In an embodiment, the pixel points are divided into an ink-outlet pixel point and an ink-non-outlet pixel point according to the ink-outlet type, and the parameter adjusting unit comprises;
reference unit: acquiring the ink outlet type of the adjacent pixel points;
increase and decrease unit: setting the actual pixel value of the adjacent pixel belonging to the target image to be 1, and setting the actual pixel value of the adjacent pixel belonging to the edge image to be 0, so as to obtain the target pixel value of each pixel;
wherein 1 indicates an ink pixel point, and 0 indicates no ink pixel point.
In one embodiment, the data verification module comprises;
original image unit: acquiring original image data of the image to be printed;
image data unit: and updating the pixel value of the pixel point corresponding to the target pixel value in the original image data according to the target pixel value to obtain the image data.
In an embodiment, before the data acquisition module, the method further comprises:
designating an image area unit: acquiring image position information and image contour information of a designated image area of a target print image;
dividing unit: partitioning the target printing image according to the image position information and the image contour information to obtain a plurality of images to be printed.
Adopting the image edge printing device of the embodiment 2, according to the screening treatment of the image to be printed, obtaining an original pixel value and an actual pixel value of a pixel point of a designated image area, and adjusting the actual pixel value through the difference between the original pixel value and the actual pixel value to obtain a target pixel value; writing each target pixel value into the address of the corresponding pixel point to obtain image data of an image to be printed, and then performing ink-jet printing; by the method, free ink points of the designated image area can be eliminated after the image to be printed is integrally screened, so that the boundary of the designated image area is clear, and the effect of printing the image is ensured.
Example 3
Embodiment 3 of the present application provides a printing apparatus, as shown in fig. 9, including at least one processor, at least one memory, and computer program instructions stored in the memory.
In particular, the processor may comprise a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present application.
The memory may include mass storage for data or instructions. By way of example, and not limitation, the memory may comprise a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. The memory may include removable or non-removable (or fixed) media, where appropriate. The memory may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory is a non-volatile solid state memory. In a particular embodiment, the memory includes Read Only Memory (ROM). The ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor reads and executes the computer program instructions stored in the memory to realize any one of the image printing methods of embodiment 1 described above.
In one example, the printing device may also include a communication interface and a bus. The processor, the memory and the communication interface are connected through a bus and complete communication with each other.
The communication interface is mainly used for realizing communication among the modules, the devices, the units and/or the equipment in the embodiment of the application.
The bus includes hardware, software, or both, that couple components of the printing device to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel 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 bus, or a combination of two or more of the above. The bus may include one or more buses, where appropriate. Although embodiments of the application have been described and illustrated with respect to a particular bus, the application contemplates any suitable bus or interconnect.
Example 4
In addition, in combination with the image printing method in the above embodiment 1, the embodiment of the present application can be implemented by providing a computer-readable storage medium. The computer readable storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the image printing methods of embodiment 1 described above.
In summary, the method, the device, the equipment and the storage medium for inkjet printing provided by the embodiment of the application.
It should be understood that the application is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present application.
Classifying according to the use attribute of each part, screening according to an image to be printed to obtain an original pixel value and an actual pixel value of a pixel point of a designated image area, and adjusting the actual pixel value according to the difference between the original pixel value and the actual pixel value to obtain a target pixel value; writing each target pixel value into the address of the corresponding pixel point to obtain image data of an image to be printed, and then performing ink-jet printing; by the method, free ink points of the designated image area can be eliminated after the image to be printed is integrally screened, so that the boundary of the designated image area is clear, and the effect of printing the image is ensured.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (8)

1. An image printing method, the method comprising:
s1: acquiring an original pixel value of a pixel point of a designated image area in an image to be printed and an actual pixel value of the image to be printed after the image data of the image to be printed are screened, wherein the designated image area comprises a target image and an edge image adjacent to the target image;
s2: the actual pixel value is adjusted according to the original pixel value, and a target pixel value of the pixel point of the designated image area is obtained;
s3: generating actual image data of the image to be printed according to the target pixel value;
s4: forming the image to be printed on a printing medium according to the actual image data;
wherein, the S2 includes:
s21: acquiring the actual pixel values of adjacent pixel points, which are in one-to-one correspondence with the edge image, of the target image at adjacent positions;
s22: according to the original pixel values of the adjacent pixel points, the corresponding actual pixel values are adjusted, and the target pixel values of the adjacent pixel points are obtained;
the S22 includes:
s2201: acquiring a display parameter threshold value of a position adjacent to the target image and the edge image;
s2202: the actual pixel value is adjusted according to the display parameter threshold value and the original pixel value, and the target pixel value is obtained;
the display parameter threshold is an ink concentration value and/or a color value of the pixel point.
2. An image printing method, the method comprising:
s1: acquiring an original pixel value of a pixel point of a designated image area in an image to be printed and an actual pixel value of the image to be printed after the image data of the image to be printed are screened, wherein the designated image area comprises a target image and an edge image adjacent to the target image;
s2: the actual pixel value is adjusted according to the original pixel value, and a target pixel value of the pixel point of the designated image area is obtained;
s3: generating actual image data of the image to be printed according to the target pixel value;
s4: forming the image to be printed on a printing medium according to the actual image data;
wherein, the S2 includes:
s21: acquiring the actual pixel values of adjacent pixel points, which are in one-to-one correspondence with the edge image, of the target image at adjacent positions;
s22: according to the original pixel values of the adjacent pixel points, the corresponding actual pixel values are adjusted, and the target pixel values of the adjacent pixel points are obtained;
the pixel points are divided into ink outlet pixel points and non-ink outlet pixel points according to the ink outlet type, wherein S22 comprises;
s2211: acquiring the ink outlet type of the adjacent pixel points;
s2212: setting the actual pixel value of the adjacent pixel belonging to the target image to be 1, and setting the actual pixel value of the adjacent pixel belonging to the edge image to be 0, so as to obtain the target pixel value of each pixel;
wherein 1 indicates an ink pixel point, and 0 indicates no ink pixel point.
3. The image printing method according to any one of claims 1 or 2, wherein S1 includes:
s11: acquiring position information of each pixel point corresponding to the target image and the edge image at adjacent positions;
s12: and determining the original pixel value of each pixel point of the designated image area according to the position information and the pixel value of each pixel point of the edge image.
4. The image printing method according to any one of claims 1 or 2, wherein S3 includes;
s31: acquiring original image data of the image to be printed;
s32: and updating the pixel value of the pixel point corresponding to the target pixel value in the original image data according to the target pixel value to obtain the actual image data.
5. The image printing method according to claim 4, further comprising, before the S1:
s101: acquiring image position information and image contour information of the designated image area of the target printing image;
s102: partitioning the target printing image according to the image position information and the image contour information to obtain a plurality of images to be printed.
6. A printing apparatus, comprising:
and a data acquisition module: the method comprises the steps of acquiring original pixel values of pixel points of a designated image area of an image to be printed and actual pixel values of the image data of the image to be printed after screening treatment, wherein the designated image area comprises a target image and an edge image adjacent to the target image;
and a data processing module: the actual pixel value is used for adjusting the actual pixel value according to the original pixel value to obtain a target pixel value of a pixel point of the designated image area, and the actual pixel value of each adjacent pixel point, corresponding to the target image and the edge image in a one-to-one correspondence manner, is obtained; according to the original pixel values of the adjacent pixel points, the corresponding actual pixel values are adjusted, and the target pixel values of the adjacent pixel points are obtained; acquiring a display parameter threshold value of a position adjacent to the target image and the edge image; the actual pixel value is adjusted according to the display parameter threshold value and the original pixel value, and the target pixel value is obtained; the display parameter threshold is an ink concentration value and/or a color value of a pixel point;
and a data verification module: the actual image data is used for generating the image to be printed according to the target pixel value;
and a data printing module: for forming the image to be printed on a printing medium according to the actual image data.
7. A printing apparatus, comprising: 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 of any one of claims 1-5.
8. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-5.
CN202110601082.5A 2021-05-31 2021-05-31 Image printing method, device, equipment and storage medium Active CN115476583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110601082.5A CN115476583B (en) 2021-05-31 2021-05-31 Image printing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110601082.5A CN115476583B (en) 2021-05-31 2021-05-31 Image printing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115476583A CN115476583A (en) 2022-12-16
CN115476583B true CN115476583B (en) 2023-08-15

Family

ID=84419341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110601082.5A Active CN115476583B (en) 2021-05-31 2021-05-31 Image printing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115476583B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1607090A (en) * 2003-10-15 2005-04-20 明基电通股份有限公司 Method of adjusting halftone image dot positions for improving print quality
CN1753785A (en) * 2003-12-26 2006-03-29 株式会社理光 Image-processing method and apparatus, and image-forming apparatus
CN101404711A (en) * 2005-12-31 2009-04-08 财团法人工业技术研究院 Method for correcting printing drawing data
CN102694957A (en) * 2011-03-24 2012-09-26 精工爱普生株式会社 Image processing apparatus, printing apparatus, image processing method, and image processing program
CN103677692A (en) * 2012-09-26 2014-03-26 柯尼卡美能达株式会社 Printing control apparatus, printing system, and printing control method
CN105323415A (en) * 2014-07-01 2016-02-10 佳能株式会社 Image processing apparatus, image processing method, printing medium
CN106791270A (en) * 2015-11-19 2017-05-31 佳能株式会社 Image processing apparatus and its control method
CN108088396A (en) * 2017-12-15 2018-05-29 杭州电子科技大学 A kind of method for the dot area for predicting ink-jetting forme-producing
CN110126480A (en) * 2018-02-02 2019-08-16 赋之科技(深圳)有限公司 A kind of Method of printing, printing equipment, terminal and storage medium
CN112534801A (en) * 2018-08-10 2021-03-19 爱克发有限公司 Digital halftone processing with clustered microdots

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7198345B2 (en) * 2003-11-19 2007-04-03 Canon Kabushiki Kaisha Ink jet printing method and ink jet printing system
KR20140028959A (en) * 2012-08-31 2014-03-10 삼성전자주식회사 Image forming apparatus and method for image forming thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1607090A (en) * 2003-10-15 2005-04-20 明基电通股份有限公司 Method of adjusting halftone image dot positions for improving print quality
CN1753785A (en) * 2003-12-26 2006-03-29 株式会社理光 Image-processing method and apparatus, and image-forming apparatus
CN101404711A (en) * 2005-12-31 2009-04-08 财团法人工业技术研究院 Method for correcting printing drawing data
CN102694957A (en) * 2011-03-24 2012-09-26 精工爱普生株式会社 Image processing apparatus, printing apparatus, image processing method, and image processing program
CN103677692A (en) * 2012-09-26 2014-03-26 柯尼卡美能达株式会社 Printing control apparatus, printing system, and printing control method
CN105323415A (en) * 2014-07-01 2016-02-10 佳能株式会社 Image processing apparatus, image processing method, printing medium
CN106791270A (en) * 2015-11-19 2017-05-31 佳能株式会社 Image processing apparatus and its control method
CN108088396A (en) * 2017-12-15 2018-05-29 杭州电子科技大学 A kind of method for the dot area for predicting ink-jetting forme-producing
CN110126480A (en) * 2018-02-02 2019-08-16 赋之科技(深圳)有限公司 A kind of Method of printing, printing equipment, terminal and storage medium
CN112534801A (en) * 2018-08-10 2021-03-19 爱克发有限公司 Digital halftone processing with clustered microdots

Also Published As

Publication number Publication date
CN115476583A (en) 2022-12-16

Similar Documents

Publication Publication Date Title
US8467089B2 (en) Systems and methods for line width control and pixel retagging
CN109710198B (en) Printing method, device and equipment for local dynamic variable image
CN110027325B (en) Printing control method, device, equipment and printer
CN114889329B (en) Printer ink quantity adjusting method, device, equipment and storage medium
CN110347356B (en) Image local area printing method, device and storage medium
CN108960351B (en) Image printing method, device, equipment and storage medium
US20050099455A1 (en) Methods and apparatus for converting full color images to two-color images for printing at a two-color printer
CN108688360B (en) Method for compensating for fluctuations in tone values in an inkjet printer
CN111045609A (en) Ink jet printing method, device, equipment and storage medium
CN115476583B (en) Image printing method, device, equipment and storage medium
CN116766806A (en) Printing method, device, equipment and storage medium based on image real-time deviation correction
US7536052B2 (en) Corner sharpening of text and line art in a super resolution anti-aliasing image path
CN110333832B (en) Typesetting spacing adjustment method, device and equipment for multiple printed images and storage medium
CN114697464A (en) Image partition processing method, device, equipment and storage medium
CN114559740B (en) Printing method, device and equipment for adjusting treatment fluid data by combining image data
CN114559745B (en) Iterative printing method, device, equipment and storage medium for processing liquid data
CN114559746B (en) Processing liquid data printing method, device, equipment and storage medium
CN114559744B (en) Method, device and equipment for adjusting treatment fluid data based on ink output
CN115447279B (en) Abnormal nozzle compensation printing method, device and equipment for image and storage medium
CN113370677B (en) Ink solidification compensation method, device, equipment and medium
CN114536969B (en) Processing liquid data printing method, device and equipment based on pixel point position information
CN111845099B (en) Method, device, equipment and medium for setting white ink quantity of printer
CN114559741B (en) Multilayer image overlapped ink outlet dot printing method, device, equipment and storage medium
JPH1058667A (en) Ink jet printing device for print circuit substrate
CN114789605B (en) Image printing data processing method, device, equipment and storage medium

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518000 a201-a301, building a, Sino German European Industrial Demonstration Park, Hangcheng Avenue, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong

Patentee after: Shenzhen Hansen Software Co.,Ltd.

Address before: 1701, 1703, building C6, Hengfeng Industrial City, 739 Zhoushi Road, Hezhou community, Hangcheng street, Bao'an District, Shenzhen, Guangdong 518000

Patentee before: SHENZHEN HOSONSOFT Co.,Ltd.