A fabric defect detection method based on image projection and singular value decomposition
A singular value decomposition and image projection technology, applied in image analysis, image data processing, character and pattern recognition, etc., can solve the problems of SVD low-rank reconstruction properties, no original image projection operation, etc., to reduce computational complexity, Strong adaptability and good robustness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] Training phase:
[0057] (1) The flawless fabric image is divided into sub-windows with a size of 32×32 (pixels) in an overlapping manner, and the horizontal and vertical translation steps are both 1 pixel. The schematic diagram of the sub-window division is as follows figure 1 , figure 2 and image 3 shown;
[0058] (2) Project the sub-windows along the vertical and horizontal directions respectively, that is, calculate the average value of the gray value of all pixels in each column and each row in the sub-window, and obtain two projection sequences; then, connect the obtained two projection sequences After that, the joint projection sequence is obtained;
[0059] (3) Arrange the joint projection sequences corresponding to all sub-windows as the columns of the matrix into a matrix, and perform singular value decomposition on the obtained matrix; extract the first 4 columns of the left singular matrix as the base vector D.
[0060] Determination of the threshold: ...
Embodiment 2
[0066] Training phase:
[0067] (1) The flawless fabric image is divided into sub-windows with a size of 32×32 (pixels) in an overlapping manner, and the horizontal and vertical translation steps are both 1 pixel. The schematic diagram of the sub-window division is as follows figure 1 , figure 2 and image 3 shown;
[0068] (2) Project the sub-windows along the vertical and horizontal directions respectively, that is, calculate the average value of the gray value of all pixels in each column and each row in the sub-window, and obtain two projection sequences; then, connect the obtained two projection sequences After that, the joint projection sequence is obtained;
[0069] (3) Arrange the joint projection sequences corresponding to all sub-windows as the columns of the matrix into a matrix, and perform singular value decomposition on the obtained matrix; extract the first 16 columns of the left singular matrix as the base vector D.
[0070] Determination of the threshold:...
Embodiment 3
[0076] Training phase:
[0077] (1) The flawless fabric image is divided into sub-windows with a size of 32×32 (pixels) in an overlapping manner, and the horizontal and vertical translation steps are both 31 pixels. The schematic diagram of the sub-window division is as follows figure 1 , figure 2 and image 3 shown;
[0078] (2) Project the sub-windows along the vertical and horizontal directions respectively, that is, calculate the average value of the gray value of all pixels in each column and each row in the sub-window, and obtain two projection sequences; then, connect the obtained two projection sequences After that, the joint projection sequence is obtained;
[0079] (3) Arrange the joint projection sequences corresponding to all sub-windows as the columns of the matrix into a matrix, and perform singular value decomposition on the obtained matrix; extract the first 4 columns of the left singular matrix as the base vector D.
[0080] Determination of the threshold...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


