A Fully Automatic Soft Segmentation Method for Characters on Textured Background
A textured background, fully automatic technology, applied in the field of image processing, can solve problems such as difficult to separate background and characters, and character breakage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] The invention provides a method for fully automatic soft segmentation of characters under a texture background, and the specific process of the method is as follows:
[0041] First, for the input character image I 1 Perform grayscale conversion to obtain a grayscale image I 2 , the present invention needs to ensure that the grayscale image I 2 The overall brightness of the background is brighter than that of the foreground characters, which is beneficial to the subsequent segmentation of the foreground characters; if the grayscale image I 2 There is a situation where the overall brightness of the background is darker than that of the foreground characters, and the present invention requires the grayscale image I 2 Do the grayscale inversion operation, specifically through the formula s=L-1-r to achieve, so that the grayscale image I 2 After the grayscale inversion operation, it conforms to the overall brightness of the character brightness darker than the background;...
Embodiment 2
[0071] Suppose the character image of a document is I 1 , character image I 1 After grayscale, the grayscale image I is obtained 2 Such as figure 2 As shown, the grayscale image I 2 The grayscale histogram of image 3 As shown, the first segmentation threshold t obtained by using the dual-threshold OTSU segmentation algorithm 1 is 53, the first segmentation threshold t 1 and the position of the corrected threshold in the histogram as Figure 4 As shown, the three vertical lines in the figure respectively represent the position of the corrected threshold, the first segmentation threshold and the second segmentation threshold from left to right, and the valley search strategy is used to correct the first segmentation threshold t 1 The implementation is as follows:
[0072] (1) Set the parameter p of the valley search strategy num for 7.
[0073] (2) Statistical grayscale image I 2 The gray histogram of h 34 ~ h 61 The values of are 70, 69,..., 219, as shown in Tab...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


