Summary of the invention
For above-mentioned defect of the prior art, the invention provides a kind of print image data processing method and device, for rationally separating the print image data formed after color separation linked network, to improve the pattern quality printed.
The invention provides a kind of print image data processing method, comprising:
According to shower nozzle number, print image data is divided at least two chief series, described print image data is that M that formed after picture is carried out color separation linked network, a M*N site composition is capable, the matrix of N row, and M, N are positive integer, M >=1, N >=4;
Process the site in described matrix often row, make X site of K chief series tail end in every row site overlapping with X site of this row K+1 chief series head end, X, K are positive integer, 1≤X, 1≤K≤N-1;
Described matrix often go described K chief series and described K+1 chief series the individual overlapping site of X in printing cut-point is set, remove printing cut-point described in K chief series to tail end most end site, and the 1st site of head end described in described K+1 chief series is removed to described printing cut-point, with the site making printer control system control described chief series corresponding to nozzle printing.
The invention provides a kind of print image data treating apparatus, comprising:
Divide module, for print image data being divided at least two chief series according to shower nozzle number, described print image data is that M that formed after picture is carried out color separation linked network, a M*N site composition is capable, the matrix of N row, and M, N are positive integer, M >=1, N >=4;
Site processing module, for processing the site in described matrix often row, make X site of K chief series tail end in every row site overlapping with X site of this row K+1 chief series head end, X, K are positive integer, 1≤X, 1≤K≤N-1;
Module is set, for often go at described matrix described K chief series and described K+1 chief series the individual overlapping site of X in printing cut-point is set, remove printing cut-point described in K chief series to tail end most end site, and the 1st site of head end described in described K+1 chief series is removed to described printing cut-point, with the site making printer control system control described chief series corresponding to nozzle printing.
Print image data processing method provided by the invention and device, by matrix trace inequality chief series that site is formed, each chief series joining place copied form overlapping site, and printing separation is redefined in overlapping site, achieve more rationally splitting print image data, to make follow-up each shower nozzle effectively can cover each site in the chief series of its correspondence, improve the pattern quality printed.
Detailed description of the invention
The present embodiment provides a kind of print image data processing method, as shown in Figure 2, comprising:
S21, according to shower nozzle number, print image data is divided at least two chief series, described print image data is that M that formed after picture is carried out color separation linked network, a M*N site composition is capable, the matrix of N row, and M, N are positive integer, M >=1, N >=4.
Print image data in the present embodiment refers to, by the image be stored in the treatment facility of computer etc. after the process of color separation linked network, the formatted file that can be used for printing device directly to print, that is, comprise multiple site being arranged in M*N matrix.Certainly, the concrete numerical value of M, N depends on the size of view data, and generally speaking, view data is comparatively large, and namely M and N can be more than 10 or 100 respectively, and even several ten thousand to millions of.
Wherein, this print image data is divided at least two chief series, namely refer to that by matrix trace inequality that is capable for such M be made up of MN site, N row be plural chief series, each chief series then comprises at least two row sites; And the sum of chief series can be determined according to the shower nozzle number of printing device, and the transverse width of each chief series also can be determined according to the jet power of shower nozzle, to make each shower nozzle can site in the chief series of its correspondence of inkjet printing.Such as, when printing device is arranged with H shower nozzle (H >=2) in the horizontal, the sum of chief series can be then N+1, and each chief series can comprise the site of same quantity, namely each chief series can comprise N/H row site, and each site that the 1st nozzle printing first chief series is corresponding, by that analogy, the site that H nozzle printing H chief series is corresponding.
S22, process the site in described matrix often row, X the site making K chief series tail end in every row site is overlap with X site of this row K+1 chief series head end, and X, K are positive integer, 1≤X, 1≤K≤N-1.
Head end and tail end are that the one end be connected with last chief series is head end, one end of being connected with a rear chief series is tail end for multiple sites of each chief series in each often row.
Specifically the site at the both ends or one end place of each chief series in every row site can be processed simultaneously, to make X site of two chief series joining places adjacent in same a line overlapping, be formed and repeat site; Certainly, for in same a line site, corresponding first or last chief series site for, only need to process a tail end X site of site corresponding to the first chief series, process a head end X site for last chief series, head end and the tail end site of the site that remaining chief series is corresponding process respectively.
Concrete processing mode can be multiple, such as, the individual overlapping site of X that a tail end X site that the head end of a series of sites of corresponding K+1 chief series in every row can be increased in a series of sites corresponding with K chief series in this row is identical, wherein increases the individual ordering of overlapping site of X consistent with the ordering of each site of X of K chief series tail end in K+1 chief series.Fig. 3 A shows K and K+1 chief series dividing mode in same a line, and Fig. 3 B shows the position of the repetition site formed after treatment.Or, X site that also can be identical by the head end X site in a series of sites corresponding with K+1 chief series for the increase of the tail end of a series of sites of K chief series corresponding in same a line.
S23, matrix often go described K chief series and described ground K+1 chief series the individual described overlapping site of X in printing cut-point is set, remove printing cut-point described in K chief series to tail end most end site, and the site between site to described printing cut-point, 1, the ground of head end described in described K+1 chief series is removed, with the site making printer control system control chief series corresponding to nozzle printing.
On the one hand, can using t in the sequence of X repetition site composition as printing cut-point, wherein, t is positive integer, 1≤t≤X, and ensure identical relative to the position of the overlapping site at its place with printing cut-point each in a line, such as, when overlapping site is 5, each overlapping site in same a line (can be comprised the overlapping site that each chief series is corresponding, the overlapping site of the tail end namely in the 1st chief series, the overlapping site of last chief series head end, and the overlapping site of the head end of all the other chief series and tail end) in from left to right second site as printing separation; Namely, when the overlapping site of 5 sites formations is positioned at the site tail end of a chief series, in five sites in above-mentioned overlapping site, a distance caudal end site is farthest first site, be close to this site, be also by tail end number the 4th overlapping site be print separation, when 5 sites are positioned at the head end of the site of a chief series, in above-mentioned 5 sites, a site at the most head end place of distance is first site, and what be close to this overlapping site is printing separation.
Determine to print after separation, then the overlapping site that can be arranged in the tail end of a chief series is removed by printing the overlapping site that segmentation lights to caudal end, only remaining first overlapping site to print separation and between overlapping site; While, can be removed in a series of overlapping site of the head end a chief series to the overlapping site printed between cut-point by head end first overlapping site, only X-t the overlapping site of remaining t+1 overlapping site extremely between a distance head end site farthest.
On the other hand, printing cut-point also can for the point except site, can be now that an overlay network point sequence is divided into two parts by boundary by printing separation, when this overlapping site is in the tail end of a chief series, then remove and print all sites of cut-point to tail end most end, when this overlapping site is in the head end of a chief series, then remove the 1st to all sites printed between separation.
In addition, it should be noted that, in the site of different rows, each position printing cut-point relative superposition site can be different, and the rule followed can be arranged according to real needs.Such as, can for the site of the 1st row, can using in 5 overlapping sites from left to right the 2nd as printing cut-point; For the site of the 2nd row, can using the 3rd the overlapping site from left to right in 5 overlapping sites as printing cut-point, for the site of the 3rd row, can using the 4th the overlapping site from left to right in 5 overlapping sites as printing cut-point; The mode that the 4 to 6 row below then can repeat above-mentioned 1 to 3 row arranges printing cut-point.Certainly, the set-up mode printing segmentation has multiple, and no matter adopts any, and the follow-up Transformatin to overlapping site all can adopt removal process similar to the above.Follow-up printer carries out in print procedure, all sites in a chief series of each its correspondence of nozzle printing; Such as, when being horizontally arranged with four shower nozzles along driving-belt, print image data can be divided into four chief series, utilize said method that printing cut-point is set respectively between two often adjacent chief series, to make between adjacent chief series to print cut-point for segmentation circle, the site that the chief series of each shower nozzle spray printing corresponding to it covers.
Adopt the print image data processing method that the present embodiment provides, by matrix trace inequality chief series that site is formed, each chief series joining place copied form overlapping site, and printing separation is redefined in overlapping site, achieve more rationally separating print image data, to make follow-up each shower nozzle effectively can cover each site in the chief series of its correspondence, improve the pattern quality printed.
Further, described described matrix often go described K chief series and described K+1 chief series the individual overlapping site of X in printing cut-point is set, specifically can comprise:
First, the distance of the end points often printed described in row site in the relatively described overlapping site of cut-point is determined respectively; Wherein, end points can be the most previous site in the head end of a chief series and/or tail end overlay network point sequence, also can be last site in the head end of a chief series and/or tail end overlay network point sequence.
Preferably, determine the distance of the end points often printed described in row site in the relatively described overlapping site of cut-point respectively, be specifically as follows:
Wherein, z represents row corresponding in M*N matrix, 1≤z≤M; N1 is for presetting the low-frequency cycle, and the maximum length of printing cut-point part that spread geometry repeats on the direction that 1 to M is capable that can be formed as required sets; N2 is for presetting high frequency period, and the minimum length of printing cut-point part that spread geometry repeats on the direction that 1 to M is capable that can be formed as required sets; A1 is the amplitude that default low-frequency cycle n1 is corresponding; A2 is the amplitude that default high frequency period n2 is corresponding, wherein, and A1+A2=d, A1:A2=1:3; D is the length of X described overlapping site, preferably, and A1=d/8; A2=3*d/8, n1 can get the arbitrary value (comprising 4mm and 6mm) between 4mm to 6mm, and n2 can get the value being less than 0.4mm, and can form the phase angle of π/4 between n1 and n2.
Determine the distribution situation of the value that every a line z is corresponding as shown in Figure 4 according to above formula, namely along with the increase of line number, print separation in the curved arrangement according to the change of above formula rule.
Then, determine to print the position of cut-point in described overlapping site according to described distance.That is, the electricity to end points being above-mentioned distance is set as print cut-point, this printing cut-point can just drop on form overlapping site site on, also can drop between two sites.When printing separation is positioned on the site forming overlapping site, can in last chief series, this site be removed, retain in an adjacent rear chief series, also can in last chief series, retain this site and remove in an adjacent rear chief series.
Now, before step 21, can also comprise and amplitude A 1 corresponding to described default low-frequency cycle n1 and predetermined period n2 and default low-frequency cycle n1 is set; The step of the amplitude A 2 that the high frequency period n2 preset is corresponding.
The present embodiment is by arranging the position of the printing separation of periodic distribution, realize more reasonably print image data being split, during for the chief series that shower nozzle spray printing print image data is corresponding, the phenomenon avoid producing drain spray in the vertical continuously, repeating ink-jet, thus avoid the occurrence rate of white line, black line, improve the quality of print pattern.
Fig. 5 is the structural representation of print image data treating apparatus embodiment of the present invention; As shown in Figure 5, another embodiment of the present invention provides a kind of print image data treating apparatus, comprising:
Divide module 51, for print image data being divided at least two chief series according to shower nozzle number, described print image data is that M that formed after picture is carried out color separation linked network, a M*N site composition is capable, the matrix of N row, and M, N are positive integer, M >=1, N >=4;
Site processing module 52, for processing the site in described matrix often row, make X site of K chief series tail end in every row site overlapping with X site of this row K+1 chief series head end, X, K are positive integer, 1≤X, 1≤K≤N-1;
Module 53 is set, for often go at described matrix described K chief series and described K+1 chief series the individual overlapping site of X in printing cut-point is set, remove printing cut-point described in K chief series to tail end most end site, and the 1st site of head end described in described K+1 chief series is removed to described printing cut-point, with the site making printer control system control described chief series corresponding to nozzle printing.
Device described in the present embodiment for performing the S21-S23 in the method described in previous embodiment, its concrete function realize principle and technique effect and aforementioned similar, repeat no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.