Summary of the invention
Color method, device, equipment and storage medium are chased after the embodiment of the invention provides ink-jet printer, it is existing to solve
There are manual adjustment heavy workload, the time-consuming and laborious problem for meeting the specific printing color demand of client in technology.
In a first aspect, chasing after color method the embodiment of the invention provides a kind of ink-jet printer, which comprises
Obtain the priming color value for needing to carry out the pixel of color adjustment in image to be printed;
Adjust the color lump color value that the priming color value obtains respective numbers;
Printing, which is carried out, according to each color lump color value obtains several printing color lumps, several printing color lump compositions one
Open color target figure;
Compare the color target figure and the corresponding sample drawing acquisition of the image to be printed is corresponding with the priming color value
Actual color value.
Preferably, a priming color value includes: that the cyan channel, pinkish red chrominance channel, yellow of ink-jet printer are logical
The dot area percentage initial input value in road and black channel, an actual color value include: the blueness of the ink-jet printer
Chrominance channel, pinkish red chrominance channel, yellow channels and black channel dot area percentage actually enter value,.
Preferably, the priming color value has one, and a priming color value corresponds to several pixels.
Preferably, it includes: that the first priming color value, the second priming color value, third are initial that the priming color value, which has 4,
Color value, the 4th priming color value, if the dot area percentage initial input value in the cyan channel is Ci, pinkish red chrominance channel net
Point the area ratio initial input value is Mi, yellow channels dot area percentage initial input value be Yi, black channel dot area percentage
Initial input value is Ki, the dot area percentage initial input value of the first priming color value are as follows: 0 < Ci1≤100、Mi1=0,
Yi1=0, Ki1=0;The dot area percentage initial input value of the second priming color value are as follows: Ci2=0,0 < Mi2≤100、Yi2
=0, Ki2=0;The dot area percentage initial input value of the third priming color value are as follows: Ci3=0, Mi3=0,0 < Yi3≤100、
Ki3=0;The dot area percentage initial input value of the 4th priming color value are as follows: Ci4=0, Mi4=0, Yi4=0,0 < Ki4≤
100。
Preferably, the priming color value includes the color value of all pixels point in image to be printed.
Preferably, the color lump color value of each color lump includes: in the adjustment priming color value acquisition color target figure
Obtain the float value of the priming color value;
The dot area percentage for adjusting separately each Color Channel in the priming color value according to the float value is initially defeated
The dot area percentage for entering each Color Channel of value acquisition actually enters value;
Value is actually entered to the corresponding dot area percentage of each Color Channel and carries out the color that permutation and combination obtains respective numbers
Block color value.
Preferably, the color target figure and the corresponding sample drawing of the image to be printed obtain the priming color
Being worth corresponding actual color value includes:
It is chosen from the color target figure with the color difference of priming color value corresponding pixel points described in the sample drawing most
Small color lump is denoted as chasing after color color lump;
Chase after the corresponding color lump color value of color color lump described in acquisition, i.e., the corresponding actual color value of described priming color value.
Second aspect chases after color device the embodiment of the invention provides a kind of ink-jet printer, and described device includes:
Priming color value obtain module, for obtain need to carry out in image to be printed color adjustment pixel it is initial
Color value;
Color lump color value obtains module, and the color lump color value of respective numbers is obtained for adjusting the priming color value;
Print module obtains several printing color lumps for carrying out printing according to each color lump color value, several
It prints color lump and forms a color target figure;
Actual color value obtains module, obtains for the color target figure and the corresponding sample drawing of the image to be printed
Actual color value corresponding with the priming color value.
The third aspect chases after color equipment the embodiment of the invention provides a kind of ink-jet printer, comprising: at least one processing
Device, at least one processor and computer program instructions stored in memory, when computer program instructions are by processor
The method such as first aspect in above embodiment is realized when execution.
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 ink-jet printer provided in an embodiment of the present invention chases after color method, device, equipment and storage medium,
The present invention passes through the priming color value for obtaining and needing to carry out color adjustment in image to be printed, then adjusts priming color value and obtains
The color lump color value of each color lump in color target figure prints color target figure, and it is described initial that color target figure and sample drawing are compared acquisition
The corresponding actual color value of color value, when printing, are printed according to the actual color value, and then can guarantee finally to print
Image color and sample color it is same or similar.The method of the present invention, which only needs once to print, to be adjusted, is simple and quick, and color is chased after
Color difference is small, good to the reduction effect of image, without relying on senior toning personnel.
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 color method that chases after of ink-jet printer, this method by obtain to
It needs to carry out the priming color value of color adjustment in print image, then adjusts priming color value and obtain each color lump in color target figure
Color lump color value, print color target figure, color target figure and sample drawing compared and obtain the corresponding reality of the priming color value
Color value, when printing, are printed according to the actual color value, and then can guarantee the image color finally printed and sample
Color it is same or similar.The method of the present invention, which only needs once to print, to be adjusted, is simple and quick, and the color difference for chasing after color is small, to image
Reduction effect is good, without relying on senior toning personnel.The method specifically comprises the following steps:
S1, the priming color value for needing to carry out the pixel of color adjustment in image to be printed is obtained;
Preferably, in the present embodiment, a priming color value includes: the cyan channel of the ink-jet printer
The dot surface of (C, Cyan), pinkish red chrominance channel (M, Magenta), yellow channels (Y, Yellow) and black channel (K, black)
Product rate initial input value, then the corresponding actual color value obtained according to the priming color value includes: that the ink-jet is beaten
The cyan channel (C, Cyan) of print machine, pinkish red chrominance channel (M, Magenta), yellow channels (Y, Yellow) and black channel (K,
Black dot area percentage) actually enters value;Wherein, a priming color value can also include Spot Channel, such as blue
The initial rate input value of the dot area of channel, red channel etc., then corresponding actual color value also includes the site in patent channel
The area ratio actually enters value, the Color Channel one-to-one correspondence of the priming color value and the actual color value.Meanwhile Suo Youyan
Chrominance channel chases after that color method is all identical, and the present invention will be specifically introduced by taking basic four chrominance channel as an example, and in the present embodiment,
The maximum value of the dot area percentage input of each Color Channel is 100%, minimum value 0.
For different printing device and printing environment, the quantity for needing to chase after the pixel of color is not also identical.Such as work as printing
The color difference for the sample that the image color that equipment prints is provided with client is away from smaller, only only a kind of color and client's offer
Sample color it is different, then at this time it is only necessary to chase after color processing to a kind of color value, a kind of color value may correspond to one
A pixel may also correspond to multiple pixels, and an either corresponding pixel still corresponds to multiple pixels and then works as color value
The color that the pixel of the color value is corresponded to when change can be all adjusted;It not only can achieve the purpose that chase after color and mention significantly
The high efficiency for chasing after color.
When the color difference for the sample that the image color that printing device prints is provided with client away from it is larger when, then need to institute
There is pixel to carry out individually chasing after color processing, obtains all colours value in image to be printed, all colours value is adjusted and is obtained
It takes corresponding color target figure, prints color target figure, it is corresponding that the color target figure with the sample drawing is compared each color value of acquisition
Actual color value, accurately each pixel can be carried out chasing after color in this way, allow printed product color height
With color required for client.
And when printing device printing color and client provide sample color difference away from it is larger when, can also be only to pure color
Color lump carries out chasing after color, that is, 4 chosen priming color value includes: that the first priming color value, the second priming color value, third are initial
Color value, the 4th priming color value, if the dot area percentage initial input value in the cyan channel is Ci, pinkish red chrominance channel net
Point the area ratio initial input value is Mi, yellow channels dot area percentage initial input value be Yi, black channel dot area percentage
Initial input value is Ki, the first priming color value is pure cyan, then at the beginning of the dot area percentage of the corresponding pixel of pure cyan
Beginning input value are as follows: 0 < Ci1≤ 100%, Mi1=0, Yi1=0, Ki1=0;The second priming color value is that sterling is red, then pure
The dot area percentage initial input value of the corresponding pixel of magenta are as follows: Ci2=0,0 < Mi2≤ 100%, Yi2=0, Ki2=0;Institute
Stating third priming color value is gilvous, then the dot area percentage initial input value of the corresponding pixel of gilvous are as follows: Ci3=0,
Mi3=0,0 < Yi3≤ 100%, Ki3=0;The 4th priming color value is ater, then the net of the corresponding pixel of ater
Point the area ratio initial input value are as follows: Ci4=0, Mi4=0, Yi4=0,0 < Ki4≤ 100%.In this way can only to part color difference compared with
Big pixel carries out chasing after color, reaches also to be turned up while chasing after color effect and chases after colour efficiency.
S2, the adjustment priming color value obtain the color lump color value of respective numbers;
Specifically, referring to Fig. 2, the step S2 includes:
S21, the float value for obtaining the priming color value;
S22, it is adjusted separately in the priming color value at the beginning of the dot area percentage of each Color Channel according to the float value
The dot area percentage that beginning input value obtains each Color Channel actually enters value;
S23, value progress permutation and combination acquisition respective numbers are actually entered to the corresponding dot area percentage of each Color Channel
Color lump color value.
Float value is obtained according to printing device feature, is adjusted separately according to the float value each in the priming color value
The dot area percentage that the dot area percentage initial input value of Color Channel obtains each Color Channel actually enters value, such as described first
The dot area percentage initial input value in cyan channel in beginning color value are as follows: Cx, the dot area percentage initial input of pinkish red chrominance channel
Value are as follows: Mx, the dot area percentage initial input value of yellow channels are as follows: Yx, the dot area percentage initial input value of black channel are as follows:
Kx, the float value are V, then it includes: Cx+V and Cx-V, magenta that the dot area percentage in cyan channel adjusted, which actually enters value,
It includes: Mx+V and Mx-V that the dot area percentage of chrominance channel, which actually enters value, and the dot area percentage of yellow channels actually enters value packet
Include: Yx+V and Yx-V, it includes: Kx+V and Kx-V that the dot area percentage of black channel, which actually enters value,.
In one embodiment, value is actually entered according to the corresponding dot area percentage of each Color Channel to obtain in color target figure often
The corresponding dot area percentage of each Color Channel is specially actually entered value and arranged by the color lump color value of a color lump
Combination obtains 16 groups of color value (X1~X16), the corresponding width color target figure of 16 groups of color values, every group of color value corresponds to the color target figure
In a color lump.Specifically please referring to Fig. 3 is X1~X1616 kinds of color values details, then the priming color value
(Cx, Mx, Yx, Kx) corresponding color target figure includes 16 color lumps, the corresponding one group of colouring information of each color lump.
In another embodiment, value is actually entered according to the corresponding dot area percentage of each Color Channel to obtain in color target figure
The color lump color value of each color lump specially actually enters the range of value in the corresponding dot area percentage of each Color Channel
Several values are inside obtained at certain intervals, are then carried out permutation and combination in the color value to each channel and are obtained a width color target figure
Color lump color value, such as dot area percentage in cyan channel actually enter and choose 3 values in value range [Cx-V:Cx+V], pinkish red
The dot area percentage of chrominance channel, yellow channels and black channel, which actually enters, equally chooses 3 values within the scope of value, then arranged
Column combination obtains color lump color value in 81.
S3, several printing color color lumps of printing acquisition, several printing color lumps are carried out according to each color lump color value
Form a color target figure;
Specifically, every group of color value is numbered according to permutation and combination, color target figure is printed according to number input color value,
It is clear how the corresponding color lump color value of each color lump in this way.
Color target figure described in S4, comparison and the corresponding sample drawing of the image to be printed obtain corresponding with the priming color value
Actual color value.
Specifically, the color target figure includes several color lumps, the corresponding a color lump color value of each color lump, referring to Fig. 4,
The step S4 specifically comprises the following steps:
S41, from the color target figure choose with the sample drawing described in priming color value corresponding pixel points color difference
It is worth the smallest color lump to be denoted as chasing after color color lump;
Chase after the corresponding color lump color value of color color lump described in S42, acquisition, i.e., the corresponding actual color of described priming color value
Value.
Specifically, being illustrated by taking a priming color value X as an example, chosen from the corresponding color target figure of priming color value X
The color of the corresponding pixel of priming color value described in color lump color sample drawing corresponding with the image to be printed carries out pair
Than choosing the immediate color lump of color of color lump color and pixel in sample drawing and obtaining the color lump color value of the color lump;Then
The color value of the color lump is exactly that the dot area percentage of corresponding pixel points actually enters value.In the present embodiment, by using scanning
Equipment respectively simultaneously scan color target figure and sample drawing, matching result is obtained according to scanning result automatically, wherein the color target figure with
Comparison between the sample drawing can also be obtained by artificial observation.Simultaneously in order to guarantee the accuracy compared, in this implementation
In example, the priming color value of the pixel of selection and the priming color value of its surrounding pixel point are essentially identical.
Dot area percentage according to each pixel, which actually enters value, can print the same color of client's given sample
Coloured silk, the method for the present invention, which only needs once to print, to be adjusted, is simple and quick, and carries out chasing after obtaining for color information based on multiple pixels
It taking, the color difference for chasing after color is small, and it is good to the reduction effect of image, without relying on senior toning personnel.
Referring to Fig. 5, chasing after color device the embodiment of the invention provides a kind of ink-jet printer, described device includes:
Priming color value obtain module 10, for obtain need to carry out in image to be printed color adjustment pixel just
Beginning color value;
Color lump color value obtains module 20, and the color lump color value of respective numbers is obtained for adjusting the priming color value;
Print module 30 obtains several printing color lumps for carrying out printing according to each color lump color value, several
A printing color lump forms a color target figure;
Actual color value obtains module 40, obtains for the color target figure and the corresponding sample drawing of the image to be printed
Take actual color value corresponding with the priming color value.
Preferably, a priming color value includes: cyan channel, pinkish red chrominance channel, yellow channels and black channel
Dot area percentage initial input value, an actual color value includes: the cyan channel of the ink-jet printer, magenta
The dot area percentage in channel, yellow channels and black channel actually enters value,.
Preferably, the priming color value has one, and a priming color value corresponds to several pixels.
Preferably, it includes: that the first priming color value, the second priming color value, third are initial that the priming color value, which has 4,
Color value, the 4th priming color value, if the dot area percentage initial input value in the cyan channel is Ci, pinkish red chrominance channel net
Point the area ratio initial input value is Mi, yellow channels dot area percentage initial input value be Yi, black channel dot area percentage
Initial input value is Ki, the dot area percentage initial input value of the first priming color value are as follows: 0 < Ci1≤100、Mi1=0,
Yi1=0, Ki1=0, the dot area percentage initial input value of the second priming color value are as follows: Ci2=0,0 < Mi2≤100、Yi2
=0, Ki2=0, the dot area percentage initial input value of the third priming color value are as follows: Ci3=0, Mi3=0,0 < Yi3≤100、
Ki3=0, the dot area percentage initial input value of the 4th priming color value are as follows: Ci4=0, Mi4=0, Yi4=0,0 < Ki4≤
100。
Preferably, the priming color value includes the color value of all pixels point in image to be printed.
Preferably, the color lump color value acquisition module 20 includes:
Float value acquiring unit, for obtaining the float value of the priming color value;
Color value adjustment unit, for adjusting separately each Color Channel in the priming color value according to the float value
Dot area percentage initial input value obtain the dot area percentage of each Color Channel and actually enter value;
Color lump color value acquiring unit is arranged for actually entering value to the corresponding dot area percentage of each Color Channel
Column combination obtains the color lump color value of respective numbers.
Preferably, then the actual color value acquisition module 40 includes:
Color color lump acquiring unit is chased after, for choosing from the color target figure and priming color value pair described in the sample drawing
The smallest color lump of color difference of pixel is answered to be denoted as chasing after color color lump;
Color lump color value acquiring unit described chases after the corresponding color lump color value of color color lump, i.e., the described initial face for obtaining
The corresponding actual color value of color value.
In addition, the color method that chases after in conjunction with the ink-jet printer of Fig. 1 embodiment of the present invention described can be by ink-jet printer
Chase after color equipment to realize.The hardware configuration for chasing after color equipment that Fig. 6 shows ink-jet printer provided in an embodiment of the present invention shows
It is intended to.
The color equipment that chases after of ink-jet printer may include processor 401 and the memory for being stored with computer program instructions
402。
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
Any one ink-jet printer in example chases after color method.
In one example, the color equipment that chases after of ink-jet printer may also include communication interface 403 and bus 410.Wherein, such as
Shown in Fig. 6, processor 401, memory 402, communication interface 403 connect by bus 410 and complete mutual 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 for chasing after color equipment of ink-jet printer is coupled to each other one
It rises.For example it rather than limits, bus may include accelerated graphics port (AGP) or other graphics bus, enhancing industrial standard frame
Structure (EISA) bus, front side bus (FSB), super transmission (HT) interconnection, Industry Standard Architecture (ISA) bus, infinite bandwidth interconnection,
Low pin count (LPC) bus, memory bus, micro- channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-
Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics 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 color method that chases after of the ink-jet printer in above-described embodiment, the embodiment of the present invention can provide a kind of meter
Calculation machine readable storage medium storing program for executing is realized.Computer program instructions are stored on the computer readable storage medium;The computer journey
What any one ink-jet printer in above-described embodiment was realized in sequence instruction when being executed by processor chases after color method.
In conclusion ink-jet printer provided in an embodiment of the present invention chases after color method, device, equipment and storage medium,
The present invention passes through the priming color value for obtaining and needing to carry out color adjustment in image to be printed, then adjusts priming color value and obtains
The color lump color value of each color lump in color target figure prints color target figure, and it is described initial that color target figure and sample drawing are compared acquisition
The corresponding actual color value of color value, when printing, are printed according to the actual color value, and then can guarantee finally to print
Image color and sample color it is same or similar.The method of the present invention, which only needs once to print, to be adjusted, is simple and quick, and color is chased after
Color difference is small, good to the reduction effect of image, without relying on senior toning personnel.
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.