Novel surface crack detection algorithm
A surface crack and detection algorithm technology, applied in the direction of optical testing flaws/defects, etc., can solve the problem of unsatisfactory recognition accuracy, and achieve the effect of strong defect resolution, good extraction and recognition effect, and high crack recognition rate.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0021] The present invention acquires images through camera equipment, and then processes the acquired images, including seven steps:
[0022] The first step, binarized image input processing
[0023] After the detected image is processed in black and white mode, a binary image g(y-z) is formed;
[0024] The second step, the image neighborhood operation
[0025] For any pixel r(n-o) on the image, the pixel q(j-k) connected to the pixel r(n-o), if it satisfies
[0026] |i-m|+|j-n|=1 or |i-m|=|j-n|=1
[0027] The pixel q(j-k) at this time is called the neighborhood of the pixel r(n-o), where j, k, n and o are the rows or columns on the binary image g(y-z) respectively, when a black When a pixel in the neighborhood of pixel q) j-k) has a white pixel, set q) j-k) as a white pixel, and this operation is called crack erasing operation; when a pixel in the neighborhood of a certain white pixel q) j-k) has a When it is a black pixel, set q)j-k) as a black pixel, then this operatio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More