PVC floor surface coating defect detection method and system
Through the high-dimensional image feature analysis method, the defects of PVC floor surface coating are detected, and the problems of insufficient detection accuracy and poor adaptability in the prior art are solved, and high-precision detection of complex defects and quantitative evaluation of defect impacts are realized.
Patent Information
- Application Number
- CN202510106823.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2045-01-23
AI Technical Summary
In the detection of PVC floor surface coating defects, the prior art has problems such as insufficient detection accuracy, poor adaptability and incomplete assessment of defect impacts, especially in identifying defects in small sizes or complex shapes and dynamic adjustment capabilities.
The high-dimensional image feature analysis method is used to divide the coating surface area, obtain the area scan image and perform image optical compensation. Through the high-dimensional defect feature analysis model, defect positioning information and geometric parameters are analyzed, and the sensitivity weight of the coating performance is quantitatively evaluated based on the defect.
High-precision detection of complex defects on the coating surface is realized, which can quantify the impact of defects on the overall performance of the coating, adapt to different types and distributions of defects, and improve the accuracy and adaptability of the detection.
Smart Images

Figure CN119915837A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of surface quality detection, and in particular to a method and system for detecting defects in a coating on a PVC floor surface. Background Art
[0002] In the production process of PVC flooring and similar coating surface materials, the quality of the coating directly affects the performance and appearance of the product. However, due to uneven spraying, material defects or external pollution during the production process, the coating surface is prone to various defects such as bubbles, cracks, and uneven areas, which may lead to a decrease in the mechanical properties, durability and appearance of the product. The detection and analysis of coating surface defects has become an important part of quality control.
[0003] Existing technologies usually use detection methods based on two-dimensional image acquisition to identify coating defects through defect classification technology based on fixed image recognition rules, which is insufficient in detection accuracy, adaptability and performance evaluation. The ability to identify defects of small size or complex shape is limited, especially for defects with irregular surface boundaries, which are prone to false detection or missed detection. In addition, these methods usually rely on fixed rules or thresholds and lack dynamic adjustment capabilities. At the same time, most existing technologies only focus on the existence of defects, lack quantitative analysis of the impact of defects on the overall performance of the coating, and cannot fully evaluate the actual impact of defects on the durability and quality of the coating.
[0004] The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present disclosure, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art known to those skilled in the art. Summary of the invention
[0005] The present invention provides a method and system for detecting defects in a surface coating of a PVC floor, which can effectively solve the problems in the background technology.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is: A method for detecting defects in a PVC floor surface coating, the method comprising: Dividing the surface of the coating to be tested into regions, acquiring a regional scanning image, and performing image optical compensation on the regional scanning image; Analyze the high-dimensional image features of each of the area scanned images, perform difference analysis between the high-dimensional image features and the reference features, and select the surface defect area; Establishing a high-dimensional defect feature analysis model, analyzing and generating defect location information and defect geometric parameters, and determining the defect type of the surface defect area according to the defect location information and the defect geometric parameters; According to the defect location information and the defect geometric parameters, a quantitative evaluation is performed in combination with the sensitivity weight of the defect to the surface performance of the coating to be tested, and an overall surface performance impact analysis result is output.
[0007] Further, the surface defect areas are selected, including: Performing multi-scale feature decomposition on the area scanned image to extract the high-dimensional image features including texture features, edge features and brightness distribution features; Comparing the high-dimensional image features with the reference features, training and generating a difference analysis algorithm, calculating a difference index based on the difference analysis algorithm and identifying potential defect areas; Performing a regional connectivity analysis on the potential defect region based on the reference features to generate a preliminary surface defect region; The boundary of the preliminary surface defect region is finely adjusted based on the difference analysis algorithm to generate the surface defect region.
[0008] Further, performing regional connectivity analysis on the potential defect region based on the benchmark feature includes: Performing neighborhood connectivity calculation on the pixels in the potential defect area based on the pixel grayscale value and geometric structure continuity, and screening out defective pixel groups that meet the connectivity; Performing cluster analysis on the defective pixel group and further grouping them to generate a plurality of connected sub-regions and calculating the texture consistency of the connected sub-regions; Performing connectivity analysis on the morphological parameters of the connected sub-regions, and eliminating pseudo-defect regions where the texture consistency is lower than a set value based on the reference feature comparison; According to the results of the connectivity analysis, a preliminary surface defect region is generated.
[0009] Further, calculating the texture consistency of the connected sub-regions includes: Analyzing the connected sub-regions and obtaining texture direction features and texture frequency features of the connected sub-regions; Calculating and quantifying the consistency of the texture direction inside the connected sub-region based on the texture direction feature to generate a direction standard deviation; Calculating the complexity of texture details of the connected sub-region based on the texture frequency feature, and generating a texture frequency spectrum distribution deviation; The directional standard deviation and the texture spectrum distribution deviation are weighted and comprehensively calculated to comprehensively generate the texture consistency of the connected sub-region.
[0010] Further, determining the defect type of the surface defect area includes: Generating the high-dimensional defect feature analysis model according to the high-dimensional image features and the reference feature training; Scanning the surface defect area pixel by pixel to generate a pixel scanning result; Calculate the center point coordinates and area boundary information of the defect position based on the pixel scanning result to generate the defect location information; Calculating the area, perimeter and shape regularity of the defect according to the pixel scanning result and the defect location information, and generating the defect geometric parameters; The defect location information and the defect geometric parameters are associated with each other based on the high-dimensional defect feature analysis model to determine the defect type of the surface defect area.
[0011] Furthermore, the center point coordinates and area boundary information of the defect position are calculated based on the pixel scanning result, including: Performing pixel classification screening on the pixel scanning results, marking pixels meeting a preset difference threshold as defective pixels, and generating a defective pixel set; Performing connectivity analysis on the defective pixel set to screen out defective areas that meet connectivity rules; Calculating a minimum circumscribed rectangle of the surface defect area according to pixel distribution of the surface defect area; Calculate the center point coordinates of the defect position based on the geometric center of the minimum circumscribed rectangle; The boundary information of the minimum circumscribed rectangle is obtained to generate the region boundary information of the surface defect region.
[0012] Furthermore, the sensitivity weight of the surface performance of the coating to be tested is quantitatively evaluated in combination with the defects, including: Determine the relative position distribution of the surface defect area in the total area of the coating surface to be tested according to the defect location information, and calculate the area position weight; Based on the defect geometric parameters, a geometric influence factor is calculated, wherein the geometric influence factor includes the influence of the area ratio on the overall integrity and the shape regularity deviation value; The sensitivity weight is calculated by combining the regional position weight and the geometric influence factor, and the sensitivity weight is used to quantify the potential influence of the defect on the coating performance; For each of the surface defect regions, calculating the performance impact value of the single surface defect region according to the sensitivity weight and the geometric impact factor; The performance impact values of all the surface defect areas are cumulatively calculated to generate an overall surface performance impact analysis result.
[0013] Furthermore, the geometric impact factor is calculated, including: Obtaining the area and perimeter of the surface defect region, and calculating the area ratio and boundary complexity of the defect region; Based on the area ratio of the defective area, calculating a shape regularity deviation value of the defective area, wherein the shape regularity deviation value is determined based on a ratio of an actual perimeter of the defective area to a theoretical minimum perimeter; Calculating a boundary complexity coefficient according to the boundary complexity of the surface defect area and based on the detail change frequency and the number of mutation points of the defect boundary; The geometric influence factor is generated by combining the shape regularity deviation value and the boundary complexity coefficient.
[0014] PVC floor surface coating defect detection system, the system comprising: The area scanning module divides the surface of the coating to be tested into areas, obtains area scanning images, and performs image optical compensation on the area scanning images; The defect selection module analyzes the high-dimensional image features of the scanned image of each area, performs difference analysis between the high-dimensional image features and the reference features, and selects the surface defect area; Type judgment module, which establishes a high-dimensional defect feature analysis model, analyzes and generates defect location information and defect geometric parameters, and judges the defect type of the surface defect area based on the defect location information and defect geometric parameters; The performance evaluation module performs quantitative evaluation based on the defect location information and defect geometric parameters, combined with the sensitivity weight of the defect to the surface performance of the coating to be tested, and outputs the overall surface performance impact analysis results.
[0015] Furthermore, the defect selection module includes: A feature decomposition unit performs multi-scale feature decomposition on the area scanned image to extract high-dimensional image features including texture features, edge features and brightness distribution features; The potential marking unit compares the high-dimensional image features with the reference features to train and generate a difference analysis algorithm, calculates the difference index based on the difference analysis algorithm and identifies the potential defect area; A connectivity analysis unit performs regional connectivity analysis on potential defect areas based on benchmark features to generate preliminary surface defect areas; The optimization and adjustment unit makes fine adjustments to the boundaries of the preliminary surface defect area based on the difference analysis algorithm to generate the surface defect area.
[0016] The technical solution of the present invention can achieve the following technical effects: It can achieve high-precision detection of complex defects on the coating surface, and combine the location information and geometric parameters of the defects to quantitatively evaluate the impact of defects on the overall performance of the coating, adapt to defects of different types and distributions, and improve the accuracy and adaptability of detection.
[0017] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 It is a flow chart of a method for detecting defects in the surface coating of PVC floor; Figure 2 A schematic diagram of the process of generating surface defect areas; Figure 3 A schematic diagram of the structure for determining the type of surface defects; Figure 4 Schematic diagram of the structure for quantitative evaluation of the surface sensitivity weight of the coating to be tested. DETAILED DESCRIPTION
[0020] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0022] Embodiment 1; like Figure 1 As shown, the present application provides a method for detecting defects in the surface coating of a PVC floor, the method comprising: Divide the surface of the coating to be tested into regions, obtain regional scanning images, and perform image optical compensation on the regional scanning images; Analyze the high-dimensional image features of the scanned image of each area, perform difference analysis between the high-dimensional image features and the reference features, and select the surface defect area; Establish a high-dimensional defect feature analysis model, analyze and generate defect location information and defect geometric parameters, and determine the defect type of the surface defect area based on the defect location information and defect geometric parameters; According to the defect location information and defect geometric parameters, a quantitative evaluation is performed in combination with the sensitivity weight of the defect to the surface performance of the coating to be tested, and the overall surface performance impact analysis results are output.
[0023] Specifically, the surface of the PVC floor coating to be tested is divided into regions. Specifically, the surface to be tested can be divided into multiple test regions according to a preset grid size to ensure that each region evenly covers the coating surface, and an image of each region is collected by a high-resolution industrial camera or laser scanning equipment to generate a regional scan image. The collected regional scan image is optically compensated. The compensation method includes adjusting the brightness and contrast of the image, eliminating the brightness difference caused by uneven ambient lighting, correcting the color distortion of the image based on the reference color model to ensure the true reflection of the image, and using algorithms such as Gaussian filtering or median filtering to remove background noise or random noise that may exist in the image; the regional scan image after optical compensation is For example, high-dimensional image feature extraction, including geometric features, texture features, color features, etc., is performed on the above features and the reference features (reference features pre-constructed from the normal coating area) for difference analysis, and algorithms such as Euclidean distance or cosine similarity are used to calculate feature differences and select surface defect areas; a high-dimensional defect feature analysis model is constructed, based on a large amount of labeled defect data, and trained through support vector machine (SVM) or deep learning model (such as convolutional neural network CNN), and the defect area selected by the difference analysis is input into the high-dimensional defect feature analysis model to generate defect location information and defect geometric parameters; based on the defect location information and defect geometric parameters, the defect type is classified and judged through the analysis model. For example, bubbles, cracks, uneven coatings, etc.; weights are assigned according to the location of the defect (such as edge or center), and the weight of the edge area is greater than that of the center area. The weight is adjusted according to the defect geometric parameters (such as area, regularity and boundary complexity). The more significant the defect, the higher the weight. Combined with the sensitivity weight and defect geometric parameters of each surface defect area, the performance impact value of a single defect is calculated, and the performance impact values of all defect areas are accumulated to generate the performance impact analysis results of the overall coating surface, and output the quantitative evaluation value of the coating performance.
[0024] Through the technical solution of the present invention, high-precision detection of complex defects on the coating surface can be achieved, and the impact of defects on the overall performance of the coating can be quantitatively evaluated by combining defect location information and geometric parameters, adapting to defects of different types and distributions, and improving detection accuracy and adaptability.
[0025] Further, if Figure 2 As shown, select the surface defect areas, including: Perform multi-scale feature decomposition on the area scan image to extract high-dimensional image features including texture features, edge features and brightness distribution features; Compare the high-dimensional image features with the benchmark features and train them to generate a difference analysis algorithm, calculate the difference index based on the difference analysis algorithm and identify potential defect areas; Perform regional connectivity analysis on potential defect areas based on benchmark features to generate preliminary surface defect areas; The boundary of the preliminary surface defect area is finely adjusted based on the difference analysis algorithm to generate the surface defect area.
[0026] As a preferred embodiment of the above embodiment, multi-scale feature decomposition is performed on the regional scan image to extract high-dimensional image features, including texture features, edge features and brightness distribution features. The image is decomposed by wavelet transform or Gaussian pyramid to obtain frequency components of different resolutions. The grayscale co-occurrence matrix is used to extract information such as texture direction, consistency and contrast. The Canny edge detection or Sobel operator is used to extract the gradient direction and intensity distribution of the edge. At the same time, the brightness abnormality area is identified through the brightness histogram and distribution curve, so as to comprehensively obtain the surface characteristics of the coating; the extracted high-dimensional image features are compared with the benchmark features to generate a difference analysis algorithm. The benchmark features are constructed by the defect-free coating surface image, including texture, edge and brightness characteristics. The comparison training is performed by a supervised learning method (such as a support vector machine or a random forest). The difference analysis algorithm is used to calculate the difference index of the features. (such as Euclidean distance or cosine similarity), use thresholds to screen out image areas with significant differences, preliminarily identify potential defect areas, and further improve regional integrity through regional merging; perform regional connectivity analysis on potential defect areas, use 4-neighborhood or 8-neighborhood connectivity algorithms to screen out pixel groups that meet connectivity rules, eliminate pseudo-defect areas with too small an area or irregular shapes, generate preliminary surface defect areas, and eliminate noise interference through connectivity analysis; based on the difference analysis algorithm, fine-tune the boundaries of the preliminary surface defect areas, use active contour models or improved edge detection methods to extract the boundaries of the defect areas, and combine the comparison results of high-dimensional image features with benchmark features to smooth or locally correct the boundaries, optimize boundary accuracy, and finally superimpose the optimized defect areas with the original image for confirmation to ensure the boundary clarity and accuracy of the detection results.
[0027] Furthermore, regional connectivity analysis of potential defect areas is performed based on the benchmark features, including: The neighborhood connectivity of the pixels in the potential defect area is calculated based on the pixel gray value and geometric structure continuity, and the defective pixel groups that meet the connectivity are screened out; Perform cluster analysis on the defective pixel groups and further group them to generate multiple connected sub-regions and calculate the texture consistency of the connected sub-regions; Connectivity analysis is performed on the morphological parameters of the connected sub-regions, and pseudo-defect regions with texture consistency lower than the set value are eliminated based on the benchmark feature comparison; Based on the results of the connectivity analysis, a preliminary surface defect region is generated.
[0028] As a preferred embodiment of the above embodiment, the neighborhood connectivity calculation is performed on the pixels in the potential defect area, and the pixel group that meets the connectivity rule is screened out through grayscale value and geometric structure continuity analysis. The specific method includes calculating the grayscale difference between the pixel and the surrounding pixels, setting a threshold to determine whether they belong to the same area, and using a 4-neighborhood or 8-neighborhood algorithm to further analyze the spatial connection relationship of the pixels to ensure the geometric continuity of the area; clustering analysis and grouping are performed on the screened defective pixel group to generate multiple connected sub-regions, and their texture consistency is calculated. The defective pixel group is divided into several connected sub-regions through a density clustering algorithm or a distance-based K-means algorithm to ensure that each region is complete and independent in space. , extract the texture features (such as direction, contrast and consistency) of each connected sub-region, and calculate the texture consistency value by counting the internal pixel gradient changes to quantify the texture characteristics of each sub-region; further perform morphological parameter analysis on the generated connected sub-regions, and remove pseudo-defect regions with low texture consistency in combination with the benchmark features, extract morphological parameters such as the area, perimeter, shape regularity and boundary complexity of the sub-regions, compare the morphological parameters with the normal region parameters in the benchmark features, and remove regions with large deviations from the benchmark features. According to the texture consistency threshold, remove regions with consistency lower than the set value, thereby removing pseudo-defects; according to the results of the connectivity analysis, integrate the screened connected sub-regions to generate preliminary surface defect regions.
[0029] Specifically, the texture consistency of the connected sub-regions is calculated, including: Analyze the connected sub-regions and obtain the texture direction characteristics and texture frequency characteristics of the connected sub-regions; The consistency of texture direction inside the quantified connected sub-region is calculated based on texture direction features to generate the direction standard deviation; The complexity of texture details in connected sub-regions is calculated based on texture frequency characteristics, and the texture spectrum distribution deviation is generated; The directional standard deviation and texture spectrum distribution deviation are weighted and comprehensively calculated to generate the texture consistency of the connected sub-regions.
[0030] As a preferred embodiment of the above embodiment, texture directional features and texture frequency features are extracted from the connected sub-region. The texture directional features calculate the texture directional distribution through the gray level co-occurrence matrix (GLCM), and use the Sobel operator or the histogram of directional gradients (HOG) to analyze the directionality of the edge in the region. The texture frequency features analyze the frequency distribution of the region through the fast Fourier transform (FFT) or wavelet transform, and extract the high-frequency and low-frequency energy proportions of the texture as the core indicator of the frequency feature; based on the extracted texture directional features, the directional consistency inside the connected sub-region is calculated, and the directional gradient value of each pixel is counted to calculate the distribution of the directional gradient in the region and generate the directional standard deviation. The directional standard deviation reflects the The consistency of texture direction, the smaller the standard deviation, the more consistent the texture direction, and vice versa; the complexity of texture details in the connected sub-region is calculated based on the texture frequency characteristics, and the frequency distribution diagram of the connected sub-region is obtained through frequency domain conversion, the center value and energy distribution curve of the spectrum are analyzed, and the deviation value of the spectrum distribution from the reference spectrum is calculated; the direction standard deviation and the texture spectrum distribution deviation are weighted and integrated to generate the texture consistency value of the connected sub-region, and the direction consistency and spectrum deviation are unified to the same dimensional range through normalization processing, and the linear weighted model is used to comprehensively calculate the consistency value. The importance of direction consistency and spectrum consistency can be flexibly adjusted through weight factors, and finally the texture consistency of the connected sub-region is output.
[0031] Further, if Figure 3 As shown, the defect types of the surface defect area are judged, including: Generate a high-dimensional defect feature analysis model based on high-dimensional image features and benchmark feature training; Scan the surface defect area pixel by pixel to generate pixel scanning results; Calculate the center point coordinates and area boundary information of the defect position based on the pixel scanning results to generate defect location information; According to the pixel scanning results and defect location information, the area, perimeter and shape regularity of the defect are calculated to generate the defect geometric parameters; The defect location information and defect geometric parameters are associated based on the high-dimensional defect feature analysis model to determine the defect type of the surface defect area.
[0032] As a preferred embodiment of the above-mentioned embodiment, a classification model is constructed based on high-dimensional image features and reference features through training of a high-dimensional defect feature analysis model, texture features (such as direction, consistency), geometric features (such as area, shape) and brightness features are extracted from the defect-free coating area to generate a reference feature library, and the high-dimensional image features of the samples are extracted in combination with the labeled defect sample data (such as bubbles, cracks, uneven coatings, etc.), and a classification algorithm (such as a support vector machine or a convolutional neural network) is used for training to generate a high-dimensional defect feature analysis model; the surface defect area is scanned pixel by pixel, the pixel scanning results are extracted and defect location information is generated, the grayscale value, position coordinates and neighborhood connectivity information of each pixel point in the defect area are scanned pixel by pixel to form a pixel scanning matrix, and the centroid coordinates of the defect area are calculated as the center point position based on the pixel distribution, and the defect location information is generated through edge detection. The measurement algorithm (such as Canny or Sobel operator) extracts the boundary contour information and fully describes the spatial positioning characteristics of the defect area; based on the pixel scanning results and defect positioning information, the defect geometric parameters are further calculated, the area of the defect area is calculated by counting the total number of pixels in the defect area, the perimeter is calculated using the boundary contour information, and the regularity of the defect shape is calculated by the ratio of the area to the perimeter. The regularity index can reflect the deviation of the defect shape from the ideal geometric shape; the defect type is classified through a high-dimensional defect feature analysis model, the defect positioning information (center point coordinates, boundary contour) and geometric parameters (area, perimeter, regularity) are associated to generate a complete defect feature vector, the feature vector is input into the classification model, and the defect is identified in combination with the feature classification rules generated by training, and finally the defect type label (such as bubbles, cracks, uneven coating, etc.) is output.
[0033] Furthermore, the center point coordinates and area boundary information of the defect location are calculated based on the pixel scanning results, including: Perform pixel classification screening on the pixel scanning results, mark pixels that meet the preset difference threshold as defective pixels, and generate a defective pixel set; Perform connectivity analysis on the defective pixel set and filter out defective areas that meet the connectivity rules; According to the pixel distribution of the surface defect area, the minimum circumscribed rectangle of the surface defect area is calculated; Calculate the center point coordinates of the defect location based on the geometric center of the minimum circumscribed rectangle; The boundary information of the minimum circumscribed rectangle is obtained to generate the regional boundary information of the surface defect area.
[0034] As a preferred embodiment of the above, a defective pixel set is extracted from the pixel scanning result through pixel classification screening. The specific method is to set a grayscale difference threshold based on the benchmark feature of the defect-free area, compare the grayscale value in the scanning result pixel by pixel, mark the pixels exceeding the threshold as defective pixels, and gather all the marked defective pixels to form a defective pixel set. The defective pixel set is processed by connectivity analysis, and the spatial connection relationship between pixel points is judged by using the 4-neighborhood or 8-neighborhood rule, and a pixel group with coherence is screened out as a defective area, and the area and shape characteristics of the area are counted to eliminate pseudo defects with too small an area or abnormal shape; based on the defective area generated by the connectivity analysis, its minimum circumscribed rectangle is further calculated, and the defective pixel set is obtained from Boundary pixel points are extracted from the defect area to form a set of boundary points. The minimum bounding box algorithm is used to calculate the minimum enclosing rectangle covering all boundary points, and the vertex coordinates and side length information of the rectangle are output. The coordinates of the center point of the defect position are calculated based on the minimum enclosing rectangle. Through the vertex coordinates of the enclosing rectangle, its geometric center is calculated as the center point of the defect area, specifically the midpoint position of the left and right boundaries and the upper and lower boundaries of the rectangle, to clarify the position of the defect on the coating surface; the regional boundary information of the defect is generated using the minimum enclosing rectangle, the vertex coordinates, side length and angle information of the rectangle are extracted, and these data are stored as the regional boundary information of the defect area. The regional boundary information can be superimposed on the original image for visualization, intuitively showing the shape and position of the defect.
[0035] Further, if Figure 4 As shown, the sensitivity weight of the defects on the surface performance of the coating to be tested is quantitatively evaluated, including: According to the defect location information, the relative position distribution of the surface defect area in the total area of the coating surface to be tested is determined, and the regional position weight is calculated; Based on the defect geometric parameters, the geometric influence factor is calculated, which includes the influence of the area ratio on the overall integrity and the shape regularity deviation value; The sensitivity weight is calculated by combining the regional position weight and geometric influence factor. The sensitivity weight is used to quantify the potential impact of defects on coating performance. For each surface defect area, the performance impact value of a single surface defect area is calculated based on the sensitivity weight and the geometric impact factor; The performance impact values of all surface defect areas are cumulatively calculated to generate the overall surface performance impact analysis results.
[0036] As a preferred embodiment of the above embodiment, the relative position distribution of the surface defect area in the total surface area of the coating is calculated through the defect positioning information, and the regional position weight is assigned, that is, based on the coordinates of the center point of the defect, it is mapped to the global coordinate system of the coating, and the weight is assigned according to the importance of the position. For example, the edge area is more sensitive to the coating performance, so the weight is higher, while the center area has a lower weight. The calculated regional position weight is used to quantify the influence of the position on the coating performance and provide an important basis for defect analysis; the geometric influence factor is calculated based on the geometric parameters of the defect, and the coverage of the defect on the integrity of the coating is directly reflected by the statistical ratio of the defect area to the total area of the coating. The abnormality of the defect shape is quantified by the shape regularity deviation value. The regularity deviation value is calculated based on the ratio of the area to the perimeter. The larger the deviation, the more irregular the defect shape. , the geometric influence factor is generated by combining the area ratio and regularity deviation value to further reflect the influence of geometric characteristics on performance; the sensitivity weight of the defect is calculated by combining the regional position weight and the geometric influence factor, and the position weight and the geometric influence factor are combined through a weighted formula. The weight factor can adjust the relative importance of the position and geometric characteristics according to the application scenario. The sensitivity weight is normalized to represent the potential influence of the defect area on the coating performance; based on the sensitivity weight and the geometric influence factor, the performance impact value of each defect area is calculated. The performance impact value is the weighted product of the two, and the performance impact metric of a single defect area is generated. The performance impact values of all surface defect areas are cumulatively added to generate the performance impact analysis results of the overall coating surface. The results are output in numerical or graphical form to intuitively show the degree to which the coating surface performance is affected.
[0037] Further, the geometric impact factor is calculated, including: Obtain the area and perimeter of the surface defect area, and calculate the defect area ratio and boundary complexity; Based on the area ratio of the defect area, the shape regularity deviation value of the defect area is calculated, and the shape regularity deviation value is determined based on the ratio of the actual perimeter of the defect area to the theoretical minimum perimeter; According to the boundary complexity of the surface defect area, the boundary complexity coefficient is calculated based on the detail change frequency and the number of mutation points of the defect boundary; The geometric influence factor is generated by combining the shape regularity deviation value and the boundary complexity coefficient.
[0038] As a preferred embodiment of the above embodiment, the area and perimeter of the defective area are calculated to obtain its basic geometric parameters and evaluate the regional characteristics, that is, the number of pixels in the defective area is counted and the ratio is calculated to the total area of the coating to obtain the area ratio of the defective area, which is used to reflect the impact of the defect on the integrity of the coating; the boundary pixels of the defective area are extracted, and the changes in boundary details are analyzed, including the frequency of detail changes and the number of mutation points, to quantify the complexity of the boundary. The boundary complexity coefficient is calculated by the ratio of the detail change frequency and the number of mutation points to the total length or number of points of the boundary to comprehensively evaluate the complexity of the boundary; based on the area ratio and perimeter information, the shape regularity deviation value of the defect area is calculated to quantify the regularity of the defect shape. The defect is assumed to be an ideal circle through the area, and its theoretical minimum perimeter is calculated and compared with the actual perimeter. The larger the deviation value, the more irregular the defect shape. At the same time, the detail change frequency and the number of mutation points of the defect boundary are combined to further quantify the complexity of the boundary. The detail change frequency reflects the continuous change of the boundary line, and the number of mutation points captures the points on the boundary that change sharply, which are comprehensively used to calculate the boundary complexity coefficient; through normalization and weighted processing, the shape regularity deviation value and the boundary complexity coefficient are combined to generate a geometric influence factor. Normalization ensures that the two dimensions are consistent. Weighted synthesis adjusts the influence ratio of regularity and complexity according to actual detection needs, and finally generates key indicators reflecting the influence of defect geometric characteristics on coating performance. The geometric influence factor comprehensively quantifies the defect shape and boundary characteristics.
[0039] Embodiment 2: Based on the same inventive concept as the PVC floor surface coating defect detection method in the aforementioned embodiment, the present invention also provides a PVC floor surface coating defect detection system, the system comprising: The area scanning module divides the surface of the coating to be tested into areas, obtains area scanning images, and performs image optical compensation on the area scanning images; The defect selection module analyzes the high-dimensional image features of the scanned image of each area, performs difference analysis between the high-dimensional image features and the reference features, and selects the surface defect area; Type judgment module, which establishes a high-dimensional defect feature analysis model, analyzes and generates defect location information and defect geometric parameters, and judges the defect type of the surface defect area based on the defect location information and defect geometric parameters; The performance evaluation module performs quantitative evaluation based on the defect location information and defect geometric parameters, combined with the sensitivity weight of the defect to the surface performance of the coating to be tested, and outputs the overall surface performance impact analysis results.
[0040] The above-mentioned adjustment system in the present invention can effectively implement the method for detecting defects in the surface coating of PVC floor, and the technical effects that can be achieved are as described in the above-mentioned embodiments, which will not be repeated here.
[0041] More specifically, the defect selection module includes: A feature decomposition unit performs multi-scale feature decomposition on the area scanned image to extract high-dimensional image features including texture features, edge features and brightness distribution features; The potential marking unit compares the high-dimensional image features with the reference features to train and generate a difference analysis algorithm, calculates the difference index based on the difference analysis algorithm and identifies the potential defect area; A connectivity analysis unit performs regional connectivity analysis on potential defect areas based on benchmark features to generate preliminary surface defect areas; The optimization and adjustment unit makes fine adjustments to the boundaries of the preliminary surface defect area based on the difference analysis algorithm to generate the surface defect area.
[0042] Similarly, the above-mentioned optimization schemes for the system can also respectively achieve the optimization effects corresponding to the method in Example 1, which will not be repeated here.
[0043] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present application as defined therein, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application is intended to include these modifications and variations.
Claims
1. A method for detecting defects in the surface coating of a PVC floor, characterized in that: The method comprises: Dividing the surface of the coating to be tested into regions, acquiring a regional scanning image, and performing image optical compensation on the regional scanning image; Analyze the high-dimensional image features of each of the area scanned images, perform difference analysis between the high-dimensional image features and the reference features, and select the surface defect area; Establishing a high-dimensional defect feature analysis model, analyzing and generating defect location information and defect geometric parameters, and determining the defect type of the surface defect area according to the defect location information and the defect geometric parameters; According to the defect location information and the defect geometric parameters, a quantitative evaluation is performed in combination with the sensitivity weight of the defect to the surface performance of the coating to be tested, and an overall surface performance impact analysis result is output.
2. The method for detecting defects in the surface coating of PVC floor according to claim 1, characterized in that: Select surface defect areas, including: Performing multi-scale feature decomposition on the area scanned image to extract the high-dimensional image features including texture features, edge features and brightness distribution features; Comparing the high-dimensional image features with the reference features, training and generating a difference analysis algorithm, calculating a difference index based on the difference analysis algorithm and identifying potential defect areas; Performing a regional connectivity analysis on the potential defect region based on the reference features to generate a preliminary surface defect region; The boundary of the preliminary surface defect region is finely adjusted based on the difference analysis algorithm to generate the surface defect region.
3. The method for detecting defects in the surface coating of PVC floor according to claim 2, characterized in that: Performing a regional connectivity analysis on the potential defect region based on the benchmark features includes: Performing neighborhood connectivity calculation on the pixels in the potential defect area based on the pixel grayscale value and geometric structure continuity, and screening out defective pixel groups that meet the connectivity; Performing cluster analysis on the defective pixel group and further grouping them to generate a plurality of connected sub-regions and calculating the texture consistency of the connected sub-regions; Performing connectivity analysis on the morphological parameters of the connected sub-regions, and eliminating pseudo-defect regions where the texture consistency is lower than a set value based on the reference feature comparison; According to the results of the connectivity analysis, a preliminary surface defect region is generated.
4. The method for detecting defects in the surface coating of PVC floor according to claim 3, characterized in that: Calculating the texture consistency of the connected sub-regions includes: Analyzing the connected sub-regions and obtaining texture direction features and texture frequency features of the connected sub-regions; Calculating and quantifying the consistency of the texture direction inside the connected sub-region based on the texture direction feature to generate a direction standard deviation; Calculating the complexity of texture details of the connected sub-region based on the texture frequency feature, and generating a texture frequency spectrum distribution deviation; The directional standard deviation and the texture spectrum distribution deviation are weighted and comprehensively calculated to comprehensively generate the texture consistency of the connected sub-region.
5. The method for detecting defects in the surface coating of PVC floor according to claim 1, characterized in that: Determining the defect type of the surface defect area includes: Generating the high-dimensional defect feature analysis model according to the high-dimensional image features and the reference feature training; Scanning the surface defect area pixel by pixel to generate a pixel scanning result; Calculate the center point coordinates and area boundary information of the defect position based on the pixel scanning result to generate the defect location information; Calculating the area, perimeter and shape regularity of the defect according to the pixel scanning result and the defect location information, and generating the defect geometric parameters; The defect location information and the defect geometric parameters are associated with each other based on the high-dimensional defect feature analysis model to determine the defect type of the surface defect area.
6. The method for detecting defects in the surface coating of PVC floor according to claim 5, characterized in that: Calculating the center point coordinates and area boundary information of the defect position based on the pixel scanning result includes: Performing pixel classification screening on the pixel scanning results, marking pixels meeting a preset difference threshold as defective pixels, and generating a defective pixel set; Performing connectivity analysis on the defective pixel set to screen out defective areas that meet connectivity rules; Calculating a minimum circumscribed rectangle of the surface defect area according to pixel distribution of the surface defect area; Calculate the center point coordinates of the defect position based on the geometric center of the minimum circumscribed rectangle; The boundary information of the minimum circumscribed rectangle is obtained to generate the region boundary information of the surface defect region.
7. The method for detecting defects in the surface coating of PVC floor according to claim 1, characterized in that: The sensitivity weight of the surface performance of the coating to be tested is quantitatively evaluated in combination with defects, including: Determine the relative position distribution of the surface defect area in the total area of the coating surface to be tested according to the defect location information, and calculate the area position weight; Based on the defect geometric parameters, a geometric influence factor is calculated, wherein the geometric influence factor includes the influence of the area ratio on the overall integrity and the shape regularity deviation value; The sensitivity weight is calculated by combining the regional position weight and the geometric influence factor, and the sensitivity weight is used to quantify the potential influence of the defect on the coating performance; For each of the surface defect regions, calculating the performance impact value of the single surface defect region according to the sensitivity weight and the geometric impact factor; The performance impact values of all the surface defect areas are cumulatively calculated to generate an overall surface performance impact analysis result.
8. The method for detecting defects in the surface coating of PVC floor according to claim 7, characterized in that: Calculates geometric impact factors, including: Obtaining the area and perimeter of the surface defect region, and calculating the area ratio and boundary complexity of the defect region; Based on the area ratio of the defective area, calculating a shape regularity deviation value of the defective area, wherein the shape regularity deviation value is determined based on a ratio of an actual perimeter of the defective area to a theoretical minimum perimeter; Calculating a boundary complexity coefficient according to the boundary complexity of the surface defect area and based on the detail change frequency and the number of mutation points of the defect boundary; The geometric influence factor is generated by combining the shape regularity deviation value and the boundary complexity coefficient. 9.PVC floor surface coating defect detection system, characterized in that: The system comprises: The area scanning module divides the surface of the coating to be tested into areas, obtains area scanning images, and performs image optical compensation on the area scanning images; The defect selection module analyzes the high-dimensional image features of the scanned image of each area, performs difference analysis between the high-dimensional image features and the reference features, and selects the surface defect area; Type judgment module, which establishes a high-dimensional defect feature analysis model, analyzes and generates defect location information and defect geometric parameters, and judges the defect type of the surface defect area based on the defect location information and defect geometric parameters; The performance evaluation module performs quantitative evaluation based on the defect location information and defect geometric parameters, combined with the sensitivity weight of the defect to the surface performance of the coating to be tested, and outputs the overall surface performance impact analysis results.
10. The PVC floor surface coating defect detection system according to claim 9, characterized in that: The defect selection module comprises: A feature decomposition unit performs multi-scale feature decomposition on the area scanned image to extract high-dimensional image features including texture features, edge features and brightness distribution features; The potential marking unit compares the high-dimensional image features with the reference features to train and generate a difference analysis algorithm, calculates the difference index based on the difference analysis algorithm and identifies the potential defect area; A connectivity analysis unit performs regional connectivity analysis on potential defect areas based on benchmark features to generate preliminary surface defect areas; The optimization and adjustment unit makes fine adjustments to the boundaries of the preliminary surface defect area based on the difference analysis algorithm to generate the surface defect area.
Citation Information
Patent Citations
Vacuum cup surface defect detection method based on deep learning
CN111462092A
Texture defect detection method and device
CN112132781A
Automobile engine oil way copper bush defect detection method based on computer vision
CN114359270A
Method for detecting spraying defects of noise reduction agent for automotive upholstery based on artificial intelligence
CN118566241A
Part surface defect detection system and method based on machine vision
CN118691585A
Cited By
Intelligent food detection method and system based on image recognition, terminal and medium
CN120431571A
Thin film hologram generation method and generation equipment
CN120469181A
Method and system for detecting and analyzing laminating quality of flexible circuit board
CN120651862A
Furniture spraying quality detection method
CN120672687A
Die cutting defect detection method and system
CN120672726A