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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


