摘要 |
An example embodiment may involve obtaining (i) an a×b attribute macro-cell, and (ii) a×b pixel macro-cells for each of a luminance plane, a first color plane, and a second color plane of an input image. The a×b pixel macro-cells may each contain 4 non-overlapping m×n pixel cells. The example embodiment may also involve determining 4 attribute-plane output values that represent the 4 non-overlapping m×n attribute cells, 1 to 4 luminance-plane output values that represent the a×b pixel macro-cell of the luminance plane, a first color-plane output value to represent the a×b pixel macro-cell of the first color plane, and a second color-plane output value to represent the a×b pixel macro-cell of the second color plane. The example embodiment may further involve writing an interleaved representation of the output values to a computer-readable output medium. |
主权项 |
1. A method comprising:
obtaining, by a printing device, (i) an a×b attribute macro-cell, and (ii) a×b pixel macro-cells for each of a luminance plane, a first color plane, and a second color plane of an input image, wherein the a×b pixel macro-cells each contain 4 non-overlapping m×n pixel cells, wherein the a×b pixels in the a×b pixel macro-cells have respective pixel values, and wherein elements of the a×b attribute macro-cell are associated in a one-to-one fashion with respective pixels in each of the a×b pixel macro-cells; determining, by the printing device, 4 attribute-plane output values that respectively represent the 4 non-overlapping m×n attribute cells; based at least partially on whether the a×b attribute macro-cell indicates that at least e pixels in the a×b pixel macro-cells represent edges in the input image, determining, by the printing device, 1 to 4 luminance-plane output values that represent the a×b pixel macro-cell of the luminance plane, wherein e is at least 1; determining, by the printing device, a first color-plane output value to represent the a×b pixel macro-cell of the first color plane and a second color-plane output value to represent the a×b pixel macro-cell of the second color plane; and writing, by the printing device, an interleaved representation of the 4 attribute-plane output values, the 1 to 4 luminance-plane output values, the first color-plane output value, and the second color-plane output value to a computer-readable output medium. |