Method and device for measuring diameter of film hole, electronic equipment and storage medium

By acquiring and fusing the image sequence of air membrane pores, extracting key areas and reconstructing the three-dimensional model, the problem of insufficient accuracy and efficiency of air membrane pore diameter measurement in traditional methods is solved, and high-precision and efficient measurement are achieved.

CN119714098APending Publication Date: 2025-03-28CHINA PRECISION ENG INST FOR AIRCRAFT IND AVIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411636975.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

When measuring the diameter of air membrane holes of aircraft engine blades, traditional methods have problems with insufficient measurement accuracy and efficiency.

Method used

By obtaining the preliminary image sequence of air membrane pores, the clearest point cloud image is generated based on image clarity fusion, the key areas are extracted, and the air membrane pore data is fitted, and the three-dimensional model is reconstructed to measure the diameter.

Benefits of technology

A high-resolution three-dimensional morphology map is realized, accurately measuring the geometric parameters of air membrane pores, and improving measurement accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119714098A_ABST
    Figure CN119714098A_ABST
Patent Text Reader

Abstract

The invention relates to a film hole diameter measurement method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a preliminary image sequence of a to-be-measured film hole, the preliminary image sequence being an image set obtained by carrying out the out-of-focus-out-of-focus process scanning of the to-be-measured film hole at a fixed step length; according to the preliminary image sequence, generating a point cloud image enabling the to-be-detected gas film hole to be clearest based on image definition fusion, and extracting a key area of the to-be-detected gas film hole; and performing film hole data fitting according to the key area, reconstructing a three-dimensional model of the to-be-measured film hole, and measuring based on the three-dimensional model to obtain the diameter of the to-be-measured film hole. According to the invention, the measurement precision and the measurement efficiency of the aero-engine blade film hole diameter can be 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 blade film hole detection, and in particular to a method, device, electronic device and storage medium for measuring the diameter of a film hole. Background Art

[0002] The film holes on the blades of aircraft engines are key microstructures on the surface of the blades. Their main function is to eject cooling air and form a protective film to resist high-temperature gases. The film holes mainly control the flow and distribution of cooling air to ensure the performance and life of the engine. The diameter, angle, depth and other parameters have an important influence on the cooling efficiency and overall performance of the blades. Therefore, accurately measuring the parameters of the film holes is crucial to optimizing the cooling efficiency of the blades, optimizing the design of the film hole structure, and improving the performance of the engine.

[0003] At present, the main methods for measuring film holes in aircraft engine blades include optical microscope measurement, scanning electron microscope measurement, laser confocal microscope measurement, micro-CT measurement, etc. These methods obtain detailed information on the morphological structure and size of film holes through different technical means. For example, laser confocal microscope measurement can measure the three-dimensional structure of film holes, while micro-CT measurement can measure the specific distribution of film holes inside the blade.

[0004] However, these air film pore measurement methods all have certain limitations. Taking the optical microscope measurement method as an example, its resolution is low and it is difficult to capture fine structures. The scanning electron microscope measurement method requires complex sample processing, the laser confocal microscope measurement method has a slow imaging speed, and the micro-CT measurement method has limited spatial resolution and poor imaging effect on metal materials. Therefore, it is of great significance to develop a simple, efficient and high-precision air film pore measurement method. Summary of the invention

[0005] (1) Technical issues to be solved

[0006] The present application provides a method, device, electronic device and storage medium for measuring the diameter of film holes of aircraft engine blades, which solves the problem that traditional measurement methods are insufficient in measurement accuracy and efficiency when measuring the diameter of film holes of aircraft engine blades.

[0007] (2) Technical solution

[0008] In a first aspect, the present application provides a method for measuring the diameter of an air film hole, comprising:

[0009] Acquire a preliminary image sequence of the air film hole to be tested, wherein the preliminary image sequence is a set of images obtained by performing a defocus-focus-defocus process on the air film hole to be tested with a fixed step length;

[0010] According to the preliminary image sequence, generating a point cloud image that makes the air film hole to be tested clearest based on image clarity fusion, and extracting a key area of ​​the air film hole to be tested;

[0011] The air film hole data is fitted according to the key area, a three-dimensional model of the air film hole to be measured is reconstructed, and the diameter of the air film hole to be measured is obtained based on the three-dimensional model.

[0012] Furthermore, the generating, based on the clarity fusion of the images according to the preliminary image sequence, a point cloud image that makes the air film hole to be measured clearest includes:

[0013] determining the sharpest focus area of ​​each image in the preliminary image sequence;

[0014] Based on the clearest focus area of ​​each image, a point cloud image that makes the air film hole to be tested clearest is generated by fusion.

[0015] Further, determining the clearest focus area of ​​each image in the preliminary image sequence includes:

[0016] Each image in the preliminary image sequence is analyzed based on the focus evaluation function to determine the clearest focus area of ​​each image.

[0017] Furthermore, after determining the clearest focus area of ​​each image in the preliminary image sequence, the method further includes:

[0018] The high-frequency noise in each image is reduced by Gaussian filtering method, and the edge area of ​​each image is smoothed.

[0019] Furthermore, the step of fusing and generating a point cloud image that makes the air film hole to be measured clearest based on the clearest focus area of ​​each image includes:

[0020] Identify the edges or contours of the sharpest focus areas of each image using the Laplacian edge detection method;

[0021] Determine the focus of each image based on the position of the sharpest focus area of ​​each image with the highest focus evaluation value;

[0022] Based on the focus of each image and the edge or contour of the clearest focus area, each image is fused to generate a point cloud image that makes the air film hole to be tested clearest.

[0023] Furthermore, the step of fusing each image to generate a point cloud image that makes the air film hole to be measured clearest includes:

[0024] The mean index value of each coincident pixel point is determined based on the index value corresponding to each coincident pixel point on different images, and a point cloud image is generated according to the mean index value.

[0025] Furthermore, the step of extracting the key area of ​​the air film hole to be tested includes:

[0026] The pixel coordinates and radius of the center of the air film hole to be measured are set, and the key area of ​​the air film hole to be measured is extracted in the point cloud image based on the pixel interception algorithm selected based on ROI.

[0027] In a second aspect, the present application provides a device for measuring the diameter of an air film hole, comprising:

[0028] An image acquisition module, used to acquire a preliminary image sequence of the air film hole to be tested, wherein the preliminary image sequence is a set of images obtained by performing a defocus-focus-defocus process on the air film hole to be tested with a fixed step length;

[0029] An image fusion module, used to generate a point cloud image that makes the air film hole to be tested clearest based on the clarity of the image fusion according to the preliminary image sequence, and extract the key area of ​​the air film hole to be tested;

[0030] The diameter measurement module is used to fit the air film hole data according to the key area, reconstruct the three-dimensional model of the air film hole to be measured, and obtain the diameter of the air film hole to be measured based on the three-dimensional model.

[0031] In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the method for measuring the diameter of air film holes as described above is implemented when the processor executes the computer program.

[0032] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method for measuring the diameter of an air film hole as described above is implemented.

[0033] (3) Beneficial effects

[0034] The above technical solution of the present application has the following advantages:

[0035] The first aspect of the present application provides a method for measuring the diameter of film holes. By acquiring a preliminary image sequence obtained by scanning the film holes to be measured in a fixed step size through a defocus-focus-defocus process, the zoom microscopy technology does not require complicated sample preparation and can directly observe the film pore structure on the blade surface in a natural state. By fusing the preliminary image sequence to generate the clearest point cloud image of the film holes to be measured and extracting the key areas of the film holes to be measured, the film pore data is fitted according to the key areas, and a three-dimensional model of the film pores is reconstructed. A high-resolution three-dimensional morphology image can be obtained, thereby accurately measuring the geometric parameters of the film pores, which can solve the problem that traditional measurement methods are insufficient in measurement accuracy and efficiency when measuring the diameter of film holes on aircraft engine blades.

[0036] It can be understood that the beneficial effects of the second, third and fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0038] Figure 1 A schematic diagram of the flow chart of the method for measuring the diameter of the air film hole provided in this application;

[0039] Figure 2 Schematic diagram of the microscope provided for this application;

[0040] Figure 3 A schematic diagram of collecting a preliminary image sequence provided for this application;

[0041] Figure 4 A schematic diagram of the structure of the device for measuring the diameter of the air film hole provided in this application;

[0042] Figure 5 A schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION

[0043] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0044] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0045] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0046] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. "Multiple" means "two or more".

[0047] The specific implementation methods of the present application are further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but are not intended to limit the scope of the present application.

[0048] like Figure 1 As shown, the method for measuring the diameter of the air film hole provided in this embodiment specifically includes the following steps:

[0049] Acquire a preliminary image sequence of the air film hole to be tested, wherein the preliminary image sequence is a set of images obtained by performing a defocus-focus-defocus process on the air film hole to be tested with a fixed step length;

[0050] According to the preliminary image sequence, generating a point cloud image that makes the air film hole to be tested clearest based on image clarity fusion, and extracting a key area of ​​the air film hole to be tested;

[0051] The air film hole data is fitted according to the key area, a three-dimensional model of the air film hole to be measured is reconstructed, and the diameter of the air film hole to be measured is obtained based on the three-dimensional model.

[0052] like Figure 2As shown, LED white light irradiates the air film hole through the beam splitter and the microscope objective lens. The light reflected by the air film hole re-enters the objective lens, passes through the tubular lens, and forms an image on the CCD. The basis for determining whether a scan is completed is the focus-defocus model principle, that is, the object to be measured must be in the focal plane to form a clear image.

[0053] like Figure 3 As shown, the objective lens can be moved along the optical axis with a fixed step length to perform a scanning motion. Each step involves the acquisition of an image of the object surface. When the image of the object surface undergoes a defocusing-focusing-defocusing process, it is considered that a scan is completed, thereby obtaining a preliminary image sequence of the area.

[0054] The method of the present application reconstructs the three-dimensional shape of an object by capturing images of different focal lengths and analyzing the clarity of the images. Compared with traditional measurement methods, zoom microscopy has significant advantages in measuring air film holes.

[0055] First, zoom microscopy does not require complicated sample preparation and can directly observe the air film pore structure on the leaf surface in the natural state. Second, zoom microscopy can obtain high-resolution three-dimensional morphology through the fusion of multi-focus images, so as to accurately measure the geometric parameters of air film pores. In addition, zoom microscopy is simple to operate and has a fast imaging speed, which is suitable for high-throughput analysis of large-scale samples.

[0056] In some embodiments, generating a point cloud image that makes the air film hole to be detected clearest based on the clarity of the image fusion according to the preliminary image sequence includes:

[0057] determining the sharpest focus area of ​​each image in the preliminary image sequence;

[0058] Based on the clearest focus area of ​​each image, a point cloud image that makes the air film hole to be tested clearest is generated by fusion.

[0059] In some embodiments, determining the clearest focus area of ​​each image in the preliminary image sequence includes:

[0060] Each image in the preliminary image sequence is analyzed based on the focus evaluation function to determine the clearest focus area of ​​each image.

[0061] The use of the focus evaluation function improves the efficiency and accuracy compared to the traditional focus evaluation algorithm. The traditional focus evaluation algorithm needs to calculate the focus curve of each pixel and needs to process a large amount of data, which wastes computing resources and reduces the processing speed. The focus evaluation function used in this application can determine the most focused area in each image, remove points that do not contain important focus information, and reduce the interference of unnecessary points.

[0062] In some embodiments, after determining the clearest focus area of ​​each image in the preliminary image sequence, the method further includes:

[0063] The high-frequency noise in each image is reduced by Gaussian filtering method, and the edge area of ​​each image is smoothed.

[0064] The calculation formula of Gaussian filtering is:

[0065] G(x,y)=exp(-(x 2 +y 2 2σ 2 ))

[0066] Where σ is the standard deviation, and x and y are the horizontal and vertical coordinates relative to the center of the kernel. Using this formula, we can calculate the Gaussian kernel and then perform a convolution operation on the image to achieve a blurring effect, thereby achieving smoothing and noise reduction.

[0067] In some embodiments, the step of fusing and generating a point cloud image that makes the air film hole to be measured clearest based on the clearest focus area of ​​each image includes:

[0068] Identify the edges or contours of the sharpest focus areas of each image using the Laplacian edge detection method;

[0069] Determine the focus of each image based on the position of the sharpest focus area of ​​each image with the highest focus evaluation value;

[0070] Based on the focus of each image and the edge or contour of the clearest focus area, each image is fused to generate a point cloud image that makes the air film hole to be tested clearest.

[0071] The Laplace edge detection method can be used to identify the edge or contour of the image, identify the position with the highest focus evaluation value, and determine the focus of each image. The Laplace operator is thresholded, the repeated pixels in the image sequence are fitted, the depth information contained in the focus of each image is determined, and the point cloud image is fitted.

[0072] The calculation formula of Laplace edge detection is:

[0073]

[0074] In the formula represents the Laplace operator, which is the sum of the second-order derivatives of the function f. Represents the second-order differential of the function with respect to the x direction, calculates the curvature change in the x direction, and is used to detect horizontal edges. Represents the second derivative of the function with respect to the y direction, which is used to calculate the curvature change in the y direction and to detect vertical edges.

[0075] The Laplacian result is obtained by adding the second-order derivatives in the horizontal and vertical directions. By analyzing this result, the areas in the image where the grayscale value changes most significantly, i.e., the edges, can be identified. The Laplacian edge detection method in this step uses an 8-neighborhood Laplacian kernel, which can detect more subtle edges when performing convolution operations on the image.

[0076] In some embodiments, the step of fusing each image to generate a point cloud image that makes the air film hole to be detected clearest includes:

[0077] The mean index value of each coincident pixel point is determined based on the index value corresponding to each coincident pixel point on different images, and a point cloud image is generated according to the mean index value.

[0078] The process of fitting repeated pixel index values ​​in an image sequence is as follows:

[0079] Assume that P represents the extracted clear pixel set, P = {P1, P2, ..., P m}, where P j Represents the jth pixel. S j represents the index value set of the j-th pixel in different images, S j ={s j1 ,s j2 , ..., s jk}, where s ji Represents the index value of the j-th pixel in the i-th image.

[0080] P j are overlapping pixels, and their index value sets on different images are S j ={s j1 ,s j2 , ..., s jk}, then its mean index value The calculation is as follows:

[0081]

[0082] in represents the mean index value of the jth pixel, k represents the number of overlapping images, and s ji Represents the index value of the j-th pixel in the i-th image.

[0083] In some embodiments, extracting the key area of ​​the air film hole to be tested includes:

[0084] The pixel coordinates and radius of the center of the air film hole to be measured are set, and the key area of ​​the air film hole to be measured is extracted in the point cloud image based on the pixel interception algorithm selected based on ROI.

[0085] Based on the pixel interception algorithm selected by ROI, the key areas in the point cloud image can be extracted to achieve accurate pixel extraction of the air film hole area, remove unnecessary points, and perform data fitting of the air film hole. Finally, the 3D model of the air film hole is reconstructed, and the key parameters such as the diameter of the air film hole are measured.

[0086] The calculation method of the pixel interception algorithm based on ROI selection is as follows:

[0087] Assume that the pixel coordinates of the center of the air film hole are (x c ,y c ), and then determine the radius r of the air film hole. For each pixel point (x, y) in the extracted clear area, determine whether it is within the radius range of the air film hole:

[0088] ROI = {(x, y)|(x c ) 2 +(yy c ) 2 ≤r 2}

[0089] Among them, (x c ,y c ) is the center coordinate of the air film hole, r is the radius of the air film hole, (x, y) is the pixel coordinate in the image, and ROI represents the region of interest, which is the set of all pixels that meet the above conditions.

[0090] The parameters of the film holes on aerospace engine blades, such as the aperture, hole angle and hole depth, have an important influence on their performance. Due to the complex structure of the film holes, conventional measurement methods have problems such as low accuracy and low efficiency. The method for measuring the diameter of the film holes provided in the embodiment of the present application is based on zoom microscopy technology. By capturing images with different focal lengths and analyzing the clarity of the images to reconstruct the three-dimensional shape of the object, it can solve the problem that the traditional measurement method is insufficient in measurement accuracy and efficiency when measuring the diameter of the film holes of aerospace engine blades.

[0091] Corresponding to the measurement method of the air film hole diameter described in the above embodiment, Figure 4 As shown, this embodiment provides a device for measuring the diameter of an air film hole, and the device 400 for measuring the diameter of an air film hole includes:

[0092] An image acquisition module 401 is used to acquire a preliminary image sequence of the air film hole to be tested, wherein the preliminary image sequence is a set of images obtained by performing a defocus-focus-defocus process on the air film hole to be tested with a fixed step length;

[0093] An image fusion module 402 is used to generate a point cloud image that makes the air film hole to be detected clearest based on the clarity of the image fusion according to the preliminary image sequence, and extract the key area of ​​the air film hole to be detected;

[0094] The diameter measurement module 403 is used to fit the air film hole data according to the key area, reconstruct the three-dimensional model of the air film hole to be measured, and obtain the diameter of the air film hole to be measured based on the three-dimensional model.

[0095] It should be noted that the information interaction, execution process, etc. between the above-mentioned modules / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0096] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0097] The present application embodiment also provides an electronic device 500, such as Figure 5 As shown, it includes a memory 501, a processor 502, and a computer program 503 stored in the memory 501 and executable on the processor 502. When the processor 502 executes the computer program 503, the steps of the method for measuring the diameter of the air film hole provided in the first aspect are implemented.

[0098] In applications, the electronic device may include, but is not limited to, a processor and a memory. Figure 5 This is only an example of an electronic device and does not constitute a limitation on the electronic device. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input and output devices, network access devices, etc. Input and output devices may include cameras, audio acquisition / playback devices, display screens, etc. Network access devices may include a network module for wirelessly communicating with external devices.

[0099] In applications, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0100] In application, the memory may be an internal storage unit of an electronic device in some embodiments, such as a hard disk or memory of the electronic device. The memory may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. The memory may also include both an internal storage unit and an external storage device of the electronic device. The memory is used to store operating systems, applications, boot loaders (BootLoader), data, and other programs, such as program codes of computer programs, etc. The memory may also be used to temporarily store data that has been output or is to be output.

[0101] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0102] The present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to an electronic device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.

[0103] Those of ordinary skill in the art will appreciate that the devices and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0104] In the embodiments provided in the present 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. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of devices, which can be electrical, mechanical or other forms.

[0105] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for measuring the diameter of an air film hole, characterized in that: include: Acquire a preliminary image sequence of the air film hole to be tested, wherein the preliminary image sequence is a set of images obtained by performing a defocus-focus-defocus process on the air film hole to be tested with a fixed step length; According to the preliminary image sequence, generating a point cloud image that makes the air film hole to be tested clearest based on image clarity fusion, and extracting a key area of ​​the air film hole to be tested; The air film hole data is fitted according to the key area, a three-dimensional model of the air film hole to be measured is reconstructed, and the diameter of the air film hole to be measured is obtained based on the three-dimensional model.

2. The method for measuring the air film hole diameter according to claim 1, characterized in that: The generating, based on the clarity fusion of the images according to the preliminary image sequence, a point cloud image that makes the air film hole to be measured clearest includes: determining the sharpest focus area of ​​each image in the preliminary image sequence; Based on the clearest focus area of ​​each image, a point cloud image that makes the air film hole to be tested clearest is generated by fusion.

3. The method for measuring the air film hole diameter according to claim 2, characterized in that: Determining the clearest focus area of ​​each image in the preliminary image sequence includes: Each image in the preliminary image sequence is analyzed based on the focus evaluation function to determine the clearest focus area of ​​each image.

4. The method for measuring the air film hole diameter according to claim 2, characterized in that: After determining the clearest focus area of ​​each image in the preliminary image sequence, the method further includes: The high-frequency noise in each image is reduced by Gaussian filtering method, and the edge area of ​​each image is smoothed.

5. The method for measuring the air film hole diameter according to claim 2, characterized in that: The method of fusing the clearest focus area of ​​each image to generate a point cloud image that makes the air film hole to be tested clearest includes: Identify the edges or contours of the sharpest focus areas of each image using the Laplacian edge detection method; Determine the focus of each image based on the position of the sharpest focus area of ​​each image with the highest focus evaluation value; Based on the focus of each image and the edge or contour of the clearest focus area, each image is fused to generate a point cloud image that makes the air film hole to be tested clearest.

6. The method for measuring the air film hole diameter according to claim 5, characterized in that: The step of fusing each image to generate a point cloud image that makes the air film hole to be tested clearest includes: The mean index value of each coincident pixel point is determined based on the index value corresponding to each coincident pixel point on different images, and a point cloud image is generated according to the mean index value.

7. The method for measuring the air film hole diameter according to claim 1, characterized in that: The step of extracting the key area of ​​the air film hole to be tested includes: The pixel coordinates and radius of the center of the air film hole to be measured are set, and the key area of ​​the air film hole to be measured is extracted in the point cloud image based on the pixel interception algorithm selected based on ROI.

8. A device for measuring the diameter of air film holes, characterized in that: include: An image acquisition module, used to acquire a preliminary image sequence of the air film hole to be tested, wherein the preliminary image sequence is a set of images obtained by performing a defocus-focus-defocus process on the air film hole to be tested with a fixed step length; An image fusion module, used to generate a point cloud image that makes the air film hole to be tested clearest based on the clarity of the image fusion according to the preliminary image sequence, and extract the key area of ​​the air film hole to be tested; The diameter measurement module is used to fit the air film hole data according to the key area, reconstruct the three-dimensional model of the air film hole to be measured, and obtain the diameter of the air film hole to be measured based on the three-dimensional model.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for measuring the air film hole diameter according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for measuring the air film hole diameter according to any one of claims 1 to 7 is implemented.