The specific embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment 1
The embodiment of the invention provides the control method of the total China ink amount of a kind of printer, and as shown in Figure 1, this method comprises:
101, obtain the total China ink amount of pixel output control threshold value; The total China ink amount of said pixel output threshold value is in the survey map, total China ink amount of total China ink amount intermediate value minimum that color value maximum of from each time look, choosing and the pixel of not piling China ink are corresponding.
102, after obtaining said total China ink amount control threshold value, judge that whether pixel exports required total China ink amount greater than said total China ink amount control threshold value in the printed drawings; If pixel is exported required total China ink amount greater than said total China ink amount control threshold value in the said printed drawings, then execution in step 103; If pixel is exported required total China ink amount and is not more than said total China ink amount control threshold value in the said printed drawings, then execution in step 104.
Wherein, when pixel was exported required total China ink amount for said pixel output in the said printed drawings, each passage of said multicolor printer was for printing the China ink amount sum that said pixel should be exported.
103, show if export the said pixel of required total China ink amount printing according to said pixel; The collocation of the ink droplet that uses when then printing said pixel is unreasonable; Be easy to cause piling black problem; So when pixel in the printed drawings was exported required total China ink amount greater than said total China ink amount control threshold value, nearest and required total China ink amount replaced said pixel value less than the pixel value of said total China ink amount control threshold value with the said pixel of distance; So that make the image gradual change of printing level and smooth, and do not pile China ink.
104, show that the collocation of the ink droplet that uses when printing said pixel is reasonable, keep said pixel value constant, print said pixel, can not produce the black phenomenon of heap according to total China ink amount that said pixel output is required.
The embodiment of the invention provides the control device of the total China ink amount of a kind of printer, and as shown in Figure 2, this device comprises: acquiring unit 21, judging unit 22 and adjustment unit 23.
When the total ink-amount control device of said printer is controlled in the said printer prints process total China ink amount, at first obtain the total China ink amount of pixel output control threshold value through said acquiring unit 21; The total China ink amount of said pixel output threshold value is in the survey map, total China ink amount of total China ink amount intermediate value minimum that color value maximum of from each time look, choosing and the pixel of not piling China ink are corresponding.
After said acquiring unit 21 obtained said total China ink amount control threshold value, said judging unit 22 judged that whether pixel exports required total China ink amount greater than said total China ink amount control threshold value in the printed drawings; If said judging unit 22 judges that pixel is exported required total China ink amount greater than said total China ink amount control threshold value in the said printed drawings, then nearest the and pixel value that required total China ink amount is controlled threshold value less than said total China ink amount of the said pixel of adjustment unit 23 usefulness distance replaces said pixel value; If said judging unit 22 judges that pixel is exported required total China ink amount in the said printed drawings and is not more than said total China ink amount control threshold value that then said adjustment unit 23 also is used to keep said pixel value constant.
In the embodiment of the invention; When the printer prints pixel; Judge that whether said pixel export required total China ink amount greater than total China ink amount control threshold value of obtaining; If pixel is exported required total China ink amount and measured the control threshold value greater than said total China ink in the said printed drawings, then nearest with the said pixel of distance and pixel value that required total China ink is measured less than said total China ink amount control threshold value replaces said pixel value; Because the pixel value of the said pixel of replacement is the value with the nearest pixel of the pixel distance of preparatory printing; And the total China ink amount that will export be no more than the promptly total China ink amount of the value control threshold value that produces the heap China ink; Thereby avoided the control unreasonable phenomenon that heap China ink occur of the pixel of preparatory printing, and made the images printed gradual change level and smooth owing to total China ink amount.
Embodiment 2
The embodiment of the invention provides the control method of the total China ink amount of a kind of printer, and as shown in Figure 3, this method comprises:
301, obtain the survey map of printer output, said survey map comprises the pixel of look, secondary look, tertiary colo(u)r(s) and four looks; The straight line that wherein comprises different angles on each pixel is always or usually as specified, and comprises the straight line of horizontal, vertical and 45 degree, and said straight line is a white.
302, the maximum and pixel of not piling China ink of the value of getting colors respectively from said each time look; Wherein the value of getting colors is maximum and when not piling the pixel of China ink respectively from said each time look, chooses according to following rule; Be specially: not creeping, do not pile that China ink, white fine rule are not flooded by ink-soaked and gross distortion and phenomenon of osmosis do not take place for high-visible, back side of paper.
303, from a said look, secondary look, tertiary colo(u)r(s) and four looks, choose respectively said color value maximum and do not pile the pixel of China ink after, calculate total China ink amount of said selected pixels; The total black measuring of the said selected pixels of said calculating comprises:
Calculate the gray value of each look version in the said pixel, m according to following formula
i=n
i/ 255*x
i, m wherein
iBe the gray value of i look version, n
iBe the maximum gray scale number of printing ink in i the look version, x
iBe the actual input gray level value of i look printing ink in the survey map, 255 is the maximum input gray level value of survey map, i=1 wherein, and 2,--, p, p is for printing the port number of the used printing ink of said pixel;
After calculating described gray value, calculate the actual China ink amount of each look version in the said selected pixels: t according to following formula
i=(r
i+ 1-m
i) * l
Ri+ (m
i-r
i) * l
(r+1) i, t wherein
iBe the actual China ink amount of i look version, l
RiBe the China ink amount that the printing ink of i passage of equipment is exported during for r at gray value, unit is a microlitre, l
(r+1) iBe the China ink amount that i passage printing ink of equipment is exported during for r+1 at gray value, m
iBe the gray value of i look version, r
iBe m
iData after rounding; Wherein, l
RiAnd l
(r+1) iValue can obtain through searching said equipment operating manual or other data.
In calculating said selected pixels, after the actual China ink amount of look version, the actual China ink amount addition of each look version that said pixel comprised is obtained total China ink amount of said selected pixels.
304, from total China ink amount of said selected pixels, choose minimum total China ink amount as total China ink amount control threshold value.
305, after obtaining said total China ink amount control threshold value, judge that whether pixel exports required total China ink amount greater than said total China ink amount control threshold value in the printed drawings; If pixel is exported required total China ink amount greater than said total China ink amount control threshold value in the said printed drawings, then execution in step 306; If pixel is exported required total China ink amount and is not more than said total China ink amount control threshold value in the said printed drawings, then execution in step 307.
Wherein, when pixel was exported required total China ink amount for said pixel output in the said printed drawings, each passage of said printer was printed the China ink amount sum that said pixel should be exported.
306, show if export the said pixel of required total China ink amount printing according to said pixel; The collocation of the ink droplet that uses when then printing said pixel is unreasonable; Be easy to cause piling black problem; So when pixel in the printed drawings was exported required total China ink amount greater than said total China ink amount control threshold value, nearest and required total China ink amount replaced said pixel value less than the pixel value of said total China ink amount control threshold value with the said pixel of distance; So that make the image gradual change of printing level and smooth, and do not pile China ink.
307, show that the collocation of the ink droplet that uses when printing said pixel is reasonable, keep said pixel value constant, print said pixel, can not produce the black phenomenon of heap according to total China ink amount that said pixel output is required.
The embodiment of the invention provides the control device of the total China ink amount of a kind of printer, and as shown in Figure 4, this device comprises: acquiring unit 41, judging unit 42 and adjustment unit 43.
When the control device of the total China ink amount of said printer is controlled the total China ink amount print image of said printer, at first obtain the total China ink amount of pixel output control threshold value through said acquiring unit 41; The total China ink amount of said pixel output threshold value is in the survey map, total China ink amount of total China ink amount intermediate value minimum that color value maximum of from each time look, choosing and the pixel of not piling China ink are corresponding.
After said acquiring unit 41 obtained said total China ink amount control threshold value, said judging unit 42 judged that whether pixel exports required total China ink amount greater than said total China ink amount control threshold value in the printed drawings; If said judging unit 42 judges that pixel is exported required total black amount greater than said total China ink amount control threshold value in the said printed drawings, then adjustment unit 43 is used for pixel value nearest apart from said pixel and that required total China ink amount is controlled threshold value less than said total China ink amount and replaces said pixel value; If said judging unit 42 judges that pixel is exported required total China ink amount in the said printed drawings and is not more than said total China ink amount control threshold value that then said adjustment unit 43 also is used to keep said pixel value constant.
Wherein, said acquiring unit 41 comprises: output module 411, choose module 412 and computing module 413.
Said acquiring unit 41 obtains the survey map of printer output through output module 411 when obtaining the total China ink amount of pixel output control threshold value, said survey map comprises the pixel of look, secondary look, tertiary colo(u)r(s) and four looks; Wherein, the straight line that comprises different angles on each pixel is always or usually as specified, and comprises the straight line of horizontal, vertical and 45 degree, and said straight line is a white
Behind said output module 411 output survey maps, the said module 412 of choosing is used for from the pixel of a look, secondary look, tertiary colo(u)r(s) and four looks of the survey map of said output module 411 outputs, and the value of getting colors is maximum and do not pile black pixel respectively; Said choose module 412 choose said color value maximum and do not pile the pixel of China ink after, said computing module 413 is used to calculate total China ink amount of said selected pixels; Calculate total China ink amount of said selected pixels at said computing module 413 after, the said module 412 of choosing also is used for choosing minimum total China ink amount as total China ink amount control threshold value from total China ink amount of said pixel.
Wherein, The said module 412 of choosing is the pixel of a look, secondary look, tertiary colo(u)r(s) and four looks of the survey map of exporting from said output module 411; The value of getting colors is maximum and when not piling the pixel of China ink respectively; According to following principle maximum and pixel of not piling China ink of the value of getting colors respectively from said each time look, said principle is: not creeping, do not pile that China ink, white fine rule are not flooded by ink-soaked and gross distortion and phenomenon of osmosis do not take place for high-visible, back side of paper.
Wherein, when said computing module 413 is measured at the total China ink that calculates said selected pixels, at first calculate the gray value of each look version in the said pixel, m according to following formula
i=n
i/ 255*x
i, m wherein
iBe the gray value of i look version, n
iBe the maximum gray scale number of printing ink in i the look version, x
iBe the actual input gray level value of i look printing ink in the survey map, 255 is the maximum input gray level value of survey map, i=1 wherein, and 2,--, p, p is for printing the port number of the used printing ink of said pixel.
After said computing module 413 calculated the gray value that obtains version of all kinds in the said selected pixels, said computing module 413 also was used for calculating according to following formula the actual China ink amount of each look version of said pixel, t
i=(r
i+ 1-m
i) * l
Ri+ (m
i-r
i) * l
(r+1) i, t wherein
iBe the actual China ink amount of i look version, l
RiBe the China ink amount that the printing ink of i passage of equipment is exported during for r at gray value, unit is a microlitre, l
(r+1) iBe the China ink amount that i passage printing ink of equipment is exported during for r+1 at gray value, m
iBe the gray value of i look version, r
iBe m
iData after rounding.Wherein, l
RiAnd l
(r+1) iValue can obtain through searching said equipment operating manual or other data.
After said computing module 413 calculated the actual China ink amount of each look version in the said selected pixels, the actual China ink amount addition of each look version that said computing module 413 also is used for said pixel is comprised obtained total China ink amount of said pixel.
In the embodiment of the invention; When the printer prints pixel; Judge that whether said pixel export required total China ink amount greater than total China ink amount control threshold value of obtaining; If pixel is exported required total China ink amount and measured the control threshold value greater than said total China ink in the said printed drawings, then nearest with the said pixel of distance and pixel value that required total China ink is measured less than said total China ink amount control threshold value replaces said pixel value; Because the pixel value of the said pixel of replacement is the value with the nearest pixel of the pixel distance of preparatory printing; And the total China ink amount that will export be no more than the promptly total China ink amount of the value control threshold value that produces the heap China ink; Thereby avoided the control unreasonable phenomenon that heap China ink occur of the pixel of preparatory printing, and made the images printed gradual change level and smooth owing to total China ink amount.
Further; With carrying the China ink amount with the maximum of paper in the prior art serves as that total China ink amount control threshold value is compared; Total China ink amount control threshold value of the total China ink amount of the control printer that uses described in the present embodiment; Be to choose in the total China ink amount according to the actual ejection of the pixel in the printer prints survey map, the criterion of choosing relates to many-sided characteristic of printer ink, thereby makes the control of total China ink amount more accurate, fine and smooth; The specimen page that the technical scheme that provides according to the embodiment of the invention prints does not have heap China ink, creeping phenomenon, and color is full, gradual change is even, details is excessively level and smooth.
Through the description of above embodiment, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product, and this computer software product is stored in the storage medium that can read, like the floppy disk of computer; Hard disk or CD etc.; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; Be merely the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of said claim.