Back to results
US 2003/0112255 A1Published application
Method to upscale single-pixel wide text without loss of image sharpness
AssigneeTexas Instruments Incorporated
InventorJayawardan Janardhanan
Life of this patent
Estimating the term…
Abstract
A method to upscale single pixel wide text associated with flat panel display applications has a reduced cross-sectional area in two dimensions as compared to scalers that are either rule based or based on pattern matching. The method to upscale single-pixel wide text retains the sharpness of the single pixel text associated with flat panel display applications while requiring substantially smaller memory buffer requirements.
Claims6
A method of upscaling single-pixel wide text comprising the steps of:
- selecting at least one group of four input pixels such that each input pixel in the at least one group is adjacent to each other input pixel in the at least one group;
- dividing the at least one group of four input pixels into four quadrants such that the four input pixels define an outer boundary of the four quadrants and further such that the four input pixels define a rectangular input mask having a pair of diagonal lines;
- selecting an output pixel within any one of the four quadrants;
- determining a position of the output pixel with respect to each of the four input pixels to locate the input pixel closest to the output pixel;
- determining if the output pixel is further from the closest input pixel in the x-direction or in the y-direction to ascertain a first further direction;
- determining a color associated with the adjacent pixel in the first further direction;
- determining a color associated with the closest input pixel;
- assigning a foreground color to the output pixel solely when the color associated with the adjacent input pixel in the first further direction and the color associated with the closest input pixel are both of the foreground color;
- assigning a background color to the output pixel when the color associated with the adjacent pixel in the first further direction and the color associated with the closest input pixel are not both of foreground color;
- determining if the output pixel is positioned on one of the diagonal lines and is closer to the center of the input mask than to the closest input pixel to ascertain a second further direction;
- determining a color associated with the adjacent pixel in the second further direction;
- assigning a foreground color to the output pixel solely when the color associated with the adjacent input pixel in the second further direction and the color associated with the closest input pixel are both of the foreground color;
- assigning a background color to the output pixel when the color associated with the adjacent pixel in the second further direction and the color associated with the closest input pixel are not both of foreground color;
- and
- assigning to the output pixel, the color associated with the closest input pixel, in the absence of the first and second further directions.
12 more elements
A method of upscaling single-pixel wide text comprising the steps of:
- selecting at least one group of four input pixels such that each input pixel in the at least one group is adjacent to each other input pixel in the at least one group;
- dividing the at least one group of four input pixels into four quadrants such that the four input pixels define a rectangular input mask and further define an outer boundary of the four quadrants;
- determining a set of diagonal lines for the rectangular input mask wherein each diagonal line has a width defined by the reciprocal of a respective scale factor;
- selecting an output pixel within any one of the four quadrants;
- determining a position of the output pixel with respect to each of the four input pixels to locate the input pixel closest to the output pixel;
- determining if the output pixel is further from the closest input pixel in the x-direction or in the y-direction to ascertain a further direction;
- determining a color associated with the adjacent pixel in the further direction;
- determining a color associated with the closest input pixel;
- assigning a foreground color to the output pixel solely when the color associated with the adjacent input pixel in the further direction and the color associated with the closest input pixel are both of the foreground color;
- assigning a background color to the output pixel when the color associated with the adjacent pixel in the further direction and the color associated with the closest input pixel are not both of foreground color;
- determining if the output pixel is positioned on one of the diagonal lines;
- assigning a foreground color to the output pixel solely when the color associated with the diagonal line containing the output pixel and the color associated with the closest input pixel are both of the foreground color;
- assigning a background color to the output pixel when the color associated with the diagonal line containing the output pixel is not of foreground color;
- and
- assigning to the output pixel, the color associated with the closest input pixel, in the absence of the further direction and when the output pixel is not positioned on one of the diagonal lines.
12 more elements
Dependencies are inferred from the claim text.