A method for testing thermal insulation performance of low-carbon building materials

By calculating the elimination factor and iterative elimination method in the infrared image, after obtaining the target image, the split clustering algorithm of the connected graph is used to detect the thermal insulation performance of low-carbon building materials, which solves the problem of inaccurate detection and calculation in the existing technology. The problem of high cost is achieved, and more accurate and efficient detection is achieved.

CN118351116BActive Publication Date: 2024-09-06ZHEJIANG DESIGN INST OF WATER CONSERVANCY & HYDROELECTRIC POWER +2
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410779002.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-06
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

When the split clustering algorithm based on connected graphs in the prior art divides pixels in infrared images, the detection of thermal insulation performance of low-carbon building materials will be inaccurate and the calculation cost will be high due to too many similar pixels.

Method used

By obtaining the grayscale image of the infrared image, the elimination factor is calculated based on the difference in position and grayscale value between each pixel and the neighboring pixel, and iterative elimination is performed to obtain the target image, and the split clustering algorithm of the connected graph is used to classify the target image. The pixels in the image are divided, the influence factors and detection coefficients are calculated, and then the thermal insulation performance is detected.

Benefits of technology

Effectively remove similar pixels in grayscale images, reduce the amount of calculation, improve detection accuracy, and ensure the accuracy and efficiency of thermal insulation performance detection of low-carbon building materials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118351116B
    Figure CN118351116B
Patent Text Reader

Abstract

The present invention relates to the technical field of image data processing, and in particular to a method for detecting the thermal insulation performance of low-carbon building materials. The method obtains a grayscale image; according to the position and grayscale value difference between a pixel point and a neighboring pixel point, a elimination factor is obtained, and the grayscale image after elimination is determined to be iteratively eliminated. When the ratio of the coefficient of variation of the grayscale image after the nth iteration elimination and the grayscale image after the n-1th iteration elimination meets the iteration termination condition, the grayscale image after the nth iteration elimination is divided as a target image to obtain the influencing factor of the pixel point category; according to the influencing factor and the grayscale value distribution within the pixel point category, the detection coefficient of the thermal insulation performance is obtained, and the thermal insulation performance of the low-carbon building material is detected. The present invention iteratively eliminates the pixels in the grayscale image, so that the obtained pixel point category accurately and efficiently detects the thermal insulation performance of the low-carbon building material.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of image data processing, and in particular to a method for detecting thermal insulation performance of low-carbon building materials. Background Art

[0002] With the development of science and technology and the improvement of people's environmental awareness, low-carbon building materials have emerged. Low-carbon building materials are sustainable and can reduce energy consumption and greenhouse gas emissions, while improving the energy utilization rate and indoor comfort of buildings. Among them, the thermal insulation performance of low-carbon building materials is an important indicator for meeting indoor comfort. Therefore, it is necessary to test the thermal insulation performance of low-carbon building materials to ensure that the thermal insulation performance of low-carbon building materials meets the standards.

[0003] Among them, the method for detecting the thermal insulation performance of low-carbon building materials is usually to process the pixels in the infrared image of the thermal insulation performance detection of low-carbon building materials based on the split clustering algorithm of the connected graph, obtain the pixel category in the infrared image, and detect the thermal insulation performance of low-carbon building materials according to the differences in different pixel categories. However, in actual situations, because there are a large number of similar pixels in the infrared image, the split clustering algorithm based on the connected graph divides the pixels in the infrared image, which will obtain pixel categories with high similarity, resulting in inaccurate detection of the thermal insulation performance of low-carbon building materials and generating a large amount of computational costs. Summary of the invention

[0004] In order to solve the problem that there are a large number of similar pixels in infrared images, the split clustering algorithm based on the connected graph is used to divide the pixels in the infrared images, which will obtain pixel categories with high similarity, resulting in inaccurate detection of the thermal insulation performance of low-carbon building materials. The purpose of the present invention is to provide a method for detecting the thermal insulation performance of low-carbon building materials. The technical solution adopted is as follows:

[0005] The present invention provides a method for detecting the thermal insulation performance of low-carbon building materials, which comprises the following steps:

[0006] Obtaining grayscale images of infrared images for testing thermal insulation performance of low-carbon building materials;

[0007] According to the position and gray value difference between each pixel point in the gray image and each neighboring pixel point in the preset neighborhood, the elimination factor of each pixel point is obtained, and the gray image after elimination is determined based on the elimination factor; the gray image after elimination is iteratively eliminated, and the coefficient of variation of each gray image after elimination is obtained according to the gray value in the gray image after elimination each time; when the ratio of the coefficient of variation of the gray image after elimination in the nth iteration and the gray image after elimination in the n-1th iteration meets the iteration termination condition, the iteration is stopped, and the gray image after elimination in the nth iteration is used as the target image;

[0008] According to the gray value of the pixel points in the target image, the pixel point category in the target image is obtained; according to the elimination factor of each pixel point in each pixel point category in each iteration, the influence factor of each pixel point category is obtained;

[0009] According to the influencing factor of each pixel category and the gray value distribution within each pixel category, the detection coefficient of thermal insulation performance is obtained, and the thermal insulation performance of low-carbon building materials is tested.

[0010] Furthermore, the method for obtaining the elimination factor is:

[0011] For the i-th pixel in the grayscale image after the n-th iteration, according to the distance between the i-th pixel and each corresponding neighboring pixel, and the number of iterations, obtain the distance feature value between the i-th pixel and each corresponding neighboring pixel;

[0012] According to the gray value difference between the ith pixel and each corresponding neighboring pixel, and the number of iterations, the gray feature value of the ith pixel and each corresponding neighboring pixel is obtained;

[0013] According to the distance eigenvalue and grayscale eigenvalue between the ith pixel and each corresponding neighboring pixel, the rejection factor of the ith pixel is obtained.

[0014] Furthermore, the calculation formula of the elimination factor is:

[0015]

[0016]

[0017]

[0018] In the formula, is the elimination factor of the i-th pixel in the grayscale image after the n-th iteration elimination; M is the total number of neighboring pixels in the preset neighborhood of the i-th pixel; is the distance characteristic value between the i-th pixel point and the corresponding m-th neighboring pixel point in the grayscale image after the n-th iteration elimination; is the grayscale eigenvalue of the i-th pixel and the corresponding m-th neighboring pixel in the grayscale image after the n-th iteration elimination; is the Euclidean distance between the i-th pixel point and the corresponding m-th neighboring pixel point in the grayscale image after the n-th iteration elimination; n is the number of iterations; e is a natural constant; is the first preset constant, greater than 0; is the gray value of the i-th pixel in the gray image after the n-th iteration elimination; is the gray value of the mth neighboring pixel of the ith pixel in the gray image after the nth iteration elimination; is the absolute value function.

[0019] Furthermore, the method for determining the grayscale image after elimination based on the elimination factor is:

[0020] The maximum elimination factor in the grayscale image after each elimination is used as the target elimination factor for each elimination;

[0021] The target elimination factor for each elimination is adjusted by the number of iterations corresponding to each elimination, so as to obtain the elimination factor threshold for each elimination; wherein the number of iterations corresponding to each elimination is positively correlated with the elimination factor threshold;

[0022] Pixels whose elimination factors in the grayscale image after each elimination are greater than or equal to the elimination factor threshold of the corresponding elimination are removed to determine the grayscale image after each elimination.

[0023] Furthermore, the iteration termination condition is:

[0024] The ratio of the coefficient of variation of the grayscale image after the nth iteration elimination and the grayscale image after the n-1th iteration elimination is used as the iteration judgment value;

[0025] When the iteration judgment value is less than the preset iteration judgment value threshold, the iteration is stopped.

[0026] Furthermore, the method for obtaining the pixel category is:

[0027] According to the grayscale values ​​of the pixels in the target image, the pixels in the target image are divided by a divisive clustering algorithm based on a connected graph to obtain the pixel categories in the target image.

[0028] Furthermore, the calculation formula of the impact factor is:

[0029]

[0030] In the formula, is the influencing factor of the k-th pixel category; is the total number of pixels in the k-th pixel category; N is the total number of iterations; is the elimination factor of the nth iteration of the tth pixel in the kth pixel category, and e is a natural constant.

[0031] Furthermore, the method for obtaining the detection coefficient is:

[0032] Obtain the mean grayscale value of all pixels in each pixel category as the first mean of the corresponding pixel category;

[0033] The variance of the first mean is adjusted according to the influencing factor of each pixel category to obtain the detection coefficient of thermal insulation performance.

[0034] Furthermore, the calculation formula of the detection coefficient is:

[0035]

[0036] Where, J is the detection coefficient of thermal insulation performance; K is the total number of pixel categories; is the influencing factor of the k-th pixel category; is the first mean of the k-th pixel category; is the mean of the first mean; norm is the normalization function.

[0037] Furthermore, the method for testing the thermal insulation performance of low-carbon building materials is:

[0038] When the detection coefficient of the normalized function is greater than the preset detection coefficient threshold, the thermal insulation performance of the low-carbon building material is poor;

[0039] When the detection coefficient of the normalized function is less than or equal to a preset detection coefficient threshold, the thermal insulation performance of the low-carbon building material is qualified.

[0040] The present invention has the following beneficial effects:

[0041] According to the position and gray value difference between each pixel in the gray image and each neighboring pixel in the preset neighborhood, the elimination factor of each pixel is obtained, the pixel to be eliminated in the gray image is determined, and then the gray image after elimination is determined; in order to accurately and efficiently detect the thermal insulation performance of low-carbon building materials, the gray image after elimination is further iteratively eliminated to remove similar pixels in the gray image, reduce the amount of calculation, and accurately detect the thermal insulation performance of low-carbon building materials; in order to determine when the iterative elimination of the gray image stops, and then the coefficient of variation of the gray image after each elimination is obtained, when the ratio of the coefficient of variation of the gray image after the nth iteration elimination to the gray image after the n-1th iteration elimination meets the iteration termination condition When , the iteration is stopped, and the grayscale image after the nth iteration is eliminated is used as the target image. The most representative pixel points in the grayscale image that can detect the thermal insulation performance of low-carbon building materials are determined to avoid the interference of too many similar pixels on subsequent calculations; further, the target image is divided according to the grayscale values ​​of the pixels, and the pixel categories in the target image are efficiently obtained. In order to reduce the interference of noise pixels, the thermal insulation performance of low-carbon building materials is accurately detected, and then based on the grayscale value distribution in each pixel category and the elimination factor of each pixel in each iteration, the detection coefficient of thermal insulation performance is accurately obtained, which accurately reflects whether the grayscale value distribution of each area in the grayscale image is consistent, and then the thermal insulation performance of low-carbon building materials is accurately determined. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 A schematic flow chart of a method for testing thermal insulation performance of a low-carbon building material provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a method for detecting the thermal insulation performance of a low-carbon building material proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0045] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0046] The specific scheme of the method for detecting the thermal insulation performance of a low-carbon building material provided by the present invention is described in detail below with reference to the accompanying drawings.

[0047] See also Figure 1 , which shows a schematic flow chart of a method for detecting thermal insulation performance of a low-carbon building material provided by an embodiment of the present invention, the method comprising the following steps:

[0048] Step S1: obtaining a grayscale image of an infrared image for detecting thermal insulation performance of low-carbon building materials.

[0049] Specifically, in order to accurately detect the thermal insulation performance of low-carbon building materials, it is first necessary to obtain the detection image information of the low-carbon building materials to be detected. The existing method uses an infrared camera to obtain an infrared image for thermal insulation performance detection of low-carbon building materials. In order to reduce the complexity of subsequent thermal insulation performance detection, the embodiment of the present invention grayscales the infrared image to obtain a grayscale image of the infrared image for thermal insulation performance detection of low-carbon building materials. Among them, the grayscale processing is a well-known technology and will not be described in detail.

[0050] The purpose of the embodiment of the present invention is: when the temperature around the low-carbon building materials is relatively close, the grayscale values ​​of the pixels in the grayscale image are relatively similar. Using the split clustering algorithm based on the connected graph to divide the pixels with similar grayscale values ​​will generate too many connected graphs. The amount of calculation when splitting the connected graphs one by one is too large and the calculation cost is high. At the same time, the similarity of the pixel categories after division is high, resulting in inaccurate detection of the thermal insulation performance of the low-carbon building materials; in order to accurately and efficiently detect the thermal insulation performance of the low-carbon building materials, the embodiment of the present invention iteratively removes the pixels with similar grayscale values ​​in the grayscale image based on the local features of each pixel in the grayscale image, retains some representative pixels, divides the retained pixels by the split clustering algorithm based on the connected graph, efficiently obtains the pixel category, and accurately detects the thermal insulation performance of the low-carbon building materials according to the grayscale value distribution within the pixel category. Among them, the split clustering algorithm based on the connected graph is a well-known technology and will not be described in detail.

[0051] Step S2: according to the position and gray value difference between each pixel in the gray image and each neighborhood pixel in the preset neighborhood, obtain the elimination factor of each pixel, and determine the gray image after elimination based on the elimination factor; iteratively eliminate the gray image after elimination, and obtain the coefficient of variation of each gray image after elimination according to the gray value in the gray image after elimination each time; when the ratio of the coefficient of variation of the gray image after elimination of the nth iteration to the gray image after elimination of the n-1th iteration meets the iteration termination condition, stop the iteration and take the gray image after elimination of the nth iteration as the target image.

[0052] Specifically, when the temperature in the local area of ​​the low-carbon building material is close, the color displayed in the infrared image is close, and the grayscale value is close when converted to the grayscale image. In the grayscale image, when the grayscale value of a certain pixel is similar to that of the surrounding pixels, it means that the temperature distribution of the low-carbon building material area corresponding to the pixel is balanced. At this time, the actual contribution of the pixel to the detection of the thermal insulation performance of the low-carbon building material is not significant. In order to improve the efficiency of the detection of the thermal insulation performance of the low-carbon building material, the pixel can be eliminated. In order to accurately eliminate similar pixels in the grayscale image, the embodiment of the present invention obtains the Euclidean distance and grayscale value difference between each pixel in the grayscale image and each corresponding neighboring pixel. When the Euclidean distance and grayscale value difference between a certain pixel and the corresponding neighboring pixel are smaller, it means that the thermal insulation performance represented by the pixel and the corresponding neighboring pixel is more similar, and the pixel has less reference significance for the detection of the thermal insulation performance of the low-carbon building material, and the possibility of eliminating the pixel is greater. It should be considered that as the pixels in the grayscale image are iteratively eliminated, the Euclidean distance between the pixel and the corresponding neighboring pixel becomes larger and larger. In order to accurately retain the pixels in the grayscale image, the embodiment of the present invention uses the number of iterations to limit the Euclidean distance and grayscale value difference between each pixel and each corresponding neighboring pixel, thereby accurately obtaining the elimination factor of each pixel in the grayscale image after each elimination, and determining the grayscale image after each elimination based on the elimination factor. Among them, the grayscale image eliminated for the first time is used as the grayscale image after the first iterative elimination. According to the grayscale value of each pixel in the grayscale image after each elimination, the coefficient of variation of the grayscale image after each elimination is obtained. Among them, the method for obtaining the coefficient of variation is a prior art and will not be described in detail. Obtain the ratio of the coefficient of variation of the grayscale image after each iteration and the grayscale image after the previous iteration. When the ratio meets the iteration termination condition, stop the iteration and use the grayscale image corresponding to this time as the target image. The pixel points in the target image are the most representative reference pixel points representing the thermal insulation performance, which is convenient for the subsequent accurate and efficient analysis of the thermal insulation performance of low-carbon building materials. The specific method of obtaining the target image is as follows:

[0053] (1) Obtain the elimination factor.

[0054] Preferably, the method for obtaining the elimination factor is: for the i-th pixel in the grayscale image after the n-th iteration elimination, according to the Euclidean distance between the i-th pixel and each corresponding neighboring pixel, and the number of iterations, obtain the distance characteristic value between the i-th pixel and each corresponding neighboring pixel. In the embodiment of the present invention, the 8 pixels closest to the Euclidean distance of each pixel in the grayscale image are used as the neighboring pixels of each pixel in the grayscale image, and the area formed by each pixel and the corresponding neighboring pixel is used as the preset neighborhood of each pixel. The implementer can set the size of the preset neighborhood according to the actual situation, which is not limited here. Among them, the method for obtaining the Euclidean distance is a well-known technology and will not be repeated. As the number of iterations increases, the Euclidean distance between the i-th pixel and the corresponding neighboring pixel becomes larger. In order to avoid the influence of the excessive Euclidean distance on the similarity between the i-th pixel and the corresponding neighboring pixel, the Euclidean distance between the i-th pixel and the corresponding neighboring pixel is corrected by the number of iterations. The smaller the Euclidean distance between the i-th pixel and the corresponding neighboring pixel, the greater the possibility that the i-th pixel is similar to the corresponding neighboring pixel, the larger the corresponding distance eigenvalue, and the greater the possibility that the i-th pixel is eliminated. In order to more accurately analyze whether the pixel is to be eliminated, the grayscale feature value of the i-th pixel and each corresponding neighboring pixel is obtained according to the grayscale value difference between the i-th pixel and each corresponding neighboring pixel, and the number of iterations; when the grayscale value difference between the i-th pixel and the corresponding neighboring pixel is greater, it means that the i-th pixel is less similar to the surrounding pixels, and the i-th pixel needs to be retained more. As the number of iterations increases, the distance between the i-th pixel and the corresponding neighboring pixel becomes larger and larger, and the grayscale value difference between the i-th pixel and the corresponding neighboring pixel becomes larger and larger. In order to prevent the difference from being too large, resulting in excessive subsequent calculations, the grayscale value difference between the i-th pixel and the corresponding neighboring pixel is reduced by using the number of iterations, so that the larger grayscale value difference between the i-th pixel and the corresponding neighboring pixel is reduced, and the smaller grayscale value difference between the i-th pixel and the corresponding neighboring pixel is further reduced, thereby accurately distinguishing the eliminated pixel and the reference pixel. When the grayscale eigenvalue is smaller, it means that the grayscale value difference between the i-th pixel and the corresponding neighboring pixel is smaller, the i-th pixel is more similar to the neighboring pixel, and the i-th pixel is more likely to be eliminated. Then, according to the distance eigenvalue and grayscale eigenvalue between the i-th pixel and each corresponding neighboring pixel, the elimination factor of the i-th pixel is obtained. Among them, the larger the elimination factor, the greater the possibility of the i-th pixel to be eliminated.

[0055] As an example, taking the i-th pixel in the grayscale image after the n-th iteration of culling as an example, the calculation formula for obtaining the culling factor of the i-th pixel is:

[0056]

[0057]

[0058]

[0059] In the formula, is the elimination factor of the i-th pixel in the grayscale image after the n-th iteration elimination; M is the total number of neighboring pixels in the preset neighborhood of the i-th pixel; is the distance characteristic value between the i-th pixel point and the corresponding m-th neighboring pixel point in the grayscale image after the n-th iteration elimination; is the grayscale eigenvalue of the i-th pixel and the corresponding m-th neighboring pixel in the grayscale image after the n-th iteration elimination; is the Euclidean distance between the i-th pixel point and the corresponding m-th neighboring pixel point in the grayscale image after the n-th iteration elimination; n is the number of iterations; e is a natural constant; is the first preset constant, greater than 0; is the gray value of the i-th pixel in the gray image after the n-th iteration elimination; is the gray value of the mth neighboring pixel of the ith pixel in the gray image after the nth iteration elimination; is the absolute value function.

[0060] The embodiment of the present invention will Set to 2 to avoid the distance feature value being too small. The implementer can set it according to the actual situation. The size is not limited here.

[0061] It should be noted that as the number of iterations increases, The larger the value, the more pixels that need to be removed can be identified. Will To reduce, increase The degree of tolerance, The larger it is, the larger the Euclidean distance between the i-th pixel and the corresponding m-th neighboring pixel is. The smaller, The bigger, The smaller, The smaller it is, the less likely the i-th pixel is to be eliminated. The smaller the gray value difference between the ith pixel and the corresponding mth neighboring pixel is, the ... Make Nonlinear changes, The larger the value, the greater the difference between the i-th pixel and the corresponding m-th neighboring pixel. The larger it is, the less likely the i-th pixel is to be eliminated. The smaller, The smaller; therefore, The smaller it is, the less likely the i-th pixel is to be eliminated, and the more likely the i-th pixel is to be a reference pixel.

[0062] According to the method of obtaining the elimination factor of the i-th pixel point in the grayscale image after the n-th iterative elimination, the elimination factor of each pixel point in the grayscale image after each elimination is obtained.

[0063] (2) Obtain the target image.

[0064] The reason for continuously eliminating pixels in the grayscale image through iteration is to screen out reference pixels in the grayscale image and accurately analyze the thermal insulation performance of low-carbon building materials based on the reference pixels. In order to determine the final reference pixels, it is necessary to first determine the grayscale image after each iterative elimination, and then the embodiment of the present invention uses the maximum elimination factor in the grayscale image after each elimination as the target elimination factor for each elimination; adjust the target elimination factor for each elimination by the number of iterations corresponding to each elimination, and obtain the elimination factor threshold for each elimination; wherein, the number of iterations corresponding to each elimination is positively correlated with the elimination factor threshold; remove the pixels in the grayscale image after each elimination whose elimination factor is greater than or equal to the elimination factor threshold of the corresponding elimination, and determine the grayscale image after each elimination.

[0065] As an example, taking the nth iteration as an example, the elimination factor of each pixel in the grayscale image after the nth iteration elimination is obtained, and the maximum elimination factor is used as the target elimination factor of the nth iteration elimination. The elimination factor threshold of the nth iteration elimination is obtained through the target elimination factor of the nth iteration elimination and the number of iterations n. Among them, the setting method of the elimination factor threshold of the embodiment of the present invention is nonlinear. Specifically, as the number of iterations increases, the number of pixels eliminated in the grayscale image increases, and the number of retained pixels decreases. In order to prevent overfitting, the corresponding elimination factor threshold should increase slower to ensure that there are enough pixels for subsequent analysis and processing. Therefore, the calculation formula for obtaining the elimination factor threshold of the nth iteration is:

[0066]

[0067] In the formula, is the rejection factor threshold for the nth iteration; is the number of iterations; is the elimination factor of the i-th pixel in the grayscale image after the n-th iteration elimination; max is the maximum value function.

[0068] It should be noted that the larger n is, The smaller, The bigger, Participate in acquisition The larger the proportion of The larger the The larger it is, the fewer pixels are eliminated in the nth iteration.

[0069] Pixels whose elimination factors in the grayscale image after the nth iteration elimination are greater than or equal to the elimination factor threshold of the nth iteration elimination are removed to determine the grayscale image after the nth iteration elimination.

[0070] According to the method for obtaining the grayscale image after elimination at the nth iteration, the grayscale image after elimination at each iteration is obtained.

[0071] In order to determine the final reference pixel point and then obtain the coefficient of variation of the grayscale image after each elimination, the ratio of the coefficient of variation of the grayscale image after the nth iteration elimination and the grayscale image after the n-1th iteration elimination is used as the iteration judgment value. In the embodiment of the present invention, the preset iteration judgment value threshold is set to 0.1. The implementer can set the size of the preset iteration judgment value threshold according to the actual situation, which is not limited here. When the iteration judgment value is greater than or equal to the preset iteration judgment value threshold, it means that the grayscale value distribution in the grayscale image after the nth iteration elimination and the grayscale image after the n-1th iteration elimination is more different, which indirectly indicates that the number of pixels eliminated in the grayscale image after the nth iteration elimination is more. At this time, the grayscale image after the nth iteration elimination continues to be iteratively eliminated. When the iteration judgment value is less than the preset iteration judgment value threshold, it means that the grayscale image after the nth iteration elimination has a similar grayscale value distribution to the grayscale image after the n-1th iteration elimination. Further iteration will only reduce the number of pixels, and will not improve the thermal insulation performance of low-carbon building materials. At this time, the iteration is stopped and the grayscale image after the nth iteration elimination is used as the target image. At this point, the grayscale image after the final iteration elimination is determined to be the target image, and the pixels in the target image are the reference pixels.

[0072] Step S3: dividing the target image according to its grayscale value to obtain the pixel category in the target image; obtaining the influence factor of each pixel category according to the elimination factor of each pixel in each pixel category in each iteration.

[0073] Specifically, according to the gray value of the pixel in the target image, the pixel in the target image is divided by the split clustering algorithm based on the connected graph, and the interference of the pixel with similar gray value on the pixel division of the target image by the split clustering algorithm based on the connected graph is reduced, so as to accurately and efficiently obtain the pixel category in the target image. The elimination factor of each pixel in each pixel category is different, and the elimination factor indicates the similarity between the gray value of each pixel and the neighboring pixel under the limit of distance and number of iterations. The larger the elimination factor, the more similar the corresponding pixel is to the neighboring pixel in the corresponding iteration process, which indirectly indicates that the corresponding pixel has less reference significance for detecting the thermal insulation performance of low-carbon building materials. Therefore, the embodiment of the present invention obtains the influence factor of each pixel category by eliminating the corresponding elimination factor in each iterative elimination process for all pixels in each pixel category. Among them, the larger the influence factor, the smaller the similarity between the pixel in the corresponding pixel category and the neighboring pixel in each iterative elimination process, which is more conducive to accurately detecting the thermal insulation performance of low-carbon building materials.

[0074] As an example, taking the k-th pixel point category as an example, the calculation formula for obtaining the influence factor of the k-th pixel point category is:

[0075]

[0076] In the formula, is the influencing factor of the k-th pixel category; is the total number of pixels in the k-th pixel category; N is the total number of iterations; is the elimination factor of the nth iteration of the tth pixel in the kth pixel category, and e is a natural constant.

[0077] It needs to be explained that The larger the value, the more similar the t-th pixel in the k-th pixel category is to the neighboring pixels at the n-th iteration, and the smaller the impact on the thermal insulation performance of low-carbon building materials. The smaller, The smaller; therefore, The smaller it is, the smaller the influence of the pixels in the k-th pixel category on the thermal insulation performance of low-carbon building materials.

[0078] According to the method for obtaining the influence factor of the k-th pixel point category, the influence factor of each pixel point category is obtained.

[0079] Step S4: According to the influencing factor of each pixel point category and the gray value distribution within each pixel point category, the detection coefficient of thermal insulation performance is obtained to detect the thermal insulation performance of the low-carbon building materials.

[0080] Specifically, when the grayscale value distribution in the pixel point category is more similar, it means that the grayscale value distribution in the grayscale image is more similar, which indirectly indicates that the thermal insulation effect on the low-carbon building material is more consistent. At the same time, the influencing factor of each pixel point category considered can reflect the influence of the pixels in each pixel point category on the detection of the thermal insulation performance of the low-carbon building material. Therefore, the embodiment of the present invention obtains the detection coefficient of the thermal insulation performance according to the influencing factor of each pixel point category and the grayscale value distribution within each pixel point category.

[0081] Preferably, the method for obtaining the detection coefficient is: obtain the mean grayscale value of all pixels in each pixel category as the first mean of the corresponding pixel category; adjust the variance of the first mean according to the influencing factor of each pixel category to avoid interference from noise pixels, and obtain the detection coefficient of thermal insulation performance.

[0082] As an example, the calculation formula for obtaining the detection coefficient of thermal insulation performance is:

[0083]

[0084] Where, J is the detection coefficient of thermal insulation performance; K is the total number of pixel categories; is the influencing factor of the k-th pixel category; is the first mean of the k-th pixel category; is the mean of the first mean; norm is the normalization function.

[0085] It needs to be explained that The larger the value is, the greater the influence of the pixels in the k-th pixel category on the thermal insulation performance of low-carbon building materials. The greater the proportion of participating in obtaining J. Among them, the larger the J, the more uneven the distribution of gray values ​​in different pixel categories, and the more unstable the thermal insulation performance of low-carbon building materials.

[0086] In order to determine the thermal insulation performance of low-carbon building materials, the embodiment of the present invention sets the preset detection coefficient threshold value to 0.5. The implementer can set the preset detection coefficient threshold value according to the actual situation, which is not limited here. When the detection coefficient of the normalized function is greater than the preset detection coefficient threshold value, it means that the thermal insulation performance of the low-carbon building materials is inconsistent and the thermal insulation performance of the low-carbon building materials is poor; when the detection coefficient of the normalized function is less than or equal to the preset detection coefficient threshold value, it means that the thermal insulation performance of the low-carbon building materials is evenly distributed and the thermal insulation performance of the low-carbon building materials is qualified. At this point, the thermal insulation performance of the low-carbon building materials is accurately detected.

[0087] So far, the present invention is completed.

[0088] In summary, the embodiment of the present invention obtains a grayscale image; according to the position and grayscale value difference between the pixel point and the neighboring pixel points, a elimination factor is obtained, and the grayscale image after elimination is determined to be iteratively eliminated. When the ratio of the coefficient of variation of the grayscale image after the nth iteration elimination and the grayscale image after the n-1th iteration elimination meets the iteration termination condition, the grayscale image after the nth iteration elimination is divided as the target image to obtain the influencing factor of the pixel point category; according to the influencing factor and the grayscale value distribution within the pixel point category, the detection coefficient of thermal insulation performance is obtained, and the thermal insulation performance of the low-carbon building materials is tested. The present invention iteratively eliminates the pixels in the grayscale image so that the obtained pixel point category can accurately and efficiently detect the thermal insulation performance of the low-carbon building materials.

[0089] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0090] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A method for testing the thermal insulation performance of low-carbon building materials, characterized in that: The method comprises the following steps: Obtaining grayscale images of infrared images for testing thermal insulation performance of low-carbon building materials; According to the position and gray value difference between each pixel point in the gray image and each neighboring pixel point in the preset neighborhood, the elimination factor of each pixel point is obtained, and the gray image after elimination is determined based on the elimination factor; the gray image after elimination is iteratively eliminated, and the coefficient of variation of each gray image after elimination is obtained according to the gray value in the gray image after elimination each time; when the ratio of the coefficient of variation of the gray image after elimination in the nth iteration and the gray image after elimination in the n-1th iteration meets the iteration termination condition, the iteration is stopped, and the gray image after elimination in the nth iteration is used as the target image; According to the gray value of the pixel points in the target image, the pixel point category in the target image is obtained; according to the elimination factor of each pixel point in each pixel point category in each iteration, the influence factor of each pixel point category is obtained; According to the influencing factor of each pixel category and the gray value distribution within each pixel category, the detection coefficient of thermal insulation performance is obtained to test the thermal insulation performance of low-carbon building materials; The method for obtaining the elimination factor is: For the i-th pixel in the grayscale image after the n-th iteration, according to the distance between the i-th pixel and each corresponding neighboring pixel, and the number of iterations, obtain the distance feature value between the i-th pixel and each corresponding neighboring pixel; According to the gray value difference between the ith pixel and each corresponding neighboring pixel, and the number of iterations, the gray feature value of the ith pixel and each corresponding neighboring pixel is obtained; Obtain the rejection factor of the ith pixel according to the distance eigenvalue and grayscale eigenvalue between the ith pixel and each corresponding neighboring pixel; The calculation formula of the rejection factor is: In the formula, is the elimination factor of the i-th pixel in the grayscale image after the n-th iteration elimination; M is the total number of neighboring pixels in the preset neighborhood of the i-th pixel; is the distance characteristic value between the i-th pixel point and the corresponding m-th neighboring pixel point in the grayscale image after the n-th iteration elimination; is the grayscale eigenvalue of the i-th pixel and the corresponding m-th neighboring pixel in the grayscale image after the n-th iteration elimination; is the Euclidean distance between the i-th pixel point and the corresponding m-th neighboring pixel point in the grayscale image after the n-th iteration elimination; n is the number of iterations; e is a natural constant; is the first preset constant, greater than 0; is the gray value of the i-th pixel in the gray image after the n-th iteration elimination; is the gray value of the mth neighboring pixel of the ith pixel in the gray image after the nth iteration elimination; is the absolute value function; The calculation formula of the impact factor is: In the formula, is the influencing factor of the k-th pixel category; is the total number of pixels in the k-th pixel category; N is the total number of iterations; is the elimination factor of the t-th pixel in the k-th pixel category at the n-th iteration, and e is a natural constant; The method for obtaining the detection coefficient is: Obtain the mean grayscale value of all pixels in each pixel category as the first mean of the corresponding pixel category; The variance of the first mean is adjusted according to the influencing factor of each pixel category to obtain the detection coefficient of thermal insulation performance; The calculation formula of the detection coefficient is: Where, J is the detection coefficient of thermal insulation performance; K is the total number of pixel categories; is the influencing factor of the k-th pixel category; is the first mean value of the k-th pixel category; is the mean of the first mean; norm is the normalization function.

2. A method for testing the thermal insulation performance of low-carbon building materials as claimed in claim 1, characterized in that: The method for determining the grayscale image after elimination based on the elimination factor is: The maximum elimination factor in the grayscale image after each elimination is used as the target elimination factor for each elimination; The target elimination factor for each elimination is adjusted by the number of iterations corresponding to each elimination, so as to obtain the elimination factor threshold for each elimination; wherein the number of iterations corresponding to each elimination is positively correlated with the elimination factor threshold; Pixels whose elimination factors in the grayscale image after each elimination are greater than or equal to the elimination factor threshold of the corresponding elimination are removed to determine the grayscale image after each elimination.

3. A method for testing the thermal insulation performance of low-carbon building materials as claimed in claim 1, characterized in that: The iteration termination condition is: The ratio of the coefficient of variation of the grayscale image after the nth iteration elimination and the grayscale image after the n-1th iteration elimination is used as the iteration judgment value; When the iteration judgment value is less than the preset iteration judgment value threshold, the iteration is stopped.

4. A method for testing the thermal insulation performance of low-carbon building materials as claimed in claim 1, characterized in that: The method for obtaining the pixel category is: According to the grayscale values ​​of the pixels in the target image, the pixels in the target image are divided by a divisive clustering algorithm based on a connected graph to obtain the pixel categories in the target image.

5. A method for testing the thermal insulation performance of low-carbon building materials as claimed in claim 1, characterized in that: The method for testing the thermal insulation performance of low-carbon building materials is: When the detection coefficient of the normalized function is greater than the preset detection coefficient threshold, the thermal insulation performance of the low-carbon building material is poor; When the detection coefficient of the normalized function is less than or equal to a preset detection coefficient threshold, the thermal insulation performance of the low-carbon building material is qualified.

Citation Information

Patent Citations

  • Method and system for rejecting bright noises from infrared image

    CN105787906A

  • Infrared thermal image-based external wall external thermal insulation system defect identification and damage degree evaluation method

    CN112669286A

  • Method for removing edge reflection light spots in electroplated workpiece surface defect visual inspection

    CN112927189A

  • Airport runway foreign matter identification method based on triangular gravity center feature point matching

    CN115359279A

  • Method for detecting thermal insulation performance of low-carbon building material

    CN116818830A