Sign in

Block quantization method for color halftoning

 Maya Rani Gupta et al
A method and apparatus for block quantization for color halftoning is described. In one embodiment, the method comprises dividing an input image and an output image into blocks, wherein each block in the output image corresponds to one block in the input image. The method also includes dividing...
Inventors: Maya Rani Gupta, Michael J. Gormish, Kathrin Berkner, David G. Stork
Assignees: Ricoh Co., Ltd.
Primary Examiner: Thomas D. Lee
Attorneys: Blakely, Sokoloff, Taylor & Zafman LLP

U.S. Classification
382/232; 382/266; 382/272; 358/539

View patent at USPTO

Citations

Patent NumberTitleIssue date
5341441Method and apparatus for coding image information, and method of creating code booksAug 23, 1994
5377018Video compression and decompression using block selection and subdivisionDec 27, 1994
6369827Method and apparatus for displaying higher color resolution on a hand-held LCD deviceApr 9, 2002

Claims

What is claimed is:

1. A method comprising:

dividing an input image and an output image into blocks, wherein each block in the output image corresponds to one block in the input image;

calculating a color average of each input block;

calculating a set of output colors for each block in the output image to match the color average of its corresponding block in the input image; and

generating an indication to control positioning of the set of output colors in said each block of the output image to match a target color and reduce spatial artifacts given the set of output colors.

2. The method defined in claim 1 further comprising dividing each input and output block into subblocks in response to a certain criteria being met.

3. The method defined in claim 2 wherein the criteria for dividing a block into subblocks is whether the block contains an edge.

4. The method defined in claim 1 wherein characteristics of the block are such that a human eye averages colors associated with the block.

5. The method defined in claim 4 wherein the characteristics include one or more of size, shape and expected viewing distance.

6. The method defined in claim 1 wherein calculating the set of output colors is performed by examining possible values achievable in a color space and locating an achievable value closest to the color average of the corresponding input block.

7. The method defined in claim 1 wherein calculating the set of output colors comprises using a look-up table on the average color to determine output colors in the set.

8. The method defined in claim 7 wherein the average color distance output color is set either exactly or approximately.

9. The method defined in claim 1 further comprising positioning colors within each block to match a target color and reduce spatial artifacts given the set of output colors.

10. The method defined in claim 1 wherein generating an indication to control positioning colors within each block comprises performing regular gridding.

11. The method defined in claim 1 wherein generating an indication to control positioning colors within each block comprises using a dither matrix ordering of the chosen output colors.

12. A method comprising:

dividing an input image and an output image into blocks, wherein each block in the output image corresponds to one block in the input image, wherein dividing the input image and the output image into blocks comprises dividing a block of the input image into subblocks by:
calculating a function of the color value for each block and for each of a plurality of subblocks in said each block;
determining if the distance between the function of the color value of the block and subblocks is greater than a threshold;
dividing the block into subblocks if the difference is greater than the threshold;
calculating a color average of each input block;
calculating a set of output colors for each block in the output image to match the color average of its corresponding block in the input image; and
generating an indication to control positioning of the set of output colors in said each block of the output image.

13. The method defined in claim 12 further comprising determining an edge exists by comparing a function of color values for each subblock to the function's value for the other subblocks of the block.

14. The method defined in claim 12 wherein the plurality of subblocks comprises four subblocks.

15. An article of manufacture having a computer readable storage medium storing executable instructions which, when executed by a system causes the system to perform the method comprising:

dividing an input image and an output image into blocks, wherein each block in the output image corresponds to one block in the input image;

calculating a color average of each input block;

calculating a set of output colors for each block in the output image to match the color average of its corresponding block in the input image; and

generating an indication to control positioning of the set of output colors in said each block of the output image to match a target color and reduce spatial artifacts given the set of output colors.

16. An apparatus comprising:

a divider to divide an input image and an output image into blocks, wherein each block in the output image corresponds to one block in the input image;

first logic to calculate a color average for each input block;

second logic to calculate a set of output colors for each block in the output image to match the color average of its corresponding block in the input image; and

indication generation logic to generate an indication to control positioning of the set of output colors in said each block of the output image to match a target color and reduce spatial artifacts given the set of output colors.

17. The apparatus defined in claim 16 wherein the divider divides each input and output block into subblocks in response to a certain criteria being met.

18. The apparatus defined in claim 16 wherein the criteria for dividing a block into subblocks is whether the block contains an edge.

19. The apparatus defined in claim 16 wherein characteristics of the block are such that a human eye averages colors associated with the block.

20. The apparatus defined in claim 19 wherein the characteristics include one or more of size, shape and expected viewing distance.

21. The apparatus defined in claim 16 wherein the second logic to calculate the set of output colors examines possible values achievable in a color space and locates an achievable value closest to the color average of the corresponding input block.

22. The apparatus defined in claim 16 wherein the second logic to calculate the set of output colors uses a look-up table on the average color to determine output colors in the set.

23. The apparatus defined in claim 22 wherein the average color distance output color is set either exactly or approximately.

24. The apparatus defined in claim 16 further comprising control logic to position colors within each block to match a target color and reduce spatial artifacts given the set of output colors.

25. The apparatus defined in claim 24 wherein the control logic performs regular gridding within each block.

26. The apparatus defined in claim 25 wherein the control logic performs dither matrix ordering of the chosen output colors within each block.

27. An apparatus comprising:

a divider to divide an input image and an output image into blocks, wherein each block in the output image corresponds to one block in the input image, the divider comprising:
calculation logic to generate a function of the color value for each block and for each of a plurality of subblocks in said each block;
determination logic to determine if the distance between the function of the color value of the block and subblocks is greater than a threshold;
a divider to divide the block into subblocks if the difference is greater than the threshold;
first logic to calculate a color average for each input block;
second logic to calculate a set of output colors for each block in the output image to match the color average of its corresponding block in the input image; and
indication generation logic to generate an indication to control positioning of the set of output colors in said each block of the output image to match a target color and reduce spatial artifacts given the set of output colors.

28. The apparatus defined in claim 27 further comprising determination logic to determine an edge exists by comparing a function of color values for each subblock to the function's value for the other subblocks of the block.

29. The apparatus defined in claim 27 wherein the plurality of subblocks comprises four subblocks.

30. An apparatus comprising:

means for dividing an input image and an output image into blocks, wherein each block in the output image corresponds to one block in the input image;

means for calculating a color average of each input block;

means for calculating a set of output colors for each block in the output image to match the color average of its corresponding block in the input image; and

means for generating an indication to control positioning of the set of output colors in said each block of the output image to match a target color and reduce spatial artifacts given the set of output colors.

31. A method comprising:

dividing the input image and the output image into blocks comprises adaptively sizing blocks with edges to create a plurality of blocks without edges; and

computing, as part of a halftoning process, a set of output colors that best renders a color average of the input image for the corresponding block, wherein the input image's color gamut is pre-warned to adjust for the output color gamut.

32. An apparatus comprising:

means for dividing the input image and the output image into blocks comprises means for adaptively sizing blocks with edges to create a plurality of blocks without edges; and

means for computing, as part of a halftoning process, a set of output colors that best renders a color average of the input image for the corresponding block, wherein the input image's color gamut is pre-warped to adjust for the output color gamut.

33. An apparatus comprising:

a divider to divide the input image and the output image into blocks by means for adaptively sizing blocks with edges to create a plurality of blocks without edges; and

computation logic to compute, as part of a halftoning process, a set of output colors that best renders a color average of the input image for the corresponding block, wherein the input image's color gamut is pre-warped to adjust for the output color gamut.

Drawings