CN110341311A - Onepass print data shielding processing method, apparatus, equipment and storage medium - Google Patents

Onepass print data shielding processing method, apparatus, equipment and storage medium Download PDF

Info

Publication number
CN110341311A
CN110341311A CN201910591382.2A CN201910591382A CN110341311A CN 110341311 A CN110341311 A CN 110341311A CN 201910591382 A CN201910591382 A CN 201910591382A CN 110341311 A CN110341311 A CN 110341311A
Authority
CN
China
Prior art keywords
physical channel
shielding
pixels
value
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910591382.2A
Other languages
Chinese (zh)
Other versions
CN110341311B (en
Inventor
李龙良
曾利群
梅�明
陈艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hansen Software Co ltd
Original Assignee
Sen Da (shenzhen) Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sen Da (shenzhen) Technology Co Ltd filed Critical Sen Da (shenzhen) Technology Co Ltd
Priority to CN201910591382.2A priority Critical patent/CN110341311B/en
Publication of CN110341311A publication Critical patent/CN110341311A/en
Application granted granted Critical
Publication of CN110341311B publication Critical patent/CN110341311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/07Ink jet characterised by jet control
    • B41J2/11Ink jet characterised by jet control for ink spray

Landscapes

  • Ink Jet (AREA)

Abstract

The invention discloses a kind of Onepass print data shielding processing method, apparatus, equipment and storage mediums, the method comprise the steps that according to target print image, Onepass print data to be shielded is counted as unit of pixel, obtains and corresponding first count value in physical channel front end and/or the second count value corresponding with physical channel tail end;Obtain the shielding end position number of pixels value of physical channel front end and/or the shielding starting position number of pixels value of physical channel tail end;The first comparison result is obtained according to the first count value and the shielding end position number of pixels value of physical channel front end;Number of pixels corresponding to the nozzle rows of shielding physics Channel front end is determined according to the first comparison result.Method of the invention meets the printing demand of different user by realizing the accurately shielding processing of the partial data progress to print image.

Description

Onepass print data shielding processing method, apparatus, equipment and storage medium
Technical field
The present invention relates to inkjet printing technology field more particularly to a kind of Onepass print data shielding processing methods, dress It sets, equipment and storage medium.
Background technique
With extensive use of the computer in figure, word processing, the application of printer is also become increasingly prevalent.It is logical Cross printer, people can very easily will be on the text or images outputting to picture in computer.In current industrial inkjet In print system, spray head sprays ink droplet in formation air brushing picture and text on print media.Current continuous disposable paper feed ink jet type (Onepass) ink-jet printer printed becomes a developing direction of flying print, and print module is equipped with spray head, is spraying Print module is stationary in head ink jet process, and the print media below spray head unidirectionally passes through at a high speed, that is, spray nozzle Length direction (X-direction) is vertical with moving direction (Y-direction) of print media, and spray head is generally fixed, print media from By once can be obtained by the pattern for needing to print below spray head, and print media continuously moves, and does not pause.Using Printing precision and the print span requirement that Onepass is printed to spray head are very high, and the printing precision of spray head need to be the printing essence of image Degree, and the print span of spray head need to be the width of all images.Certainly have by way of interpolation spray head in the prior art and obtain It obtains high-precision and obtains broader print span by way of concatenating spray head, flying print demand can be met in this way. Onepass printing has high-efficient, the big advantage of yield, is suitable for high-volume, continuous production mode.
However, maximum supports print span to have determined after the Design of Mechanical Structure of Onepass printing device is completed. Under normal conditions, the maximum printing width that user needs the picture traverse printed and printer to support does not agree with completely.Cause How this realizes that accurately image data shielding processing is when picture traverse is less than the maximum printing width that printer is supported As field technical staff's urgent problem to be solved.
Summary of the invention
The embodiment of the invention provides a kind of Onepass print data shielding processing method, apparatus, equipment and storages to be situated between How matter realizes accurately image data screen when solving print image amplitude less than the maximum printing wide cut that printer is supported The problem of covering processing.
In a first aspect, the embodiment of the invention provides a kind of Onepass print data shielding processing method, the method packet It includes:
According to target print image, Onepass print data to be shielded is counted as unit of pixel, obtain with Corresponding first count value in physical channel front end and/or the second count value corresponding with physical channel tail end;
Obtain shielding end position number of pixels value and/or the shielding start bit of physical channel tail end of physical channel front end Number of pixels value is set, wherein sequentially being numbered from the starting pixels of the physical channel front end to physical channel tail end last Place, the shielding end position number of pixels value and shielding starting position number of pixels value are corresponded to corresponding number;
First is obtained according to first count value and the shielding end position number of pixels value of the physical channel front end Comparison result;
It is determined according to first comparison result and shields number of pixels corresponding to the nozzle rows of the physical channel front end;
And/or
Second is obtained according to second count value and the shielding starting position number of pixels value of the physical channel tail end Comparison result;
It is determined according to second comparison result and shields number of pixels corresponding to the nozzle rows of the physical channel tail end.
Preferably, described according to first count value and the shielding end position number of pixels of the physical channel front end Value obtains the first comparison result
If first comparison result is the shielding end position that first count value is greater than the physical channel front end Number of pixels value, then the physical channel front end is without shielding any pixel.
Preferably, described according to first count value and the shielding end position number of pixels of the physical channel front end Value obtains the first comparison result further include:
If first comparison result is first count value, the shielding less than or equal to the physical channel front end terminates Position number of pixels value, then physical channel front end need to shield the shielding stop bits that number of pixels value is equal to the physical channel front end Set the difference of number of pixels value Yu first count value.
Preferably, described according to first count value and the shielding end position number of pixels of the physical channel front end Value obtains the first comparison result:
If first comparison result is 0 < n < k, preceding rn pixels of physical channel front end are without shielding, and physics Remaining k-rn pixel needs to shield in channel, wherein n be positive integer and be less than k/r, k be data processing bus bit wide value/ The ratio of gray value of image r.
Preferably, described according to second count value and the shielding starting position number of pixels of the physical channel tail end Value obtains the second comparison result
If second comparison result is the shielding starting position that second count value is greater than the physical channel tail end Number of pixels value, then the physical channel tail end is without shielding any pixel;
If second comparison result is second count value, the shielding less than or equal to the physical channel tail end starts Position number of pixels value, then physical channel tail end need to shield the shielding start bit that number of pixels value is equal to the physical channel tail end Set the difference of number of pixels value Yu second count value;
If second comparison result is 0 < m < k, preceding rm pixels of physical channel tail end are without shielding, and physics Remaining k-rm pixel needs to shield in channel, wherein m be positive integer and be less than k/r, k be data processing bus bit wide value/ The ratio of gray value of image r.
Preferably, the method also includes:
It obtains the mask information of the image data of shielding physics Channel front end and/or shields the picture number of physics channel end According to mask information.
Preferably, the mask information of the image data for obtaining shielding physics Channel front end and/or shielding physical channel The mask information of the image data of end specifically includes:
Obtain number of pixels, starting pixels point and/or the end pixel point of target print image;
Obtain the nozzle columns of grafting spray head number, all physical channels;
Using the start-print pixel of the target print image as image origin, the pixel of building target print image is flat Areal coordinate system;
The nozzle columns of all physical channels is mapped in the pixel planes coordinate system, it is logical to obtain each physics The nozzle rows of the start-print in road relative to described image origin deviant as channel offset number;
According to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and the starting picture Vegetarian refreshments obtains the mask information for shielding the image data of physics Channel front end;And/or the nozzle according to the physical channel Columns, the grafting spray head number, the channel offset number and end pixel point are obtained for shielding physics channel end The mask information of image data.
Second aspect, the present invention provide a kind of Onepass print data shielding processing device, wherein described device includes:
Count value obtains module, for being with pixel to Onepass print data to be shielded according to target print image Unit is counted, and is obtained and corresponding first count value in physical channel front end and/or corresponding with physical channel tail end second Count value;
Shield location of pixels obtain module, for obtain physical channel front end shielding end position number of pixels value and/ Or the shielding starting position number of pixels value of physical channel tail end, wherein sequentially being compiled from the starting pixels of the physical channel front end Number at the tail end last of physical channel, the shielding end position number of pixels value and shielding starting position number of pixels value It is corresponded to corresponding number;
First comparison module, for the shielding end position picture according to first count value and the physical channel front end Plain numerical value obtains the first comparison result;
Preceding end pixel shielding number obtains module, before determining the shielding physical channel according to first comparison result Number of pixels corresponding to the nozzle rows at end;
And/or
Second comparison module, for the shielding starting position picture according to second count value and the physical channel tail end Plain numerical value obtains the second comparison result;
End pixel shielding number obtains module afterwards, shields the physical channel tail for determining according to second comparison result Number of pixels corresponding to the nozzle rows at end.
The third aspect, the embodiment of the invention provides a kind of Onepass print data shielding processing equipment, comprising:
At least one processor, at least one processor and computer program instructions stored in memory, work as meter The method such as first aspect in above embodiment is realized when calculation machine program instruction is executed by processor.
Fourth aspect, the embodiment of the invention provides a kind of storage mediums, are stored thereon with computer program instructions, work as meter The method such as first aspect in above embodiment is realized when calculation machine program instruction is executed by processor.
In conclusion Onepass print data shielding processing method, apparatus provided in an embodiment of the present invention, equipment and depositing Storage media, be determined by the shielding number of pixels to physical channel front end and the shielding number of pixels of physical channel tail end into Row determines, realizes and carries out accurately shielding processing to the partial data of print image, meets the printing demand of different user.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, for those of ordinary skill in the art, without creative efforts, also Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is the flow chart of Onepass print data shielding processing method of the embodiment of the present invention.
Fig. 2 is the schematic diagram for realizing the processing of physical channel data mask of the embodiment of the present invention.
Fig. 3 is the first physical channel of the embodiment of the present invention and the signal that data mask is handled is realized in the second physical channel Figure.
Fig. 4 is the structural schematic diagram of the Onepass print data shielding processing device of the embodiment of the present invention.
Fig. 5 is the structural schematic diagram of Onepass print data shielding processing equipment of the embodiment of the present invention.
Specific embodiment
The feature and exemplary embodiment of various aspects of the invention is described more fully below, in order to make mesh of the invention , technical solution and advantage be more clearly understood, with reference to the accompanying drawings and embodiments, the present invention is further retouched in detail It states.It should be understood that specific embodiment described herein is only configured to explain the present invention, it is not configured as limiting the present invention. To those skilled in the art, the present invention can be real in the case where not needing some details in these details It applies.Below the description of embodiment is used for the purpose of better understanding the present invention to provide by showing example of the invention.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including There is also other identical elements in the process, method, article or equipment of the element.
Embodiment 1
Referring to Figure 1, the embodiment of the invention provides a kind of Onepass print data shielding processing method, the methods It realizes and accurately shielding processing is carried out to the partial data of print image, meet the printing demand of different user, improve User experience.It less than the data mask in the case of the wide cut of printing head or is needed primarily directed to the breadth of target print image The parts of images of target print image is shielded.
The method specifically comprises the following steps:
S1, according to target print image, Onepass print data to be shielded is counted as unit of pixel, is obtained Take and corresponding first count value in physical channel front end and/or the second count value corresponding with physical channel tail end;
S2, the shielding end position number of pixels value of physical channel front end and/or shielding for physical channel tail end are obtained Beginning position number of pixels value, wherein sequentially being numbered from the starting pixels of the physical channel front end to physical channel tail end end picture At element, the shielding end position number of pixels value and shielding starting position number of pixels value are corresponded to corresponding number;
S3, the is obtained according to first count value and the shielding end position number of pixels value of the physical channel front end One comparison result;
S4, pixel corresponding to the nozzle rows of the shielding physical channel front end is determined according to first comparison result Number;
And/or
S5, the is obtained according to second count value and the shielding starting position number of pixels value of the physical channel tail end Two comparison results;
S6, pixel corresponding to the nozzle rows of the shielding physical channel tail end is determined according to second comparison result Number.
It is described according to first count value and the physical channel in above-mentioned steps S3 in a preferred embodiment The shielding end position number of pixels value of front end obtains the first comparison result
If first comparison result is the shielding end position that first count value is greater than the physical channel front end Number of pixels value, then the physical channel front end is without shielding any pixel.
If first comparison result is first count value, the shielding less than or equal to the physical channel front end terminates Position number of pixels value, then physical channel front end need to shield the shielding stop bits that number of pixels value is equal to the physical channel front end Set the difference of number of pixels value Yu first count value.
If first comparison result is 0 < n < k, preceding rn pixels of physical channel front end are without shielding, and physics Remaining k-rn pixel needs to shield in channel, wherein n be positive integer and be less than k/r, k be data processing bus bit wide value/ The ratio of gray value of image r.Here k, n, r etc. is positive integer.
In a preferred embodiment, in above-mentioned steps S3, described according to second count value and the physical channel The shielding starting position number of pixels value of tail end obtains the second comparison result
If second comparison result is the shielding starting position that second count value is greater than the physical channel tail end Number of pixels value, then the physical channel tail end is without shielding any pixel;
If second comparison result is second count value, the shielding less than or equal to the physical channel tail end starts Position number of pixels value, then physical channel tail end need to shield the shielding start bit that number of pixels value is equal to the physical channel tail end Set the difference of number of pixels value Yu second count value;
If second comparison result is 0 < m < k, preceding rm pixels of physical channel tail end are without shielding, and physics Remaining k-rm pixel needs to shield in channel, wherein m be positive integer and be less than k/r, k be data processing bus bit wide value/ The ratio of gray value of image r.Here k, m, r etc. is positive integer.
Preferably, the method also includes:
It obtains the mask information of the image data of shielding physics Channel front end and/or shields the picture number of physics channel end According to mask information.
Preferably, the mask information of the image data for obtaining shielding physics Channel front end and/or shielding physical channel The mask information of the image data of end specifically includes:
Obtain number of pixels, starting pixels point and/or the end pixel point of target print image;
Obtain the nozzle columns of grafting spray head number, all physical channels;
Using the start-print pixel of the target print image as image origin, the pixel of building target print image is flat Areal coordinate system;
The nozzle columns of all physical channels is mapped in the pixel planes coordinate system, it is logical to obtain each physics The nozzle rows of the start-print in road relative to described image origin deviant as channel offset number;
According to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and the starting picture Vegetarian refreshments obtains the mask information for shielding the image data of physics Channel front end;And/or the nozzle according to the physical channel Columns, the grafting spray head number, the channel offset number and end pixel point are obtained for shielding physics channel end The mask information of image data.
Specifically, in the present embodiment, the passage length of physical channel is measured as unit of pixel, according to target Print image is also to be measured with pixel to Onepass print data to be shielded, and the two can build by mapping relations one by one Found corresponding corresponding relationship.And final physical channel Onepass when realizing the shielding processing of Onepass print data prints number It needs to calculate according to different gray scales according to length.Gray scale is that 11 pixel of expression is described by 1bit data, and gray scale is 2 expressions 1 A pixel is described by 2bit data, and gray scale is that 31 pixel of expression are described by 4bit data, and so on.It is beaten to Onepass When printing is according to shielding processing is carried out, print data shielding templates are generated according to data processing bus bit wide.In this implementation In example, such as data processing bus bit wide is 64, gray scale 2, then 32 pixels of a data processing are (namely with bit wide/gray scale Value).Therefore need to generate the print data shielding templates of a 64bit bit wide and the physical channel of each 64bit Onepass print data is corresponding.Hereafter, by Onepass print data and print data shielding templates carry out with operation it Afterwards, it is then sent through the masking operation that processor (post-module) realizes physical channel data.
With bus bit wide 64, gray scale 2 generates the print data shielding templates of a 64bit bit wide in accordance with the following methods It generates:
It is started counting as unit of pixel from each physical channel initial data, one data of every processing, pixel counter Cumulative 32.To the last a data are disposed, and pixel counter is reset.In the present embodiment, first count value is The cumulative number of pixels of counter.It is understood, therefore, that first count value is incremented by with 32 multiple.Certainly here It is citing, the print data shielding templates of N number of bit bit wide can also be generated according to bus bit wide and gray values.
In one embodiment, be described in detail below to above-mentioned steps S2: the Onepass of Onepass print system is beaten Printing data processing is carried out based on physical channel.There is mapped specific relationships for physical channel and printer head.Physics is logical Road corresponds at least one spray head, can according to need corresponding to two spray heads or multiple spray heads, and each spray head includes multiple row spray Mouth, a column nozzle have multiple nozzles, referred to as nozzle rows.Realizing wide cut less than the maximum printing wide cut that the printer is supported When the printing of target print image, need to carry out shielding processing to part Onepass print data.Therefore, when the physics is logical When the nozzle in road requires to participate in the printing of the target image, then the total data of the physical channel is effective;When the object When whole nozzles in reason channel all need not participate in the Onepass printing of the target image, then all Onepass print number It is shielded according to needs;Otherwise, the data without printout are only shielded.In the present embodiment, target print image is by multiple Physical channel is printed out.Thus in print procedure, each physical channel may shield feelings in face of following four Condition: end shield before physical channel;The shielding of physical channel tail end;Shielding is all realized in the front end and tail end both ends of physical channel;Physics The front end and tail end both ends in channel do not shield.
Below with data processing bus bit wide for 64, gray scale 2, i.e. 32 pixels of a data processing need to generate one Illustrate for the shielding templates of a 64bit bit wide, it is similar under certain other bit wides and/or gray value.
1) for before physical channel the case where end shield:
First calculate the number of pixels a1 that each physical channel front end needs current print data to shield.
For each currently processed physical channel, if the first count value c1 is greater than end shield pixel position before physical channel Value is set, then a1 is equal to 0 (namely without shielding pixel), and otherwise a1 is equal to the first count value of preceding end shield pixel value b1- c1.
Then, front end shielding templates are generated according to a1 value;If a1 is 0, then it represents that do not need shielding pixel, preceding end shield mould Plate is complete 1 (namely not needing to shield);If a1 is more than or equal to 32, pixel described in this data of the physical channel is required Shielding, i.e. front end shielding templates are full 0 (i.e. all shieldings), if within 0 to 32, when not including 0 and 32, then according to a1 value Depending on, such as if n (0 < n < 32), then low 2n in the shielding templates of front end are 0, remaining as 1.
2) the case where being shielded for physical channel tail end:
Calculate the number of pixels a2 that physical channel tail end does not need current data shielding.
For each currently processed physical channel, if the first count value c1 is greater than physical channel tail end and shields pixel position Value is set, then a2 is equal to 0, and otherwise a2 is equal to tail end shielding the-the first count value of pixel value c1.
Then, judge that a2 value generates tail end shielding templates;
If 0, then it represents that all pixels need to shield, and tail end shielding templates are set as full 0;
If more than 32, then it represents that current data is not necessary to do tail end shielding processing, and tail end shielding templates are complete 1;
Otherwise, depending on the value of a2, such as if n (0 < n < 32), then low 2n in tail end shielding templates are 1, remaining Position is 0.
Preferably, referring to Fig. 3, assuming that d point is set to the physical channel front end end position of first physical channel Pixel position, then when carrying out data processing, counter is counted.For present physical channel, every processing is primary Print data, counter add up 32 pixels.And the pixel after d point, system do not need shielding.Before d point Number of pixels be 84 pixels.
At ab sections the first part of physical channel front end (ab sections be): the first count value of nonce counter is 0, described The shielding end position number of pixels value of physical channel front end is 84, then the first comparison result is equal to 84 at this time, second meter Numerical value is 32, it is seen that first comparison result is greater than second count value, then the ab sections i.e. physical channel front end First part's all pixels all shielded;
At bc sections the second part of physical channel front end (bc sections be): the first count value of nonce counter is 32, institute The shielding end position number of pixels value for stating physical channel front end is 84, then the first comparison result is equal to 52, described second at this time Count value is 32, it is seen that first comparison result is greater than second count value, then before the bc sections i.e. physical channel The second part all pixels at end are all shielded;
At cd sections the Part III of physical channel front end (cd sections be): the first count value of nonce counter is 64, institute The shielding end position number of pixels value for stating physical channel front end is 84, then the first comparison result is equal to 20 at this time, and second counts Value is 32, it is seen that first comparison result is less than second count value, then the number of pixels that cd sections of needs shield is The shielding end position number of pixels value of the physical channel front end is 84 and the difference 20 of first count value, described the The pixel shielding processing of one physical channel finishes.
Preferably, it is assumed that e0 point is set to the physical channel tail end end position pixel point of first physical channel It sets, then when carrying out data processing, counter is counted.For present physical channel, print data of every processing, Counter adds up 32 pixels.And the pixel before e0 point, system do not need shielding.Pixel before e0 point Number is 114 pixels.
At a0b0 sections the first part of physical channel tail end (a0b0 sections be): the first count value of nonce counter is 0, The shielding end position number of pixels value of the physical channel tail end is 114, then the second comparison result is described equal to 114 at this time Second count value is 32, it is seen that second comparison result is greater than second count value, then the a0b0 sections of physics are logical The first part of road tail end does not need to shield any pixel;
At b0c0 sections the second part of physical channel tail end (b0c0 sections be), the first count value of nonce counter is 32, the shielding end position number of pixels value of the physical channel tail end is 114, then the second comparison result is equal to 82 at this time, institute Stating the second count value is 32, it is seen that second comparison result is greater than second count value, then the b0c0 sections i.e. object The second part of reason channel tail end does not need to shield any pixel.
At c0d0 sections the Part III of physical channel tail end (c0d0 sections be), the first count value of nonce counter is 64, the shielding end position number of pixels value of the physical channel tail end is 114, then the second comparison result is equal to 50 at this time, the Two count values are 32, it is seen that second comparison result is greater than second count value, then the c0d0 sections i.e. physics is logical The second part of road tail end does not need to shield any pixel.
At d0f0 sections the Part IV of physical channel tail end (d0f0 sections be), the first count value of nonce counter is 96, the shielding end position number of pixels value of the physical channel tail end is 114, then the second comparison result is equal to 18 at this time, the Two count values are 32, it is seen that second comparison result is less than second count value, then the physical channel tail end is not The number of pixels for needing to shield is the shielding end position number of pixels value and first count value of the physical channel tail end Difference 18.The number of pixels for then needing to shield at d0f0 sections is 32-18=14.
At f0g0 sections the Part V of physical channel tail end (f0g0 sections be), the first count value of nonce counter is 128, the shielding end position number of pixels value of the physical channel tail end is 114, then the second comparison result is 0 at this time, then The pixel of the f0g0 sections of i.e. Part V of physical channel tail end is all shielded;
At g0h0 sections the Part VI of physical channel tail end (g0h0 sections be), the first count value of nonce counter is 160, the shielding end position number of pixels value of the physical channel tail end is 114, then the second comparison result is 0 at this time, then The pixel of the g0h0 sections of i.e. Part VI of physical channel tail end is all shielded.The processes pixel of second physical channel tail end It finishes.
Embodiment 2
In another preferred embodiment, it is described obtain physical channel front end shielding end position number of pixels value with The shielding starting position number of pixels value of physical channel tail end includes:
Obtain number of pixels, starting pixels point and the end pixel point of target print image;
Obtain the nozzle columns of grafting spray head number, all physical channels;
It is image origin from the start-print point of the target print image, the pixel planes of building target print image are sat Mark system;
The nozzle columns of all physical channels is mapped in the pixel planes coordinate system, it is logical to obtain each physics The nozzle rows of the start-print in road relative to described image origin deviant as channel offset number;
According to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and the starting picture Vegetarian refreshments obtains the shielding end position number of pixels value for judging physical channel front end;
According to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and the end picture Vegetarian refreshments obtains the shielding starting position number of pixels value for judging physical channel tail end.
Preferably, the shielding end position number of pixels value of the physical channel front end for obtaining physical channel and physics are logical The shielding starting position number of pixels value of road tail end further include:
Physical channel number is determined according to the printing head characteristic;
The nozzle columns of each physical channel is determined according to the printing head characteristic.
Specifically, referring to Fig. 2, the printing wide cut of printer is 39 pixels, printer includes that 8 physical channels carry out Printout.Nozzle corresponding to channel ch0, channel ch2, channel ch4 and channel ch6 distinguish jet ink to pixel column A1 and Pixel (white circle in figure) on the direction y of pixel column A2, channel ch1, channel ch3, channel ch5 and channel ch7 institute Pixel (gray circles in figure) in corresponding nozzle difference jet ink to the direction y of pixel column A2 and pixel column A2. In the present embodiment, pixel of the printing wide cut of target print image between dotted line A and dotted line B, i.e. starting pixels point are 9, end pixel point is 34.For printing origin 0, channel offset number of the channel ch0 apart from origin 0 is -3, channel ch1 Channel offset number apart from origin 0 is -3, and channel offset number of the channel ch2 apart from origin 0 is 3, and channel ch3 is apart from origin 0 Channel offset number is 3, and channel offset number of the channel ch4 apart from origin is 9, and channel offset number of the channel ch5 apart from origin is 9, Channel offset number of the channel ch6 apart from origin 0 is 15, and channel offset number of the channel ch7 apart from origin is 15.
Further, then the quotient A=4 of the starting pixels point and the grafting spray head number ratio, the starting pixels point With the remainder B=1 of the grafting spray head number ratio, the quotient C=17 of the end pixel point and the grafting spray head number ratio, institute State the remainder D=0 of end pixel point Yu the grafting spray head number ratio.
Preferably, the first channel for judging parameter=(starting pixels point/grafting spray head number) quotient's A- present physical channel Offset numbers, then:
Channel ch0: the first judges parameter=4- (- 3)=7, and in the present embodiment, the pixel of each physical channel Point number is 6, and 7 are greater than 6, thus can obtain described first and judge that parameter is greater than the nozzle columns of each physical channel, then Shield pixel corresponding to all nozzle columns of the physical channel front end, the i.e. object that the needs of channel ch0 shield Managing number of pixels corresponding to Channel front end nozzle columns is 6;
Channel ch1: the first judges parameter=4- (- 3)=7, and 7 are greater than 6, thus the object that channel ch1 needs to shield Managing number of pixels corresponding to Channel front end nozzle columns is 6;
Channel ch2: the first judges parameter=4-3=1, and the serial number 0 of the grafting spray head number of channel ch2, and 1 is greater than 0, therefore, number of pixels corresponding to the nozzle rows for the physical channel front end that the needs of channel ch2 shield is described first Judge that the value of parameter adds 1, i.e. the physical channel front end number of pixels that the needs of road ch2 shield is 2.
Channel ch3: the first judges parameter=4-3=1, and the serial number 1 of the grafting spray head number of channel ch3, and 1 less In 1, therefore, number of pixels corresponding to the nozzle rows for the physical channel front end that the needs of channel ch3 shield is described the One judges that the value of parameter, i.e. the physical channel front end number of pixels that the needs of channel ch2 shield are 1.
Channel ch4: the first judges parameter=4-9=-5, and -5 be negative, then does not shield the nozzle rows institute in present physical channel Corresponding any pixel, i.e. a pixel corresponding to the nozzle rows for the physical channel front end that the needs of channel ch4 shield Number is 0.
Channel ch5: the first judges parameter=4-9=-5, and -5 be negative, then does not shield the nozzle rows institute in present physical channel Corresponding any pixel, i.e. a pixel corresponding to the nozzle rows for the physical channel front end that the needs of channel ch5 shield Number is 0.
Channel ch6: the first judges parameter=4-15=-11, and -11 be negative, then does not shield any of present physical channel Pixel, i.e. number of pixels corresponding to the nozzle rows for the physical channel front end that the needs of channel ch6 shield are 0.
Channel ch7: the first judges parameter=4-15=-11, and -11 be negative, then does not shield any of present physical channel Pixel, i.e. number of pixels corresponding to the nozzle rows for the physical channel front end that the needs of channel ch7 shield are 0.
Preferably, second judges that the channel in parameter=end pixel point/grafting spray head number quotient's C- present physical channel is inclined Move number, then:
Channel ch0: the second judges parameter=17- (- 3)=20, and in the present embodiment, the pixel in each channel Number is 6, and 20 are greater than the 6, thus described second nozzle columns for judging parameter greater than each physical channel, then do not shield Pixel corresponding to the nozzle rows of any physical channel tail end, i.e. channel ch0 do not shield the spray in present physical channel then The corresponding any pixel of mouth column.
Channel ch1: the first judges parameter=17- (- 3)=20, and 20 are greater than 6, thus channel ch1 does not shield current object then Manage any pixel corresponding to the nozzle rows in channel.
Channel ch2: the first judges parameter=17-3=14, and 14 are greater than 6, thus channel ch2 does not shield present physical then Any pixel corresponding to the nozzle rows in channel.
Channel ch3: the first judges parameter=17-3=14, and 14 are greater than 6, thus channel ch3 does not shield present physical then Any pixel corresponding to the nozzle rows in channel.
Channel ch4: the first judges parameter=17-9=8, and 8 are greater than 6, thus channel ch4 does not shield present physical then and leads to Any pixel corresponding to the nozzle rows in road.
Channel ch5: the first judges parameter=17-9=8, and 8 are greater than 6, thus channel ch4 does not shield present physical then and leads to Any pixel corresponding to the nozzle rows in road.
Channel ch6: the first judges parameter=17-15=2, the grafting spray head number serial number 0 of channel ch6, and 2 are greater than 1, Number of pixels corresponding to the nozzle rows in the present physical channel then shielded is the described second value for judging parameter, i.e. channel ch6 The physical channel front end nozzle rows that shield of needs corresponding to number of pixels be 2.
Channel ch7: the first judges parameter=17-15=2, the grafting spray head number serial number 1 of channel ch7, and 2 are greater than 1, The value that number of pixels corresponding to the nozzle rows in the present physical channel then shielded judges parameter for described second, i.e. channel ch, 7 The physical channel front end nozzle rows that shield of needs corresponding to number of pixels be 2.
Embodiment 3
In the present embodiment 3, each physical channel during data processing, mainly by channel offset parameter, Target image print span parameter etc. judges the screening-off position of current channel.The screening-off position of physical channel is mainly by two parameters Characterization:
1, end shield end pixel positional value before physical channel;The shielding end pixel positional value is 0, then it represents that physics is logical Road front end does not need to shield;The shielding end pixel positional value is if more than physical channel length value (namely the pixel of physical channel A numerical value), then it represents that entire physical channel all pixels are both needed to be shielded;Otherwise, then it represents that physical channel front end starts to shield Number of pixels.
2, physical channel tail end shielding starts pixel value;It is 0 that the shielding, which starts pixel value, then it represents that entire logical Road all pixels are both needed to be shielded;The shielding starts pixel value if more than physical channel length value, then it represents that physical channel Tail end does not need shielding pixel;Otherwise subtracting the shielding with physical channel length and starting pixel value indicates physical channel tail end The number of pixels of shielding.
Before the step S1 of above-mentioned Onepass print data shielding processing method, method of the invention further includes as follows Step:
S0, the mask information for obtaining the image data for shielding physics Channel front end and/or the figure for shielding physics channel end As the mask information of data.S0 is specifically included:
S01, number of pixels, starting pixels point and/or the end pixel point for obtaining target print image;
Specifically, target print image includes that multiple pixels according to matrix arrangement form, and is indicated in figure with lattice, Pixel represented by lattice has specific position and assigned gray value, the color of pixel represented by the lattice The appearance that the target print image is showed just is determined with position.In general, pixel can be considered as to target print figure The indivisible unit either element as in, it is indivisible to mean that it be cut into more subsection again or be member Element, it is the sub-box characterization with a solid color.Each target print image contains a certain number of pixels, pixel It is the attribute of the target print image itself, the set of these pixels determines the printing wide cut of the target print image.
Preferably, in the present embodiment, the data processing of Onepass print system is carried out based on physical channel.Object There is mapped specific relationships for reason channel and printing head.Physical channel corresponds at least one printing head, can be according to need To correspond to two spray heads or multiple spray heads, each spray head includes multiple row nozzle, and each column nozzle is exactly a nozzle rows.It is each Secondary igniting printing, printing head read the data of corresponding physical channel, are transported to corresponding nozzle and carry out ink injection.Thus exist When realizing that wide cut is less than the photo print for the maximum printing wide cut that the printer is supported, need to shield part image data Cover processing.Therefore, when whole nozzles when the physical channel require to participate in the printing of the target image, then the physics The total data in channel is effective;When whole nozzles when the physical channel all need not participate in the printing of the target image, Then all image datas are all shielded;Otherwise the image data without printout is only shielded.For example, figure is please referred to 2, the number of pixels that this target print image is included is 39, plays 34 since printing demand needs to intercept the 9th pixel The pixel that a pixel is stopped prints.Therefore, the starting pixels point of target print image is 9, and end pixel point is 34.It is understood that , in another preferred embodiment, starting pixels point and the end pixel point of target print image can select as needed It takes, is not specifically limited herein.
S02, the nozzle columns for obtaining grafting spray head number, all physical channels;
In above-mentioned steps, physical channel corresponds at least one spray head, can according to need corresponding to two spray heads or more A spray head, each spray head include multiple row nozzle, and each column nozzle is exactly a nozzle rows.And grafting spray head number refer to it is flat in pixel The physical channel number of Heterogeneous Permutation in the Y direction of areal coordinate system.In actually printing, because of the printing precision of physical channel itself Not enough, in order to improve print resolution, by using the Heterogeneous Permutation of multiple physical channels spatially, it is formed by printing spray The arrangement mode of head.In the present embodiment, referring to Fig. 4, A1 indicates one-row pixels, A2 row indicates another row adjacent with A1 row Pixel, wherein indicating two adjacent pixels with the dot of two kinds of colors.Print preceding 9 pixels of target print image A1 row pixel When point, physical channel ch0 is responsible for the pixel (white circle in figure) of the first color to preceding 9 pixels of A1 row pixel Ink-jet is carried out, physical channel ch1 is responsible for the pixel (grey in figure of second of color to preceding 9 pixels of A1 row pixel Circle) ink-jet is carried out, therefore the grafting spray head number that physical channel ch0 and physical channel ch1 combine is 2.It is understood that It is that white pixel point and gray pixels point are in order to distinguish physical channel respectively corresponding pixel, in practical printing in figure In, it is to carry out monochromatic printing (to shield the physical channel of second of color when printing the first color, print second of face The physical channel of the first color is shielded when color).In another preferred embodiment, the grafting spray head number can be 3, It can be 4, the numerical value of the grafting spray head number is not specifically limited herein.
Preferably, target print image is to print completion jointly by multiple physical channels.
S03, using the start-print pixel of the target print image as image origin, construct target print image picture Plain plane coordinate system;
S04, the nozzle columns of all physical channels is mapped in the pixel planes coordinate system, obtains each object Manage channel start-print nozzle rows relative to described image origin deviant as channel offset number;
Specifically, the channel offset number of physical channel refers to selection when arranged in arrays with the pixel of target print image The nozzle arrangement of physical channel is mapped to the plane and sat by origin of the printing origin of target print image as plane coordinate system The start-print pixel of each physical channel deviates the lateral coordinates (X-axis) of the printing origin of target print image when in mark system Number of pixels.A wherein column pixel of each nozzle injection target print image.
Preferably, referring to Fig. 2, in plane coordinate system described in Fig. 2, coordinate axis origin O is beating for target print image Origin is printed, X-axis indicates that the printing wide cut (i.e. pixel number included by one-row pixels) of target print image, Y-axis indicate mesh Mark the number of lines of pixels of print image.In the present embodiment, the pixel negative number representation on the coordinate axis origin left side, coordinate axis origin are right The pixel on side is indicated with positive number.The thus channel offset number Pchx (number that x represents physical channel in Fig. 4) of each physical channel Are as follows:
Pcho=-3;Pch1=-3;Pch2=3;Pch3=3;Pch4=9;Pch5=9;Pch6=15;Pch7=15. It is understood that the channel offset number can be arranged according to demand in another preferred embodiment, do not do herein specific Setting.
S05, according to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and described Beginning pixel obtains the mask information for shielding the image data of physics Channel front end;
Preferably, it is described according to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and The starting pixels point obtains the information that the image data for shielding physics Channel front end shields
First, which is obtained, according to the grafting spray head number, the channel offset number and starting pixels point judges parameter;
If described first judges that parameter for negative, does not shield pixel corresponding to any nozzle rows of physics Channel front end Point;
If described first judges that parameter for positive number and greater than the nozzle columns of each physical channel, shields the object Manage pixel corresponding to all nozzle columns of Channel front end.
Preferably, it is described according to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and The starting pixels point obtains the mask information for shielding the image data of the physical channel front end further include:
Judge parameter for positive number and if being less than the nozzle columns of each physical channel if described first:
When the remainder of the starting pixels point and the grafting spray head number ratio is greater than the grafting spray head according to specified sequence The numerical value (namely serial number of the grafting spray head number after arranging in a predetermined order) arranged from the beginning, then shield the physical channel Pixel number corresponding to the nozzle rows of front end judges that the value of parameter adds 1 for described first;
When the remainder of the starting pixels point and the grafting spray head number ratio is less than or equal to the grafting spray head according to specified The numerical value (namely serial number of the grafting spray head number after arranging in a predetermined order) that sequence arranges from the beginning, then shield physical channel Pixel number corresponding to the nozzle rows of front end is the described first value for judging parameter.
Specifically, the described first calculation formula for judging parameter are as follows:
First judges parameter=starting pixels point/grafting spray head number-present physical channel channel offset number.
Preferably, in one embodiment of the present of invention, the method can also include the steps that following:
S06, according to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and the knot Beam pixel obtains the mask information for shielding the image data of physical channel tail end.
In the present invention, the shielding of the end pixel point of the shielding and S06 of above-mentioned steps S05 starting pixels point can foundation It needs only with one of which.Such as when implementing, only starting pixels point can be shielded, then, method of the invention is just It can be made of, only end pixel point can also be shielded, then method of the invention can be by above-mentioned step above-mentioned steps S01 to S05 Rapid S01 to S04 and step S06 is constituted.Certainly preferably embodiment is that the method for the present invention includes the step S01 of front extremely S06。
It is described according to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and the knot The mask information that beam pixel obtains image data for shielding physical channel tail end includes:
Second, which is obtained, according to the grafting spray head number, the channel offset number and end pixel point judges parameter;
If described second judges parameter for negative, pixel corresponding to the nozzle rows of all physical channel tail ends is shielded Point;
If described second judges that parameter for positive number and greater than the nozzle columns of each physical channel, does not shield any Pixel corresponding to the nozzle rows of physical channel tail end.
Preferably, it is described according to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and The end pixel point obtains the mask information for shielding the image data of physical channel tail end further include:
Judge parameter for positive number and if being less than the nozzle columns of each physical channel if described second:
When the remainder of the end pixel point and the grafting spray head number ratio is less than the grafting spray head according to specified sequence The numerical value (namely serial number of the grafting spray head number after arranging in a predetermined order) arranged from the beginning, then shield the physical channel Number of pixels corresponding to the nozzle rows of tail end judges that the value of parameter adds 1 for described second;
When the remainder of the end pixel point and the grafting spray head number ratio is more than or equal to the grafting spray head according to specified The numerical value (namely serial number of the grafting spray head number after arranging in a predetermined order) that sequence arranges from the beginning, then shield the physics Number of pixels corresponding to the nozzle rows of channel tail end is the described second value for judging parameter.
Specifically, the described second calculation formula for judging parameter are as follows:
Second judges parameter=end pixel point/grafting spray head number-present physical channel channel offset number.
In another preferred embodiment, described first judges parameter and described second judges that parameter can be by the side of tabling look-up Formula obtains.According to the mapping relations between the beginning pixel, grafting spray head number and the channel offset number in present physical channel It establishes described first and judges parameter list;It is inclined according to the end pixel point, grafting spray head number and the channel in present physical channel The mapping relations moved between number establish described second and judge parameter list.Judge that parameter list obtains by inquiry described first to use In the mask information for the image data for shielding the physical channel front end, judges that parameter list obtains by inquiry described second and use In the mask information for the image data for shielding the physical channel tail end.
Embodiment 4
Preferably, referring to Fig. 4, the invention also discloses a kind of Onepass print data shielding processing devices, comprising:
Count value obtains module 1, is used for according to target print image, to Onepass print data to be shielded with pixel It is counted, is obtained and corresponding first count value in physical channel front end and/or corresponding with physical channel tail end for unit Two count values;
Shield location of pixels obtain module 2, for obtain physical channel front end shielding end position number of pixels value and/ Or the shielding starting position number of pixels value of physical channel tail end, wherein sequentially being compiled from the starting pixels of the physical channel front end Number at the tail end last of physical channel, the shielding end position number of pixels value and shielding starting position number of pixels value It is corresponded to corresponding number;
First comparison module 3, for the shielding end position according to first count value and the physical channel front end Number of pixels value obtains the first comparison result;
Preceding end pixel shielding number obtains module 4, shields the physical channel for determining according to first comparison result Number of pixels corresponding to the nozzle rows of front end;
And/or
Second comparison module 5, for the shielding starting position according to second count value and the physical channel tail end Number of pixels value obtains the second comparison result;
End pixel shielding number obtains module 6 afterwards, shields the physical channel for determining according to second comparison result Number of pixels corresponding to the nozzle rows of tail end.
Embodiment 5
Referring to Fig. 5, the invention also discloses a kind of Onepass print data shielding processing equipment, comprising: at least one Processor, the computer program instructions of at least one processor and storage in the memory, when the computer program The method as described in preceding embodiment 1 to 3 is realized when instruction is executed by the processor.
Specifically, above-mentioned processor 401 may include central processing unit (CPU) or specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement implementation of the present invention One or more integrated circuits of example.
Memory 402 may include the mass storage for data or instruction.For example it rather than limits, memory 402 may include hard disk drive (Hard Disk Drive, HDD), floppy disk drive, flash memory, CD, magneto-optic disk, tape or logical With the combination of universal serial bus (Universal Serial Bus, USB) driver or two or more the above.It is closing In the case where suitable, memory 402 may include the medium of removable or non-removable (or fixed).In a suitable case, it stores Device 402 can be inside or outside data processing equipment.In a particular embodiment, memory 402 is nonvolatile solid state storage Device.In a particular embodiment, memory 402 includes read-only memory (ROM).In a suitable case, which can be mask ROM, programming ROM (PROM), erasable PROM (EPROM), the electric erasable PROM (EEPROM), electrically-alterable ROM of programming (EAROM) or the combination of flash memory or two or more the above.
Processor 401 is by reading and executing the computer program instructions stored in memory 402, to realize above-mentioned implementation Onepass print data shielding processing method in example.
In one example, Onepass print data shielding processing equipment may also include communication interface 403 and bus 410. Wherein, as shown in figure 5, processor 401, memory 402, communication interface 403 are connected and completed mutual by bus 410 Communication.
Communication interface 403 is mainly used for realizing in the embodiment of the present invention between each module, device, unit and/or equipment Communication.
Bus 410 includes hardware, software or both, and the component of print controlling apparatus is coupled to each other together.Citing comes It says rather than limits, bus may include accelerated graphics port (AGP) or other graphics bus, enhance Industry Standard Architecture (EISA) always Line, front side bus (FSB), super transmission (HT) interconnection, the interconnection of Industry Standard Architecture (ISA) bus, infinite bandwidth, 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 Standards Association part (VLB) bus or other conjunctions The combination of suitable bus or two or more the above.In a suitable case, bus 410 may include one or more A bus.Although specific bus has been described and illustrated in the embodiment of the present invention, the present invention considers any suitable bus or mutual Even.
In addition, in conjunction with the Onepass print data shielding processing method in above-described embodiment, the embodiment of the present invention be can provide A kind of computer readable storage medium is realized.Computer program instructions are stored on the computer readable storage medium;The meter Calculation machine program instruction realizes any one Onepass print data shielding processing side in above-described embodiment when being executed by processor Method.
In conclusion Onepass print data shielding processing method, apparatus provided in an embodiment of the present invention, equipment and depositing Storage media, by obtaining the first count value;Obtain shielding end position number of pixels value and the physical channel of physical channel front end The shielding starting position number of pixels value of tail end;According to first count value and the shielding stop bits of the physical channel front end Setting number of pixels is worth the first comparison result;The nozzle rows of the physical channel front end are shielded according to first comparison result Corresponding number of pixels;According to first count value and the shielding starting position number of pixels value of the physical channel tail end Obtain the second comparison result;Pixel corresponding to the nozzle rows of the physical channel tail end is shielded according to second comparison result Number.Method of the invention meets difference by realizing the accurately shielding processing of the partial data progress to print image The printing demand of user.
It should also be noted that, the exemplary embodiment referred in the present invention, is retouched based on a series of step or device State certain methods or system.But the present invention is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment The sequence referred to executes step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
The above description is merely a specific embodiment, it is apparent to those skilled in the art that, For convenience of description and succinctly, the system, module of foregoing description and the specific work process of unit can refer to preceding method Corresponding process in embodiment, details are not described herein.It should be understood that scope of protection of the present invention is not limited thereto, it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions, These modifications or substitutions should be covered by the protection scope of the present invention.

Claims (10)

1. a kind of Onepass print data shielding processing method, which is characterized in that the described method includes:
According to target print image, Onepass print data to be shielded is counted as unit of pixel, acquisition and physics Corresponding first count value of Channel front end and/or the second count value corresponding with physical channel tail end;
Obtain the shielding end position number of pixels value of physical channel front end and/or the shielding starting position picture of physical channel tail end Plain numerical value, wherein sequentially being numbered from the starting pixels of the physical channel front end to the tail end last of physical channel, institute It states shielding end position number of pixels value and shielding starting position number of pixels value is corresponded to corresponding number;
First is obtained according to first count value and the shielding end position number of pixels value of the physical channel front end to compare As a result;
It is determined according to first comparison result and shields number of pixels corresponding to the nozzle rows of the physical channel front end;
And/or
Second is obtained according to second count value and the shielding starting position number of pixels value of the physical channel tail end to compare As a result;
It is determined according to second comparison result and shields number of pixels corresponding to the nozzle rows of the physical channel tail end.
2. Onepass print data shielding processing method according to claim 1, which is characterized in that described in the foundation First count value and the shielding end position number of pixels value of the physical channel front end obtain the first comparison result
If first comparison result is the shielding end position pixel that first count value is greater than the physical channel front end A numerical value, then the physical channel front end is without shielding any pixel.
3. Onepass print data shielding processing method according to claim 2, which is characterized in that described in the foundation First count value and the shielding end position number of pixels value of the physical channel front end obtain the first comparison result further include:
If first comparison result is the shielding end position that first count value is less than or equal to the physical channel front end Number of pixels value, then physical channel front end need to shield the shielding end position picture that number of pixels value is equal to the physical channel front end The difference of plain numerical value and first count value.
4. Onepass print data shielding processing method according to claim 3, which is characterized in that described in the foundation First count value and the shielding end position number of pixels value of the physical channel front end obtain the first comparison result and further wrap It includes:
If first comparison result is 0 < n < k, preceding rn pixels of physical channel front end are without shielding, and physical channel In remaining k-rn pixel need to shield, wherein n be positive integer and be less than k/r, k be data processing bus bit wide value/image The ratio of gray value r.
5. Onepass print data shielding processing method according to claim 1, which is characterized in that described in the foundation Second count value and the shielding starting position number of pixels value of the physical channel tail end obtain the second comparison result
If second comparison result is the shielding starting position pixel that second count value is greater than the physical channel tail end A numerical value, then the physical channel tail end is without shielding any pixel;
If second comparison result is the shielding starting position that second count value is less than or equal to the physical channel tail end Number of pixels value, then physical channel tail end need to shield the shielding starting position picture that number of pixels value is equal to the physical channel tail end The difference of plain numerical value and second count value;
If second comparison result is 0 < m < k, preceding rm pixels of physical channel tail end are without shielding, and physical channel In remaining k-rm pixel need to shield, wherein m be positive integer and be less than k/r, k be data processing bus bit wide value/image The ratio of gray value r.
6. Onepass print data shielding processing method according to any one of claims 1 to 5, which is characterized in that described Method further include:
It obtains the mask information of the image data of shielding physics Channel front end and/or shields the image data of physics channel end Mask information.
7. Onepass print data shielding processing method according to claim 6, which is characterized in that the acquisition shielding The mask information of the image data of the mask information and/or shielding physics channel end of the image data of physical channel front end is specific Include:
Obtain number of pixels, starting pixels point and/or the end pixel point of target print image;
Obtain the nozzle columns of grafting spray head number, all physical channels;
Using the start-print pixel of the target print image as image origin, the pixel planes of building target print image are sat Mark system;
The nozzle columns of all physical channels is mapped in the pixel planes coordinate system, each physical channel is obtained The nozzle rows of start-print relative to described image origin deviant as channel offset number;
According to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and starting pixels point Obtain the mask information for shielding the image data of physics Channel front end;And/or according to the nozzle columns of the physical channel, The grafting spray head number, the channel offset number and end pixel point obtain the picture number for shielding physics channel end According to mask information.
8. a kind of Onepass print data shielding processing device, which is characterized in that described device includes:
Count value obtains module, is used for according to target print image, to Onepass print data to be shielded as unit of pixel It is counted, obtains and corresponding first count value in physical channel front end and/or the second counting corresponding with physical channel tail end Value;
It shields location of pixels and obtains module, for obtaining the shielding end position number of pixels value and/or object of physical channel front end Manage channel tail end shielding starting position number of pixels value, wherein sequentially numbered from the starting pixels of the physical channel front end to At the tail end last of physical channel, the shielding end position number of pixels value and shielding starting position number of pixels value and phase The number answered is corresponding;
First comparison module, for the shielding end position pixel according to first count value and the physical channel front end Numerical value obtains the first comparison result;
Preceding end pixel shielding number obtains module, shields the physical channel front end for determining according to first comparison result Number of pixels corresponding to nozzle rows;
And/or
Second comparison module, for the shielding starting position pixel according to second count value and the physical channel tail end Numerical value obtains the second comparison result;
End pixel shielding number obtains module afterwards, shields the physical channel tail end for determining according to second comparison result Number of pixels corresponding to nozzle rows.
9. a kind of Onepass print data shielding processing equipment characterized by comprising at least one processor, at least one Memory and the computer program instructions for being stored in the memory clock, when the computer program instructions are by the processor Such as method of any of claims 1-7 is realized when execution.
10. a kind of storage medium, is stored thereon with computer program instructions, which is characterized in that when the computer program instructions When being executed by processor such as method of any of claims 1-7.
CN201910591382.2A 2019-07-02 2019-07-02 Oneepass printing data shielding processing method, device, equipment and storage medium Active CN110341311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910591382.2A CN110341311B (en) 2019-07-02 2019-07-02 Oneepass printing data shielding processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910591382.2A CN110341311B (en) 2019-07-02 2019-07-02 Oneepass printing data shielding processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110341311A true CN110341311A (en) 2019-10-18
CN110341311B CN110341311B (en) 2020-10-16

Family

ID=68177439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910591382.2A Active CN110341311B (en) 2019-07-02 2019-07-02 Oneepass printing data shielding processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110341311B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110901229A (en) * 2019-11-15 2020-03-24 深圳市汉森软件有限公司 Image data processing method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06106780A (en) * 1992-08-24 1994-04-19 Polaroid Corp Method and device for adjusting exposure device in printer
EP0837424A2 (en) * 1996-10-21 1998-04-22 Hewlett-Packard Company Printing system
US6866357B1 (en) * 1999-10-01 2005-03-15 Kurt Stehle Method for controlling pressure nozzles of a full-line printing head in an inkjet printer for printing digital photographic images
CN1810508A (en) * 2005-01-28 2006-08-02 精工爱普生株式会社 Printing device, printing device control method, print data generation device, and print data generation method
CN1836903A (en) * 2005-03-23 2006-09-27 佳能精技股份有限公司 Printing apparatus and image processing apparatus
CN101370663A (en) * 2006-11-23 2009-02-18 株式会社理光 Image forming device and printed matter
CN102694957A (en) * 2011-03-24 2012-09-26 精工爱普生株式会社 Image processing apparatus, printing apparatus, image processing method, and image processing program
CN109263279A (en) * 2018-10-12 2019-01-25 森大(深圳)技术有限公司 Onepass inkjet printing methods, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06106780A (en) * 1992-08-24 1994-04-19 Polaroid Corp Method and device for adjusting exposure device in printer
EP0837424A2 (en) * 1996-10-21 1998-04-22 Hewlett-Packard Company Printing system
US6866357B1 (en) * 1999-10-01 2005-03-15 Kurt Stehle Method for controlling pressure nozzles of a full-line printing head in an inkjet printer for printing digital photographic images
CN1810508A (en) * 2005-01-28 2006-08-02 精工爱普生株式会社 Printing device, printing device control method, print data generation device, and print data generation method
CN1836903A (en) * 2005-03-23 2006-09-27 佳能精技股份有限公司 Printing apparatus and image processing apparatus
CN101370663A (en) * 2006-11-23 2009-02-18 株式会社理光 Image forming device and printed matter
CN102694957A (en) * 2011-03-24 2012-09-26 精工爱普生株式会社 Image processing apparatus, printing apparatus, image processing method, and image processing program
CN109263279A (en) * 2018-10-12 2019-01-25 森大(深圳)技术有限公司 Onepass inkjet printing methods, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110901229A (en) * 2019-11-15 2020-03-24 深圳市汉森软件有限公司 Image data processing method, device, equipment and storage medium
CN110901229B (en) * 2019-11-15 2021-02-26 深圳市汉森软件有限公司 Image data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110341311B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN108327404B (en) Printer nozzle abnormal compensating method, apparatus, equipment and storage medium
CN108274898B (en) Ink jet printer nozzles abnormal compensating method, apparatus, equipment and storage medium
CN109062520A (en) print image output size error compensating method, device, equipment and storage medium
CN108327403A (en) More spray nozzle abnormal compensating method, apparatus, equipment and storage medium
EP3363642B1 (en) Test pattern creation method, test pattern, printing apparatus, and program
CN111347793B (en) Digital nozzle splicing error processing method and device, printing equipment and storage medium
CN110039901A (en) Onepass method for controlling ink-jet printing, device, equipment and medium
CN109760431A (en) Print data processing method, device, equipment and storage medium
CN110202938A (en) Processing method, device, equipment and the storage medium of spray nozzle exception
US9302471B2 (en) Liquid droplet discharging method and liquid droplet discharging apparatus
CN110202936A (en) Based on state diagram detection nozzle whether Yi Chang method, apparatus, equipment and medium
CN110733253A (en) Spray head moisturizing printing control method, device, equipment and storage medium
CN110341311A (en) Onepass print data shielding processing method, apparatus, equipment and storage medium
US10661587B2 (en) Test pattern creation method, test pattern, printing apparatus, and program
JP2009143135A (en) Liquid discharging method and liquid discharging device
JP2005246650A (en) Printer, image processor, printing control method, program, test pattern data, and recording medium
CN110202932A (en) Onepass print data screen method, device, equipment and storage medium
CN110053361A (en) Print defect based on PCB ink-jet printer makes up method and system
JP4543703B2 (en) Printing apparatus, information processing apparatus, printing control method, program, test pattern data, and recording medium
US8708444B2 (en) Inkjet printer and ejection timing correction method
CN114347650B (en) Image precision self-adaptive printing method, device, equipment and storage medium
CN110202935A (en) Nozzle detection method, device, equipment and storage medium
JP2009137251A (en) Liquid delivery method and liquid delivery device
CN110865779B (en) Data extraction method, device, equipment and storage medium for single-nozzle multicolor printing
EP1826006A1 (en) Driving method of ink-jet printer and it&#39;s driving apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200806

Address after: 518000 Guangdong Province Shenzhen Baoan District Hangcheng Street Hezhou Community Island Road 739 Hengfeng Industrial City C6 1701, 1703

Applicant after: SHENZHEN HOSONSOFT Co.,Ltd.

Address before: 518100 Room 1701, Building C6, Hengfeng Industrial City, Xixiang Street, Baoan District, Shenzhen City, Guangdong Province

Applicant before: SENDA (SHENZHEN) TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

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

Patentee after: Shenzhen Hansen Software Co.,Ltd.

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

Patentee before: SHENZHEN HOSONSOFT Co.,Ltd.