Image binary processing method, device and equipment and storage medium

A technology of image binarization and processing method, which is applied in the field of image processing, and can solve problems such as poor binarization processing effect and inaccurate binarization threshold

Active Publication Date: 2017-08-22
SHENZHEN YIHUA COMP +2
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the binarization threshold determined by these two methods is inaccurate, resulting in poor binarization processing effect.

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
  • Image binary processing method, device and equipment and storage medium
  • Image binary processing method, device and equipment and storage medium
  • Image binary processing method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] Figure 1a It is a flow chart of an image binarization processing method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of performing binarization processing on an image. This method can be implemented by the binarization processing device in the embodiment of the present invention To execute, the device may be implemented by software and / or hardware. Such as Figure 1a As shown, the method may specifically include the following steps:

[0049] S110. Select at least two binarization thresholds from a preset range of binarization thresholds to perform binarization processing on the image to be tested, respectively, to generate a corresponding binarization image.

[0050] Specifically, in the process of image binarization, it is first necessary to convert the color image into a grayscale image, and then select an appropriate binarization threshold to process the grayscale image to obtain a binarized image. The determination o...

Embodiment 2

[0069] figure 2 It is a flow chart of an image binarization processing method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment selects at least two binarization thresholds for the "preset binarization threshold range" to be tested. The images are binarized separately to generate the corresponding binarized image" has been optimized. Such as figure 2 As shown, the method may specifically include the following steps:

[0070] S210. Starting from the first end value of the preset binarization threshold range, take a value according to a preset step size until the second end value of the preset binarization threshold range to obtain a plurality of binarization thresholds.

[0071] Specifically, the preset binarization threshold range may be an interval, starting from the first end of the preset binarization threshold range, the first end value may take the lower limit of the interval, and take a value according...

Embodiment 3

[0082] image 3 It is a flow chart of an image binarization processing method provided by Embodiment 3 of the present invention. On the basis of the above embodiments, this embodiment provides a method for "any number of consecutive preset lines in each of the binarized images. The number of black dots is summed, and the maximum value obtained by summing each of the binarized images is used as the feature value of the binarized image" is optimized. Such as image 3 As shown, the method may specifically include the following steps:

[0083] S310. Select at least two binarization thresholds from a preset range of binarization thresholds to perform binarization processing on the image to be tested, respectively, to generate a corresponding binarization image.

[0084] S320. Calculate the number of black dots in each row in each of the binarized images.

[0085] Specifically, when summing the number of black dots in any continuous preset number of rows in each binarized image, ...

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 an image binary processing method, device and equipment and a storage medium. The method comprises steps of selecting at least two binary threshold values to carry out binary processing on a to-be-detected image from a preset binary threshold value range so as to generate corresponding binary images; summing the number of black points in any continuous preset line number in each binary image and using the maximum value obtained through the summing of each binary image as a feature value of the corresponding binary image; judging whether each feature value is larger than the preset black point number threshold value, and if yes, calculating the specific value of the feature values to the total number of the black points in the corresponding binary images; and using a binary threshold value corresponding to a binary image with the maximum specific value as a target binary threshold value. According to the invention, accuracy of the binary threshold value calculation is improved and binary processing effects are improved.

Description

technical field [0001] Embodiments of the present invention relate to image processing technologies, and in particular, to an image binarization processing method, device, device, and storage medium. Background technique [0002] Image binarization is an important step in optical character recognition. Usually, the effect of binarized images plays an important role in other image processing. When the quality of binarized images is not high, it will affect the accuracy of image processing. Among them, image processing includes character recognition, character cutting, and character. In the binarization process, determining the binarization threshold is the key. [0003] Usually, the methods for determining the binarization threshold include the percentage method and the OTSU (maximum between-class variance) method. However, the binarization threshold determined by these two methods is inaccurate, resulting in poor processing effect of binarization. Contents of the inventi...

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): G06T7/11G06T7/136G06K9/34
CPCG06V10/267
Inventor李杰
OwnerSHENZHEN YIHUA COMP