摘要 |
<P>PROBLEM TO BE SOLVED: To provide a method of making a computer emphasize text in an image. <P>SOLUTION: Disclosed is the method of making a computer execute: a current image acquisition step of acquiring an original image including text of at least one line; an update value acquisition step of performing stroke two-dimensional filtering to an original luminance value or/and original color value of each original pixel point on the basis of the degree of direct difference and the degree of indirect difference from an arbitrary original pixel point in the original image to each neighboring pixel point in its neighboring aggregate, and acquiring an updated luminance value or/and updated color value after the filtering of the original image; and an emphasized image generation step of replacing the corresponding original luminance value or original color value with the updated luminance value or/and updated color value after the filtering of the original image, and generating a text emphasis image corresponding to the original image. The range of the neighboring aggregate is shaped like a square having the original pixel point as a center and a side length of w, in which w is smaller than the height of the original image. <P>COPYRIGHT: (C)2013,JPO&INPIT |