摘要 |
<p>Diffusion dithering can be performed efficiently by applying a set of diffusion filter weights with one or more shift, add, and/or subtract operations. An existing diffusion filter can be approximated with dyadic rationals, thereby allowing division operations in applying the filter weights to be performed with bit-shifting operations. An algorithm is identified to calculate the product of a set of filter weights and a pixel error, where the algorithm performs the calculations using one or more shift, add, or subtract operations. An exhaustive search of the combinations of operations can be made to find an efficient algorithm to calculate the products.</p> |