Summary of the invention
The embodiment of the invention provides a kind of Onepass print data screen method, device, equipment and storage mediums, use
To solve how to realize the skill of accurately mask image data when picture traverse is less than the maximum printing wide cut of printer support
Art problem.
In a first aspect, the embodiment of the invention provides a kind of Onepass print data screen methods, which comprises
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;
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 mask information for shielding the image data of physics channel 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 mask information that the starting pixels point obtains the image data for shielding physics Channel front end includes:
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 parameter for negative, corresponding to any nozzle rows for not shielding the physical channel front end
Pixel;
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 physics 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 arranged from the beginning, then shielding pixel number corresponding to the nozzle rows of the physical channel front end is described first
Judge that the value of parameter adds 1;
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 that sequence arranges from the beginning, then it is described for shielding pixel number corresponding to the nozzle rows of the physical channel front end
First judges the value of parameter.
Preferably, 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, it is described according to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and
The mask information that the end pixel point obtains the image data for shielding physics channel 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 physics channel 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 physics
Pixel corresponding to the nozzle rows of channel 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 physics channel 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 arranged from the beginning, then shielding pixel number corresponding to the nozzle rows of the physical channel end is described second
Judge that the value of parameter adds 1;
If 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 that sequence arranges from the beginning, then it is described for shielding pixel number corresponding to the nozzle rows of the physical channel end
Second judges the value of parameter.
Preferably, 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.
Second aspect, the embodiment of the invention provides a kind of Onepass print data screening arrangements, comprising:
First parameter acquisition module, for obtaining number of pixels, starting pixels point and/or the end picture of target print image
Vegetarian refreshments;
Second parameter acquisition module, for obtaining the nozzle columns of grafting spray head number, all physical channels;
Pixel planes coordinate system module is constructed, using the start-print pixel of the target print image as image origin,
Construct the pixel planes coordinate system of target print image;
Channel offset number obtains module, for the nozzle columns of all physical channels to be mapped to the pixel planes
In coordinate system, the nozzle rows of the start-print of each physical channel are obtained relative to the deviant of described image origin as channel
Offset numbers;
Starting shielding information determination module, for nozzle columns, the grafting spray head number, institute according to the physical channel
It states channel offset number and starting pixels point determines mask information for shielding the image data of physics Channel front end;With/
Or
Terminate mask information determining module, for nozzle columns, the grafting spray head number, institute according to the physical channel
It states channel offset number and end pixel point obtains mask information for shielding the image data of physics channel end.
The third aspect, the embodiment of the invention provides a kind of Onepass print data shielding devices, 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 screen method provided in an embodiment of the present invention, device, equipment and storage are situated between
Matter, main number of pixels, starting pixels point and end pixel point and grafting spray head number by obtaining target print image and
The nozzle columns of all physical channels;By pixel planes coordinate system by the Onepass print data and object of target print image
Reason channel, grafting spray head number, nozzle columns of all physical channels etc. associate.It is beaten then in conjunction with characteristics of image, Onepass
Print technical characterstic has determined the mask information for the image data that target print image needs to shield in printing, according to mask information
Control can be carried out by the nozzle rows to physical channel keeps it not out of ink, to realize the parts of images to target print image
Data carry out accurate shielding processing, meet the printing demand of different user.
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.
Referring to Figure 1, the embodiment of the invention provides a kind of Onepass print data screen methods, by logical to physics
The nozzle rows in road, which carry out control, keeps it not out of ink, is accurately shielded to realize to the part image data of target print image
Processing is covered, meets the printing demand of different user, the user experience is improved.
Above-mentioned Onepass print data screen method specifically comprises the following steps:
S1, 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 spray orifice 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 spray orifices 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 spray orifices 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
4, 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.
S2, 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 color
When shield the physical channel of the first color).In another preferred embodiment, the grafting spray head number can be 3, can also
To 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.
S3, using the start-print pixel of the target print image as image origin, construct target print image picture
Plain plane coordinate system;
S4, 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. 4, in plane coordinate system described in Fig. 4, 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.
S5, according to the nozzle columns of the physical channel, the grafting spray head number, the channel offset number and the starting
Pixel obtains the mask information for shielding the image data of physics Channel front end;
Preferably, referring to Fig. 2, it is described according to the nozzle columns of the physical channel, it is the grafting spray head number, described logical
Road offset numbers and starting pixels point obtain 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: S6, according to
The nozzle columns of physical channel, the grafting spray head number, the channel offset number and end pixel point are obtained for shielding
The mask information of the image data of physical channel end.
In the present invention, the shielding of the end pixel point of the shielding and S6 of above-mentioned steps S5 starting pixels point can be according to need
It will be only with one of which.Such as when implementing, only starting pixels point can be shielded, then, method of the invention can
To be made of above-mentioned steps S1 to S5, only end pixel point can also be shielded, then method of the invention can be by above-mentioned steps S1
It is constituted to S4 and step S6.Certainly preferable embodiment is the step S1 to S6 the method for the present invention includes front.
Preferably, referring to Fig. 3, it is described according to the nozzle columns of the physical channel, it is the grafting spray head number, described logical
The mask information that road offset numbers and end pixel point obtain the image data for shielding physics channel 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 physics channel 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 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 physics channel 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 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 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 end.
Specifically, in the present embodiment, the grafting spray head refers to according to the numerical value that specified sequence arranges from the beginning in picture
In the Y-direction of plain plane coordinate system, number that the physical channel since 0 to grafting is sequentially marked.Referring to Fig. 4, channel
The serial number 0 of the grafting spray head number of ch0, channel ch2, channel ch4 and channel ch6, channel ch1, channel ch3, channel ch5 and logical
The serial number 1 of the grafting spray head number of road ch7.This is because the grafting spray head of channel ch0, channel ch2, channel ch4 and channel ch6
Number exists
Specifically, referring to Fig. 4, the printing wide cut of printer is 39 pixels, printer includes that 8 physical channels carry out
Printout.Spray orifice corresponding to channel ch0, channel ch2, channel ch4 and channel ch6 distinguish jet ink to pixel column A1 and
Pixel (the white circle column in figure) on the direction y of pixel column A2, channel ch1, channel ch3, channel ch5 and channel
Spray orifice corresponding to ch7 distinguishes pixel (the grey circle in figure in jet ink to the direction y of pixel column A2 and pixel column A2
Enclose column).In the present embodiment, pixel of the printing wide cut of target print image between dotted line A and dotted line B, that is, rise
Beginning pixel is 9, and end pixel point is 34.For printing origin 0, channel offset number of the channel ch0 apart from origin 0
It is -3, channel offset number of the channel ch1 apart from origin 0 is -3, and channel offset number of the channel ch2 apart from origin 0 is 3, channel ch3
Channel offset number apart from origin 0 is 3, and channel offset number of the channel ch4 apart from origin is 9, channel of the channel ch5 apart from origin
Offset numbers are 9, and 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, first judges parameter=starting pixels point/grafting spray head number-present physical channel channel offset number,
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
Pixel corresponding to all nozzle columns of physics Channel front end is shielded, i.e. before the physical channel that the needs of channel ch0 shield
Holding number of pixels corresponding to nozzle columns is 6;
Channel ch1: the first judges parameter=4- (- 3)=7, and 7 are greater than 6, thus the physics that channel ch1 needs to shield is logical
Number of pixels corresponding to the nozzle columns of road front end 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 the first judgement ginseng
Several values 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 is not more than
1, therefore, number of pixels corresponding to the nozzle rows for the physical channel front end that the needs of channel ch3 shield is first judgement
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. number of pixels corresponding to the nozzle rows for the physical channel front end that the needs of channel ch4 shield are
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. number of pixels corresponding to the nozzle rows for the physical channel front end that the needs of channel ch5 shield are
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, the second channel for judging parameter=(end pixel point/grafting spray head number) quotient's C- present physical channel
Offset numbers, 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 end, i.e. channel ch0 do not shield the nozzle rows in present physical channel then
Corresponding any pixel.
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, then
Number of pixels corresponding to the nozzle rows in the present physical channel of shielding is the described second value for judging parameter, i.e. channel ch6's
Number of pixels corresponding to the physical channel front end nozzle rows for needing to shield is 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, then
The value that number of pixels corresponding to the nozzle rows in the present physical channel of shielding judges parameter for described second, i.e. channel ch, 7
Number of pixels corresponding to the physical channel front end nozzle rows for needing to shield is 2.
Preferably, referring to Fig. 5, the invention also discloses a kind of Onepass print data screening arrangements, comprising:
First parameter acquisition module 1, for obtaining number of pixels, starting pixels point and/or the end of target print image
Pixel;
Second parameter acquisition module 2, for obtaining the nozzle columns of grafting spray head number, all physical channels;
Pixel planes coordinate system module 3 is constructed, using the start-print pixel of the target print image as image origin,
Construct the pixel planes coordinate system of target print image;
Channel offset number obtains module 4, puts down for the nozzle columns of all physical channels to be mapped to the pixel
In areal coordinate system, the nozzle rows for obtaining the start-print of each physical channel are used as relative to the deviant of described image origin leads to
Road offset numbers;
Starting shielding information determination module 5, for according to the nozzle columns of the physical channel, the grafting spray head number,
The channel offset number and starting pixels point determine the mask information for shielding the image data of physics Channel front end;
And/or
Terminate mask information determining module 6, for according to the nozzle columns of the physical channel, the grafting spray head number,
The channel offset number and end pixel point obtain the mask information for shielding the image data of physics channel end.
Starting shielding information determination module 5 further comprises:
First judges parameter acquiring unit, for according to the grafting spray head number, the channel offset number and the starting
Pixel obtains first and judges parameter;
First shielding subelement does not shield the physical channel front end if judging parameter for described first for negative
Any nozzle rows corresponding to pixel;
Secondary shielding subelement, if judging parameter for positive number and greater than the spray of each physical channel for described first
Mouth columns then shields pixel corresponding to all nozzle columns of the physical channel front end.
Third shields subelement, further comprises:
If described first judges that parameter for positive number and less than the nozzle columns of each physical channel, is then divided into following two
Kind situation:
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 arranged from the beginning, then shielding pixel number corresponding to the nozzle rows of the physical channel front end is described first
Judge that the value of parameter adds 1;
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 that sequence arranges from the beginning, then it is described for shielding pixel number corresponding to the nozzle rows of the physical channel front end
First judges the value of parameter.
Terminating mask information determining module 6 includes:
Second judges parameter acquiring unit, for according to the grafting spray head number, the channel offset number and the end
Pixel obtains second and judges parameter;
4th shielding subelement shields all physics channel ends if judging parameter for described second for negative
Pixel corresponding to nozzle rows;
5th shielding subelement, if judging parameter for positive number and greater than the nozzle rows of each physical channel for described second
Number, then do not shield pixel corresponding to the nozzle rows of any physical channel end.
6th, which shields subelement, includes:
If described second judges that parameter for positive number and less than the nozzle columns of each physical channel, is divided into following two feelings
Condition:
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 arranged from the beginning, then shielding pixel number corresponding to the nozzle rows of the physical channel end is described second
Judge that the value of parameter adds 1;
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 that sequence arranges from the beginning, then it is described for shielding pixel number corresponding to the nozzle rows of the physical channel end
Second judges the value of parameter.
Preferably, referring to Fig. 6, the invention also discloses a kind of Onepass print data shielding devices, comprising: at least
One processor, the computer program instructions of at least one processor and storage in the memory, when the computer
Program instruction realizes Onepass print data screen method as in the foregoing embodiment when being 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 screen method in example.
In one example, Onepass print data shielding device of the invention may also include communication interface 403 and bus
410.Wherein, as shown in fig. 6, processor 401, memory 402, communication interface 403 are connected by bus 410 and completed each other
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 data shielding device is coupled to each other together.It lifts
It for example rather than limits, bus may include accelerated graphics port (AGP) or other graphics bus, enhancing Industry Standard Architecture
(EISA) bus, front side bus (FSB), super transmission (HT) interconnection, Industry Standard Architecture (ISA) bus, infinite bandwidth interconnect, are low
Number of pins (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
The combination of other suitable buses or two or more the above.In a suitable case, bus 410 may include one
Or multiple buses.Although specific bus has been described and illustrated in the embodiment of the present invention, the present invention considers any suitable bus
Or interconnection.
In addition, in conjunction with the Onepass print data screen method in above-described embodiment, the embodiment of the present invention can provide one kind
Computer readable storage medium is realized.Computer program instructions are stored on the computer readable storage medium;The computer
The Onepass print data screen method in above-described embodiment is realized when program instruction is executed by processor.
In conclusion Onepass print data screen method provided in an embodiment of the present invention, device, equipment and storage are situated between
Matter, method of the invention mainly pass through number of pixels, starting pixels point and the end pixel point for obtaining target print image and insert
Connect the nozzle columns of spray head number and all physical channels;By pixel planes coordinate system by the Onepass of target print image
Print data and physical channel, grafting spray head number, nozzle columns of all physical channels etc. associate.Then in conjunction with image spy
Sign, Onepass printing technique feature have determined the mask information for the image data that target print image needs to shield in printing,
Control can be carried out by the nozzle rows to physical channel according to mask information keeps it not out of ink, to realize to target print figure
The part image data of picture carries out accurate shielding processing, meets the printing demand of different 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.