Summary of the invention
The embodiment of the invention provides modification pre-press data compensation abnormal nozzle method, apparatus, equipment and storage medium,To solve the problems, such as that anomalous effects print image quality occurs in the nozzle of inkjet printer head in the prior art.
In a first aspect, the embodiment of the invention provides a kind of method of modification pre-press data compensation abnormal nozzle, the sideMethod includes:
Determine abnormal nozzle location information in spray head;
Print parameters are obtained, are determined in the abnormal nozzle position and original print data file between data to be printedMapping relations;
According to the mapping relations and the abnormal nozzle location information, obtain to the corresponding exception of the abnormal nozzle toThe compensation print data range that print data compensates;
Non- inking data out is determined within the scope of the compensation print data;
The exception data replacement to be printed non-inking data out is generated into compensation print data.
Preferably, the print parameters include: the number of reciprocating scanning and printing.
Preferably, the number of the reciprocating scanning and printing is K, and K is the integer more than or equal to 2, and an elementary area is by KA print data composition, the compensation print data range are that removing for the elementary area of exception data institute subordinate to be printed is differentK-1 print data other than normal data to be printed.
It is preferably, described that non-inking data out is determined within the scope of the compensation print data, comprising:
It determines the alternative non-inking data out in the compensation print data range, and judges the alternative non-inking data energy outIt is no to be used to compensate exception data to be printed;
If can, it is chosen described in physical printed positional distance from all alternative non-inking datas out that can be used for compensatingThe nearest non-inking data out in the corresponding physical printed position of exception data to be printed is for compensating exception data to be printed.
Preferably, the alternative non-inking data out in the determination compensation print data range, and judge described alternativeCan non-inking data out be used to compensate exception data to be printed and include:
It is out of ink to judge that the X print data in the compensation print data range indicates whether, if X print data tableShow not out of ink, the corresponding nozzle of the X print data is obtained according to the X print data and the mapping relationship f;
Judge whether the nozzle is abnormal, and when the nozzle is normal, the X print data can compensate the exceptionData to be printed.
Preferably, the method also includes:
According to the mapping relations, the compensation print data is exported to compensating nozzle.
Second aspect, the embodiment of the invention provides a kind of device of modification pre-press data compensation abnormal nozzle, device packetsIt includes:
Abnormal nozzle determining module, for determining abnormal nozzle location information in spray head;
Mapping relations determining module determines the abnormal nozzle position and original print data for obtaining print parametersMapping relations in file between data to be printed;
Print data range determination module is compensated, is used for according to the mapping relations and the abnormal nozzle location information,Obtain the compensation print data range compensated to the corresponding exception of abnormal nozzle data to be printed;
Non- data determining module out of ink, for determining non-inking data out within the scope of the compensation print data;
Print data generation module is compensated, is mended for generating the exception data replacement to be printed non-inking data outRepay print data.
The third aspect, the embodiment of the invention provides a kind of modification pre-press datas to compensate abnormal nozzle equipment, comprising: at leastOne processor, at least one processor and computer program instructions stored in memory, work as computer program instructionsThe method such as first aspect in above embodiment is realized when being 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 meterThe method such as first aspect in above embodiment is realized when calculation machine program instruction is executed by processor.
5th aspect, the embodiment of the invention provides a kind of ink jet printing devices, comprising: inkjet-printing device and nozzle are mendedUnit is repaid, the inkjet-printing device includes: control unit, ejection head unit, nozzle detection unit, and described control unit controls instituteEjection head unit and the nozzle detection unit are stated, it is whether different that the nozzle detection unit detects the nozzle in the ejection head unitOften, if abnormal, feedback information to the nozzle compensating unit compensates abnormal nozzle, and the nozzle compensating unit passes through modification printDescribed control unit is sent to after preceding compensation data abnormal nozzle, it is out of ink that described control unit controls the ejection head unit, whereinThe nozzle compensating unit is the device that modification pre-press data described in second aspect compensates abnormal nozzle in above embodiment.
Method, apparatus, equipment and the storage medium of modification pre-press data compensation abnormal nozzle provided in an embodiment of the present invention,The problem of abnormal nozzle exception out of ink leads to poor quality images has not only been repaired, but also has reduced blow head maintenance cost.
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 detailIt 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 detailsIt 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 realityBody or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operationIn any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended toNon-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including thoseElement, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipmentIntrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that includingThere is also other identical elements in the process, method, article or equipment of the element.
Fig. 2 is referred to, the embodiment of the invention provides a kind of method of modification pre-press data compensation abnormal nozzle, this methodWhen mainly occurring abnormal to the nozzle of inkjet printer head, compensates, to realize normal print image, do not influence imageImage quality on the print medium.The modification pre-press data compensation abnormal nozzle method include:
S1, the location information for determining abnormal nozzle in spray head;
S2, print parameters are obtained, determined in the nozzle location and original print data file between data to be printedMapping relations;
S3, according to the mapping relations and the location information of the abnormal nozzle, obtain corresponding to the abnormal nozzleThe compensation print data range that abnormal data to be printed compensate;
S4, non-inking data out is determined within the scope of the compensation print data;
S5, the exception data replacement to be printed non-inking data out is generated into compensation print data.
Preferably, the print parameters include: the number of reciprocating scanning and printing.
Preferably, the number of the reciprocating scanning and printing is K, and K is the integer more than or equal to 2, and an elementary area is by KA print data composition, the compensation print data range are that removing for the elementary area of exception data institute subordinate to be printed is differentK-1 print data other than normal data to be printed.
Preferably, described to determine that non-data out of ink include: within the scope of the compensation print data
It determines the alternative non-inking data out in the compensation print data range, and judges the alternative non-inking data energy outIt is no to be used to compensate exception data to be printed;
If can, it is chosen described in physical printed positional distance from all alternative non-inking datas out that can be used for compensatingThe nearest non-inking data out in the corresponding physical printed position of exception data to be printed.
Preferably, the alternative non-inking data out in the determination compensation print data range, and judge described alternativeCan non-inking data out be used to compensate exception data to be printed and include:
When judging compensation data not ink-jet to be printed, then can be used to compensate exception data to be printed.
Find the corresponding nozzle of compensation data to be printed according to the mapping relations, if the nozzle normally if compensateData to be printed can be used to compensate the abnormal print data.
Preferably, the method also includes: according to the mapping relations, export the compensation print data and spray to compensatingMouth.
Specifically, the location information for determining abnormal nozzle in spray head determines each spray head by printing head state diagramThe specific location of abnormal nozzle, the spray head state diagram are to set for determining each abnormal nozzle location information in each spray headOne test chart of meter.Referring to Fig. 3, in the present embodiment, the spray head 400 includes that 4 channels are respectively first passage410, second channel 420, third channel 430 and fourth lane 440, the color of each pass print one kind, if each channel hasA dry nozzle, it is assumed that there is v nozzle in each channel, when there is not abnormal nozzle phenomenon in spray head 400, then the state diagram that printsIt is made of 4v line segment, each line segment has a station location marker, and each line segment is formed by a nozzle separate printed;WhenWhen there is abnormal nozzle in spray head 400, the state diagram of printing just will appear apparent missing line segment situation, at this moment according to missing lineSection station location marker it is known that abnormal nozzle more specific location information.In another embodiment, the spray head 400 only includesOne channel is equipped with multiple spray heads 400, a kind of each color of nozzle printing in printer.Wherein, sensor can also be passed throughWhether there is abnormal nozzle in detection spray head, is not specifically limited herein.
Print parameters are obtained, determine the mapping in the nozzle location and original print data file between data to be printedRelationship.Here print parameters include: the required precision of the number of reciprocating scanning and printing, spray head precision and image to be printed, reallyThe number of fixed reciprocating scanning and printing is denoted as Kpass, and K is the natural number greater than zero, and such as number of reciprocating scanning and printing is 4 timesIt is denoted as 4pass, the number of reciprocating scanning and printing is denoted as 2pass for 2 times;It is determined according to the number of the reciprocating scanning and printingThe mapping relations, are denoted as by the mapping relations of nozzle first print data corresponding with the image to be printed herein in spray headf。
The mapping relationship f is established by following steps: first will according to the number Kpass of the reciprocating scanning and printingThe some region of image data of image to be printed is divided equally into K parts of data blocks, and the height of every part of data block is all equal, oftenThe width of part data block is also equal, and the data block includes X row data, and X is the natural number greater than zero, by K parts of data blocksIt is arranged by page order and is denoted as data block D respectively1, data block D2... data block Dk;Then the nozzle in a certain channel is pressedPage orientation is divided equally into K parts and is denoted as mentioned nozzle area J respectively1, mentioned nozzle area J2... mentioned nozzle area JK, every part of mentioned nozzle areaThe nozzle quantity for including is equal, and the value for the nozzle quantity that the height of the data block and the mentioned nozzle area include is equal, then instituteState mapping relationship f are as follows: mentioned nozzle area JkX-th of nozzle print data block D (k) xth row data.
According to the mapping relationship f, it is known that the available abnormal nozzle of abnormal nozzle location information is correspondingAbnormal data to be printed, when the known exception data to be printed are according to the available abnormal nozzle of the mapping relationship fLocation information.Referring to Fig. 4, in the present embodiment, the image 4pass printing to be printed is completed, the image to be printedIt includes the first data block D1, the second data block D2, third number that the image data D in a certain channel in one region, which is divided equally into four parts of data blocks,According to block D3 and the 4th data block D4, every part of data block includes 3 row data;The nozzle in a certain channel is divided equally by page orientationIt include first jet region J1, second nozzle region J2, third mentioned nozzle area J3 and the 4th mentioned nozzle area at four parts of mentioned nozzle areasJ4, every part of mentioned nozzle area include 3 nozzles;3 nozzles of 1pass, the first jet region J1 print institute respectivelyState the 3 row data of the first data block D1;Second data block described in 3 nozzle prints of 2pass, the second nozzle region J2The 3 row data of D2;3pass, the 3 row data of third data block D3 described in the 3 row nozzle prints of the third mentioned nozzle area J3;4pass, the 3 row data of the 4th data block D4 described in 3 nozzle prints of the 4th mentioned nozzle area J4.
According to the number Kpass of the reciprocating scanning and printing, by some region of K parts of data block of image to be printedIn grid according to rule arrangement from left to right and from top to bottom to 2 column K/2 rows, xth data block in the K parts of data blockThere is exception in corresponding nozzle, and x is the natural number less than or equal to K, then the compensation print data range R of xth part data blockIt is exactly remaining k-1 parts of data block (k here is the natural number more than or equal to 1).
Referring to Fig. 5, in the present embodiment, the image 4pass printing to be printed is completed, and the image to be printed is a certain4 parts of data root tubers in region are successively arranged according to the number of the reciprocating scanning and printing into the grid of 2 column, 2 row, 4 numberIt is respectively the first data block B1, the second data block B2, third data block B3 and the 4th data block B4 according to block, is believed according to the positionBreath and the mapping relationship f, determine that the corresponding exception of abnormal nozzle data to be printed are located at the first data block B1, thenThe second data block B2, the third data block B3 and the 4th data block B4 are exactly the benefit of exception data to be printedRepay data.
According to the mapping relations and the abnormal nozzle location information, obtain to the corresponding exception of the abnormal nozzle toThe compensation print data range that print data compensates, specific steps are as follows:
According to the abnormal nozzle location information and the mapping relationship f, determine the corresponding exception of the abnormal nozzle toPrint data determines that the compensation of exception data to be printed prints number according to the number Kpass of the reciprocating scanning and printingAccording to range, it is described compensation print data range be exception data institute subordinate to be printed elementary area except extremely it is to be printedK-1 print data other than data.
It is out of ink to judge that the X print data in the compensation print data range indicates whether, if X print data tableInk is shown, then X print data cannot compensate exception data to be printed;
If X print data indicates not out of ink, obtained according to the X print data and the mapping relationship f describedThe corresponding nozzle of X print data judges whether the nozzle is abnormal;When the nozzle, the X print data is notException data to be printed can be compensated, when the nozzle is normal, the X print data can compensate the exception toPrint data.
According to the judgment method of X print data described above, each institute in the compensation print data range is detectedState whether print data is non-inking data out, determination can compensate of the print data of exception data to be printedNumber;
When there are multiple print datas that can compensate exception data to be printed, determine that the print data is being beatenCorresponding print position on medium is printed, it is closer to choose print position abnormal point corresponding from exception data to be printedThe corresponding print data of print position compensates the exception data to be printed.
Referring to Fig. 6, in the present embodiment, the image 4pass printing to be printed is completed, it is assumed that some abnormal nozzleThe abnormal nozzle data obtained according to the mapping relationship f are the 1st print data x1, then compensate the abnormal nozzle dataCompensation print data within the scope of have 3 print datas, respectively the 2nd print data x2, the 3rd print data x3 and the 4thPrint data x4, it is assumed that detect that only the 2nd print data x2 and the 4th print data x4 can compensate for the abnormal nozzle numberAccording to, by calculate the corresponding print position of the 2nd print data x2 abnormal point corresponding from the abnormal nozzle data away fromIt is close from relatively, so the 2nd print data x2 compensates the abnormal nozzle data, by the value assignment of the 1st print data x1To the 2nd print data x2.
Referring to Fig. 7, in the present embodiment, the image 6pass printing to be printed is completed, and the precision to image is720DPI × 1080DPI, i.e., laterally the distance between corresponding print position of two print datas is 1/720 inch in grid,The distance between corresponding print position of two print datas in longitudinal direction is 1/1080 inch, it is assumed that some abnormal nozzle is according to instituteStating the abnormal nozzle data that mapping relationship f obtains is the 3rd print data y3, then compensates the compensation of the abnormal nozzle dataThere are 5 print datas, respectively the 1st print data y1, the 2nd print data y2, the 4th print data within the scope of print dataY4, the 5th print data y5 and the 6th print data y6, it is assumed that detected the 2nd print data y2, the 4th print data y4 and the 5thPrint data y5 can compensate for the abnormal nozzle data, by calculate the corresponding print position of the 5th print data y5 fromThe corresponding abnormal point of abnormal nozzle data is closer, so the 5th print data y5 compensates the abnormal nozzleThe value of the 3rd print data y3 is assigned to the 5th print data y5 by data.Then the print data of abnormal nozzle just by5th print data y5 complement.
Referring to Fig. 8, the embodiment of the invention provides a kind of device of modification pre-press data compensation abnormal nozzle, the dressIt sets and includes:
Abnormal nozzle determining module 10, for determining abnormal nozzle location information in spray head;
Mapping relations determining module 20 determines the abnormal nozzle position and original print number for obtaining print parametersAccording to the mapping relations between data to be printed in file;
Print data range module 30 is compensated, for the location information according to the mapping relations and the abnormal nozzle,Obtain the compensation print data range compensated to the corresponding exception of abnormal nozzle data to be printed;
Non- data determining module out of ink 40, for determining non-inking data out within the scope of the compensation print data;
Print data generation module 50 is compensated, for generating the exception data replacement to be printed non-inking data outCompensate print data.
Preferably, the print parameters include: the number of reciprocating scanning and printing.
Preferably, the number of the reciprocating scanning and printing is K, and K is the integer more than or equal to 2, and an elementary area is by KA print data composition, the compensation print data range are that removing for the elementary area of exception data institute subordinate to be printed is differentK-1 print data other than normal data to be printed.
Preferably, the non-data determining module out of ink includes:
Compensation judgment unit for determining the alternative non-inking data out in the compensation print data range, and judges instituteCan alternative non-inking data out be stated be used to compensate exception data to be printed;
Selection unit, for when it is described it is alternative it is non-go out inking data can be used to compensate exception data to be printed when, from instituteThere are abnormal data to be printed described in selection physical printed positional distance in the alternative non-inking data out that can be used for compensating correspondingPhysical printed position it is nearest it is non-go out inking data for compensating exception data to be printed.
Preferably, the non-data determining module out of ink further include: the first judging unit judges the compensation for working asWhen data not ink-jet to be printed, then it can be used to compensate exception data to be printed.
Preferably, the non-data determining module out of ink further include: normal nozzles searching unit, for according to the mappingRelationship finds the corresponding nozzle of compensation data to be printed, if the nozzle normally if compensate data to be printed and can be used to compensateThe exception print data.
Referring to Fig. 9, the embodiment of the invention provides a kind of ink jet printing devices, comprising: inkjet-printing device 200 and sprayMouth compensating unit 230, the inkjet-printing device 200 include: control unit 210, ejection head unit 221, nozzle detection unit222, described control unit 210 controls the ejection head unit 221 and the nozzle detection unit 222, the nozzle detection unitWhether the nozzle in the 222 detection ejection head units 221 is abnormal, if abnormal, feedback information to the nozzle compensating unit 230Abnormal nozzle is compensated, the nozzle compensating unit 230 is sent to the control after compensating abnormal nozzle by modification pre-press dataUnit 210, it is out of ink that described control unit 210 controls the ejection head unit 221, wherein the nozzle compensating unit 230 is describedModification pre-press data compensation abnormal nozzle device, the modification pre-press data compensation abnormal nozzle device specifically refer to beforeThe description of face embodiment, details are not described herein.Ink jet printing process is that data input cell 100 plays print data input ink-jetThe control unit 210 of print machine inkjet-printing device 200, control unit 210 receive print data control ejection head unit 221 and are printingInk-jet is carried out on medium 300.However, after inkjet printer head works a very long time, since ink road pollution, ink are heavyThe reasons such as shallow lake, dust, steam easily cause spray nozzle abnormal state, these abnormal such as blockings tiltedly spray, is apprehensive, black amount deficiencyThere is the problems such as bracing wire, blank so as to cause the image of printing in situation.In order to solve due to the extremely caused image of condition of nozzlesThere is the problems such as bracing wire, blank, the present invention is being added to nozzle detection list in inkjet-printing device 200 at ejection head unit 221Nozzle compensation is added for detecting abnormal nozzle in member 222 between data input cell 100 and inkjet-printing device 200Unit 230, the problem of for compensating abnormal nozzle.
In addition, in conjunction with Fig. 2 embodiment of the present invention described modification pre-press data compensate the method for abnormal nozzle can be byModification pre-press data compensates the equipment of abnormal nozzle to realize.Figure 10 shows modification pre-press data provided in an embodiment of the present inventionCompensate the hardware structural diagram of the equipment of abnormal nozzle.
The equipment of modification pre-press data compensation abnormal nozzle may include processor 401 and be stored with computer program and refer toThe memory 402 of order.
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 inventionOne or more integrated circuits of example.
Memory 402 may include the mass storage for data or instruction.For example it rather than limits, memory402 may include hard disk drive (Hard Disk Drive, HDD), floppy disk drive, flash memory, CD, magneto-optic disk, tape or logicalWith the combination of universal serial bus (Universal Serial Bus, USB) driver or two or more the above.It is closingIn the case where suitable, memory 402 may include the medium of removable or non-removable (or fixed).In a suitable case, it storesDevice 402 can be inside or outside data processing equipment.In a particular embodiment, memory 402 is nonvolatile solid state storageDevice.In a particular embodiment, memory 402 includes read-only memory (ROM).In a suitable case, which can be maskROM, 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 implementationThe method of any one modification pre-press data compensation abnormal nozzle in example.
In one example, the equipment of modification pre-press data compensation abnormal nozzle may also include communication interface 403 and bus411.Wherein, as shown in Figure 10, processor 401, memory 402, communication interface 403 are connected by bus 411 and are completed mutuallyBetween communication.
Communication interface 403 is mainly used for realizing in the embodiment of the present invention between each module, device, unit and/or equipmentCommunication.
Bus 411 includes hardware, software or both, will modify the component of the equipment of pre-press data compensation abnormal nozzle each otherIt is coupled together.For example it rather than limits, bus may include accelerated graphics port (AGP) or other graphics bus, enhancing workIt is industry standard architecture (EISA) bus, front side bus (FSB), super transmission (HT) interconnection, Industry Standard Architecture (ISA) bus, unlimitedBandwidth interconnection, low pin count (LPC) bus, memory bus, micro- channel architecture (MCA) bus, peripheral component interconnection (PCI) are totalLine, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association part(VLB) combination of bus or other suitable buses or two or more the above.In a suitable case, bus411 may include one or more buses.Although specific bus has been described and illustrated in the embodiment of the present invention, the present invention considers to appointWhat suitable bus or interconnection.
In addition, the embodiment of the present invention can in conjunction with the method for the modification pre-press data compensation abnormal nozzle in above-described embodimentA kind of computer readable storage medium is provided to realize.Computer program instructions are stored on the computer readable storage medium;The computer program instructions realize that any one modification pre-press data compensation in above-described embodiment is abnormal when being executed by processorThe method of nozzle.
In conclusion the modification pre-press data compensation method, apparatus of abnormal nozzle provided in an embodiment of the present invention, equipment andStorage medium has not only repaired the problem of abnormal nozzle exception out of ink leads to poor quality images, but also has reduced blow head maintenanceCost.
It should be clear that the invention is not limited to specific configuration described above and shown in figure and processing.For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustratedThe step of body, is as example.But method process of the invention is not limited to described and illustrated specific steps, this fieldTechnical staff can be variously modified, modification and addition after understanding spirit of the invention, or suitable between changing the stepSequence.
Functional block shown in structures described above block diagram can be implemented as hardware, software, firmware or their groupIt closes.When realizing in hardware, it may, for example, be electronic circuit, specific integrated circuit (ASIC), firmware appropriate, insertPart, function card etc..When being realized with software mode, element of the invention is used to execute program or the generation of required taskCode section.Perhaps code segment can store in machine readable media program or the data-signal by carrying in carrier wave is passingDefeated medium or communication links are sent." machine readable media " may include any medium for capableing of storage or transmission information.The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), softDisk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inlineThe computer network of net etc. is downloaded.
It should also be noted that, the exemplary embodiment referred in the present invention, is retouched based on a series of step or deviceState 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 embodimentThe 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 methodCorresponding 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 withThose 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.