Print data processing method, device, equipment and storage medium

文档序号:458580 发布日期:2021-12-31 浏览:14次 中文

阅读说明:本技术 打印数据处理方法、装置、设备及存储介质 (Print data processing method, device, equipment and storage medium ) 是由 任建平 谢尧斌 陈艳 于 2020-06-30 设计创作,主要内容包括:本发明涉及喷墨打印技术领域,具体涉及一种打印数据处理方法、装置、设备及存储介质。所述方法包括:获取在待打印图像中的第一区域和第二区域对应的第一图像点阵数据,其中所述第一区域与所述第二区域之间的间距小于等于设定距离;获取与所述第一图像点阵数据不同的第一羽化点阵数据;将所述第一图像点阵数据与所述第一羽化点阵数据进行逻辑运算,得到第一点阵数据,其中所述第一点阵数据中与所述第一区域对应的数据用于控制第一喷头进行打印,所述第一点阵数据中与所述第二区域对应的数据用于控制与所述第一喷头相拼接的第二喷头进行打印。本发明能够防止在打印形成的待打印图像中与第一喷头和第二喷头的拼接位置对应的区域产生拼接黑道。(The invention relates to the technical field of ink-jet printing, in particular to a printing data processing method, a device, equipment and a storage medium. The method comprises the following steps: acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, wherein the distance between the first area and the second area is smaller than or equal to a set distance; acquiring first feathering dot matrix data different from the first image dot matrix data; and performing logical operation on the first image dot matrix data and the first feathering dot matrix data to obtain first dot matrix data, wherein data corresponding to the first area in the first dot matrix data is used for controlling a first spray head to print, and data corresponding to the second area in the first dot matrix data is used for controlling a second spray head spliced with the first spray head to print. The invention can prevent the splicing black channel from being generated in the area corresponding to the splicing position of the first nozzle and the second nozzle in the image to be printed.)

1. A method of processing print data, the method comprising:

acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, wherein the distance between the first area and the second area is smaller than or equal to a set distance;

acquiring first feathering dot matrix data different from the first image dot matrix data;

and performing logical operation on the first image dot matrix data and the first feathering dot matrix data to obtain first dot matrix data, wherein data corresponding to the first area in the first dot matrix data is used for controlling a first spray head to print, and data corresponding to the second area in the first dot matrix data is used for controlling a second spray head spliced with the first spray head to print.

2. The method of claim 1, wherein the first image lattice data comprises: controlling the nozzle to eject a data set of a first set amount of ink;

acquiring first feathering dot matrix data different from the first image dot matrix data, including:

if one data set in the first image dot matrix data controls the nozzles to eject the ink with the first set amount and the data set is adjacent to at least one data set which controls the nozzles to eject the ink with the first set amount, the data set is changed into a data set which controls the nozzles to eject the ink with the amount less than the first set amount, and the first eclosion dot matrix data is obtained;

the first set amount is larger than 0, and the data group includes one or more data of the first image dot matrix data.

3. The method of claim 1, wherein the first image lattice data comprises: controlling the nozzle to eject a data set of a second set amount of ink and a third set amount of ink, the third set amount being greater than 0 and the third set amount being less than the second set amount;

acquiring first feathering dot matrix data different from the first image dot matrix data, including:

if one of the data sets in the first image dot matrix data controls the nozzles to eject the ink of the third set amount, and the data set is adjacent to at least one data set that controls the nozzles to eject the ink of the second set amount and at least one data set that controls the nozzles to eject the ink of the third set amount, the data set is changed to a data set that controls the nozzles to eject the ink of an amount smaller than the third set amount, and the first feathering dot matrix data is obtained.

4. The method of claim 1, wherein the first image lattice data comprises: controlling the nozzle to eject a data set of a fourth set amount, a fifth set amount, and a sixth set amount of ink, the sixth set amount being greater than 0, the sixth set amount being less than the fifth set amount, the fifth set amount being less than the fourth set amount;

acquiring first feathering dot matrix data different from the first image dot matrix data, further comprising:

acquiring quasi-first feathering dot matrix data according to the first image dot matrix data;

judging whether the number of data groups for controlling the nozzles to jet the sixth set amount of ink in the quasi-first feathering dot matrix data is larger than a first preset value or not;

if the data set for controlling the nozzle to jet the sixth set amount of ink is larger than a first preset value, changing one or more data sets for controlling the nozzle to jet the sixth set amount of ink in the quasi-first eclosion dot matrix data into a data set for controlling the nozzle not to jet ink to obtain first eclosion dot matrix data, so that the data set for controlling the nozzle to jet the sixth set amount of ink in the first eclosion dot matrix data is smaller than the first preset value;

the first preset value is a positive integer.

5. The method of claim 1, wherein prior to obtaining first feathered dot matrix data that is different from the first image dot matrix data, further comprising:

acquiring second emergence lattice data different from the first image lattice data;

acquiring second image dot matrix data corresponding to the first area and the second area;

performing logical operation on the second feathering dot matrix data and the second image dot matrix data to obtain second dot matrix data;

controlling the first nozzle to perform ink jet printing according to data corresponding to the first area in the second dot matrix data;

controlling the second nozzle to perform ink jet printing according to data corresponding to the second area in the second dot matrix data;

judging whether the printed and formed image meets the requirements or not;

acquiring first feathering dot matrix data different from the first image dot matrix data, including:

and if the printing effect does not meet the requirement, acquiring first feathering dot matrix data different from the first image dot matrix data.

6. The method of claim 5, wherein obtaining second feathering lattice data that is different from the first image lattice data comprises:

acquiring second emergence lattice data which is different from the first image lattice data and has different data line numbers from the first emergence lattice data;

acquiring second image dot matrix data corresponding to the first area and the second area, wherein the second image dot matrix data comprises:

acquiring second image dot matrix data with the data line number being integral multiple of the data line number of the second feathering dot matrix data;

acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, wherein the first image dot matrix data comprises:

and acquiring first image dot matrix data with the data line number being integral multiple of the data line number of the first feathering dot matrix data.

7. The method of claim 5, wherein obtaining second feathering lattice data that is different from the first image lattice data comprises:

acquiring the second feathering dot matrix data containing ink discharge data of which the number is different from that of the first feathering dot matrix data.

8. A method of processing print data, the method comprising:

acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, wherein the distance between the first area and the second area is smaller than or equal to a set distance;

acquiring first feathering dot matrix data different from the first image dot matrix data, wherein the first feathering dot matrix data comprises ink discharge data and non-ink discharge data;

acquiring third emergence lattice data which is complementary with the first emergence lattice data;

performing a phase operation on the first image dot matrix data and the first feathered dot matrix data to obtain third dot matrix data, wherein the third dot matrix data is used for controlling a first spray head to print;

and carrying out phase and operation on the first image dot matrix data and the third feathered dot matrix data to obtain fourth dot matrix data, wherein the fourth dot matrix data is used for controlling a second spray head spliced with the first spray head to print so as to prevent a spliced black channel from being formed in an area corresponding to the splicing position of the first spray head and the second spray head in the image to be printed.

9. A print data processing apparatus, characterized in that the apparatus comprises:

the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, and the distance between the first area and the second area is smaller than or equal to a set distance;

the second acquisition module is used for acquiring first emergence lattice data different from the first image lattice data;

and the first operation module is used for carrying out logical operation on the first image dot matrix data and the first feathering dot matrix data to obtain first dot matrix data, wherein data corresponding to the first area in the first dot matrix data is used for controlling a first spray head to print, and data corresponding to the second area in the first dot matrix data is used for controlling a second spray head spliced with the first spray head to print.

10. A print data processing apparatus, characterized in that the apparatus comprises:

at least one processor; and

a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,

the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.

11. A computer storage medium having computer program instructions stored thereon, wherein,

the computer program instructions, when executed by a processor, implement the method of any one of claims 1-8.

Technical Field

The invention relates to the technical field of ink-jet printing, in particular to a printing data processing method, a device, equipment and a storage medium.

Background

At present, in the working process of an industrial ink-jet printer, a printer nozzle sprays ink drops to form pictures and texts on a printing medium. In the area where the two spray heads are spliced, because the trolley moves during printing, a wind wall is easily formed at the spliced part of the two spray heads. Because the air flow speed in the air wall is higher than the air flow speed around, the air pressure is lower, ink drops ejected from the holes at the edge of the splicing part of the two nozzles are easily sucked into the air wall and are overlapped in a cross way, so that the ink volume concentration at the overlapping part is higher than that around, and a splicing channel with dark color is visually formed, which is called as a black channel.

The black stripes seriously affect the display effect of the printed image and seriously degrade the printing quality of the image.

Disclosure of Invention

The embodiment of the invention provides a method, a device and equipment for processing print data and a storage medium. The printing data processing method, the device, the equipment and the storage medium can prevent the formation of black channels at the splicing position of the spray heads to a certain extent and improve the printing effect of images.

In a first aspect, an embodiment of the present invention provides a print data processing method, where the method includes:

acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, wherein the distance between the first area and the second area is smaller than or equal to a set distance;

acquiring first feathering dot matrix data different from the first image dot matrix data;

and performing logical operation on the first image dot matrix data and the first feathering dot matrix data to obtain first dot matrix data, wherein data corresponding to the first area in the first dot matrix data is used for controlling a first spray head to print, and data corresponding to the second area in the first dot matrix data is used for controlling a second spray head spliced with the first spray head to print.

In a second aspect, an embodiment of the present invention provides a print data processing method, including:

acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, wherein the distance between the first area and the second area is smaller than or equal to a set distance;

acquiring first feathering dot matrix data different from the first image dot matrix data, wherein the first feathering dot matrix data comprises ink discharge data and non-ink discharge data;

acquiring third emergence lattice data which is complementary with the first emergence lattice data;

performing a phase operation on the first image dot matrix data and the first feathered dot matrix data to obtain third dot matrix data, wherein the third dot matrix data is used for controlling a first spray head to print;

and carrying out phase and operation on the first image dot matrix data and the third feathered dot matrix data to obtain fourth dot matrix data, wherein the fourth dot matrix data is used for controlling a second spray head spliced with the first spray head to print so as to prevent a spliced black channel from being formed in an area corresponding to the splicing position of the first spray head and the second spray head in the image to be printed. In a third aspect, an embodiment of the present invention provides a print data processing apparatus, including:

the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, and the distance between the first area and the second area is smaller than or equal to a set distance;

the second acquisition module is used for acquiring first emergence lattice data different from the first image lattice data;

and the first operation module is used for carrying out logical operation on the first image dot matrix data and the first feathering dot matrix data to obtain first dot matrix data, wherein data corresponding to the first area in the first dot matrix data is used for controlling a first spray head to print, and data corresponding to the second area in the first dot matrix data is used for controlling a second spray head spliced with the first spray head to print.

In a fourth aspect, an embodiment of the present invention provides a print data processing apparatus including:

at least one processor; and

a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,

the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above-described print data processing method.

In a fifth aspect, an embodiment of the present invention provides a computer storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the above-described print data processing method.

In summary, according to the print data processing method, apparatus, device, and storage medium provided by the embodiments of the present invention, by obtaining the first feathering dot matrix data for processing the first image dot matrix data, performing a logical operation on the first feathering dot matrix data and the first image dot matrix data to obtain the first dot matrix data, and performing printing by using the first dot matrix data, the amount of ink ejected to the first area and the second area in the image to be printed can be reduced, so that a joint black channel is prevented from being generated in an area corresponding to a joint position of the first nozzle and the second nozzle in the image to be printed.

According to the print data processing method, the device, the equipment and the storage medium provided by the embodiment of the invention, the complementary first feathering dot matrix data and third feathering dot matrix data are obtained, and the first feathering dot matrix data, the third feathering dot matrix data and the first image dot matrix data are respectively used for carrying out the phase and operation to obtain the third dot matrix data and the fourth dot matrix data, so that the first sprayer and the second sprayer which are spliced can be used for printing according to the third dot matrix data and the fourth dot matrix data formed by processing respectively, and a spliced black channel is prevented from being formed in an area corresponding to the splicing position of the first sprayer and the second sprayer in the image to be printed.

Drawings

FIG. 1 is a schematic structural view of a first nozzle and a second nozzle according to the present invention;

FIG. 2 is a schematic diagram of a black channel printed in an image to be printed by a first nozzle and a second nozzle which are spliced together;

FIG. 3 is a flow chart illustrating a method for processing print data according to an embodiment of the present invention;

fig. 4 is a schematic flow chart of obtaining the first feathering dot matrix data with the best printing effect according to the plurality of first feathering dot matrix data included in the method according to an embodiment of the present invention;

FIG. 5 is a flowchart showing steps involved in step S2 in FIG. 1 for processing a data set for controlling nozzles to eject a third set amount of ink in the first image dot data to obtain first feathered dot data;

FIG. 6 is a schematic diagram of a first image lattice data provided by the present invention;

FIG. 7 is a schematic diagram of a first feathered dot matrix data provided by the present invention;

FIG. 8 is a schematic diagram of first dot matrix data obtained by performing a logical operation on the first image dot matrix data in FIG. 6 and the first feathered dot matrix data in FIG. 7;

fig. 9 is a schematic flow chart of data processing using complementary first and third feathering dot matrix data according to an embodiment of the invention.

Fig. 10 is a schematic connection diagram of a print data processing apparatus according to an embodiment of the present invention;

FIG. 11 is a schematic connection diagram of sub-modules included in the second acquiring module of FIG. 10 for processing a data set for controlling nozzles to eject a third set amount of ink in the first image dot matrix data to obtain first feathered dot matrix data;

FIG. 12 is a schematic diagram illustrating connection of modules for obtaining feathered dot matrix data for replacement of print results according to an embodiment of the present invention;

fig. 13 is a connection diagram of respective parts of a print data processing apparatus in an embodiment of the present invention.

Detailed Description

Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.

It is noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.

In one embodiment, as shown in fig. 1, to increase the printing speed, the first nozzle 1 and the second nozzle 2 are usually spliced to print. The spliced first nozzle 1 and the spliced second nozzle 2 usually have nozzles with overlapped printing areas in normal printing. The first head 1 has a first boundary line 4 at a position adjacent to the second head 2. The first spray head 1 further comprises a third borderline 8 parallel to the first borderline 4. The second sprinkling head 2 has a second borderline 3 at a position adjacent to the first sprinkling head 1. The second sprinkling head 2 further comprises a fourth borderline 9 parallel to the second borderline 3. The first boundary line 4 and the second boundary line 3 are both parallel to the paper feed direction 6. A centre line 5 is present between the first 4 and the second 3 border line. The centre line 5 is at the same distance from the first boundary line 4 and from the second boundary line 3 in a direction perpendicular to the direction of paper feed 6.

The paper feeding direction 6 is a relative moving direction of the printing medium and the head.

The first head 1 prints with nozzles located between the centre line 5 and the third borderline 8. The second head 2 prints with nozzles located between the centre line 5 and the fourth borderline 9. The borderlines of the first and second areas coincide with the centre line 5. The edge lines at a set distance from the boundary lines coincide with a first straight line 10 below the centre line 5 and with a second straight line 7 above the centre line 5, respectively. The first area and the second area are located directly below the area on the print medium between the first line 10 and the middle line 5 and between the second line 7 and the middle line 5, respectively. The dots within the dashed box in fig. 2 are located directly below the center line 5.

The overlapping dots within the dashed box in fig. 2 form a black channel on the print medium. The black channel is formed by the ejection of nozzles located between the middle line 5 and the second straight line 7 in the first head 1 and nozzles located between the middle line 5 and the first straight line 10 in the second head 2. By reducing the amount of ink ejected from the nozzles located between the center line 5 and the second straight line 7 in the first head 1 and the nozzles located between the center line 5 and the first straight line 10 in the second head 2 during printing, it is possible to prevent the formation of black lines upon printing on the printing medium.

The invention provides a method, a device and equipment for processing print data and a storage medium, which can solve the problem of printing black lines caused by overlapping of printing areas to a certain extent and improve the printing quality of images.

An embodiment of the present invention provides a print data processing method, as shown in fig. 3, including the following steps S1-S3.

Step S1: acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, wherein the distance between the first area and the second area is smaller than or equal to a set distance.

The set distance is equal to or greater than 0.

First image lattice data corresponding to the first area and the second area, including: image dot matrix data used to form the image in the first area and the image in the second area is printed. Since the first area and the second area are adjacent, the first image dot matrix data can include only data print-forming the first area and data print-forming the second area.

In the printing process, in order to improve the printing speed, the first spray head and the second spray head are generally spliced into a whole, and the first spray head and the second spray head are driven to print simultaneously during printing. In order to prevent white channels from being formed by printing below the joint position of the first head and the second head, the printing area of the nozzles in the first head located in the joint overlapping area is usually overlapped with the printing area of the second head. The printing area of the nozzle in the second spray head positioned in the splicing overlapping area is overlapped with the printing area of the first spray head. The first region is printed by a first spray head, and the second region is printed by a second spray head spliced with the first spray head. The first spray head and the second spray head are provided with splicing overlapping areas.

First image lattice data is generated based on an original image. The original image is an image identical or similar to the image to be printed. The data in the first image dot matrix data is generated from each pixel in the original image. Each pixel in the original image is processed to form first image dot matrix data. The data in the first image dot matrix data corresponds to each pixel in the original image. The data in the first image dot matrix data corresponds to each pixel in the original image, and comprises: the order of positions of one data group for controlling nozzle ejection in the first image dot matrix data among the data groups in the first image dot matrix data is the same as the order of positions of pixels for generating the data group in the pixels of the original image.

The data set includes one or more data of the first image dot matrix data.

The first image dot matrix data includes a data group characterizing an ink discharge amount of the nozzle. The first image dot matrix data includes a plurality of data groups distributed in a dot matrix, and each data corresponds to a nozzle in the head.

In one embodiment, during printing, the first image dot matrix data is stored in an internal buffer provided on the data processing board. And the spray head control module for controlling the spray head sequentially reads the data groups from the internal buffer, and controls the spray head to perform ink jet output action by using the nozzles corresponding to the data groups after reading one data group each time.

In one embodiment, the first image dot matrix data is composed of data sets 00, 01, 10, 11. A row of data group in the first image dot matrix data corresponds to a row of nozzles in the head. And the spray head control module is used for controlling a row of nozzles in the spray head to spray ink after acquiring a row of data groups in the first image dot matrix data. When the data set corresponding to a nozzle in the nozzle is 00, the nozzle control module controls the nozzle not to eject ink. When a data set received by a nozzle in the nozzle is 01, the nozzle control module controls the nozzle to jet a third set amount of ink. When a data set received by a nozzle in the head is 10, the head control module controls the nozzle to eject a second set amount of ink. When a data set received by a nozzle in the head is 11, the head control module controls the nozzle to eject a first set amount of ink. Wherein the first set amount is greater than the second set amount, which is greater than the third set amount.

Two adjacent spray heads are two spray heads spliced with each other. To prevent the formation of a black line by printing in an image to be printed, it is common that when simultaneous printing is performed with two adjacent heads, the print areas of the two adjacent heads are generally adjacent.

In the printing process, under the influence of the external environment, a black channel can be printed in an area corresponding to the connecting position of the printing medium and the two adjacent nozzles. By processing the data group for controlling the nozzles located at the connecting position of the two heads in the first image dot matrix data, the amount of ink ejected by the nozzles located at the connecting position of the two heads is reduced, and the generation of black streaks can be prevented.

The method comprises the steps of obtaining first image dot matrix data corresponding to a first area and a second area in an image to be printed from an internal buffer, processing the obtained first image dot matrix data, storing the processed first image dot matrix data in a position, stored in the internal buffer, of a data area before processing, and controlling a sprayer to spray by using the processed first image dot matrix data, so that the ink jet amount sprayed by using the processed first image dot matrix data is smaller than the ink jet amount sprayed by using the first image dot matrix data before processing.

The first image dot matrix data includes a plurality of data sets that control the ink ejection amounts of the respective nozzles that print in the first area and the second area, respectively. Since the first region is printed by the first nozzle, the second region is printed by the second nozzle. The first image dot matrix data includes a data group for controlling a plurality of nozzles in the first head at positions connected to the second head, and also includes a data group for controlling a plurality of nozzles in the second head at positions connected to the first head.

In one embodiment, the first region comprises: and in the area to be printed by the first spray head, the distance between the area to be printed and the boundary line between the first area and the second area is smaller than a set value. In one embodiment, the set value is 0.5 mm.

In one embodiment, the second region comprises: and in the area to be printed by the second spray head, the distance between the area to be printed and the boundary line between the first area and the second area is smaller than a set value. In one embodiment, the set value is 0.5 mm.

Step S2: and acquiring first feathering dot matrix data different from the first image dot matrix data.

The first feathering dot matrix data includes ink discharge data and non-ink discharge data.

The ink discharge data is data that can control the nozzles to eject ink during printing. The non-discharge data is data that can control the nozzles not to eject ink during printing.

In one embodiment, the data arrangement of the first feathered dot matrix data is different from the first image dot matrix data.

First feathered dot matrix data including the same data as the first image dot matrix data. When the first image dot matrix data is composed of 1 and 0, the first feathering dot matrix data is also composed of 1 and 0, but the arrangement of 1 and 0 in the first feathering dot matrix data is different from that in the first image dot matrix data. When the first feathered dot matrix data is different from the first image dot matrix data, the first feathered dot matrix data and the first image dot matrix data are subjected to logical operation, and first dot matrix data for controlling the amount of ink ejected from the nozzles to be smaller than the amount of ink ejected according to the first image dot matrix data is obtained.

A logical operation comprising: and, or, nor, xor, etc.

By acquiring the first feathering dot matrix data, the first image dot matrix data can be processed using the first feathering dot matrix data to reduce the amount of ink ejected to the first area and the second area.

In one embodiment, as shown in fig. 4, before the step S2 of obtaining the first feathering dot matrix data different from the first image dot matrix data, the method further includes the step S101 of: acquiring second emergence lattice data different from the first image lattice data; step S102: acquiring second image dot matrix data corresponding to the first area and the second area; step S103: performing logical operation on the second feathering dot matrix data and the second image dot matrix data to obtain second dot matrix data; step S104: controlling a first nozzle to perform ink jet printing according to data corresponding to the first area in the second dot matrix data; step S105: controlling a second nozzle to perform ink-jet printing according to data corresponding to the second area in the second dot matrix data; step S106: and judging whether the image formed by printing meets the requirement.

At step S2, acquiring first feathered dot matrix data different from the first image dot matrix data includes: and if the printing effect does not meet the requirement, acquiring first feathering dot matrix data different from the first image dot matrix data.

In step S104, the data corresponding to the first region in the second dot matrix data includes: and data included in the second dot matrix data and formed by data processing of printing the first region in the second image dot matrix data.

In step S105, the data corresponding to the second area in the first area and the second area in the second dot matrix data includes: and data included in the second dot matrix data and formed by data processing to print the second area in the second image dot matrix data.

In step S106, determining whether the print-formed image meets the requirements includes: and judging whether the printing effect of the first nozzle and the second nozzle for printing according to the second dot matrix data meets the requirement or not.

In step S103, performing a logical operation on the second feathered dot matrix data and the second image dot matrix data to obtain second dot matrix data, including: and performing an AND operation on the second feathered dot matrix data and the second image dot matrix data to obtain second dot matrix data.

By generating a plurality of first feathering dot matrix data, the first image dot matrix data can be processed by utilizing the generated first feathering dot matrix data respectively, and dot matrix data with different printing effects formed by processing can be obtained. And then, the acquired dot matrix data are respectively printed, so that the printing data with the best printing effect can be acquired, and the first feathering dot matrix data which can generate the best printing effect can be acquired according to the printing data with the best printing effect. When the subsequent printing is carried out, the first image dot matrix data is processed by utilizing the first feathering dot matrix data which generates the best printing effect, so that the printed image has better printing effect.

In one embodiment, in step S101: acquiring second feathering dot matrix data different from the first image dot matrix data, including: and acquiring second emergence lattice data which is different from the first image lattice data and is different from the first emergence lattice data in the data line number.

In step S102, acquiring second image dot matrix data corresponding to the first region and the second region, including: and acquiring second image dot matrix data with the data line number being integral multiple of the data line number of the second feathering dot matrix data.

In step S1, acquiring first image dot matrix data corresponding to the first area and the second area in the image to be printed includes: and acquiring first image dot matrix data with the data line number being integral multiple of the data line number of the first feathering dot matrix data.

By generating a plurality of first feathering dot matrix data with different data line numbers, a first area and a second area with different widths can be processed to obtain the first feathering dot matrix data with the best printing effect, and the width of the first area and the second area is twice of the distance from the boundary line of the first area and the second area to the edge of the first area and the second area.

In one embodiment, in step S103: acquiring first image dot matrix data with the data line number being the integral multiple of the data line number of the first feathering dot matrix data, comprising: and according to the acquired first emergence dot matrix data, acquiring second image dot matrix data with the number of lines 2 times that of the first emergence dot matrix data, and enabling the number of lines of data corresponding to a first area and the number of lines of data corresponding to a second area in the second image dot matrix data to be the same as the number of lines of the first emergence dot matrix data.

In one embodiment, in step S1, acquiring the first image lattice data according to the acquired first feathering lattice data includes: according to the acquired first emergence dot matrix data, first image dot matrix data with the number of lines 2 times that of the first emergence dot matrix data are acquired, and the number of lines of data corresponding to a first area and the number of lines of data corresponding to a second area in the first image dot matrix data are the same as the number of lines of the first emergence dot matrix data.

In one embodiment, in step S101, obtaining second feathering dot matrix data different from the first image dot matrix data includes: acquiring the second feathering dot matrix data containing ink discharge data of which the number is different from that of the first feathering dot matrix data.

The ink discharge data is data for controlling the nozzles to eject ink.

By acquiring the second feathering dot matrix data containing the ink discharge data of which the number is different from that of the first feathering dot matrix data, the ink discharge amount when printing is performed based on the second dot matrix data can be made different from the ink discharge amount when printing is performed based on the first dot matrix data. Therefore, which one of the first emergence dot matrix data and the second emergence dot matrix data is better dot matrix data can be judged according to the printing result of the second dot matrix data and the printing result of the first dot matrix data, and the better dot matrix data in the first emergence dot matrix data and the second emergence dot matrix data is utilized to process the first image dot matrix data corresponding to the first area and the second area, so that better printing effect can be obtained.

In one embodiment, the first image lattice data comprises: the nozzle is controlled to eject a data set of a first set amount of ink.

At step S2, acquiring first feathered dot matrix data different from the first image dot matrix data includes: if one of the data sets in the first image dot matrix data controls the nozzles to eject the ink of the first set amount and the data set is adjacent to at least one data set that controls the nozzles to eject the ink of the first set amount, the data set is changed to a data set that controls the nozzles to eject the ink of an amount smaller than the first set amount, and the first feathering dot matrix data is obtained.

The first set amount is larger than 0, and the data group includes one or more data of the first image dot matrix data.

The first image dot matrix data is obtained by changing a data set for controlling the nozzles to eject the ink in a first set amount to a data set for controlling the nozzles to eject the ink in an amount smaller than the first set amount, and the first image dot matrix data is logically operated with the first feathered dot matrix data to obtain the first dot matrix data having an ink ejection amount smaller than the ink ejection amount based on the first image dot matrix data. Printing the print medium according to the first dot matrix data can reduce the amount of ink ejected to the print medium, thereby preventing the formation of a black line in the image to be printed.

In one embodiment, in step S2, if a data set of the first image dot matrix data controls the nozzles to eject the ink of the first set amount and the data set is adjacent to at least one data set controlling the nozzles to eject the ink of the first set amount, the step of changing the data set to a data set controlling the nozzles to eject the ink of an amount smaller than the first set amount to obtain the first feathering dot matrix data includes: and traversing each data set in the first image dot matrix data, and if any data set controls the nozzles to eject the ink with the first set amount and is adjacent to at least one data set controlling the nozzles to eject the ink with the first set amount, changing the data set into a data set controlling the nozzles to eject the ink with the amount less than the first set amount to obtain the first eclosion dot matrix data.

In one embodiment, in step S2, if a data set of the first image dot matrix data controls the nozzles to eject the ink of the first set amount and the data set is adjacent to at least one data set controlling the nozzles to eject the ink of the first set amount, the step of changing the data set to a data set controlling the nozzles to eject the ink of an amount smaller than the first set amount to obtain the first feathering dot matrix data includes: if one of the data sets in the first image dot matrix data controls the nozzles to eject the ink in the first set amount and the data set is adjacent to at least two data sets that control the nozzles to eject the ink in the first set amount, the data set is changed to a data set that controls the nozzles not to eject the ink, and the first feathering dot matrix data is obtained.

In one embodiment, in step S2, if a data set of the first image dot matrix data controls the nozzles to eject the ink of the first set amount and the data set is adjacent to at least one data set controlling the nozzles to eject the ink of the first set amount, the step of changing the data set to a data set controlling the nozzles to eject the ink of an amount smaller than the first set amount to obtain the first feathering dot matrix data includes: if one of the data sets in the first image dot matrix data controls the nozzles to eject the ink of the first set amount and the data set is adjacent to at least one data set that controls the nozzles to eject the ink of the first set amount and at least two data sets that control the nozzles to eject the ink of the second set amount, the data set is changed to a data set that controls the nozzles to eject the ink of the second set amount, and the first feathering dot matrix data is obtained. The second set amount is less than the third set amount, and the second set amount is greater than 0.

In one embodiment, the first image lattice data comprises: and controlling the nozzle to eject a data set of a second set amount of ink and a third set amount of ink, wherein the third set amount is greater than 0, and the third set amount is smaller than the second set amount.

At step S2, acquiring first feathered dot matrix data different from the first image dot matrix data includes: if one of the data sets in the first image dot matrix data controls the nozzles to eject the ink of the third set amount, and the data set is adjacent to at least one data set that controls the nozzles to eject the ink of the second set amount and at least one data set that controls the nozzles to eject the ink of the third set amount, the data set is changed to a data set that controls the nozzles to eject the ink of an amount smaller than the third set amount, and the first feathering dot matrix data is obtained.

In one embodiment, if one of the data sets in the first image dot matrix data controls the nozzles to eject the ink of the third set amount and is adjacent to at least one of data for controlling the nozzles to eject the ink of the second set amount and at least one of data for controlling the nozzles to eject the ink of the third set amount, the first feathering dot matrix data is obtained by changing the data set to a data set for controlling the nozzles to eject the ink of an amount smaller than the third set amount, and the first feathering dot matrix data includes: if one of the data sets in the first image dot matrix data controls the nozzles to eject the ink of the third set amount, and the data set is adjacent to at least two data sets which control the nozzles to eject the ink of the second set amount, and at least one data set which controls the nozzles to eject the ink of the third set amount, the data set is changed to a data set which controls the nozzles not to eject the ink, so that the first eclosion dot matrix data is obtained.

In one embodiment, if one of the data sets in the first image dot matrix data controls the nozzles to eject the ink of the third set amount and is adjacent to at least one of data for controlling the nozzles to eject the ink of the second set amount and at least one of data for controlling the nozzles to eject the ink of the third set amount, the first feathering dot matrix data is obtained by changing the data set to a data set for controlling the nozzles to eject the ink of an amount smaller than the third set amount, and the first feathering dot matrix data includes: if one of the data sets in the first image dot matrix data controls the nozzles to eject the ink of the third set amount, and the data set is adjacent to at least two data sets which control the nozzles to eject the ink of the second set amount, and at least one data set which controls the nozzles to eject the ink of the third set amount, the data set is changed to a data set which controls the nozzles to eject the ink of a seventh set amount, so as to obtain the first feathering dot matrix data.

The seventh set amount is greater than 0. The seventh set amount is less than the third set amount.

In one embodiment, the first image lattice data comprises: and controlling the nozzle to eject a data set of a fourth set amount, a fifth set amount, and a sixth set amount of ink, the sixth set amount being greater than 0, the sixth set amount being less than the fifth set amount, and the fifth set amount being less than the fourth set amount.

As shown in fig. 5, in step S2, acquiring first feathering dot matrix data different from the first image dot matrix data, further includes step S21: acquiring quasi-first feathering dot matrix data according to the first image dot matrix data; step S22: judging whether a data set for controlling the nozzle to jet the third set amount of ink in the quasi-first eclosion dot matrix data is larger than a first preset value or not; step S23: if the data set for controlling the nozzle to jet the sixth set amount of ink is larger than a first preset value, one or more data sets for controlling the nozzle to jet the sixth set amount of ink in the quasi-first eclosion dot matrix data are changed into data sets for controlling the nozzle not to jet ink, and the first eclosion dot matrix data are obtained, so that the data set for controlling the nozzle to jet the sixth set amount of ink in the first eclosion dot matrix data is smaller than the first preset value.

The first preset value is a positive integer.

In one embodiment, the quasi-first feathering dot matrix data is dot matrix data formed by processing a data set for controlling the nozzles to eject the fourth set amount of ink and a data set for controlling the nozzles to eject the fifth set amount of ink in the first image dot matrix data.

Step S3: and performing logical operation on the first image dot matrix data and the first feathering dot matrix data to obtain first dot matrix data, wherein data corresponding to the first area in the first dot matrix data is used for controlling a first spray head to print, and data corresponding to the second area in the first dot matrix data is used for controlling a second spray head spliced with the first spray head to print.

The data corresponding to the first area in the first dot matrix data is used for controlling the first spray head to print, the data corresponding to the second area in the first dot matrix data is used for controlling the second spray head spliced with the first spray head to print, and therefore splicing black channels can be prevented from being formed in the area corresponding to the splicing position of the first spray head and the second spray head in the image to be printed. In one embodiment, the splicing position of the first spray head and the second spray head is positioned in the splicing overlapping area of the first spray head and the second spray head. The splice overlap region includes: the area of the first spray head where the spray area is overlapped with the spray area of the second spray head, and the area of the second spray head where the spray area is overlapped with the spray area of the first spray head.

Because the first feathering dot matrix data is different from the first image dot matrix data, it can be ensured that the amount of ink ejected by the first dot matrix data obtained by performing logical operation on the first feathering dot matrix data and the first image dot matrix data is less than the amount of ink ejected by the first image dot matrix data.

In one embodiment, in step S3, performing a logical operation on the first image lattice data and the first feathered lattice data to obtain first lattice data includes: and carrying out the AND operation on the first image dot matrix data and the first feathering dot matrix data to obtain first dot matrix data.

Fig. 6 shows first image dot matrix data, fig. 7 shows first feathered dot matrix data, and the first image dot matrix data in fig. 6 and the first feathered dot matrix data in fig. 7 are subjected to an and operation, whereby the first dot matrix data shown in fig. 8 can be obtained.

And a first nozzle prints according to the first dot matrix data and the data corresponding to the first area, and a second nozzle spliced with the first nozzle prints according to the first dot matrix data and the data corresponding to the second area, so as to eliminate spliced black channels corresponding to the spliced positions of the first nozzle and the second nozzle in the image to be printed.

The first dot matrix data corresponds to the first area, and includes: the first dot matrix data is data formed by data processing corresponding to the first region in the first image dot matrix data. The first dot matrix data and the data corresponding to the second area include: the first dot matrix data is data resulting from data processing corresponding to the second region in the first image dot matrix data.

In one embodiment, in the printing process, controlling a second nozzle to perform inkjet printing on the second area according to the first dot matrix data includes: and controlling a first nozzle to perform ink jet printing on the first area according to data corresponding to the first area in the first dot matrix data.

In the printing process, controlling a second nozzle to perform inkjet printing on the second area according to the first dot matrix data, and the method comprises the following steps: and controlling a second nozzle to perform ink jet printing on the second area according to the first dot matrix data and the data corresponding to the second area.

In the printing process, controlling a second nozzle to perform inkjet printing on the second area according to the first dot matrix data, and the method comprises the following steps: and controlling a first nozzle to perform ink jet printing on the first area according to the first dot matrix data, and controlling a second nozzle to perform ink jet printing on the second area according to the first dot matrix data.

Since the amount of ink ejected according to the first dot matrix data is smaller than the amount of ink ejected according to the first image dot matrix data, it is possible to prevent a black mark from being generated at a boundary position between the first area and the second area.

An embodiment of the present invention provides a print data processing method, which includes the following steps S4-S8, as shown in fig. 9.

Step S4: acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, wherein the distance between the first area and the second area is smaller than or equal to a set distance.

Step S5: and acquiring first feathering dot matrix data different from the first image dot matrix data, wherein the first feathering dot matrix data comprises ink discharge data and non-ink discharge data.

Step S6: and acquiring third emergence lattice data which is complementary with the first emergence lattice data.

Step S7: and performing an AND operation on the first image dot matrix data and the first feathered dot matrix data to obtain third dot matrix data.

Step S8: and carrying out the AND operation on the first image dot matrix data and the third feathering dot matrix data to obtain fourth dot matrix data.

And printing by the first sprayer according to the third dot matrix data, and printing by the second sprayer spliced with the first sprayer according to the fourth dot matrix data so as to prevent a spliced black channel from being formed in an area corresponding to the splicing position of the first sprayer and the second sprayer in the image to be printed.

In one embodiment, in step S6, obtaining third feathering dot matrix data complementary to the first feathering dot matrix data includes: and changing the ink output data in the first eclosion dot matrix data into non-ink output data, and changing the non-ink output data into ink output data to obtain third eclosion dot matrix data.

In one embodiment, the first spray head is overlapped with the second spray head in a splicing way. The first region is printed by nozzles of the first nozzle located in the splicing overlap region. The second region is printed by nozzles of the second nozzle located in the splicing overlap region. The printing area of the nozzle on the first spray head positioned in the splicing overlapping area is overlapped with the printing area of the second spray head. The printing area of the nozzle on the second spray head positioned in the splicing overlapping area is overlapped with the printing area of the first spray head.

In one embodiment, the first nozzle prints the first area and the second area according to the third dot matrix data. And printing the first area and the second area by a second spray head spliced with the first spray head according to the fourth array data.

In this embodiment, the terms, concepts and steps may be explained with reference to the above embodiments of the print data processing method, and are not described in detail here.

An embodiment of the present invention provides a print data processing apparatus, as shown in fig. 9, the apparatus including:

the device comprises a first acquisition module 01, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring first image dot matrix data corresponding to a first area and a second area in an image to be printed, and the distance between the first area and the second area is smaller than or equal to a set distance;

a second obtaining module 02, configured to obtain first feathering dot matrix data different from the first image dot matrix data;

the first operation module 03 is configured to perform logical operation on the first image dot matrix data and the first feathered dot matrix data to obtain first dot matrix data, where data corresponding to the first area in the first dot matrix data is used to control a first nozzle to print, and data corresponding to the second area in the first dot matrix data is used to control a second nozzle spliced with the first nozzle to print.

In one embodiment, the first image lattice data comprises: controlling the nozzles to eject a data set of a first set amount of ink;

the second obtaining module 02 is further configured to, if one data set in the first image dot matrix data controls the nozzles to eject the ink of the first set amount, and the data set is adjacent to at least one data set that controls the nozzles to eject the ink of the first set amount, change the data set to a data set that controls the nozzles to eject the ink of an amount smaller than the first set amount, and obtain the first feathering dot matrix data;

the first set amount is larger than 0, and the data group includes one or more data of the first image dot matrix data.

In one embodiment, the first image lattice data comprises: controlling the nozzle to eject a data set of a second set amount of ink and a third set amount of ink, the third set amount being greater than 0 and the third set amount being less than the second set amount;

the second obtaining module 02 is further configured to, if one of the data sets in the first image dot matrix data controls the nozzles to eject the ink of the third set amount, and the data set is adjacent to at least one data set for controlling the nozzles to eject the ink of the second set amount, and at least one data set for controlling the nozzles to eject the ink of the third set amount, change the data set to a data set for controlling the nozzles to eject the ink of an amount smaller than the third set amount, and obtain the first feathering dot matrix data.

In one embodiment, the first image lattice data comprises: controlling the nozzle to eject a data set of a fourth set amount, a fifth set amount, and a sixth set amount of ink, the sixth set amount being greater than 0, the sixth set amount being less than the fifth set amount, the fifth set amount being less than the fourth set amount;

as shown in fig. 11, the second obtaining module 02 includes: a first obtaining submodule 021, a judging submodule 022 and a changing submodule 023;

the first obtaining submodule 021 is configured to obtain quasi-first feathering dot matrix data according to the first image dot matrix data;

the determining sub-module 022 is configured to determine whether the number of data sets capable of controlling the nozzles to eject the sixth set amount of ink in the quasi-first feathering dot matrix data is greater than a first preset value;

the modification sub-module 023 is configured to, if a data set for controlling the nozzles to eject the sixth set amount of ink is greater than a first preset value, modify one or more data sets for controlling the nozzles to eject the sixth set amount of ink in the quasi-first eclosion dot matrix data into a data set for controlling the nozzles not to eject ink, so as to obtain the first eclosion dot matrix data, and thereby make a data set for controlling the nozzles to eject the sixth set amount of ink in the first eclosion dot matrix data smaller than the first preset value;

the first preset value is a positive integer.

In one embodiment, as shown in fig. 12, the apparatus further comprises: the system comprises a third acquisition module 06, a fourth acquisition module 07, a second operation module 08, a third printing module 09, a fourth printing module 010 and a judgment module 011;

the third obtaining module 05 is configured to obtain second feathering dot matrix data different from the first image dot matrix data;

the fourth obtaining module 06 is configured to obtain second image dot matrix data corresponding to the first area and the second area;

the second operation module 07 is configured to perform logical operation on the second feathering dot matrix data and the second image dot matrix data to obtain second dot matrix data;

the third printing module 08 is configured to control the first nozzle to perform inkjet printing according to data corresponding to the first area in the second dot matrix data;

the fourth printing module 09 is configured to control a second nozzle to perform inkjet printing according to data corresponding to the second area in the second dot matrix data;

the judging module 010 is configured to judge whether the image formed by printing meets a requirement;

the second obtaining module 02 is further configured to obtain first feathering dot matrix data different from the first image dot matrix data if the printing effect does not meet the requirement.

In an embodiment, the third obtaining module 05 is configured to obtain second feathering dot matrix data that is different from the first image dot matrix data and has a different number of rows from the first feathering dot matrix data;

the fourth obtaining module 06 is configured to obtain second image dot matrix data with a data line number that is an integral multiple of the data line number of the second feathering dot matrix data;

the second obtaining module 02 is configured to obtain first image dot matrix data with a data line number that is an integral multiple of the data line number of the first feathering dot matrix data.

In an embodiment, the third obtaining module 05 is further configured to obtain the second feathering dot matrix data, which includes the ink discharge data with a different number from the first feathering dot matrix data.

When the device is used for data processing, the operation method of each module in the device is the same as the printing data processing method provided by the invention, so the using method of each module in the device is also the same as the printing data processing method. The modules, the using method and the operating method of the sub-modules in the print data processing device of the present invention can refer to the print data processing method, and are not described in detail herein.

Referring to fig. 13, the printing method according to the above embodiment of the present invention further provides a printing data processing apparatus, which mainly includes:

at least one processor 401; and the number of the first and second groups,

a memory 402 communicatively coupled to the at least one processor; wherein the content of the first and second substances,

the memory 402 stores instructions executable by the at least one processor to be executed by the at least one processor 401 to enable the at least one processor 401 to perform the method of the above-described embodiments of the present invention. For a detailed description of the device, reference is made to the above embodiments, which are not repeated herein.

In particular, the processor 401 may include a Central Processing Unit (CPU), or a specific Integrated Circuit (asic), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.

Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may include a Hard Disk Drive (HDD), a floppy disk Drive, flash memory, an optical disk, a magneto-optical disk, magnetic tape, or a universal serial bus (ULB) Drive or a combination of two or more of these. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. The memory 402 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid-state memory. In a particular embodiment, the memory 402 includes Read Only Memory (ROM). Where appropriate, 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.

The processor 401 realizes any of the print data processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 402.

In one example, the print data processing apparatus may further include a communication interface 403 and a bus 410. As shown in fig. 13, the processor 401, the memory 402, and the communication interface 403 are connected by a bus 410 to complete communication therebetween.

The communication interface 403 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present invention.

Bus 410 includes hardware, software, or both to couple the components comprising the print data processing apparatus to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an enhanced industry standard architecture (EILA) bus, a front side bus (FLB), a Hypertransport (HT) interconnect, an industry standard architecture (ILA) 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 (LATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 410 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.

In addition, in combination with the print data processing method in the above embodiment, the embodiment of the present invention can be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the print data processing methods of the above embodiments.

In summary, according to the print data processing method, apparatus, device and storage medium provided by the embodiments of the present invention, the first feathering data array and the second feathering data array are generated, and the first feathering data array and the second feathering data array are respectively used to perform logical operations with the image data array, so as to obtain the first print data array and the second print data array, and then the first print data array and the second print data array are respectively used to print the print overlapping area, so that black streaks can be prevented from being generated in the print overlapping area, and the print effect of the image is improved.

It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention. These are all intended to be covered by the scope of protection of the present invention.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:消除喷头拼接道的方法、装置、设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类