FIELD: physics, computer engineering.
SUBSTANCE: invention relates to means of converting a raster image into a metafile. The method comprises detecting fragments of smoothed text on a screenshot, evaluating the background colour and colour of the characters of the smoothed text on each fragment based on determining outermost columns of a histogram of the fragment, vectorising the edge of the characters of the smoothed text, modifying the screenshot by replacing fragments of the smoothed text with the background colour, creating a metafile based on the modified screenshot and vectorised edges, filled with the colour of the characters of the smoothed text, and rendering the formed metafile.
EFFECT: high definition of text characters on a screenshot.
9 cl, 9 dwg
Authors
Dates
2014-11-27—Published
2013-02-01—Filed