Joint quantization of drop probability functions in multi-size drop inkjet printers
09643408 ยท 2017-05-09
Assignee
Inventors
Cpc classification
B41J2/2121
PERFORMING OPERATIONS; TRANSPORTING
B41J2/04535
PERFORMING OPERATIONS; TRANSPORTING
H04N1/40087
ELECTRICITY
B41J2/52
PERFORMING OPERATIONS; TRANSPORTING
B41J2/04593
PERFORMING OPERATIONS; TRANSPORTING
B41J2/525
PERFORMING OPERATIONS; TRANSPORTING
B41J2/04586
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
Methods and systems for sequentially quantizing probability density functions for inkjet printing. In an example embodiment, an operation can be implemented to quantize probability density functions associated with larger drops among a plurality of drops provided by an inkjet printer. Non-quantized probability functions associated with remaining ink drops are then modified utilizing an error incurred at each quantization during quantization of the probability density functions associated with the larger drops. Quantizing the probability density functions and modifying the non-quantized probability functions continue until all drop size probability functions associated with the plurality of drops are quantized.
Claims
1. A method for sequentially quantizing probability density functions for inkjet printing, said method comprising: quantizing probability density functions associated with larger drops among a plurality of drops provided by an inkjet print head; modifying non-quantized probability functions associated with remaining drops among said plurality of drops utilizing errors incurred at each quantization during said sequentially quantizing said probability density functions associated with said larger drops among said plurality of drops; and continue quantizing said probability density functions and modifying said non-quantized probability functions until all drop size probability functions associated with said plurality of drops are quantized.
2. The method of claim 1 further comprising determining said probability functions as a function of gray level in response to said quantizing said probability density functions and said modifying said non-quantized probability functions.
3. The method of claim 1 further comprising converting said errors incurred at each quantization to mass errors.
4. The method of claim 3 further comprising: propagating said mass errors to a probability density function of a next smallest drop; and normalizing said mass errors utilizing a new next smallest drop size.
5. The method of claim 1 further comprising designating a limit that ensures that all modified and rounded probability density functions are valid and their sum is limited to a value of 1.
6. The method of claim 1 wherein said inkjet print head comprises a multi-level inkjet print head.
7. The method of claim 1 wherein said non-quantized probability functions are modified utilizing error diffusion.
8. A system for sequentially quantizing probability density functions for inkjet printing, said system comprising: at least one processor; a computer-usable medium embodying computer program code, said computer-usable medium capable of communicating with said at least one processor, said computer program code comprising instructions executable by said at least one processor and configured for: quantizing probability density functions associated with larger drops among a plurality of drops provided by an inkjet print head; modifying non-quantized probability functions associated with remaining drops among said plurality of drops utilizing errors incurred at each quantization during said sequentially quantizing said probability density functions associated with said larger drops among said plurality of drops; and continue quantizing said probability density functions and modifying said non-quantized probability functions until all drop size probability functions associated with said plurality of drops are quantized.
9. The system of claim 8 wherein said instructions are further configured for determining said probability functions as a function of gray level in response to said quantizing said probability density functions and said modifying said non-quantized probability functions.
10. The system of claim 8 wherein said instructions are further configured for converting said errors incurred at each quantization to mass errors.
11. The system of claim 10 wherein said instructions are further configured for: propagating said mass errors to a probability density function of a next smallest drop; and normalizing said mass errors utilizing a new next smallest drop size.
12. The system of claim 8 wherein said instructions are further configured for designating a limit that ensures that all modified and rounded probability density functions are valid and their sum is limited to a value of 1.
13. The system of claim 8 wherein said inkjet print head comprises a multi-level inkjet print head.
14. The system of claim 8 wherein said non-quantized probability functions are modified utilizing error diffusion.
15. A system for sequentially quantizing probability density functions for inkjet printing, said system comprising: an inkjet printer having an inkjet print head; wherein probability density functions associated with larger drops among a plurality of drops provided by said inkjet print head are quantized; wherein non-quantized probability functions associated with remaining drops among said plurality of drops are modified utilizing errors incurred at each quantization during said sequentially quantizing said probability density functions associated with said larger drops among said plurality of drops; and wherein said probability density functions are subject to continuous quantizing and said non-quantized probability functions are subject to continuous modifications until all drop size probability functions associated with said plurality of drops are quantized.
16. The system of claim 15 wherein said probability functions are determined as a function of gray level in response to said quantizing said probability density functions and said modifying said non-quantized probability functions.
17. The system of claim 15 wherein said errors incurred at each quantization are converted to mass errors.
18. The system of claim 17 wherein mass errors are propagated to a probability density function of a next smallest drop and said mass errors are normalized utilizing a new next smallest drop size.
19. The system of claim 15 wherein said inkjet print head comprises a multi-level inkjet print head.
20. The system of claim 15 wherein said non-quantized probability functions are modified utilizing error diffusion.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The accompanying figures, in which like reference numerals refer to identical or functionally-similar elements throughout the separate views and which are incorporated in and form a part of the specification, further illustrate the present invention and, together with the detailed description of the invention, serve to explain the principles of the present invention.
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7) The particular values and configurations discussed in these non-limiting examples can be varied and are cited merely to illustrate one or more embodiments and are not intended to limit the scope thereof.
(8) Subject matter will now be described more fully hereinafter with reference to the accompanying drawings, which form a part hereof, and which show, by way of illustration, specific example embodiments. Subject matter may, however, be embodied in a variety of different forms and, therefore, covered or claimed subject matter is intended to be construed as not being limited to any example embodiments set forth herein; example embodiments are provided merely to be illustrative. Likewise, a reasonably broad scope for claimed or covered subject matter is intended. Among other things, for example, subject matter may be embodied as methods, devices, components, or systems. Accordingly, embodiments may, for example, take the form of hardware, software, firmware, or any combination thereof (other than software per se). The following detailed description is, therefore, not intended to be interpreted in a limiting sense.
(9) Throughout the specification and claims, terms may have nuanced meanings suggested or implied in context beyond an explicitly stated meaning. Likewise, the phrase in one embodiment as used herein does not necessarily refer to the same embodiment and the phrase in another embodiment as used herein does not necessarily refer to a different embodiment. It is intended, for example, that claimed subject matter include combinations of example embodiments in whole or in part.
(10) In general, terminology may be understood, at least in part, from usage in context. For example, terms, such as and, or, or and/or as used herein may include a variety of meanings that may depend, at least in part, upon the context in which such terms are used. Typically, or if used to associate a list, such as A, B, or C, is intended to mean A, B, and C, here used in the inclusive sense, as well as A, B, or C, here used in the exclusive sense. In addition, the term one or more as used herein, depending at least in part upon context, may be used to describe any feature, structure, or characteristic in a singular sense or may be used to describe combinations of features, structures, or characteristics in a plural sense. Similarly, terms such as a, an, or the, again, may be understood to convey a singular usage or to convey a plural usage, depending at least in part upon context. In addition, the term based on may be understood as not necessarily intended to convey an exclusive set of factors and may, instead, allow for existence of additional factors not necessarily expressly described, again, depending at least in part on context.
(11)
(12) The print head 144 can be narrower than, or as wide as, the print medium 166. The inkjet print head(s) 144 can be configured with the ability to fire a plurality of ink drop (drop) sizes. For example, jets could have the ability to emit either a small, medium, or large drop (or no drop at all).
(13) In an example embodiment, in order to leverage standard on/off halftoning techniques, the halftone process can be composed of two halves. The first half utilizes standard screening methods to determine a subset of pixels to jet. The second half, a post processing method, can determine which size drop is jetted for each of the jets that are members of that subset. In one implementation the second stage may be implemented stochastically; with a given probability distribution for each input gray level a small, medium, or large drop is chosen.
(14) As with all halftoning methods (e.g., screening), the probability density function can be quantized. In the case of halftoning, the quantization is driven by the smaller of the number of bits and the screen size.
(15) In the case of multi drop sizes of the second step, the probability distribution method is quantized by the number of bits of each entry in a set of probability density functions. In one convenient implementation, the number of bits chosen for the probability density functions is set equal to the bit depth of the halftoner input. The error introduced by the quantization of the set of probability function exacerbates the errors introduced by the halftoning due to bit depth of the input and the screen size.
(16) The set of probability density functions for drop size can be composed of M distinct probability density functions, one for each of the M possible drop sizes possible for a jet. The physical limitations of the system require that the drop events are mutually exclusiveonly one drop output is possible for any given drop jetting. For example, consider equation (1) below:
P(dropsizeJ,dropsizeK|drop)=0 if JK(1)
(17) As an example, consider the case of jets that can emit small, medium, and large drop sizes. In this application, there would be three conditional probability density functions: p.sub.small(gray level|drop), p.sub.medium(gray level|drop), and p.sub.large(gray level|drop).
(18) The three probability functions are normalized such that:
p.sub.small(gray level|drop)+p.sub.medium(gray level|drop)+p.sub.large(gray level|drop)=1(2a)
or to generalize to the case of M drop sizes:
.sub.i=1:Mp.sub.i(gray level|drop)=1(2b)
(19) In practice, for ease of implementation, the M conditional probability functions are derived from the M probability density functions.
p.sub.i(gray level|drop)=p.sub.i(gray level)/.sub.i=1:Mp.sub.i(gray level)(3)
where p.sub.i(gray level) is the probability of a drop of a given size (dropsize(i)) and the sum of all probability functions is the probability of any size drop being printed. It is these probability functions for each drop size that are quantized in the implementation of the algorithm that determines drop size for those jets that are activated.
(20) The halftoner can produce a number of active locations equal to the sum of the drop probability functions and the second state creates the desired distribution among those drops that are activated. It can be shown in such a paradigm that:
Total mass(gray level)=.sub.i=1:Mdropsize(i)*p.sub.i(gray level)(4)
(21) In other words, the total mass size is the sum of the probabilities of each drop times the mass of the drop. For hardware implementations, the probability density functions can be stored as integers utilizing a fixed normalization constant. For many systems the normalization constant, N, can be expressed as shown in equation (5) below where B is the bit resolution of the system:
N=2.sup.B1(5)
(22) The conversion of the probability functions for all the drop sizes is converted to an integer representation by multiplying the probability by the conversion factor of equation (5). These numbers must then be modified into pure integer values. When this conversion is completed, the resulting mass placed down can be represented as shown in equation (6) below with U(N, N):
Total mass actual(gray level)=.sub.i=1:Mdropsize(i)*(p.sub.i(gray level)+.sub.i)(6)
(23) The variable e.sub.i is what is needed to represent the probability function in the fix bit integer domain, resulting in a mass error of:
Total mass error(gray level)=.sub.i=1:Mdropsize(i)*.sub.i(7)
(24) If each of the M probability density functions are rounded independently to the nearest integer, the total mass error will have a distribution that is approximately Gaussian of:
Total mass errorN(0,.sub.i=1:M dropsize(i).sup.2/(12*N.sup.2))(8)
(25) It is possible to minimize this error, however, if the error introduced in one stage is transmitted to the error in another stage. For example, the probability of a large drop is decreased slightly due to rounding, this can be partially accounted for by increasing the probability of a medium drop. The algorithm used is similar to error diffusion used in halftoning. In standard error diffusion, the errors accumulated are distributed to neighboring pixels. That heuristic, however, can be modified in the context of one or more embodiments to have the errors accumulated in quantizing a probability function of a given drop size distributed to other drop size probability density functions.
(26) First, the largest drop size probability density function, p.sub.1(gray level), is quantized using standard rounding:
{tilde over (p)}.sub.1(gray level)=p.sub.1(gray level)*N+0.5/N(9)
where {tilde over (p)}.sub.1(gray level) is the quantized version of the probability density function, p.sub.1(gray level). The mass error generated by rounding just p.sub.1(gray level) is then calculated using:
Total mass error.sub.1(gray level)=(p.sub.1(gray level){tilde over (p)}.sub.1(gray level))*dropsize(1)(10)
(27) This error can then be utilized to modify the drop size probability density function, p.sub.2(gray level), which is associated with the next largest drop size. The new modified version, {circumflex over (p)}.sub.2(gray level), will remove the mass error introduced (in equation (10)) by the quantization of the first stage. This modifying equation of p.sub.2(gray level) to {circumflex over (p)}.sub.2(gray level):
{circumflex over (p)}.sub.2(gray level):=p.sub.2(gray level)+Total mass error.sub.1(gray level)/dropsize(2)(11)
(28) The second modified probability density function, {circumflex over (p)}.sub.2(gray level), can then be quantized by the formulation shown in equation (12) below:
{circumflex over (p)}.sub.2(gray level)={circumflex over (p)}.sub.2(gray level)*N+0.5/N(12)
(29) Similar to before, the total mass error is calculated, this time using the difference between the modified probability density function and the quantized one:
Total mass error.sub.2(gray level)=({circumflex over (p)}.sub.2(gray level){circumflex over (p)}.sub.2(gray level))*dropsize(2)(13)
(30) The process continues to subsequent drop probability density functions, in decreasing drop size order, until all M probability density functions are quantized.
(31) Because this algorithm modifies the probability density functions using an error term (as in equation (11)), it is possible to generate a result that is not valid probability, such as a negative result or a result such that the sum of the probabilities of all drop sizes is greater than 1. To eliminate this possibility, equation (12) can be modified to limit the result to a valid output using:
{tilde over (p)}.sub.2(gray level)=max(0,min(1{tilde over (p)}.sub.1(gray level),{circumflex over (p)}.sub.2(gray level)*N+0.5/N))(12a)
(32) This ensures that all quantized probability density functions of the set are all positive and their sum is less than or equal to one (so that the probability of placing down a drop is not greater than 1). Clearly, if there is no min/max clipping in equation (12a)that is the results of (12) and (12a) are identicalthen the total mass error will be:
Total mass errorU(dropsize(M)/2N,dropsize(M)/2N)(13)
(33) This is the quantization error associated with the smallest drop size. This error has a variance of [dropsize(M).sup.2/(12*N.sup.2)]much smaller than that of the independently quantized probability density function result of equation (8). For example, if there are three-drop sizes of 4, 8, and 12 picoliters, the standard deviation of the error is reduced by about 75% using this joint optimization method as compared to standard rounding. Even in cases where clipping does occur in equation (12a), the resultant mass error introduced by quantizing is never larger in this joint optimization method than in standard rounding.
(34)
Total_mass_error=0;total_commanded_coverage=0;
for i=1:M
p(i)_modified=p(i)+Total_mass_error/dropsize(i);
p(i)_round=max(0,min(1total_commanded_coverage,floor(p(i)_modified*N+0.5)/N));
Total_mass_error=(p(i)_modifiedp(i)round)*dropsize(i);
total_commanded_coverage+=p(i)_round;
end
where p(i) is p.sub.i(gray level), p(i)_modified is {circumflex over (p)}.sub.i(gray level) and p(i)_round is {tilde over (p)}.sub.i(gray level). Note that all equations are vector equations with a length equal to the number of gray levels.
(35) The example algorithm has the following novel properties: 1) Probability density functions of drops as a function of gray level are sequentially determined. 2) The errors introduced in quantization are converted to mass errors. 3) Those mass errors are propagated to the next smallest drop probability density function and normalized using the new next smallest drop size. 4) Limits are placed to ensure all modified and rounded probability density functions are valid and their sum is limited to 1.
(36)
(37) Note that in some embodiments, computer program code for carrying out operations of the disclosed embodiments may be written in an object oriented programming language (e.g., Java, C#, C++, etc.). Such computer program code, however, for carrying out operations of particular embodiments can also be written in conventional procedural programming languages, such as the C programming language or in a visually oriented programming environment, such as, for example, Visual Basic.
(38) The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer. In the latter scenario, the remote computer may be connected to a user's computer through a local area network (LAN) or a wide area network (WAN), wireless data network e.g., Wi-Fi, Wimax, 802.xx, and cellular network, or the connection may be made to an external computer via most third party supported networks (e.g., through the Internet via an Internet Service Provider).
(39) The embodiments are described at least in part herein with reference to flowchart illustrations and/or block diagrams of methods, systems, and computer program products and data structures according to embodiments of the invention. It will be understood that each block of the illustrations, and combinations of blocks, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block or blocks.
(40) These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function/act specified in the various block or blocks, flowcharts, and other architecture illustrated and described herein.
(41) The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions/acts specified in the block or blocks.
(42)
(43) As illustrated in
(44) The example data-processing system 400 shown in
(45) As illustrated, the various components of data-processing system 400 can communicate electronically through the system bus 351 or similar architecture. The system bus 351 may be, for example, a subsystem that transfers data between, for example, computer components within data-processing system 400 or to and from other data-processing devices, components, computers, etc. Data-processing system 400 may be implemented as, for example, a server in a client-server based network (e.g., the Internet) or can be implemented in the context of a client and a server (i.e., where aspects are practiced on the client and the server). Data-processing system 400 may be, for example, a standalone desktop computer, a laptop computer, a Smartphone, a pad computing device, a server, and so on.
(46)
(47) The software application 454 can include one or more modules such as module 452, which can, for example, implement instructions or operations such as those described herein. Examples of instructions that can be implemented by module 452 include steps or operations such as those shown and described herein with respect to the operations or blocks shown in
(48) The following discussion is intended to provide a brief, general description of suitable computing environments in which the system and method may be implemented. Although not required, the disclosed embodiments will be described in the general context of computer-executable instructions, such as program modules, being executed by a single computer. In most instances, a module constitutes a software application. However, a module may also be composed of, for example, electronic and/or computer hardware or such hardware in combination with software. In some cases, a module can also constitute a database and/or electronic hardware and software that interact with the database.
(49) Generally, program modules include, but are not limited to, routines, subroutines, software applications, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types and instructions. Moreover, those skilled in the art will appreciate that the disclosed method and system may be practiced with other computer system configurations, such as, for example, hand-held devices, multi-processor systems, data networks, microprocessor-based or programmable consumer electronics, networked PCs, minicomputers, mainframe computers, servers, and the like.
(50) Note that the term module as utilized herein may refer to a collection of routines and data structures that perform a particular task or implements a particular abstract data type. Modules may be composed of two parts: an interface, which lists the constants, data types, variable, and routines that can be accessed by other modules or routines; and an implementation, which is typically private (accessible only to that module) and which includes source code that actually implements the routines in the module. The term module may also simply refer to an application, such as a computer program designed to assist in the performance of a specific task, such as word processing, accounting, inventory management, etc. A module can also be composed of other modules or sub-modules. Thus, the instructions or steps such as those shown in
(51)
(52) It can also be appreciated that the various steps, methods, and algorithms disclosed herein can be implemented in the context of an off-line algorithm for calculating quantization functions. The algorithm or calculations themselves do not take place in a printer such as, for example, the printer shown in
(53) It will be appreciated that variations of the above-disclosed and other features and functions, or alternatives thereof, may be desirably combined into many other different systems or applications. It will also be appreciated that various presently unforeseen or unanticipated alternatives, modifications, variations or improvements therein may be subsequently made by those skilled in the art which are also intended to be encompassed by the following claims.