File-image cutting method based on Chinese characteristics
A document image and image technology, which is applied in the field of computer digital image processing, can solve the problems of complex calculation and broken Chinese characters, and achieve the effect of simple calculation and not easy to break Chinese characters
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0143] according to figure 1 Embodiments of the present invention are configured. Computer is " Tsinghua Tongfang microcomputer, Intel (R) Celeron (R) CPU 3.20GHz, 256M memory, 80G hard disk " among the present embodiment. Adopt VC++6.0 programming to realize.
[0144] The specific implementation plan is:
[0145] 1. Color image to grayscale image conversion scheme:
[0146] If the input image is a color image, use the following formula to convert:
[0147] Y=0.299×R+0.587×G+0.144×B
[0148] Among them, Y is the converted gray value, R, G, and B are the three color components of the color image before conversion, R represents red, G represents green, and B represents blue, and their values are all in [0, 255 ] range.
[0149] 2. Recursive layering scheme:
[0150] Assuming that the gray value change interval of the image to be layered is [t 1 , t 2 ](t 1 2 ), when δ t t (c=0.1) or n t When >d×n (d=0.2), stop layering this image, otherwise, continue layering recur...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 