Feathering printing method, device, equipment and storage medium for cylindrical objects
By determining the feathering amplitude and generating the template for feathering processing in cylindrical object inkjet printing technology, the problem of image unevenness caused by mechanical errors is solved and the printing quality is improved.
Patent Information
- Application Number
- CN202111087822.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-16
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2041-09-16
AI Technical Summary
In the existing inkjet printing technology of cylindrical objects, due to mechanical errors, there are problems such as uneven image, overlap or whitening at the printing splicing, which affects the printing quality.
By determining the feathering amplitude and nozzle length of the cylindrical object, a feathering template and a complementary template are generated, and the image to be printed is flirted to obtain appropriate printing data, and printing is performed when the cylindrical object rotates about the central axis and moves along the central axis direction. , ensure uniformity of the image.
It effectively solves the problem of image unevenness or overlap caused by mechanical errors, and improves the image quality of inkjet printing of cylindrical objects.
Smart Images

Figure CN115817045B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of inkjet printing technology, and in particular to a method, device, equipment and storage medium for feathering printing of cylindrical objects. Background Art
[0002] Cylindrical object printing refers to using a printer to print patterns on the surface of a cylindrical object or part of the object as a cylindrical surface (including the outer surface and the inner surface). The printed products include but are not limited to: wine bottles, thermos cups, metal tubes, glasses, paper cups, flexible materials, etc. Figure 1a The figure shows a schematic diagram of inkjet printing on the outer surface of a cylindrical object. Figure 1b The figure shows a schematic diagram of inkjet printing on the inner surface of a cylindrical object. There are currently two commonly used methods for printing cylindrical objects. In the first printing method, after the nozzle of the cylindrical object inkjet printer scans once in the X direction (the direction of the central axis of the cylindrical object, or the axial direction), the cylindrical object rotates around the central axis at a certain angle, and then the nozzle scans once in the reverse direction, and the cylindrical object rotates around the central axis at a certain angle again. This cycle is repeated to print the image to be printed on the surface of the cylindrical object one by one until the image is printed; in the second printing method, the nozzle is fixed, and the cylindrical object rotates at a constant angular velocity along the central axis. During the rotation, the nozzle prints ink, and after another rotation, the nozzle continues to be fixed at a certain distance relative to the cylindrical object along the X direction. The cylindrical object rotates again one circle, and this cycle is repeated to print the image to be printed on the surface of the cylindrical object one by one until the image is printed. The above two printing methods have low printing speeds and low efficiency. In order to increase the printing speed, a third printing method has been proposed, such as Figure 2a As shown in the figure, the nozzle is fixed differently. The cylindrical object rotates at a constant speed around the central axis and moves at a constant speed in the X direction. The nozzle ejects ink and prints it on the cylindrical surface of the object. This printing method is also called spiral printing of cylindrical objects. The cylindrical object rotates and moves driven by the rotating mechanism and stepping mechanism. In fact, it can be regarded as that when the cylindrical object rotates, the nozzle moves relative to the cylindrical object in the axial direction, such as Figure 2b As shown, due to mechanical errors, a print joint may appear after the nozzle moves a certain distance relative to the cylindrical object during printing, and there are image unevenness such as image overlap or white spots at the print joint, which seriously affects the printing quality. Summary of the invention
[0003] In view of this, embodiments of the present invention provide a cylindrical object feathering printing method, device, equipment and storage medium to solve the problem of uneven images at the printing joints due to mechanical errors in cylindrical object printing in the prior art.
[0004] In a first aspect, an embodiment of the present invention provides a method for feathering printing of a cylindrical object, the method comprising:
[0005] Determines the feathering amplitude for cylindrical object printing;
[0006] Determining a feathering region for printing the cylindrical object according to the feathering amplitude, the nozzle length and the width of the image to be printed, wherein the feathering region includes a plurality of feathering region units;
[0007] Generate a feathering template and a complementary template complementary to the feathering template according to the feathering region unit, wherein the shapes and sizes of the feathering template and the complementary template are the same as the shape and size of the feathering region unit;
[0008] Performing feathering processing on the first printing data according to the feathering template and the complementary template to obtain second printing data, wherein the first printing data is dot matrix data of the image to be printed;
[0009] Obtaining a linear velocity of the cylindrical object rotating around the central axis and a velocity of the cylindrical object moving along the central axis, which are recorded as a first velocity and a second velocity respectively;
[0010] The cylindrical object is printed according to the second printing data, the first speed and the second speed.
[0011] Preferably, determining the feathering amplitude of the cylindrical object printing comprises:
[0012] In response to an external input, external input information is acquired as the feathering amplitude.
[0013] Preferably, the determining of the feathering amplitude of the cylindrical object printing comprises:
[0014] The feathering amplitude is determined according to the first speed, the second speed, the nozzle length and the circumference of the cylindrical object.
[0015] Preferably, the method further comprises:
[0016] The first speed and the second speed are determined according to the feathering amplitude.
[0017] Preferably, the feathering region for printing the cylindrical object is determined according to the feathering amplitude, the nozzle length and the width of the image to be printed, wherein the feathering region includes several feathering region units including:
[0018] Determining the number of the feathering area units according to the width of the image to be printed, the length of the nozzle and the feathering amplitude;
[0019] Determining the width of the feathering area unit according to the feathering amplitude and the nozzle length;
[0020] The length of the feathering area unit is determined according to the height of the image to be printed, the width of the feathering area unit and the length of the nozzle.
[0021] Preferably, the generating of a feathering template and a complementary template according to the feathering region unit, wherein the shapes and sizes of the feathering template and the complementary template are the same as the shape and size of the feathering region unit, comprises:
[0022] Generate a preset grayscale image according to the shape and size of the feathering area unit;
[0023] Performing halftone processing on the preset grayscale image to obtain the feathering template;
[0024] The complementary template is obtained by inverting the data in the feathering template.
[0025] Preferably, the number of the feathering area units is N, where N is a natural number greater than or equal to 1, and the feathering processing is performed on the first printing data according to the feathering template and the complementary template to obtain the second printing data, where the first printing data is the dot matrix data of the image to be printed and includes:
[0026] Acquire printing data corresponding to the N feathering area units in the first printing data;
[0027] The printing data corresponding to the N feathering area units are ANDed with the feathering template and the complementary template respectively, to obtain N feathering printing data and N complementary printing data respectively;
[0028] The second printing data is obtained by splicing the N copies of the feathered printing data, the N copies of the complementary printing data, and the non-feathered printing data in the first printing data.
[0029] In a second aspect, an embodiment of the present invention provides a cylindrical object feathering printing device, the device comprising:
[0030] A feathering amplitude determination module, used to determine the feathering amplitude of cylindrical object printing;
[0031] A feathering region unit determination module, used to determine the feathering region for printing the cylindrical object according to the feathering amplitude, the nozzle length and the width of the image to be printed, wherein the feathering region includes a plurality of feathering region units;
[0032] A template generation module, used for generating a feathering template and a complementary template complementary to the feathering template according to the feathering area unit, wherein the shape and size of the feathering template and the complementary template are the same as the shape and size of the feathering area unit;
[0033] A feathering processing module, used for performing feathering processing on the first printing data according to the feathering template and the complementary template to obtain second printing data, wherein the first printing data is the dot matrix data of the image to be printed;
[0034] A speed acquisition module, used to acquire the linear speed of the cylindrical object rotating around the central axis and the speed of the cylindrical object moving along the central axis, which are recorded as a first speed and a second speed respectively;
[0035] A printing module is used to print the cylindrical object according to the second printing data, the first speed and the second speed.
[0036] In a third aspect, an embodiment of the present invention provides a cylindrical object feathering printing device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method of the first aspect in the above embodiment is implemented.
[0037] In a fourth aspect, an embodiment of the present invention provides a storage medium having computer program instructions stored thereon, which implements the method of the first aspect in the above-mentioned embodiment when the computer program instructions are executed by a processor.
[0038] In summary, the beneficial effects of the present invention are as follows:
[0039] The cylindrical object feathering printing method, device, equipment and storage medium provided by the embodiments of the present invention determine the feathering area unit for printing the cylindrical object according to the feathering amplitude, the nozzle length and the width of the image to be printed, then generate a feathering template and a complementary template according to the feathering area unit, perform feathering processing on the first printing data to obtain the second printing data, and finally print the cylindrical object according to the second printing data when the cylindrical object rotates around the central axis and moves along the central axis, thereby solving the problems of image unevenness, image overlap or white exposure at the printing joint due to mechanical errors when printing cylindrical objects, and ensuring the image printing quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.
[0041] Figure 1a It is a schematic diagram of printing the outer surface of a cylindrical object according to an embodiment of the present invention.
[0042] Figure 1b Schematic diagram of printing the inner surface of a cylindrical object in an embodiment of the present invention.
[0043] Figure 2a Schematic diagram of spiral printing of a cylindrical object in an embodiment of the present invention.
[0044] Figure 2b It is a schematic diagram of the printing joints that appear during the spiral printing of a cylindrical object in an embodiment of the present invention.
[0045] Figure 3 It is a schematic flow chart of the feathering printing method for cylindrical objects in an embodiment of the present invention.
[0046] Figure 4a Schematic diagram of the nozzle length in an embodiment of the present invention.
[0047] Figure 4b Schematic diagram of the feathering area and non-feathering area of the nozzle in an embodiment of the present invention.
[0048] Figure 5a Schematic diagram of an image to be printed in an embodiment of the present invention.
[0049] Figure 5b 4 is a schematic diagram of first printing data in an embodiment of the present invention.
[0050] Figure 6 Schematic diagram of a feathering region unit in an embodiment of the present invention.
[0051] Figure 7a It is a schematic diagram of N+1 copies of non-feathering printing data in the implementation of the present invention.
[0052] Figure 7b It is a schematic diagram of printing data of the first unit in an embodiment of the present invention.
[0053] Figure 7c It is a schematic diagram of printing data of the second unit in an embodiment of the present invention.
[0054] Figure 8 It is a schematic structural diagram of a cylindrical object feathering printing device according to an embodiment of the present invention.
[0055] Fig. 9 It is a schematic structural diagram of a cylindrical object feathering printing device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0057] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0058] Embodiment 1
[0059] An embodiment of the present invention provides a method for feathering printing of a cylindrical object, which is applicable to a cylindrical object inkjet printer, wherein the cylindrical object inkjet printer includes at least one nozzle, and during printing, the nozzle is fixed, and the cylindrical object rotates around the central axis and moves axially at the same time, and the nozzle ejects ink to print on the cylindrical surface of the object. In another embodiment, the cylindrical object may rotate around the central axis, and the nozzle moves axially, and the ink ejected is printed on the cylindrical surface of the object. Since the cylindrical object rotates along the central axis and moves axially at the same time to complete the printing of the image on the surface of the cylindrical object, the image printed on the surface of the cylinder does not move vertically or parallel to the nozzle, but has a certain angle with the direction of the rotation speed or the moving speed of the cylindrical object, and the size of the angle depends on the rotation speed (linear speed) and the moving speed.
[0060] Feathering during printing can reduce the uniformity of the image printing on the surface of cylindrical objects and alleviate the problem of splicing. Figure 3 As shown, the method specifically comprises the following steps:
[0061] S1: Determine the feathering amplitude of cylindrical object printing;
[0062] S2: determining a feathering region for printing the cylindrical object according to the feathering amplitude, the nozzle length and the width of the image to be printed, wherein the feathering region includes a plurality of feathering region units;
[0063] S3: generating a feathering template and a complementary template complementary to the feathering template according to the feathering region unit, wherein the feathering template and the complementary template have the same shape and size as the feathering region unit;
[0064] S4: performing feathering processing on the first printing data according to the feathering template and the complementary template to obtain second printing data, wherein the first printing data is dot matrix data of the image to be printed;
[0065] S5: obtaining a linear velocity of the cylindrical object rotating around the central axis and a velocity of the cylindrical object moving along the central axis, which are recorded as a first velocity and a second velocity respectively;
[0066] S6: Printing the cylindrical object according to the second printing data, the first speed and the second speed.
[0067] Specifically, before printing, the feathering amplitude of the feathering printing needs to be determined, denoted as a, and expressed as a percentage. The feathering height Lf can be determined according to the feathering amplitude and the nozzle length. The feathering height Lf represents the height of the nozzle feathering area during printing. Figure 4a The figure shows a schematic diagram of a nozzle. The nozzle length refers to the distance between the nozzles at both ends of the nozzle, which is recorded as L1. In this embodiment, the maximum value of the feathering height is half of the nozzle length. At this time, the feathering amplitude a is 100%, that is, Lf=a×L1 / 2=100%×L1 / 2. The size of the feathering amplitude can be selected from 0% to 100% according to the actual application. For example, when a=50%, the feathering height Lf=L1 / 4, and when a=25%, the feathering height Lf=L1 / 8. According to the feathering amplitude or feathering height, the nozzle is divided into a feathering area and a non-feathering area during printing, such as Figure 4b As shown, it is a schematic diagram of the feathering area and non-feathering area of the nozzle when the feathering amplitude is 50%.
[0068] In another embodiment, the maximum value of the feathering height can be set to 1 / b of the nozzle length, where N is a real number greater than or equal to 1. In one example, b=3, if a=100%, then the feathering height Lf=L1 / 3; in another example, b=1, if a=30%, then the feathering height Lf=3*L1 / 10.
[0069] In one embodiment, the feathering amplitude when printing cylindrical objects can be determined by the user according to actual application conditions and input to the printing device. For example, the user has accumulated experience that when the feathering amplitude is 50%, the image printing effect is the best, then the user can input the feathering amplitude value into the printing device, or select the feathering amplitude of 50% from the feathering amplitude options in the feathering printing function provided by the printing device control software.
[0070] In another embodiment, the feathering amplitude when printing a cylindrical object can be determined according to the linear velocity of the cylindrical object rotating around the central axis, the velocity of the cylindrical object moving along the central axis, and the circumference of the cylindrical object during printing. The linear velocity of the cylindrical object rotating around the central axis is recorded as the first velocity W, the velocity of the cylindrical object moving along the central axis (axial direction) is recorded as the second velocity V, and the circumference of the cylindrical object is recorded as L2. The feathering amplitude a, the maximum value of the feathering height L1 / b, the first velocity W, the second velocity V, and the circumference of the cylindrical object L2 need to satisfy the following formula:
[0071]
[0072] Wherein, b is a real number greater than or equal to 1, and the value of b can be set according to actual conditions. For example, when the feathering height is required to be no greater than half of the nozzle height, the value of b can be set to be less than 2.
[0073] In another embodiment, due to mechanical errors in the rotating mechanism or stepping mechanism of the printer after a certain period of use or due to other external reasons, the results on both sides of the equal sign of formula (1) do not match, so it is necessary to add a correction coefficient to formula (1) to obtain the following formula:
[0074] or:
[0075]
[0076] Among them, c and d are correction coefficients, both of which are real numbers. The values of c and d are determined according to the size of the mechanical error.
[0077] Therefore, when the values of the first speed W and the second speed V are determined, the feathering amplitude can be calculated according to the above formula. In actual printing applications, the first speed W and the second speed V may be set according to the accuracy of the image to be printed. In this case, the feathering amplitude can be determined according to the first speed and the second speed.
[0078] In another embodiment, the first speed and the second speed may be determined according to the set feathering amplitude, or the second speed may be determined according to the set feathering amplitude and the first speed, or the first speed may be determined according to the set feathering amplitude and the second speed. The relationship between the feathering amplitude and the first speed and the second speed must satisfy the above formula (1).
[0079] The feathering amplitude is obtained, that is, the feathering height during printing can be known, and then the feathering area, that is, the number of feathering areas, when printing on the surface of the cylindrical object is determined according to the feathering height, the nozzle length, and the width of the image to be printed. In one embodiment, the feathering area of the cylindrical object is determined according to the feathering amplitude, the nozzle length, and the width of the image to be printed, wherein the feathering area includes a plurality of feathering area units, and includes the following steps:
[0080] Determining the number of the feathering area units according to the width of the image to be printed, the length of the nozzle and the feathering amplitude;
[0081] Determining the width of the feathering area unit according to the feathering amplitude and the nozzle length;
[0082] The length of the feathering area unit is determined according to the height of the image to be printed, the width of the feathering area unit and the length of the nozzle.
[0083] Specifically, FIG. 5 is a schematic diagram of an image to be printed on a cylindrical object. The dot matrix data of the image to be printed obtained after RIP processing is as follows: Figure 5b As shown in FIG. 1 , the dot matrix data of the image to be printed is a two-dimensional data matrix, and the data matrix is recorded as the first printing data, where area 1 and area 2 are filled blank data, and area 3 is the actual printing data of ink. Due to the relative movement between the nozzle and the cylindrical object, the joint between the head and the tail of each nozzle during printing is the feathering area that needs to be feathered. The feathering area is unfolded on the plane as shown in FIG. Figure 6 As shown, the feathering area includes a plurality of feathering area units, wherein the number of feathering area units is determined by the width P of the image to be printed, the nozzle length L1 and the feathering height Lf, wherein Lf = aL1 / 2, and the number of feathering area units is assumed to be N. According to formula (1), it can be obtained that:
[0084]
[0085] Among them, the symbol To round up.
[0086] The width D1 of the feathering area unit is equal to the feathering height Lf, that is, D1 = aL1 / b. The length D2 of the feathering area unit is determined according to the height H of the image to be printed, the nozzle length L1 and the feathering height Lf (or the feathering amplitude a). According to formula (1), it can be obtained that:
[0087]
[0088] In addition, the inclination angle θ can be determined by the values of D1 and D2, thereby the shape and size of the feathering area unit can be determined.
[0089] In another embodiment, the number of feathering area units N and the length D2 of the feathering area units may be determined according to formula (2) or formula (3). The derivation process is similar to the above and will not be repeated here.
[0090] After the shape and size of the feathering area unit are determined, a feathering template having the same shape and size as the feathering area unit needs to be produced. In one embodiment, the step of generating a feathering template and a complementary template according to the feathering area unit, wherein the shape and size of the feathering template and the complementary template are the same as the shape and size of the feathering area unit, comprises the following steps:
[0091] Generate a preset grayscale image according to the shape and size of the feathering area unit;
[0092] Performing halftone processing on the preset grayscale image to obtain the feathering template;
[0093] The complementary template is obtained by inverting the data in the feathering template.
[0094] Specifically, a preset grayscale image consistent with the shape and size of the feathering area unit is generated, and the preset grayscale image is a continuous gradient grayscale image, preferably with a gradient grayscale of 0%-100%. The preset grayscale image is half-toned to obtain the dot matrix data of the preset grayscale image, thereby obtaining the feathering template corresponding to the feathering area unit. The data of the feathering template includes binary data "1" and "0", data "1" indicates ink output, and data "0" indicates no ink output. The shape and size of the complementary template are the same as those of the feathering template, and the sum of the data matrices corresponding to the feathering template and the complementary template is equal to an all-one matrix. Therefore, the data in the feathering template is inverted (here "inverted" means that the data "1" is inverted to "0", and the data "0" is inverted to "1") or the data matrix corresponding to the feathering template is subtracted from the all-one matrix, and the data matrix corresponding to the complementary template can be obtained.
[0095] The second printing data can be obtained by processing the first printing data using the feathering template and the complementary template. In one embodiment, the feathering processing of the first printing data according to the feathering template and the complementary template to obtain the second printing data includes:
[0096] Acquire printing data corresponding to the N feathering area units in the first printing data;
[0097] The printing data corresponding to the N feathering area units are ANDed with the feathering template and the complementary template respectively, to obtain N feathering printing data and N complementary printing data respectively;
[0098] The second printing data is obtained by splicing the N copies of the feathered printing data, the N copies of the complementary printing data, and the non-feathered printing data in the first printing data.
[0099] Because the feathering process is only performed on each feathering area unit, it is only necessary to extract the print data corresponding to each feathering area unit in the first print data, and perform an "AND" operation with the data matrix corresponding to the feathering template and the data matrix corresponding to the complementary template, respectively, to obtain N feathering print data and N complementary print data, and splice the N feathering print data, the N complementary print data and the non-feathering print data in the first print data in a printing order to obtain the second print data. For example, Figure 7a As shown, the first print data is divided into N+1 non-feathered print data by N feathered area units, and the printing order is to start printing from the first non-feathered print data and end at the N+1 non-feathered print data, wherein the first non-feathered print data is spliced with the first feathered print data to obtain the first unit print data (such as Figure 7b The first complementary printing data, the second non-feathering printing data and the second feathering printing data are spliced to obtain the second unit printing data (as shown); Figure 7c , the N-1th complementary printing data, the Nth non-feathered printing data and the Nth feathered printing data are spliced to obtain the Nth unit printing data, the Nth complementary printing data and the N+1th non-feathered printing data are spliced to obtain the N+1th unit printing data. The first unit printing data, the second unit printing data, ..., the N+1th unit printing data are spliced to obtain the second printing data.
[0100] Finally, when the cylindrical object rotates at a uniform speed of the first speed around the central axis and moves at a second speed along the axial direction, the nozzle is controlled to discharge ink according to the second printing data, and the image to be printed is printed on the cylindrical object. If each time the nozzle and the cylindrical object move relative to each other by a distance (L1-D1) equal to the nozzle length minus the feathering height is recorded as 1 Pass, then the printing can be completed in N+1 Passes. In the first Pass, the first unit of print data is distributed to the nozzle, in the second Pass, the second unit of print data is distributed to the nozzle, and so on, in the N+1 Pass, the N+1th unit of print data is distributed to the nozzle, and the printing of the cylindrical object is completed.
[0101] In summary, the cylindrical object feathering printing method provided in the embodiment of the present invention determines the feathering area unit for printing the cylindrical object according to the feathering amplitude, the nozzle length and the width of the image to be printed, and then generates a feathering template and a complementary template according to the feathering area unit, performs feathering processing on the first printing data to obtain the second printing data, and finally prints the surface of the cylindrical object according to the second printing data when the cylindrical object rotates around the central axis and moves along the central axis. This solves the problems of image unevenness, image overlap or white exposure at the printing joint due to mechanical errors when printing cylindrical objects, thereby ensuring the image printing quality.
[0102] Embodiment 2
[0103] See also Figure 8 The embodiment of the present invention provides a cylindrical object feathering printing device 200, the device 200 comprising:
[0104] A feathering amplitude determination module 201 is used to determine the feathering amplitude of the cylindrical object printing;
[0105] A feathering region unit determination module 202, configured to determine a feathering region for printing the cylindrical object according to the feathering amplitude, the nozzle length and the width of the image to be printed, wherein the feathering region includes a plurality of feathering region units;
[0106] A template generating module 203 generates a feathering template and a complementary template complementary to the feathering template according to the feathering region unit, wherein the feathering template and the complementary template have the same shape and size as the feathering region unit;
[0107] A feathering processing module 204, configured to perform feathering processing on the first printing data according to the feathering template and the complementary template to obtain second printing data, wherein the first printing data is dot matrix data of the image to be printed;
[0108] The speed acquisition module 205 is used to acquire the linear speed of the cylindrical object rotating around the central axis and the speed of the cylindrical object moving along the central axis, which are recorded as the first speed and the second speed respectively;
[0109] The printing module 206 is configured to print the cylindrical object according to the second printing data, the first speed and the second speed.
[0110] In summary, the cylindrical object feathering printing device provided in the embodiment of the present invention determines the feathering area unit for printing the cylindrical object according to the feathering amplitude, the nozzle length and the width of the image to be printed, and then generates a feathering template and a complementary template according to the feathering area unit, performs feathering processing on the first printing data to obtain the second printing data, and finally prints the cylindrical object according to the second printing data when the cylindrical object rotates around the central axis and moves along the central axis, thereby solving the problems of image unevenness, image overlap or white exposure at the printing joint due to mechanical errors when printing cylindrical objects, and ensuring the image printing quality.
[0111] Embodiment 3
[0112] In addition, the cylindrical object feathering printing method according to the embodiment of the present invention may be implemented by a cylindrical object feathering printing device. Fig. 9 A schematic diagram of the hardware structure of a cylindrical object feathering printing device provided by an embodiment of the present invention is shown.
[0113] The cylindrical object feathering printing device may include a processor 301 and a memory 302 storing computer program instructions.
[0114] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0115] The memory 302 may include a large capacity memory for data or instructions. For example, but not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the data processing device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory. In a specific embodiment, the memory 302 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0116] The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement any one of the cylindrical object feathering printing methods in the above embodiments.
[0117] In one example, the cylindrical object feathering printing device may further include a communication interface 303 and a bus 310. Fig. 9 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.
[0118] The communication interface 303 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.
[0119] Bus 310 includes hardware, software or both, and the parts of cylindrical object feathering printing device are coupled to each other. For example and not limitation, bus 310 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0120] Embodiment 4
[0121] In addition, in combination with the cylindrical object feathering printing method in the above embodiment, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor 301, any cylindrical object feathering printing method in the above embodiment is implemented.
[0122] In summary, the cylindrical object feathering printing method, device, equipment and storage medium provided by the embodiments of the present invention determine the feathering area unit for printing the cylindrical object according to the feathering amplitude, the nozzle length and the width of the image to be printed, and then generate a feathering template and a complementary template according to the feathering area unit, perform feathering processing on the first printing data to obtain the second printing data, and finally print the cylindrical object according to the second printing data when the cylindrical object rotates around the central axis and moves along the central axis, thereby solving the problems of image unevenness, image overlap or white exposure at the printing joint due to mechanical errors when printing cylindrical objects, and ensuring the image printing quality.
[0123] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0124] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0125] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0126] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A method for feathering printing of cylindrical objects, characterized in that: The method comprises: Determines the feathering amplitude for cylindrical object printing; Determining a feathering region for printing the cylindrical object according to the feathering amplitude, the nozzle length and the width of the image to be printed, wherein the feathering region includes a plurality of feathering region units; Generate a feathering template and a complementary template complementary to the feathering template according to the feathering region unit, wherein the shapes and sizes of the feathering template and the complementary template are the same as the shape and size of the feathering region unit; Performing feathering processing on the first printing data according to the feathering template and the complementary template to obtain second printing data, wherein the first printing data is dot matrix data of the image to be printed; Obtaining a linear velocity of the cylindrical object rotating around the central axis and a velocity of the cylindrical object moving along the central axis, which are recorded as a first velocity and a second velocity respectively; The cylindrical object is printed according to the second printing data, the first speed, and the second speed.
2. The method for feathering printing of cylindrical objects according to claim 1, characterized in that: Determining the feathering amplitude of printing a cylindrical object includes: In response to an external input, external input information is acquired as the feathering amplitude.
3. The cylindrical object feathering printing method according to claim 1, characterized in that: Determining the feathering amplitude of printing of the cylindrical object includes: The feathering amplitude is determined according to the first speed, the second speed, the nozzle length and the circumference of the cylindrical object.
4. The cylindrical object feathering printing method according to claim 2, characterized in that: The method further comprises: The first speed and the second speed are determined according to the feathering amplitude.
5. The cylindrical object feathering printing method according to claim 4, characterized in that: The first speed and the second speed are determined according to the feathering amplitude using the following formula: Wherein, W is the first speed, V is the second speed, L1 is the nozzle length, a is the feathering amplitude, L2 is the circumference of the cylindrical object, and b is a real number greater than or equal to 1.
6. The method for feathering printing of cylindrical objects according to claim 1, characterized in that: The feathering region for printing the cylindrical object is determined according to the feathering amplitude, the nozzle length and the width of the image to be printed, wherein the feathering region includes a plurality of feathering region units including: Determining the number of the feathering area units according to the width of the image to be printed, the length of the nozzle and the feathering amplitude; Determining the width of the feathering area unit according to the feathering amplitude and the nozzle length; The length of the feathering area unit is determined according to the height of the image to be printed, the width of the feathering area unit and the length of the nozzle.
7. The cylindrical object feathering printing method according to claim 1, characterized in that: The number of the feathering area units is N, where N is a natural number greater than or equal to 1. The feathering process is performed on the first printing data according to the feathering template and the complementary template to obtain the second printing data, where the first printing data is the dot matrix data of the image to be printed and includes: Acquire printing data corresponding to the N feathering area units in the first printing data; The printing data corresponding to the N feathering area units are ANDed with the feathering template and the complementary template respectively, to obtain N feathering printing data and N complementary printing data respectively; The second printing data is obtained by splicing the N copies of the feathered printing data, the N copies of the complementary printing data, and the non-feathered printing data in the first printing data.
8. A cylindrical object feathering printing device, characterized in that: The device comprises: A feathering amplitude determination module, used to determine the feathering amplitude of cylindrical object printing; A feathering area unit determination module, used to determine the feathering area for printing the cylindrical object according to the feathering amplitude, the nozzle length and the width of the image to be printed, wherein the feathering area includes a plurality of feathering area units; A template generation module, used for generating a feathering template and a complementary template complementary to the feathering template according to the feathering area unit, wherein the shape and size of the feathering template and the complementary template are the same as the shape and size of the feathering area unit; A feathering processing module, used for performing feathering processing on the first printing data according to the feathering template and the complementary template to obtain second printing data, wherein the first printing data is the dot matrix data of the image to be printed; A speed acquisition module, used to acquire the linear speed of the cylindrical object rotating around the central axis and the speed of the cylindrical object moving along the central axis, which are recorded as a first speed and a second speed respectively; A printing module is used to print the cylindrical object according to the second printing data, the first speed and the second speed.
9. A cylindrical object feathering printing device, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 7.
10. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Image processing method, apparatus, equipment and storage medium for printing drum
CN109101203A
Cylindrical fabric high-speed printing method and high-speed printing device
CN109733070A