Method and apparatus for mapping printer resolution using lock-up-tables
First Claim
1. A method of mapping raster data input of a source data set, assembled in discrete groups and having a first resolution, to a destination data set, assembled in discrete groups and having a second resolution, wherein each data set has horizontal and vertical components, comprising:
- defining a resolution ratio, having a numerator "N" for the source data set, and a denominator "D" for the destination data set;
converting the horizontal component of the source data set by selectively copying N discrete groups of the source data set to form a row of the destination data set horizontal component having D discrete groups, wherein said converting includes generating N look-up tables for looking up D discrete groups of the destination data set from N discrete groups of the source data set to generate an intermediate data set including intermediate raster data patterns;
copying, selectively, N rows of the source data set to form D rows of the destination data set; and
combining one or more of said intermediate raster data patterns to produce a pixel output pattern, said combining involving a bit-wise logical combination.
1 Assignment
0 Petitions
Accused Products
Abstract
A method is disclosed of mapping raster data input of a source data set to a destination data set, wherein the source and destination data sets have different resolutions. Initially, a resolution ratio is determined between the source data set and the destination data set. The horizontal component of the source data set is converted to the resolution of the destination data set by copying select discrete groups of the source data to form a desired number of discrete groups of the destination data. A select number of vertical, or raster, rows of the horizontally converted data set are copied to form a required number of rows, thereby completing the destination data set. Look-up tables are provided to efficiently convert the horizontal component of the source data set. An apparatus for mapping raster data input includes a computation mechanism for determining the resolution ratio, and mechanisms for converting the horizontal and vertical components of the source data set into the destination data set. Additionally, a look-up table generator is provided.
-
Citations
16 Claims
-
1. A method of mapping raster data input of a source data set, assembled in discrete groups and having a first resolution, to a destination data set, assembled in discrete groups and having a second resolution, wherein each data set has horizontal and vertical components, comprising:
-
defining a resolution ratio, having a numerator "N" for the source data set, and a denominator "D" for the destination data set; converting the horizontal component of the source data set by selectively copying N discrete groups of the source data set to form a row of the destination data set horizontal component having D discrete groups, wherein said converting includes generating N look-up tables for looking up D discrete groups of the destination data set from N discrete groups of the source data set to generate an intermediate data set including intermediate raster data patterns; copying, selectively, N rows of the source data set to form D rows of the destination data set; and combining one or more of said intermediate raster data patterns to produce a pixel output pattern, said combining involving a bit-wise logical combination. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of mapping raster data of a source data set, assembled in bytes and having a first resolution, to a destination data set, assembled in bytes and having a second resolution, wherein each data set has horizontal and raster components, comprising:
-
defining an integer resolution ratio, having an integer numerator "N" for the source data set, and an integer denominator "D" for the destination data set; converting the horizontal component of the source data set by selectively copying N bytes of the source data set to form a row of the destination data set horizontal component having D bytes, which includes generating N look-up tables for looking up D bytes of the destination data set from N bytes of the source data set to generate an intermediate data set including intermediate raster data patterns; copying, selectively, the raster components of N rows of the source data set to form D rows of the destination data set; and combining one or more of said intermediate raster data patterns to produce a pixel output pattern, said combining involving a bit-wise logical combination. - View Dependent Claims (7, 8, 9)
-
-
10. A method of mapping computer printer graphics of a source data set, assembled in bytes and having a first, relatively smaller resolution, to a destination data set, assembled in bytes and having a second, relatively larger resolution, wherein each data set has horizontal and vertical components, comprising:
-
computing an integer resolution ratio, having an integer numerator "N" for the source data set, and an integer denominator "D" for the destination data set; converting the horizontal component of the source data set by replicating N bytes of the source data set to form D bytes of the destination data set horizontal component by looking up D bytes of the destination data set from N bytes of the source data set including generating N look-up tables, by selectively copying the horizontal components of D-N bits of the source data set every N bits; and replicating the vertical components of D-N rows of the destination data set every N rows. - View Dependent Claims (11)
-
-
12. An apparatus for mapping raster data from an input source data set having a first resolution N to a output destination data set having a second resolution D, comprising:
-
a computation mechanism for computing an input/output resolution ratio; a horizontal conversion mechanism for converting a horizontal component of the input data set to a horizontal component of the output data set; and a raster conversion mechanism for converting a vertical component of the input data set to a vertical component of the output data set, said raster conversion mechanism including N look-up tables for looking up D discrete groups of the destination data set from N discrete groups of the source data set to generate an intermediate data set including intermediate raster data patterns, said raster conversion mechanism further including logic devices for logically combining one or more of said intermediate raster data patterns to produce a pixel output pattern. - View Dependent Claims (13, 14, 15, 16)
-
Specification