Metal material hydrogen damage assessment method and system and computing equipment

The method addresses the inefficiency of existing hydrogen damage evaluation techniques by preprocessing metal samples to visualize hydrogen bubbles, using image processing to quantify damage, and evaluating hydrogen resistance without sample dissection, thereby enhancing assessment efficiency and optimizing hydrogen-resistant steel production.

CN119722551APending Publication Date: 2025-03-28CHINA NAT PETROLEUM CORP +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311258423.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Current methods for evaluating hydrogen damage in metal materials in acidic environments, such as NACE TM0284-2016, require sample dissection and are not suitable for comparing hydrogen damage across different samples or processes, making them inefficient and inconvenient.

Method used

A method involving surface preprocessing to enhance visibility of hydrogen bubbles, followed by image processing to extract and quantify bubble areas, allowing for hydrogen damage assessment without sample dissection, using a system with modules for preprocessing, image acquisition, and damage evaluation based on bubble area percentage.

Benefits of technology

This approach enables quick, accurate, and efficient hydrogen damage evaluation, facilitating comparison of hydrogen resistance across different samples and promoting optimization of hydrogen-resistant steel manufacturing processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119722551A_ABST
    Figure CN119722551A_ABST
Patent Text Reader

Abstract

The invention relates to a metal material hydrogen damage assessment method and system and computing equipment, and the method comprises the steps: carrying out the pretreatment of the surface of a metal material sample, and enabling the contour of hydrogen bubbles on the surface of the sample to be clear and visible; acquiring an original image of the surface of the sample, and identifying and extracting hydrogen bubbles in the original image; the layers where all the hydrogen bubbles are located are combined, a final layer comprising all the hydrogen bubbles is obtained, the sum of pixel values of all the hydrogen bubbles in the final layer and the total pixel value of the final layer are counted, and the area percentage of the hydrogen bubbles is determined; and evaluating the hydrogen damage degree of the metal material sample according to the hydrogen bubbling area percentage. The method is simple and easy to implement, and the working efficiency is effectively improved; the comparison of the hydrogen damage resistance of different samples or different process products is facilitated, so that the optimization and improvement of the manufacturing process of the hydrogen-resistant / acid-resistant steel product are promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of metal material damage assessment, and in particular to a metal material hydrogen damage assessment method, system and computing equipment. Background Art

[0002] For the extraction, storage and transportation of natural gas in an acidic environment containing hydrogen sulfide, there has always been the problem of hydrogen damage to metal materials due to hydrogen-induced cracking and sulfide stress corrosion cracking. The existing standard for hydrogen-induced cracking evaluation method NACE TM0284-2016 proposes a test method for detecting and evaluating the sensitivity of metal materials to hydrogen-induced cracking in an acidic environment. This method detects and analyzes the crack size of the internal cross-section of the sample after the test, but this method requires the sample to be cut open for hydrogen damage evaluation. This method has poor applicability when comparing the degree of hydrogen damage of different samples or products from different processes. Therefore, there is an urgent need for a simple, fast and accurate solution for evaluating hydrogen damage to metal materials. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method, system, medium and computing equipment for evaluating hydrogen damage to metal materials in view of the problems existing in the prior art.

[0004] In order to solve the above technical problems, the present invention provides a method for evaluating hydrogen damage of metal materials, comprising:

[0005] Pre-treat the surface of the metal material sample to be analyzed so that the hydrogen bubbling outline on the surface of the metal material sample is clearly visible;

[0006] Acquire an original image of the surface of the pretreated metal material sample, and use image processing software to identify and extract hydrogen bubbles in the original image; wherein each extracted hydrogen bubble is a layer;

[0007] Merge all the layers where hydrogen bubbles are located to obtain a final layer including all hydrogen bubbles, calculate the sum of the pixel values ​​of all hydrogen bubbles in the final layer and the total pixel value of the final layer, and determine the percentage of hydrogen bubble area;

[0008] The degree of hydrogen damage of the metal material sample is evaluated according to the percentage of hydrogen bubbling area.

[0009] In order to solve the above technical problems, the present invention also provides a metal material hydrogen damage assessment system, comprising:

[0010] The sample pretreatment module is used to pretreatment the surface of the metal material sample to be analyzed, so that the hydrogen bubbling contour on the surface of the metal material sample is clearly visible;

[0011] The sample image acquisition module is used to acquire the original image of the pre-treated metal material sample surface, and use image processing software to identify and extract hydrogen bubbles in the original image; wherein each extracted hydrogen bubble is a layer;

[0012] A percentage determination module is used to merge all the layers where hydrogen bubbles are located to obtain a final layer including all hydrogen bubbles, calculate the sum of the pixel values ​​of all hydrogen bubbles in the final layer and the total pixel value of the final layer, and determine the percentage of the hydrogen bubble area;

[0013] The damage assessment module is used to assess the degree of hydrogen damage of metal material samples based on the percentage of hydrogen bubbling area.

[0014] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, including instructions, which, when executed on a computer, enable the computer to execute the method for evaluating hydrogen damage to metal materials provided by the above technical solution.

[0015] In order to solve the above technical problems, the present invention also provides a computing device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for evaluating hydrogen damage to metal materials provided by the above technical solution is implemented.

[0016] The beneficial effects of the present invention are as follows: the present invention does not need to dissect the sample, only needs to obtain the sample image, and the hydrogen damage of the metal material can be evaluated by processing the sample image, which is convenient and quick; specifically, by pre-treating the sample surface, the influence of the surface corrosion products generated by the sample during the test or service process on the analysis process can be removed to the maximum extent; and the present invention can quickly obtain accurate statistical data of the hydrogen bubbling area on the sample surface by pixel calculation, and then determine the percentage of the hydrogen bubbling area, so as to determine the degree of hydrogen damage to the metal material according to the percentage of the hydrogen bubbling area. The method is simple and easy to implement, and effectively improves work efficiency; it is conducive to the comparison of the hydrogen damage resistance of different samples or different process products, thereby promoting the optimization and improvement of the manufacturing process of hydrogen-resistant / acid-resistant steel products, and can also be used for statistical analysis of surface damage of other types of samples.

[0017] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A flow chart of a method for evaluating hydrogen damage to metal materials provided by an embodiment of the present invention;

[0019] Figure 2 An image of hydrogen bubbling on the surface of a sample after a hydrogen-induced cracking test provided in an embodiment of the present invention;

[0020] Figure 3 A distribution diagram of hydrogen bubbles on the sample surface provided by an embodiment of the present invention;

[0021] Figure 4 This is a structural block diagram of a metal material hydrogen damage assessment system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0022] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0023] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0024] Pipeline hydrogen transportation is an important way to achieve large-scale and long-distance transportation of hydrogen energy. Hydrogen pipelines have been in service in hydrogen environments for a long time. Once water or moisture exists, hydrogen molecules will be adsorbed on the surface of the pipeline and separated into atomic hydrogen under certain conditions, entering the metal matrix and gradually penetrating into the inclusions and defects in the metal, forming high hydrogen pressure, leading to hydrogen bubbling and cracks, and causing hydrogen embrittlement of the pipe. The appearance of hydrogen bubbling on the sample surface is a direct manifestation of hydrogen damage caused by hydrogen entering the metal matrix. The statistics and analysis of its values ​​are of great significance for the comparison of different samples or products with different processes.

[0025] The embodiment of the present invention proposes a method for evaluating hydrogen damage of metal materials, which is used to carry out statistical analysis of the hydrogen bubbling area on the surface of metal samples after hydrogen-induced cracking or simulated corrosion tests, so as to clarify the proportion of hydrogen damaged surface area. The analysis method proposed by the present invention is simple in principle and easy to operate, which can greatly improve the accuracy and work efficiency of the analysis, and is conducive to the comparison of the hydrogen damage resistance of different samples or products of different processes, thereby promoting the optimization and improvement of the manufacturing process of hydrogen-resistant / acid-resistant steel products.

[0026] Figure 1 The flowchart of the method for evaluating hydrogen damage to metal materials provided by the embodiment of the present invention is as follows. Figure 1 As shown, the method includes:

[0027] S1, pre-treating the surface of the metal material sample to be analyzed so that the hydrogen bubbling outline on the surface of the metal material sample is clearly visible.

[0028] In the embodiment of the present invention, the metal material to be analyzed is a metal material on which hydrogen bubbles appear on the surface after corrosion testing or after serving in a corrosive environment, and may be a hydrogen-resistant steel material and a sulfur-resistant (or acid-resistant) steel material.

[0029] S2, obtaining an original image of the pretreated surface of the metal material sample, and using image processing software to identify and extract hydrogen bubbles in the original image; wherein each extracted hydrogen bubble is a layer.

[0030] S3, merging all the layers where hydrogen bubbles are located to obtain a final layer including all hydrogen bubbles, counting the sum of the pixel values ​​of all hydrogen bubbles in the final layer and the total pixel value of the final layer, and determining the percentage of the hydrogen bubble area.

[0031] S4, evaluates the degree of hydrogen damage of metal material samples based on the percentage of hydrogen bubbling area.

[0032] It is understandable that the larger the size of the hydrogen bubble and the higher the percentage of the hydrogen bubble area, the greater the degree of hydrogen damage to the metal material sample. For example, multiple hydrogen damage levels can be pre-divided according to different needs, and a corresponding relationship between the percentage of the hydrogen bubble area and the hydrogen damage level can be established. In this way, the hydrogen damage level of the metal material can be quickly determined based on the calculated percentage of the hydrogen bubble area.

[0033] The embodiment of the present invention does not need to dissect the sample, but only needs to obtain the sample image. By processing the sample image, the hydrogen damage of the metal material can be evaluated, which is convenient and quick. Specifically, by pre-treating the sample surface, the influence of the surface corrosion products generated by the sample during the test or service process on the analysis process can be removed to the maximum extent. In addition, the embodiment of the present invention can obtain accurate statistical data of the hydrogen bubbling area on the sample surface by pixel calculation, and then determine the percentage of the hydrogen bubbling area, so as to determine the degree of hydrogen damage to the metal material according to the percentage of the hydrogen bubbling area. The method is simple and easy to implement, and effectively improves work efficiency. It is conducive to comparing the hydrogen damage resistance of different samples or products of different processes, thereby promoting the optimization and improvement of the manufacturing process of hydrogen-resistant / acid-resistant steel products, and can also be used for statistical analysis of surface damage of other types of samples.

[0034] Optionally, the surface of the metal material sample to be analyzed is pretreated, including: polishing the surface of the metal material sample to be analyzed to remove corrosion products on the surface of the sample after hydrogen-induced cracking test or other immersion corrosion test, and polishing until the hydrogen bubbling outline on the sample surface is clearly visible.

[0035] In the embodiment of the present invention, the surface of the sample after the corrosion test or after service in the corrosive environment is gently polished with fine sandpaper to remove the corrosion products on the surface of the sample after the hydrogen-induced cracking test or other immersion corrosion tests. The sample is polished until the outline of the hydrogen bubbling is clearly visible. This can remove the influence of the surface corrosion products generated by the sample during the test or service on the analysis process to the greatest extent, facilitate subsequent analysis, and improve the accuracy of the statistical analysis of the hydrogen bubbling area on the sample surface.

[0036] In the embodiment of the present invention, an original image of the surface of the pre-treated metal material sample is obtained. Specifically, a mobile phone or any device capable of taking a photo can be used to take a photo of the sample to be analyzed, and care should be taken to take the sample straight.

[0037] Optionally, the hydrogen bubbles in the original image are identified and extracted using image processing software, including: opening Photoshop image processing software and loading the original image; using a cropping tool to crop a sample area corresponding to the metal material sample in the original image to obtain a sample image, and enlarging the sample image until each hydrogen bubble is clearly visible; using an elliptical "selection" tool to circle the hydrogen bubbles in the sample image one by one, and when selecting the area, setting the switching foreground color to the first preset color, and the selected hydrogen bubbles are all displayed in the first preset color. Among them, the first preset color can be selected as black.

[0038] In the embodiment of the present invention, the original image is processed by Photoshop image processing software, the sample area is cropped out by a cropping tool, and the image is enlarged until each hydrogen bubble is clearly visible, so as to facilitate the subsequent accurate identification and extraction of the hydrogen bubbles; then the hydrogen bubbles in the sample image are circled one by one by an elliptical "selection" tool, so as to facilitate the subsequent statistical analysis of the hydrogen bubble area by means of pixel values; and the selected hydrogen bubbles are all displayed as a first preset color different from the background color, so as to facilitate the subsequent preparation of a distribution map of the hydrogen bubbles.

[0039] Optionally, the sum of the pixel values ​​of all hydrogen bubbles in the final layer and the total pixel value of the final layer are counted, and the percentage of the hydrogen bubble area is determined, including: performing the following steps in Photoshop image processing software:

[0040] Select all hydrogen bubbles in the final layer, and use the histogram function of the image processing software to count the sum of the pixel values ​​of all hydrogen bubbles; select the final layer, and use the histogram function of the image processing software to count the total pixel value of the final layer; obtain the percentage of hydrogen bubble area based on the percentage of the sum of the pixel values ​​of all hydrogen bubbles to the total pixel value.

[0041] In the embodiment of the present invention, the hydrogen bubbles in each circle are a layer, and the number of layers is the number of hydrogen bubbles. All the layers are selected and merged to obtain a final layer; a hydrogen bubble is selected using the "magic wand" tool, and then all the outlined hydrogen bubbles are selected using the "select similar" tool, and the sum of the pixels (PB) of the selected hydrogen bubble area is viewed from the histogram function of photoshop, and the value is recorded; the entire final layer is selected, and the pixels (P) of the entire image are viewed through the histogram, and the pixel value of the entire image is recorded; the percentage of hydrogen bubble area is determined using the following formula, hydrogen bubble area percentage = PB / P × 100%; and the area of ​​hydrogen bubble is determined using the following formula, hydrogen bubble area = hydrogen bubble area percentage × the area of ​​the sample corresponding to the picture.

[0042] The embodiment of the present invention calculates the percentage of hydrogen bubbling area through pixels, and then determines the area of ​​hydrogen bubbling. The method is simple and easy to implement, and can obtain accurate statistical data, effectively improving work efficiency. It is conducive to comparing the hydrogen damage resistance of different samples or products with different processes, thereby promoting the optimization and improvement of the manufacturing process of hydrogen-resistant / acid-resistant steel products, and can also be used for statistical analysis of surface damage of other types of samples.

[0043] Optionally, all hydrogen bubbles in the final layer are selected, and the sum of the pixel values ​​of all hydrogen bubbles is counted using the histogram function of the image processing software, including: using the "magic wand" tool to select a hydrogen bubble, and then using the "select similar" tool to select all the outlined hydrogen bubbles, and counting the sum of the pixel values ​​of the selected hydrogen bubble area from the histogram function of photoshop.

[0044] Optionally, the method for assessing hydrogen damage to metal materials provided in the embodiment of the present invention can also obtain the hydrogen bubbling area on the surface of the metal material sample according to the hydrogen bubbling area percentage and the area corresponding to the metal material sample in the original image.

[0045] Optionally, the method for evaluating hydrogen damage to metal materials provided by an embodiment of the present invention further includes making a hydrogen bubbling distribution map on the sample surface, specifically including: in Photoshop image processing software, using a cropping tool to crop the sample area corresponding to the metal material sample in the original image to obtain a sample image, using an elliptical "selection area" tool to circle the hydrogen bubbles in the sample image one by one, and extracting each hydrogen bubble as a layer; merging all the layers where the hydrogen bubbles are located to obtain a final layer including all hydrogen bubbles, using a "magic wand" tool to select a hydrogen bubble in the final layer, and then using a "select similar" tool to select all the outlined hydrogen bubbles, and then using the "select reverse" function to select other areas except hydrogen bubbles, and then selecting a brush tool, selecting a color as a second preset color different from the color of the hydrogen bubbles, and painting the selected area with the second preset color, to obtain a distribution map of hydrogen bubbles on the sample surface, and store it for later use. Wherein, the second preset color can be selected as white.

[0046] In the embodiment of the present invention, the distribution diagram shows the hydrogen bubbling distribution diagram after binary processing, which can more clearly show the overall distribution of hydrogen bubbling, making it easier for researchers to observe the distribution of hydrogen on the metal surface.

[0047] Optionally, the method for assessing hydrogen damage to metal materials provided by an embodiment of the present invention also includes obtaining the absolute value of the hydrogen bubble size through a hydrogen bubble distribution map, specifically including: using image analysis software with a measurement function to open the hydrogen bubble distribution map, setting the total length and width of the hydrogen bubble distribution map to the length and width of the sample respectively, and determining the surface area of ​​the metal sample according to the length and width of the sample; measuring the major axis and minor axis of the hydrogen bubbles in the hydrogen bubble distribution map, and calculating the actual area of ​​each hydrogen bubble according to the ellipse area formula; determining the total area of ​​the hydrogen bubbles according to the sum of all hydrogen bubble areas, and determining the hydrogen bubble area ratio according to the total area of ​​the hydrogen bubbles and the surface area of ​​the metal sample.

[0048] In the embodiment of the present invention, the area value of each hydrogen bubble can be determined by actual measurement in the hydrogen bubble distribution diagram, and then the area ratio of the hydrogen bubble can be determined according to the total area of ​​the hydrogen bubble and the surface area of ​​the metal sample.

[0049] The present invention is described in detail below with a specific embodiment. Specifically, hydrogen bubbling analysis on the surface of a curved pipe sample after hydrogen sulfide hydrogen-induced cracking test comprises the following steps:

[0050] 1) Use 400# or 600# water sandpaper to gently polish the surface of the sample after the hydrogen-induced cracking test to remove the corrosion products on the surface of the sample. Polish until the outline of the hydrogen bubbling is clearly visible, such as Figure 2 As shown;

[0051] 2) Use a camera to take pictures of the front and back of the sample;

[0052] 3) Open Photoshop software, load the sample front picture taken, and use the cropping tool to crop the sample area, and enlarge the picture to 100% display;

[0053] 4) Use the elliptical "selection" tool to circle the hydrogen bubbles one by one. When selecting the area, set the foreground color to black, and the selected hydrogen bubbles will be displayed in black;

[0054] 5) Each hydrogen bubble in a circle is a layer, there are 70 bubbles in total, select all the layers and merge them;

[0055] 6) Use the "Magic Wand" tool to select a hydrogen bubble, then use the "Select Similar" tool to select all the outlined hydrogen bubbles, view the pixels (PB) of the selected hydrogen bubble area from the histogram function of Photoshop, and record the value 7122;

[0056] 7) Select the entire image, view the pixels of the entire image through the histogram (P), and record the pixel value of the entire image 279424;

[0057] 8) Use the "Magic Wand" tool to select a hydrogen bubble, then use the "Select Similar" tool to select all the outlined hydrogen bubbles, right-click and use the "Select Inverse" function to select other areas except the hydrogen bubble, then select the brush tool, select white as the color, and paint the selected area white to obtain the distribution map of hydrogen bubbles on the sample surface, as shown in the figure. Figure 3 As shown;

[0058] 9) Hydrogen bubbling area percentage = PB / P × 100% = 7122 / 279724 × 100% = 2.55%;

[0059] 10) Hydrogen bubbling area = 2.55% × (100 × 20) mm 2 =51mm 2 .

[0060] It should be noted that the processing method of the back image obtained by taking a photo of the back of the sample with a camera is the same as the processing method of the front image, which will not be repeated here.

[0061] The embodiment of the present invention further provides a metal material hydrogen damage assessment system, comprising: a sample preprocessing module, a sample image acquisition module, a percentage determination module and a damage assessment module.

[0062] The sample pretreatment module is used to pretreatment the surface of the metal material sample to be analyzed, so that the hydrogen bubbling contour on the surface of the metal material sample is clearly visible;

[0063] The sample image acquisition module is used to acquire the original image of the pre-treated metal material sample surface, and use image processing software to identify and extract hydrogen bubbles in the original image; wherein each extracted hydrogen bubble is a layer;

[0064] A percentage determination module is used to merge all the layers where hydrogen bubbles are located to obtain a final layer including all hydrogen bubbles, calculate the sum of the pixel values ​​of all hydrogen bubbles in the final layer and the total pixel value of the final layer, and determine the percentage of the hydrogen bubble area;

[0065] The damage assessment module is used to assess the degree of hydrogen damage of metal material samples based on the percentage of hydrogen bubbling area.

[0066] An embodiment of the present invention further provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enable the computer to execute the method for evaluating hydrogen damage to a metal material as provided in the above embodiment.

[0067] An embodiment of the present invention also provides a computing device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for evaluating hydrogen damage to metal materials provided in the above embodiment is implemented.

[0068] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0069] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0070] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0071] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0072] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0073] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for evaluating hydrogen damage to metal materials, characterized in that: include: Pre-treat the surface of the metal material sample to be analyzed so that the hydrogen bubbling outline on the surface of the metal material sample is clearly visible; Acquire an original image of the pre-processed surface of the metal material sample, and use image processing software to identify and extract hydrogen bubbles in the original image; wherein each extracted hydrogen bubble is a layer; Merging all layers where hydrogen bubbles are located to obtain a final layer including all hydrogen bubbles, counting the sum of pixel values ​​of all hydrogen bubbles in the final layer and the total pixel value of the final layer, and determining the percentage of hydrogen bubble area; The degree of hydrogen damage of the metal material sample is evaluated according to the percentage of the hydrogen bubbling area.

2. The method according to claim 1, characterized in that The pretreatment of the surface of the metal material sample to be analyzed includes: grinding the surface of the metal material sample to be analyzed to remove corrosion products on the surface of the sample after hydrogen induced cracking test or other immersion corrosion test, and grinding until the hydrogen bubbling outline on the surface of the sample is clearly visible.

3. The method according to claim 1, characterized in that The method of identifying and extracting hydrogen bubbles in the original image using image processing software includes: Open Photoshop image processing software and load the original image; Using a cropping tool to crop a sample area corresponding to the metal material sample in the original image to obtain a sample image, and enlarging the sample image until each hydrogen bubble is clearly visible; The hydrogen bubbles in the sample image are circled one by one using the elliptical "selection" tool. When selecting the area, the foreground color is set to be the first preset color, and the selected hydrogen bubbles are all displayed in the first preset color.

4. The method according to any one of claims 1 to 3, characterized in that: The counting of the sum of the pixel values ​​of all hydrogen bubbles in the final layer and the total pixel value of the final layer, and determining the percentage of the hydrogen bubble area comprises: performing the following steps in Photoshop image processing software: Select all hydrogen bubbles in the final layer, and use the histogram function of the image processing software to count the sum of the pixel values ​​of all hydrogen bubbles; The final layer is selected, and the total pixel value of the final layer is counted using the histogram function of the image processing software; The hydrogen bubble area percentage is obtained according to the percentage of the sum of the pixel values ​​of all hydrogen bubbles to the total pixel value.

5. The method according to claim 4, characterized in that The selecting all hydrogen bubbles in the final layer and using the histogram function of the image processing software to count the sum of pixel values ​​of all hydrogen bubbles includes: Use the "Magic Wand" tool to select a hydrogen bubble, then use the "Select Similar" tool to select all the outlined hydrogen bubbles, and use the histogram function of Photoshop to count the sum of the pixel values ​​of the selected hydrogen bubble area.

6. The method according to any one of claims 1 to 3, characterized in that: The method also includes obtaining the hydrogen bubbling area on the surface of the metal material sample according to the hydrogen bubbling area percentage and the area corresponding to the metal material sample in the original image.

7. The method according to any one of claims 1 to 3, characterized in that: The method also includes making a hydrogen bubbling distribution map of the sample surface, specifically including: In Photoshop image processing software, use the "Magic Wand" tool to select a hydrogen bubble in the final layer, then use the "Select Similar" tool to select all the outlined hydrogen bubbles, then use the "Select Inverse" function to select other areas except the hydrogen bubbles, then select the brush tool, select the color as a second preset color different from the color of the hydrogen bubbles, paint the selected area with the second preset color, obtain the distribution map of hydrogen bubbles on the sample surface, and store it for later use.

8. The method according to claim 7, characterized in that The method further includes obtaining an absolute value of a hydrogen bubble size through the hydrogen bubble distribution diagram, specifically comprising: Using image analysis software with a measurement function to open the hydrogen bubble distribution map, setting the total length of the hydrogen bubble distribution map to the sample length, and the width to the sample width, and determining the surface area of ​​the metal sample according to the sample length and the sample width; By measuring the major axis and the minor axis of the hydrogen bubble in the hydrogen bubble distribution diagram, the actual area of ​​each hydrogen bubble is calculated according to the ellipse area calculation formula; The total hydrogen bubbling area is determined according to the sum of all hydrogen bubbling areas, and the hydrogen bubbling area ratio is determined according to the sum of the total hydrogen bubbling area and the surface area of ​​the metal sample.

9. A metal material hydrogen damage assessment system, characterized in that: include: The sample pretreatment module is used to pretreatment the surface of the metal material sample to be analyzed, so that the hydrogen bubbling contour on the surface of the metal material sample is clearly visible; A sample image acquisition module is used to acquire an original image of the pre-processed surface of the metal material sample, and to identify and extract hydrogen bubbles in the original image using image processing software; wherein each extracted hydrogen bubble is a layer; A percentage determination module is used to merge all layers where hydrogen bubbles are located to obtain a final layer including all hydrogen bubbles, count the sum of pixel values ​​of all hydrogen bubbles in the final layer and the total pixel value of the final layer, and determine the percentage of hydrogen bubble area; A damage assessment module is used to assess the degree of hydrogen damage of the metal material sample according to the percentage of the hydrogen bubbling area.

10. A computing 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 implements the method for evaluating hydrogen damage to metal materials as described in any one of claims 1 to 8 when executing the program.