Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Method of Shading Adjustment of Text Image

An adjustment method and text technology, which are applied in the field of text image shading adjustment, and can solve the problems of unable to obtain grayscale images, unable to reflect the grayscale depth of text, etc.

Inactive Publication Date: 2016-01-27
PEKING UNIV +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The adjustment method in this patent uses the ratio of black and white pixels in the binary image, but the grayscale image cannot be obtained. Its essence is to adjust the thickness of the text strokes in the binary image
The problem existing in the existing technology is that only using the ratio of the number of black and white pixels in the binary image can only output the binary image, which reflects the thickness of the strokes, but cannot reflect the depth of the grayscale of the text

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Method of Shading Adjustment of Text Image
  • A Method of Shading Adjustment of Text Image
  • A Method of Shading Adjustment of Text Image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0057] image 3 Shows the original text image before adjustment in the embodiment of the present invention, firstly obtain the grayscale histogram of the text image and the initial black value and initial white value of the text image, and perform binarization processing on the text image to obtain Binary image of text image (e.g. Figure 4 (Shown), and then mark the connected domain of the binary image. The connected domain of the binary image is an existing technology, so it will not be described in detail here. After the initial connected domain is marked as Figure 5 As shown, after the initial connected domains are marked, the initial connected domains are merged. Since the text language in this embodiment is Chinese, the smallest bounding rectangle of the merged initial connected domains is in the connected domains that intersect and contain the positional relationship. Such as Image 6 Shown. After that, the merged connected domains are refined (existing technology) to ob...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for shade adjustment of a character and an image, and relates to the field of character and image processing. The method comprises the steps of marking connected domains of a binary image, carrying out corresponding calculation according to a pixel value inside a minimum enclosing rectangular region and a pixel value of a refining skeleton region of the connected domains, and obtaining a measurement shade value dense of shade of the image. According to the method, firstly, the shade value dense of the character and the image is calculated, the calculated shade value dense is compared with a shade value set by a user, then, a black field value and / or a white field value of the character and the image are / is adjusted, finally, the calculated shade value dense is enabled to meet the shade requirement set by the user, and the shade adjustment of the character and the image is completed. According to the method for the shade adjustment of the character and the image, not only can the thickness of strokes of the character be reflected, but also the shade of the thickness of the strokes of the character can also be reflected, grey-scale maps with various visual effects are obtained, a reference standard is provided for automatic processing of the image, and the method is beneficial for improving efficiency and reducing cost.

Description

Technical field [0001] The invention relates to the field of text image processing, in particular to a method for adjusting the density of text images. Background technique [0002] In text image processing, due to different scanning conditions, the gray distribution of scanned document images is also different. In the actual digital production of layouts, different OCR (Optical Character Recognition, Optical Character Recognition) engines have different accuracy rates for text images with different "shades". Some have a higher recognition rate for "light" text, and some have a higher recognition rate for "dark" text. When the grayscale image is saved as output, the text needs to be adjusted to a level that is comfortable for human eyes to read. [0003] There are many image gray adjustment techniques in the image processing field, such as histogram equalization. However, these general grayscale adjustment techniques are not specifically designed for text scanned images, nor can...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T11/00
Inventor 胡希驰李平立史培培
Owner PEKING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products