Evaluation method and device for stone damage degree of paint film, electronic equipment and medium

By performing grayscale conversion and binary processing on the stone impact resistance test image of the paint film coating sample, the damage degree is evaluated, which solves the problem of difficulty in accurate evaluation and subjective judgment of the stone impact damage degree of the paint film in the existing technology, and achieves A more efficient assessment process.

CN118587173APending Publication Date: 2024-09-03BEIJING ELECTRIC VEHICLE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410656763.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing methods for evaluating the stone chip damage of paint films have errors and are difficult to evaluate accurately. Moreover, changing the color of the damaged position of the sample requires manual statistics, which is time-consuming and labor-intensive, and lacks objectivity and efficiency.

Method used

By collecting the stone chip resistance test image of the paint film coating sample, perform grayscale conversion and binarization processing to obtain the target image, evaluate the degree of damage based on the comparison between the number of pixels and the total pixels, and adjust the characteristic threshold to meet the damage Degree recognition conditions.

Benefits of technology

It improves the objectivity, accuracy and efficiency of the assessment of stone chip damage to paint films, and reduces subjective judgment errors and manual statistical time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587173A
    Figure CN118587173A
Patent Text Reader

Abstract

The invention relates to a method and device for evaluating the stone impact damage degree of a paint film, electronic equipment and a medium, and the method comprises the steps: collecting stone impact resistance test images of a plurality of paint film coating sample plates; performing gray scale conversion on the stone impact resistance test images of the plurality of paint film coating sample plates, and performing binarization processing on the images after gray scale conversion to obtain target images corresponding to the plurality of paint film coating sample plates; and obtaining a damage degree evaluation result of each paint film coating sample plate according to a comparison result of the number of the pixel points representing damage in the target image corresponding to each paint film coating sample plate and the total pixel points of the target image corresponding to each paint film coating sample plate. Therefore, the problems that the stone-impact damage degree of similar paint films is difficult to accurately evaluate, errors exist in subjective judgment of the stone-impact damage degree of the paint films, and time and labor are wasted due to manual statistics when the color of the damaged position of the sample plate is changed are solved, and the objectivity, accuracy and efficiency of evaluation of the stone-impact damage degree of the paint films are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of paint film damage evaluation, and in particular to a method, device, electronic equipment and medium for evaluating the degree of stone impact damage to a paint film. Background Art

[0002] The paint film is a solid continuous film formed by one or more layers of paint applied on the substrate. When a vehicle is driving on the road, the body, especially the area of ​​the chassis that is not protected by the bottom guard plate, is often impacted by impurities such as road gravel. As the first line of defense against corrosion, the paint film is the first to bear the brunt. Once the paint film is penetrated, the material body will be exposed to the air, and corrosion will easily spread inward from the damaged position of the paint film, causing rust on parts. Therefore, the ability of the paint film to resist stone impact and the evaluation method are very important.

[0003] There are two main methods for evaluating the degree of stone impact damage to paint films in related technologies. The first method is to simulate the impact of gravel particles on coating specimens based on a finite element model, and realize visual evaluation of coating damage through software processing. The second method is based on a standard stone impact resistance test, and the damage level is judged by comparing the damaged area of ​​the sample after the test with the evaluation level chart.

[0004] However, in the above two evaluation methods for the degree of stone chip damage of paint films, in the first method, the crushed stone particles are irregular during the actual impact process, and the contact position with the sample is uncontrollable. Therefore, there is a certain error between the established finite element model and the actual result, and it is difficult to make an accurate evaluation of the stone chip resistance of similar coatings. In the second method, when the difference between the test samples is not large, there is a subjective error in judging the stone chip resistance. If the color of the damaged position is changed by the developing solution to improve the recognition, although the statistical results are more accurate, it is still limited by the sample substrate and coating material. When the number of damaged positions is large, manual statistics is still time-consuming and laborious, which needs to be solved urgently. Summary of the invention

[0005] The present application provides a method, device, electronic device and medium for evaluating the degree of stone chip damage to a paint film, so as to solve the problems that the degree of stone chip damage to similar paint films is difficult to evaluate accurately, there are errors in subjective judgment of the degree of stone chip damage to paint films, and it is time-consuming and labor-intensive to manually count when changing the color of the damaged position of the sample, thereby improving the objectivity, accuracy and efficiency of the evaluation of the degree of stone chip damage to paint films.

[0006] The first aspect of the present application provides a method for evaluating the degree of stone impact damage of a paint film, comprising the following steps: collecting stone impact resistance test images of multiple paint film coating samples; performing grayscale conversion on the stone impact resistance test images of the multiple paint film coating samples respectively, and binarizing the grayscale converted images to obtain target images corresponding to the multiple paint film coating samples; obtaining a damage degree evaluation result of each paint film coating sample based on a comparison result of the number of pixel points representing damage in the target image corresponding to each paint film coating sample and the total pixel points of the target image corresponding to each paint film coating sample.

[0007] Optionally, the capturing of images of multiple paint film coating samples includes: based on preset test conditions, respectively performing stone impact resistance tests on the multiple paint film coating samples to obtain multiple paint film coating samples after the stone impact resistance test; based on preset light intensity, preset capture position and preset capture angle, using the same image capture device to capture the multiple paint film coating samples after the stone impact resistance test to obtain the stone impact resistance test images.

[0008] Optionally, the stone impact resistance test images of the multiple paint film coating templates are respectively converted into grayscale, and the images after grayscale conversion are binarized to obtain target images corresponding to the multiple paint film coating templates, including: grayscale conversion of the stone impact resistance test images of the multiple paint film coating templates is respectively performed, and based on an initial feature threshold, the image after grayscale conversion is binarized to obtain an initial image; if the initial image does not meet the preset damage degree recognition condition, the initial feature threshold is adjusted based on a preset adjustment strategy to obtain a new feature threshold, and the step of binarizing the stone impact resistance test images of the multiple paint film coating templates after grayscale conversion based on the initial feature threshold is re-executed to obtain the initial image, until the preset damage degree recognition condition is met, and the target images corresponding to the multiple paint film coating templates are obtained.

[0009] Optionally, both the initial feature threshold and the new feature threshold are used to indicate the degree of damage at the stone impact position.

[0010] Optionally, after obtaining the damage degree evaluation result of each paint film coating sample, it also includes: obtaining the user evaluation result of the damage degree of each paint film coating sample; and obtaining the final damage degree evaluation result of each paint film coating sample based on the damage degree evaluation result of each paint film coating sample and the user evaluation result of the damage degree of each paint film coating sample.

[0011] The second aspect of the present application provides a device for evaluating the degree of stone impact damage of a paint film, including: an acquisition module for acquiring stone impact resistance test images of multiple paint film coating samples; a first acquisition module for respectively performing grayscale conversion on the stone impact resistance test images of the multiple paint film coating samples, and binarizing the grayscale converted images to obtain target images corresponding to the multiple paint film coating samples; a second acquisition module for obtaining a damage degree evaluation result of each paint film coating sample based on a comparison result of the number of pixel points representing damage in the target image corresponding to each paint film coating sample and the total pixel points of the target image corresponding to each paint film coating sample.

[0012] Optionally, the acquisition module is specifically used to: based on preset test conditions, respectively perform stone impact resistance tests on the multiple paint film coating samples to obtain multiple paint film coating samples after the stone impact resistance test; based on preset light intensity, preset acquisition position and preset acquisition angle, use the same image acquisition device to acquire the multiple paint film coating samples after the stone impact resistance test to obtain the stone impact resistance test image.

[0013] Optionally, the first acquisition module is specifically used to: based on an initial feature threshold, respectively perform grayscale conversion on the stone impact resistance test images of the multiple paint film coating samples, and binarize the grayscale converted images to obtain an initial image; if the initial image does not meet the preset damage degree identification conditions, then adjust the initial feature threshold based on a preset adjustment strategy to obtain a new feature threshold, and re-execute the step of binarizing the stone impact resistance test images of the multiple paint film coating samples after grayscale conversion based on the initial feature threshold to obtain the initial image, until the preset damage degree identification conditions are met, and the target images corresponding to the multiple paint film coating samples are obtained.

[0014] Optionally, both the initial feature threshold and the new feature threshold are used to indicate the degree of damage at the stone impact position.

[0015] Furthermore, after obtaining the damage degree evaluation result of each paint film coating sample, the second acquisition module is also used to: obtain the user evaluation result of the damage degree of each paint film coating sample; and obtain the final damage degree evaluation result of each paint film coating sample based on the damage degree evaluation result of each paint film coating sample and the user evaluation result of the damage degree of each paint film coating sample.

[0016] A third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for evaluating the degree of stone impact damage to a paint film as described in the above embodiment.

[0017] The fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the method for evaluating the degree of stone impact damage to a paint film as described in the above embodiment.

[0018] Therefore, the stone impact resistance test image of the paint film coating sample is processed by grayscale conversion and binarization to obtain the target image corresponding to the paint film coating sample. The damage degree evaluation result of each paint film coating sample is obtained according to the comparison result of the number of pixels representing the damage in the target image corresponding to each paint film coating sample and the total pixels. This solves the problems of the difficulty in accurately evaluating the degree of stone impact damage of similar paint films, the errors in subjective judgment of the degree of stone impact damage of paint films, and the time-consuming and labor-intensive manual statistics required to change the color of the damaged position of the sample. This improves the objectivity, accuracy and efficiency of the evaluation of the degree of stone impact damage of paint films.

[0019] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0021] Figure 1 A flowchart of a method for evaluating the degree of stone impact damage to a paint film provided in an embodiment of the present application;

[0022] Figure 2 It is a schematic diagram of the states of different paint films after the same stone impact test conditions according to one embodiment of the present application;

[0023] Figure 3 It is a schematic diagram of imaging after the characteristic threshold is set to 64 according to one embodiment of the present application;

[0024] Figure 4 A schematic diagram of imaging after the characteristic threshold is set to 192 according to an embodiment of the present application;

[0025] Figure 5 This is a schematic diagram of imaging after the feature threshold is set to 128 according to an embodiment of the present application;

[0026] Figure 6 This is a flow chart of a method for evaluating the degree of stone impact damage to a paint film according to one embodiment of the present application;

[0027] Figure 7 Schematic diagram of a block diagram of a device for evaluating the degree of stone impact damage to a paint film according to an embodiment of the present application;

[0028] Figure 8It is a schematic diagram of the composition of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0029] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0030] The following describes the evaluation method, device, electronic device and medium of the degree of stone chip damage of the paint film of the embodiment of the present application with reference to the accompanying drawings. In view of the problems mentioned in the above background technology center that the degree of stone chip damage of similar paint films is difficult to accurately evaluate, there are errors in the subjective judgment of the degree of stone chip damage of the paint film, and it is time-consuming and laborious to manually count the color of the damaged position of the sample, the present application provides a method for evaluating the degree of stone chip damage of the paint film. In this method, the stone chip resistance test image of the paint film coating sample is processed by grayscale conversion and binarization to obtain the target image corresponding to the paint film coating sample, and the damage degree evaluation result of each paint film coating sample is obtained according to the comparison result of the number of pixels representing damage in the target image corresponding to each paint film coating sample and the total number of pixels. As a result, it solves the problems that the degree of stone chip damage of similar paint films is difficult to accurately evaluate, there are errors in the subjective judgment of the degree of stone chip damage of the paint film, and it is time-consuming and laborious to manually count the color of the damaged position of the sample, and improves the objectivity, accuracy and efficiency of the evaluation of the degree of stone chip damage of the paint film.

[0031] Specifically, Figure 1 A schematic flow chart of a method for evaluating the degree of stone impact damage to a paint film provided in an embodiment of the present application.

[0032] like Figure 1 As shown, the evaluation method of the degree of stone impact damage of the paint film comprises the following steps:

[0033] In step S101, stone impact resistance test images of a plurality of paint film coating samples are collected.

[0034] Optionally, in some embodiments, images of multiple paint film coating samples are collected, including: based on preset test conditions, separately performing stone impact resistance tests on multiple paint film coating samples to obtain multiple paint film coating samples after the stone impact resistance test; based on preset light intensity, preset collection position and preset collection angle, using the same image acquisition device to collect multiple paint film coating samples after the stone impact resistance test to obtain stone impact resistance test images.

[0035] Among them, the stone impact resistance test can be to use a stone crusher impact instrument to spray iron sand, pebbles and other test bodies with a certain pressure to impact the paint film coating sample. The preset test conditions refer to the test conditions set before the stone impact resistance test to simulate the stone impact situation that the paint film coating sample may encounter in the actual use environment, and may include factors such as the impact speed and impact angle of the stone impact. The preset light intensity can be the light intensity preset by the user, the light intensity obtained through a limited number of experiments, or the light intensity obtained through a limited number of computer simulations. The preset acquisition position can be the acquisition position preset by the user, the acquisition position obtained through a limited number of experiments, or the acquisition position obtained through a limited number of computer simulations. The preset acquisition angle can be the acquisition angle preset by the user, the acquisition angle obtained through a limited number of experiments, or the acquisition angle obtained through a limited number of computer simulations, and no specific limitation is made here. The acquisition device can be a camera, a scanner or other equipment. The test image refers to the image of multiple paint film coating samples collected by the camera after the stone impact resistance test under the same test conditions.

[0036] For example, in the embodiment of the present application, a test body (such as iron sand, steel balls, etc.) can be sprayed through a stone impact instrument to impact the tested paint film coating sample. The impact speed of the test body is a fixed value, and the impact angle is another fixed value. In the embodiment of the present application, a camera is used to collect stone impact test images of multiple paint film coating samples. The states of different paint films in the embodiment of the present application after the same stone impact test conditions are as follows: Figure 2 As shown in a to f, the camera is perpendicular to the center of the surface of the tested paint film coating sample, that is, the acquisition angle is 90°, and the distance from the surface of the tested paint film coating sample is 20 cm. To ensure the same light intensity, two identical LED lights can be installed on both sides of the paint film coating sample.

[0037] In step S102, the stone impact resistance test images of the plurality of paint film coating samples are respectively converted into grayscale, and the grayscale converted images are binarized to obtain target images corresponding to the plurality of paint film coating samples.

[0038] Optionally, in some embodiments, the stone impact resistance test images of multiple paint film coating samples are grayscale converted respectively, and the grayscale converted images are binarized to obtain target images corresponding to the multiple paint film coating samples, including: based on the initial feature threshold, the stone impact resistance test images of the multiple paint film coating samples after grayscale conversion are binarized to obtain the initial image; if the initial image does not meet the preset damage degree recognition condition, the initial feature threshold is adjusted based on the preset adjustment strategy to obtain a new feature threshold, and the step of re-binarizing the stone impact resistance test images of the multiple paint film coating samples after grayscale conversion based on the initial feature threshold is re-executed to obtain the initial image, until the preset damage degree recognition condition is met, and the target images corresponding to the multiple paint film coating samples are obtained.

[0039] Among them, the initial feature threshold and the new feature threshold are both used to indicate the degree of damage at the stone impact position. Both the initial feature threshold and the new feature threshold can be thresholds pre-set by the user, can be thresholds obtained through a limited number of experiments, or can be thresholds obtained through a limited number of computer simulations, which are not specifically limited here. Image binarization processing is to select foreground points and background points on the source image, smooth the source image, and obtain a new image with a small amount of noise interference eliminated. Grayscale conversion refers to converting a true color image into a grayscale image. The initial image refers to an image obtained by grayscale conversion and binarization based on the initial feature threshold. The preset damage degree recognition condition is used to evaluate or identify the degree of damage of the paint film coating sample in the image, and can be set based on multiple factors such as pixel distribution, color change, shape change, etc. in the image. The preset adjustment strategy is to increase or decrease a fixed value of the feature threshold when the initial image cannot accurately reflect the degree of damage of the paint film coating sample, or to dynamically adjust the threshold according to the difference between the initial image and the preset damage degree recognition condition.

[0040] Specifically, after the camera collects the stone impact resistance test images of multiple paint film coating samples, the embodiment of the present application reads the stone impact resistance test images of multiple paint film coating samples through image processing software, converts the obtained true color image into a grayscale image, and performs binarization processing on each pixel of the stone impact resistance test images of multiple paint film coating samples according to the characteristic threshold, and writes the obtained image data into the image file at the same time. According to the image file actually obtained, by adjusting the characteristic threshold parameters, an image file suitable for judging and identifying the degree of damage of the paint film coating sample is obtained. When the characteristic threshold does not match the degree of damage of the paint film coating sample, the degree of damage of the paint film coating sample in the image cannot be intuitively evaluated or identified. The embodiment of the present application can adjust the characteristic threshold by increasing or decreasing a fixed value of the characteristic threshold, so that the characteristic threshold matches the degree of damage of the paint film coating sample, and obtains an image file suitable for judging and identifying the degree of damage of the paint film coating sample.

[0041] For example, after grayscale conversion of the image, the initial feature threshold is set to 64, and based on the initial feature threshold 64, the stone impact resistance test image of the paint film coating sample is binarized, such as Figure 3 As shown in a to f, Figure 3 Schematic diagram of imaging after the characteristic threshold is set to 64 according to an embodiment of the present application. Figure 3 When the degree of damage to the paint film coating sample cannot be determined, the embodiment of the present application adjusts the initial feature threshold 64 to 192 to obtain a target image. The target image is as follows: Figure 4 As shown in a to f, Figure 4 This is a schematic diagram of imaging after the feature threshold is set to 192 according to an embodiment of the present application.

[0042] In step S103, the damage degree evaluation result of each paint film coating sample is obtained based on the comparison result of the number of pixel points representing damage in the target image corresponding to each paint film coating sample and the total pixel points of the target image corresponding to each paint film coating sample.

[0043] The total pixel points refer to the number of all pixel points in the target image, and the pixel points representing damage refer to the pixel points identified as the damaged area in the target image. The damage degree evaluation result of the paint film coating sample can be obtained by counting the number of pixel points representing damage.

[0044] Specifically, in this embodiment, white pixels represent damaged areas, while black pixels represent undamaged areas. The damage degree evaluation result of the paint film coating sample is obtained by statistically analyzing the damaged area of ​​the paint film coating sample, which can be calculated by image processing software. The image processing software reads the target image, compares the pixel value of each pixel after the target image is gray-scale converted with the characteristic threshold, and if the pixel value is less than the characteristic threshold, the pixel is set to black, otherwise, it is set to white, and the number of all white pixels in the binary image is counted, the proportion of white pixels to the total pixels is calculated, and the proportion value is saved.

[0045] For example, Figure 5 As shown in a to f, Figure 5This is a schematic diagram of the image formed after the characteristic threshold is set to 128 according to an embodiment of the present application. The embodiment of the present application uses image processing software to count the damaged areas of the upper three paint film coating samples respectively, and compares the pixel value of each pixel point of the stone impact resistance test image after grayscale conversion with 128. If the pixel value is less than 128, the pixel point is set to black, otherwise, it is set to white. The number of all white pixels is counted, and the proportion of white pixels to the total pixels is calculated. The results from a to c are 0.13%, 0.14%, and 0.019%, respectively. It can be concluded that the degree of damage in b is the largest, a is second, and c is the smallest.

[0046] The embodiment of the present application processes the stone impact resistance test image of the paint film coating sample by grayscale conversion and binarization to obtain the target image corresponding to the paint film coating sample, and obtains the damage degree evaluation result of each paint film coating sample according to the comparison result of the number of pixels representing damage and the total number of pixels in the target image corresponding to each paint film coating sample. Thus, it solves the problems that it is difficult to accurately evaluate the degree of damage caused by stone impact of similar paint films, there are errors in subjective judgment of the degree of damage caused by stone impact of paint films, and it is time-consuming and laborious to manually count when changing the color of the damaged position of the sample, thereby improving the objectivity, accuracy and efficiency of the evaluation of the degree of damage caused by stone impact of paint films.

[0047] Furthermore, in some embodiments, after obtaining the damage degree evaluation result of each paint film coating sample, it also includes: obtaining the user evaluation result of the damage degree of each paint film coating sample; and obtaining the final damage degree evaluation result of each paint film coating sample based on the damage degree evaluation result of each paint film coating sample and the user evaluation result of the damage degree of each paint film coating sample.

[0048] Among them, the user evaluation result of the damage degree of the paint film coating sample refers to the subjective evaluation of the damage degree of the paint film coating sample by the user, which can be based on visual inspection, usage experience, professional knowledge or other evaluation criteria, reflecting the user's professional evaluation of the damage degree of the paint film coating sample. The final damage degree evaluation result can be a more comprehensive and accurate evaluation of the damage degree of the paint film coating sample by combining the damage degree evaluation result and the damage degree user evaluation result through a weighted average statistical method.

[0049] For example, assuming that the weight of the damage degree evaluation result of each paint film coating sample and the user evaluation result of the damage degree of each paint film coating sample are 50% each, when the user evaluation result of the damage degree of the paint film coating sample is 0.14% and the damage degree evaluation result of the paint film coating sample is 0.16%, the final damage degree evaluation result is 0.15% calculated according to the weighted average.

[0050] In order to enable those skilled in the art to further understand the evaluation method of the degree of stone impact damage of the paint film in the embodiment of the present application, the following is combined with Figure 6 To elaborate, Figure 6 The present invention is a flowchart of a method for evaluating the degree of stone impact damage to a paint film according to an embodiment of the present application.

[0051] S601: Multiple paint coating samples are subjected to stone impact resistance test;

[0052] S602: Collecting images of a plurality of paint film coating samples for stone impact resistance testing;

[0053] S603: Image processing software processes image data using different feature thresholds;

[0054] S604: Obtaining a user evaluation result of the damage degree of each paint film coating sample;

[0055] S605: Obtaining the damage degree evaluation result of each paint film coating sample;

[0056] S606: Obtaining a final damage degree evaluation result for each paint film coating sample according to the damage degree evaluation result of each paint film coating sample and the damage degree evaluation result of each paint film coating sample by the user.

[0057] According to the evaluation method for the degree of stone chip damage of paint films proposed in the embodiment of the present application, the stone chip resistance test image of the paint film coating sample is processed by grayscale conversion and binarization to obtain the target image corresponding to the paint film coating sample, and the damage degree evaluation result of each paint film coating sample is obtained based on the comparison result of the number of pixels representing damage and the total number of pixels in the target image corresponding to each paint film coating sample. Thus, the problems of the difficulty in accurately evaluating the degree of stone chip damage of similar paint films, the error in subjective judgment of the degree of stone chip damage of paint films, and the time-consuming and laborious manual statistics required to change the color of the damaged position of the sample are solved, and the objectivity, accuracy and efficiency of the evaluation of the degree of stone chip damage of paint films are improved.

[0058] Next, a device for evaluating the degree of stone impact damage to a paint film according to an embodiment of the present application will be described with reference to the accompanying drawings.

[0059] Figure 7 It is a block diagram of a device for evaluating the degree of stone impact damage to a paint film according to an embodiment of the present application.

[0060] like Figure 7 As shown, the device 10 for evaluating the degree of stone impact damage to a paint film includes: a collection module 100 , a first acquisition module 200 and a second acquisition module 300 .

[0061] Among them, the acquisition module 100 is used to collect the stone impact resistance test images of multiple paint film coating samples; the first acquisition module 200 is used to respectively perform grayscale conversion on the stone impact resistance test images of multiple paint film coating samples, and binarize the grayscale converted images to obtain target images corresponding to the multiple paint film coating samples; the second acquisition module 300 is used to obtain the damage degree evaluation result of each paint film coating sample based on the comparison result of the number of pixel points representing damage in the target image corresponding to each paint film coating sample and the total pixel points of the target image corresponding to each paint film coating sample.

[0062] Optionally, in some embodiments, the acquisition module 100 is specifically used to: based on preset test conditions, perform stone impact resistance tests on multiple paint film coating samples respectively to obtain multiple paint film coating samples after the stone impact resistance test; based on preset light intensity, preset acquisition position and preset acquisition angle, use the same image acquisition device to acquire multiple paint film coating samples after the stone impact resistance test to obtain stone impact resistance test images.

[0063] Optionally, in some embodiments, the first acquisition module 200 is specifically used to: based on an initial feature threshold, binarize the stone impact resistance test images of multiple paint film coating samples after grayscale conversion to obtain an initial image; if the initial image does not meet the preset damage degree recognition condition, adjust the initial feature threshold based on a preset adjustment strategy to obtain a new feature threshold, and re-execute the step of binarizing the stone impact resistance test images of multiple paint film coating samples after grayscale conversion based on the initial feature threshold to obtain the initial image, until the preset damage degree recognition condition is met, and the target images corresponding to the multiple paint film coating samples are obtained.

[0064] Optionally, in some embodiments, both the initial feature threshold and the new feature threshold are used to indicate the degree of damage at the stone impact location.

[0065] Further, in some embodiments, after obtaining the damage degree evaluation result of each paint film coating sample, the second acquisition module 300 is also used to: obtain the user evaluation result of the damage degree of each paint film coating sample; and obtain the final damage degree evaluation result of each paint film coating sample based on the damage degree evaluation result of each paint film coating sample and the user evaluation result of the damage degree of each paint film coating sample.

[0066] It should be noted that the explanation of the aforementioned embodiment of the method for evaluating the degree of damage by stone impact on a paint film is also applicable to the device for evaluating the degree of damage by stone impact on a paint film of this embodiment, and will not be repeated here.

[0067] According to the device for evaluating the degree of damage caused by stone impact of paint films proposed in the embodiment of the present application, the target image corresponding to the paint film coating sample is obtained by grayscale conversion and binarization processing of the stone impact resistance test image of the paint film coating sample, and the damage degree evaluation result of each paint film coating sample is obtained according to the comparison result of the number of pixels representing damage and the total number of pixels in the target image corresponding to each paint film coating sample. Thus, the problems of the difficulty in accurately evaluating the degree of damage caused by stone impact of similar paint films, the error in subjective judgment of the degree of damage caused by stone impact of paint films, and the time-consuming and laborious manual statistics required to change the color of the damaged position of the sample are solved, and the objectivity, accuracy and efficiency of the evaluation of the degree of damage caused by stone impact of paint films are improved.

[0068] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0069] A memory 801 , a processor 802 , and a computer program stored in the memory 801 and executable on the processor 802 .

[0070] When the processor 802 executes the program, the method for evaluating the degree of stone impact damage to the paint film provided in the above embodiment is implemented.

[0071] Furthermore, the electronic device further comprises:

[0072] The communication interface 803 is used for communication between the memory 801 and the processor 802 .

[0073] The memory 801 is used to store computer programs that can be executed on the processor 802 .

[0074] The memory 801 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0075] If the memory 801, the processor 802 and the communication interface 803 are implemented independently, the communication interface 803, the memory 801 and the processor 802 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0076] Optionally, in a specific implementation, if the memory 801, the processor 802 and the communication interface 803 are integrated on a chip, the memory 801, the processor 802 and the communication interface 803 can communicate with each other through an internal interface.

[0077] The processor 802 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0078] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for evaluating the degree of stone impact damage to a paint film.

[0079] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0080] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0081] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0082] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0083] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0084] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0085] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0086] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for evaluating the degree of stone impact damage to a paint film, characterized in that: The following steps are involved: Collect images of stone impact resistance tests of multiple paint coating samples; Performing grayscale conversion on the stone impact resistance test images of the plurality of paint film coating samples respectively, and performing binarization processing on the grayscale converted images to obtain target images corresponding to the plurality of paint film coating samples; The damage degree evaluation result of each paint film coating sample is obtained based on the comparison result of the number of pixel points representing damage in the target image corresponding to each paint film coating sample and the total pixel points of the target image corresponding to each paint film coating sample.

2. The method according to claim 1, characterized in that The collecting of images of a plurality of paint film coating samples comprises: Based on the preset test conditions, the plurality of paint film coating samples are respectively subjected to a stone impact resistance test to obtain a plurality of paint film coating samples after the stone impact resistance test; Based on the preset light intensity, preset acquisition position and preset acquisition angle, the same image acquisition device is used to acquire images of multiple paint film coating samples after the stone impact resistance test to obtain the stone impact resistance test image.

3. The method according to claim 1, characterized in that The grayscale conversion is performed on the stone impact resistance test images of the plurality of paint film coating samples respectively, and the grayscale converted images are binarized to obtain target images corresponding to the plurality of paint film coating samples, including: Performing grayscale conversion on the stone impact resistance test images of the plurality of paint film coating samples respectively, and performing binarization processing on the grayscale converted images based on an initial feature threshold to obtain an initial image; If the initial image does not meet the preset damage degree identification conditions, the initial feature threshold is adjusted based on the preset adjustment strategy to obtain a new feature threshold, and the step of re-binarizing the stone impact resistance test images of multiple paint film coating samples after grayscale conversion based on the initial feature threshold is re-executed to obtain the initial image, until the preset damage degree identification conditions are met, and the target images corresponding to the multiple paint film coating samples are obtained.

4. The method according to claim 3, characterized in that The initial feature threshold and the new feature threshold are both used to indicate the degree of damage at the stone impact position.

5. The method according to claim 1, characterized in that After obtaining the damage degree evaluation result of each paint film coating sample, it also includes: Obtaining a user evaluation result of the degree of damage of each paint film coating sample; The final damage degree evaluation result of each paint film coating sample is obtained according to the damage degree evaluation result of each paint film coating sample and the damage degree evaluation result of each paint film coating sample by the user.

6. A device for evaluating the degree of stone impact damage to a paint film, characterized in that: include: An acquisition module, used to acquire images of stone impact resistance tests of multiple paint film coating samples; The first acquisition module is used to perform grayscale conversion on the stone impact resistance test images of the plurality of paint film coating samples respectively, and perform binarization processing on the grayscale converted images to obtain target images corresponding to the plurality of paint film coating samples; The second acquisition module is used to obtain the damage degree evaluation result of each paint film coating sample based on the comparison result of the number of pixel points representing damage in the target image corresponding to each paint film coating sample and the total pixel points of the target image corresponding to each paint film coating sample.

7. The device according to claim 6, characterized in that The acquisition module is specifically used for: Based on the preset test conditions, the plurality of paint film coating samples are respectively subjected to a stone impact resistance test to obtain a plurality of paint film coating samples after the stone impact resistance test; Based on the preset light intensity, preset acquisition position and preset acquisition angle, the same image acquisition device is used to acquire images of multiple paint film coating samples after the stone impact resistance test to obtain the stone impact resistance test image.

8. The device according to claim 6, characterized in that The first acquisition module is specifically used to: Based on the initial feature threshold, grayscale conversion is performed on the stone impact resistance test images of the plurality of paint film coating samples respectively, and binarization processing is performed on the grayscale converted images to obtain initial images; If the initial image does not meet the preset damage degree identification conditions, the initial feature threshold is adjusted based on the preset adjustment strategy to obtain a new feature threshold, and the step of re-binarizing the stone impact resistance test images of multiple paint film coating samples after grayscale conversion based on the initial feature threshold is re-executed to obtain the initial image, until the preset damage degree identification conditions are met, and the target images corresponding to the multiple paint film coating samples are obtained.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for evaluating the degree of stone impact damage to a paint film as described in any one of claims 1 to 5.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method for evaluating the degree of stone impact damage to a paint film as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Aviation organic coating aging damage quantitative evaluation method based on digital image processing

    CN110544009A

  • Method for evaluating stone impact resistance of paint film

    CN116793867A