Claims
- 1. A method of generating a dither matrix calibrated to a desired tonal response, comprising:
- (a) generating a dither matrix with a predicted tonal response close to the desired tonal response;
- (b) measuring actual tonal response;
- (c) manipulating a cumulative histogram for said dither matrix in response to said actual tonal response; and
- (d) inputting said cumulative histogram to a dither generation program to generate a dither matrix that conforms to said cumulative histogram.
- 2. The method of claim 1 wherein step (c) comprises:
- (c.1) computing a difference between said tonal response and said desired tonal response;
- (c.2) using said difference to compute a modified cumulative histogram; and
- repeating steps (b) through (d) until said measured tonal response matches said desired tonal response.
- 3. The method of claim 2, wherein said step (a) comprises:
- using a model-based approach to compute a dither matrix having a tonal response approximating that of said desired tonal response.
- 4. The method of claim 3, wherein said model-based approach is a printer dot model.
- 5. The method of claim 1, wherein in step (b) tonal response is measured using at least one technique selected from the group consisting of a densitometer, digital output from a scanner, luminance measured with a spectrometer, luminance measured with a calorimeter, color differences obtained from processing CIE color specification measured using a spectrometer, and color differences obtained from processing CIE color specification measured using a colorimeter.
- 6. The method of claim 1, wherein step (c) comprises:
- (c.1) if the tonal response indicates that the output using the dither matrix is too dark, lowering the cumulative histogram; and
- (c.2) if the tonal response indicates that the output using the dither matrix is too light, raising the cumulative histogram.
- 7. The method of claim 1, wherein said calibrated dither matrix conforms to a desired tonal response function, f.sub.d (x) where x is a tone level, and wherein said dither matrix generated in step (a) has N.times.M threshold elements t.sub.ij, wherein said dither matrix has a tonal response function f.sub.o (x) where x is a tone level, and wherein step (d) comprises:
- (d.1) for each threshold value a, for each t.sub.ij that has the value a, setting t.sub.ij to equal a value that is a function of a.
- 8. The method of claim 7, wherein
- said function of a is f.sub.d.sup.-1 �f.sub.o (a)!.
- 9. The method of claim 7 wherein f.sub.d (x) is linear and for each value a, for each t.sub.ij that has the value a, said function of a is f.sub.o (a).
- 10. The method of claim 7 wherein said actual tonal response has a range and further comprising:
- defining a range for the function f.sub.d to be a subset of said range of said actual tonal response.
- 11. The method of claim 1 wherein step (c) further comprises:
- (c.3) smoothing out discrete steps so that said cumulative histogram is a strictly monotonic cumulative histogram.
- 12. A method for operating a computerized device, said computerized device having a processor, a memory, means for measuring a tonal response function, means for inputting an image into said memory, and means for manipulating the contents of said memory, to generate a calibrated dither matrix such that said calibrated dither matrix conforms to a desired tonal response function, f.sub.d (x) where x is a tone level, comprising:
- (a) in said processor, generating an initial dither matrix having N.times.M threshold elements t.sub.ij and storing said initial dither matrix in said memory;
- (b) measuring a tonal response function f.sub.o (x) from said initial dither matrix, where x is a tone level; and
- (c) in said processor, for each threshold value a, for each t.sub.ij that has the value a, setting t.sub.ij to equal f.sub.d.sup.-1 thereby generating a second dither matrix and storing said second dither matrix in said memory;
- (d) in said processor, calculating the cumulative histogram of the second dither matrix;
- (e) in said processor, smoothing out discrete steps in said cumulative histogram to generate a strictly monotonic cumulative histogram; and
- (f) inputting said monotonic cumulative histogram to a dither matrix generation program executable on said processor to generate a calibrated dither matrix.
- 13. The method of claim 12 wherein said actual tonal response has a range and further comprising:
- defining a range for the function f.sub.d to be a subset of said range of said actual tonal response.
- 14. The method of claim 13 wherein the function f.sub.d is linear.
- 15. A system for generating calibrated dither matrices used in halftone printing, comprising:
- (a) a central processing unit operable to execute computer programs;
- (b) a memory connected to said central processing unit;
- (c) a dither matrix generation program loaded into said memory, operable to accept a cumulative histogram as input and operable to create a dither matrix conforming to said cumulative histogram;
- (d) a halftone output device connected to said central processing unit;
- (e) a tonal response measuring device connected to said central processing unit; and
- (f) a control program loaded into said memory and operable to:
- 1. directing said dither matrix generation program to create an initial dither matrix;
- 2. directing said halftone output device to output sample outputs for each continuous tone level;
- 3. directing said tonal response measuring device to measure tonal response for each sample output;
- 4. compiling said tonal response for each sample output to a tonal response function;
- 5. comparing said tonal response function to a desired tonal response function and generating a modified cumulative histogram;
- 6. directing said dither matrix generation program to use said modified cumulative histogram to generate a calibrated dither matrix.
- 16. A method for operating a computerized device, said computerized device having a processor, a memory, means for inputting an image into said memory, and means for manipulating the contents of said memory, to generate a calibrated dither matrix such that said calibrated dither matrix conforms to a desired tonal response function, f.sub.d (x) where x is a tone level and f.sub.d (x) is linear, comprising:
- (a) in said processor, generating an initial dither matrix having N.times.M threshold elements t.sub.ij and storing said initial dither matrix in said memory;
- (b) measuring a tonal response function f.sub.o (x) from said initial dither matrix, where x is a tone level;
- (c) in said processor, for each threshold value a, for each t.sub.ij that has the value a, setting t.sub.ij to equal f.sub.d.sup.-1, thereby generating a second dither matrix and storing said second dither matrix in said memory;
- (d) in said processor, calculating the cumulative histogram of the second dither matrix;
- (e) in said processor, smoothing out discrete steps in said cumulative histogram to generate a strictly monotonic cumulative histogram; and
- (f) inputting said monotonic cumulative histogram to a dither matrix generation program executable on said processor to generate a calibrated dither matrix.
CROSS REFERENCE TO RELATED APPLICATIONS
The present patent application is related to patent application Ser. No. 08/057,244 entitled "Halftone Images Using Printed Symbols Modelling," by Qian Lin, filed on May 3, 1993, and to U.S. Pat. No. 5,317,418 entitled "Halftone Images Using Special Filters," by Qian Lin, filed on May 11, 1993, both of which are incorporated herein by reference.
US Referenced Citations (6)