Ambiguity judging method and system of image block
A technology of image blocks and blurriness, applied in the field of image processing, can solve the problems that the detection accuracy is easily affected by image blur, missing detection, multiple detection, etc., and achieve the effect of simplicity, practicality and efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0068] In this embodiment, the blurriness threshold is defined as 17, and an image with a blurriness less than 17 is blurred, and an image greater than or equal to 17 is clear. The normalized size of the image is 60×60, and the normalized range of brightness is 0-255.
[0069] Figure 3a is the image block to be processed in this embodiment, Figure 3b is the image after size normalization and brightness normalization, Figure 3c is the binary image after binarization.
[0070] First, extract Figure 3c The skeleton of the binary image shown, and calculate the distance of all pixels in the image and the skeleton, namely seek distance transformation, then set up the gray level-distance histogram, the histogram among the present embodiment is as Figure 4 shown. Afterwards, the slope of the longest rising slope in the histogram is taken as the blurriness. In this embodiment, the slope of the longest rising slope is 10.95. Since it is smaller than the blurriness threshold, t...
Embodiment 2
[0072] In this embodiment, the blurriness threshold is defined as 17, and an image with a blurriness less than 17 is blurred, and an image greater than or equal to 17 is clear. The normalized size of the image is 60×60, and the normalized range of brightness is 0-255.
[0073] Figure 5a is the image block to be processed in this embodiment, Figure 5b is the image after size normalization and brightness normalization, Figure 5c is the binary image after binarization.
[0074] First, extract Figure 5c The skeleton of the binary image shown, and calculate the distance of all pixels in the image and the skeleton, promptly seek distance transformation, then set up gray scale-distance histogram, the histogram among the present embodiment is as Image 6 shown. Afterwards, the slope of the longest rising slope in the histogram is taken as the ambiguity. In this embodiment, the slope of the longest rising slope is 28. Since it is greater than the ambiguity threshold, the image...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 