Binary image noise-reduction method based on integral graph and binary image processing system
A binary image and integral image technology, applied in the field of image processing, can solve problems such as being unfavorable for the calculation of characteristic parameters, and achieve the effect of simple implementation and elimination of spots
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] The process of binary image noise reduction method is as follows: figure 1 shown.
[0031] S1: Read in pixels point by point from left to right and top to bottom, and calculate the integral image value of each pixel with non-zero gray value, as shown in formula (1):
[0032] sum1(d)=sum1(b)+sum1(c)-sum1(a)+1; (1)
[0033] S2: Read in pixels point by point from right to left and bottom to top, and calculate the integral image value of each pixel with a non-zero gray value, as shown in formula (2):
[0034] sum2(d)=sum2(e)+sum2(f)-sum2(g)+1; (2)
[0035] Such as figure 2 As shown, d represents the current foreground pixel, a represents the adjacent pixel located at the upper left of the current foreground pixel, b represents the adjacent pixel directly above the current foreground pixel, and c represents the directly left of the current foreground pixel adjacent pixels of the current foreground pixel; e represents the adjacent pixel directly to the right of the curre...
Embodiment 2
[0044] In order to make the noise reduction effect more accurate, Embodiment 1 can be extended to improve the calculation of the integral image value, and calculate the integral image value from four directions, that is, from left to right, from top to bottom, from right to left, from bottom to bottom Calculate integral image values in four directions: top, left to right, bottom to top, right to left, top to bottom, and then determine whether the foreground pixel is a noise point by setting a threshold T.
[0045] Such as figure 2 As shown, when judging the current foreground pixel d, not only the adjacent pixels a, b, c, e, f, g in Implementation 1 should be considered, but also the adjacent pixel h on the upper right of the current foreground pixel and The adjacent pixel i below the left of the current foreground pixel.
[0046] The process flow of the binary image noise reduction method is based on the embodiment 1, and it needs to be carried out before step S3:
[004...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 