Unlock instant, AI-driven research and patent intelligence for your innovation.

Visual inspection method for surface defects of industrial products based on gray level co-occurrence matrix and ransac

A grayscale co-occurrence matrix and visual detection technology, applied in image analysis, image enhancement, instruments, etc., can solve the problems of low detection accuracy, complex calculation, narrow application range, etc., and achieve high detection efficiency, high detection accuracy, and stability. Good results

Active Publication Date: 2019-01-08
宁波智能装备研究院有限公司
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problems of narrow application range, complex calculation and low detection accuracy of traditional surface defect detection methods, the present invention proposes a visual detection method for surface defects of industrial products based on gray-level co-occurrence matrix and RANSAC

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Visual inspection method for surface defects of industrial products based on gray level co-occurrence matrix and ransac
  • Visual inspection method for surface defects of industrial products based on gray level co-occurrence matrix and ransac
  • Visual inspection method for surface defects of industrial products based on gray level co-occurrence matrix and ransac

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach 1

[0023] Specific implementation mode one: as figure 1 As shown, the visual detection method for surface defects of industrial products based on gray level co-occurrence matrix and RANSAC includes the following steps:

[0024] Step 1: The image collected by the industrial camera (such as figure 2 shown) to perform grayscale and median filtering operations;

[0025] Step 2: For the image after grayscale and median filter operation in step 1, use the pre-stored image template to match and locate the surface block to be detected on the image after median filter operation, and perform Rotate so that the orientation of the surface block to be tested is consistent with the surface block to be detected in the template image;

[0026] The pre-stored image template is obtained by collecting the same detection surface of a standard industrial product;

[0027] Step 3: Equally segment the image of the surface block to be detected obtained in step 2 to obtain N partial image regions, th...

specific Embodiment approach 2

[0032] Embodiment 2: This embodiment differs from Embodiment 1 in that the value of H×W in step 3 is less than 1 / 2 of the smallest defect area in the surface block to be tested.

[0033] When the values ​​of H and W are small, the detection accuracy of the detection algorithm for the area of ​​the defect area on the surface block to be detected is relatively high; on the contrary, when the values ​​of H and W are large, the detection accuracy of the area of ​​the defect area on the surface block to be detected is relatively high. The detection accuracy is low.

[0034] When the values ​​of H and W are small, it means that the subdivision degree of the detection algorithm for the surface block to be detected increases, and the result will increase the calculation amount of the algorithm; The subdivision degree of the detection surface block is reduced, which will reduce the calculation amount of the algorithm.

[0035] Other steps and parameters are the same as those in Embodi...

specific Embodiment approach 3

[0036] Specific embodiment three: the difference between this embodiment and specific embodiment one or two is: the solution method of four feature quantities in the described step four is:

[0037] Contrast C:

[0038]

[0039] In the formula, i and j are the row and column coordinates of the normalized gray-level co-occurrence matrix; p(i, j) is the value of the i-th row and j-column in the normalized gray-level co-occurrence matrix;

[0040] Energy E:

[0041]

[0042] Relevance R:

[0043]

[0044] where u i is the average value of the row coordinates in the normalized gray-level co-occurrence matrix; u j is the average value of the column coordinates in the normalized gray level co-occurrence matrix; σ i is the standard deviation of the row coordinates in the normalized gray-level co-occurrence matrix; σ j is the standard deviation of the column coordinates in the normalized gray level co-occurrence matrix;

[0045] Homogeneity B:

[0046]

[0047] Other ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to a gray level co-occurrence matrix and RANSAC-based industrial product surface defect visual detection method. The objective of the present invention is to solve the problems of the narrow application range, complicated calculation and low detection accuracy of a traditional surface defect detection method. The detection accuracy of the surface defect detection method of the invention can achieve 95%. The method of the invention can be applied to the surface detection of metal components and have strong applicability to surface defect detection of components such as glass components, paper, electronic components and the like. In the C++ environment, the detection time of the algorithm for 640*480 industrial images is 200ms. Compared with existing mainstream methods, the method of the invention has high detection efficiency and high stability, is suitable for rapid detection occasions of industrial products. The method of the present invention is applied to the industrial product surface detection field.

Description

technical field [0001] The invention relates to a visual detection method for surface defects of industrial products using a gray scale co-occurrence matrix and RANSAC. Background technique [0002] Industrial product testing is a key link in the quality control of industrial products. At present, product inspection mainly relies on manual inspection methods. However, this method not only has low production efficiency, but also factors such as human visual fatigue and subjective judgment will lead to poor consistency of inspection results. Especially with the continuous improvement of the degree of automation of the production process, manual inspection is increasingly unable to meet the requirements of efficiency and precision in today's industrial field. Industrial product quality inspection based on machine vision technology has the advantages of fast detection speed, low cost and reliable detection results, so it is widely used in industrial product quality inspection. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T7/00G06T7/45
CPCG06T7/0004G06T2207/30108
Inventor 高会军靳万鑫于金泳杨宪强林伟阳孙光辉李湛
Owner 宁波智能装备研究院有限公司