Panoramic binary image-based reversal processing method and device

A binary image and processing method technology, applied in the field of image processing, can solve the problems of poor accuracy and easy misjudgment, and achieve the effect of improving accuracy and good effect.

Active Publication Date: 2011-06-15
HANVON CORP
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This judgment method is less accurate, especially when the strokes...

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
  • Panoramic binary image-based reversal processing method and device
  • Panoramic binary image-based reversal processing method and device
  • Panoramic binary image-based reversal processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to understand the technical content of the present invention more clearly, the following examples are given in detail.

[0044] like figure 2 Shown is the panoramic binary image in this embodiment. In order to clearly show the size range of the image, the pixels on the four sides of the image are represented in gray, and the subsequent images are also processed in the same way.

[0045] The invention discloses a method for anti-whitening processing of panoramic binary images, such as figure 1 shown, for figure 2 The panoramic binary image shown includes the following steps:

[0046] Step 101, perform connected domain marking on the panoramic binary image. In this embodiment, 8 connected marks are used, and the black pixels forming the connected domain are recorded at the same time. The result of the connected domain mark is as follows image 3 , where the connected domain is indicated by a gray box.

[0047] Step 102, counting the heights of characters i...

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 panoramic binary image-based reversal processing method and a panoramic binary image-based reversal processing device, which belong to the field of image processing. The method comprises the following steps of: performing connected component labeling on a panoramic binary image; counting a character height in the panoramic binary image according to labeled connected components; calculating candidate reverse connected components according to the character height; and performing screening according to the upper and lower sidelines of the candidate reverse connected components to obtain reverse connected components, and performing pixel reversal. In the method and the device, the connected components in the panoramic binary image are taken as processing units, the reverse connected components are obtained by performing smoothness screening on the upper and lower sidelines of the connected components, and boundary ranges of the reverse connected components can be accurately calculated for color reversal. The method and the device are not influenced by the thickness of strokes of Chinese characters in the image, greatly improve the reverse connected component positioning accuracy and achieve better image reversal effects.

Description

[0001] technical field [0002] The invention belongs to the field of image processing, and relates to an image processing method and device, in particular to a method and device for inversion processing of panoramic binary images. [0003] Background technique [0004] Electronic scanning pen (referred to as scanning pen) is one of the important applications of OCR. The technical principle of the scanning pen is roughly as follows: First, the optical camera continuously takes pictures of the scanned data according to a certain frequency to obtain the image sequence of the scanned data, and then stitches the image sequence into a panoramic binary image and performs OCR processing. In the obtained panoramic binary images, in most cases, there are black characters on a white background. Such binary images can be directly sent to the OCR module for recognition, but there are still cases of white characters on a black background, which cannot be processed by the OCR module. Do...

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
IPC IPC(8): G06T5/00
Inventor 李永彬
Owner HANVON CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products