A method of image-resolution enhancement employing partial-template
matching, including storing at least a portion of an image, and selecting
from the image a window comprising a plurality of adjacent line segments
having pixels, the window including a target pixel. The method also
includes comparing the pixels of the window with a template for a partial
match, and responsive to a partial match being found, substituting an
enhancement pixel for the target pixel. By allowing a partial match for
enhancement instead of requiring a 100-percent match of the prior art,
the method provides image-resolution enhancement for digital-image data
having noise or other errors.