A Content-Based Method for Estimating the Slant Angle of Document Image
A technology for tilt angle estimation and document image, which is applied in computing, computer components, instruments, etc., can solve the problems that the document image tilt angle estimation method is difficult to establish, has low versatility, and reduces accuracy, and achieves outstanding substantiveness Features, enhanced versatility, and the effect of reducing relative error
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Figure 2(a) is the original document image containing straight line segments, and Figure 2(b) is the noisy document image with Gaussian noise with a variance of 0.1 added to the original document image Figure 2(a).
[0043] (1) Read the document image in Figure 2(a).
[0044] (2) Binarize the document image.
[0045] Set the binarization threshold to 128, and when the pixel value is greater than or equal to 128, it is marked as 255, and when it is less than 128, it is marked as 0, then the document image becomes a binary image containing only pixels 0 and 255.
[0046] (3) Use the straight line segment detection method to detect each straight line segment in the binarized image.
[0047] Let the pixels in the foreground of the image be all 0, and the pixels in the background be 255. When any pixel in the foreground of the image has its left and right sides (or up and down sides) in continuous positions greater than the set length threshold, it is a foreground point. ,...
Embodiment 2
[0074] When there is no straight line segment in the document image or the length of the straight line segment does not reach the set threshold, as shown in Figure 5(a) is the text line image, the text line detection algorithm is used to locate the centerline position of each text line, and this is used as the The straight line segment of :
[0075] (1) Read the text image in Figure 5(a).
[0076] (2) Binarize the document image.
[0077] (3) Use the straight line segment detection method to detect each straight line segment in the binarized image.
[0078] (4) Thinning each straight line segment obtained in step (3) with a thinning algorithm.
[0079] (5) Set the threshold to 32 pixels, and use the 8-connected domain marking method to mark each straight line segment after refinement. If there is a straight line segment whose length is greater than or equal to the given threshold, the corresponding straight line segment is a valid straight line segment. Retain each effectiv...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com