Aero-engine blade borescope detection method for small sample anomaly detection in multiple scenes
Through small sample anomaly detection technology, we extract multi-level pixel-level feature maps of aero-engine blades, predict down-sampled anomaly segmentation maps and perform post-processing to achieve high-accuracy and adaptive blade anomaly detection in different scenarios and solve the problem. The existing technology relies on manual annotation of data and suffers from performance degradation.
Patent Information
- Application Number
- CN202410764125.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-06
AI Technical Summary
Existing intelligent borehole detection technology highly relies on human-annotated real defect data, making it difficult to achieve efficient and accurate detection in scenarios such as blades of different shapes, different inspection angles, and different lighting conditions, and it also faces the problem of sudden drop in performance.
An aero-engine blade hole detection method in multiple scenarios based on small sample anomaly detection is adopted. By collecting blade image data, dividing the support set and query set, extracting multi-level pixel-level feature maps, predicting the down-sampled anomaly segmentation map, and using Gaussian filtering processor and bilinear interpolation processing to achieve automated blade damage detection.
Without relying on defect samples, it achieves highly accurate and highly adaptive blade anomaly detection for different types of engines, different viewing angles, and different lighting conditions, reducing deployment costs and breaking through the limitations of existing technology.
Smart Images

Figure CN118608490A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent boresight for aircraft engine blades, and in particular to a boresight detection method for aircraft engine blades in multiple scenarios based on small sample anomaly detection. Background Art
[0002] Blades are important parts of aircraft engines, working in high temperature, high speed, and highly corrosive environments. Once damaged, catastrophic accidents may occur. Borescope inspection is currently the main means of in-situ inspection of blades, which can understand the internal blade conditions without disassembling the engine. However, borescope inspection requires professionals to conduct a detailed analysis of the inspection results, which is time-consuming and laborious when faced with a large number of blades to be inspected. In order to efficiently and accurately inspect blades, intelligent blade borescope inspection technology with computer vision as the core has received increasing attention. However, existing intelligent borescope technology is highly dependent on real defect data that has been manually annotated. Since the engine works in a normal state most of the time, it is difficult to obtain data containing different types of defects, which makes it difficult for current methods to be widely used. In addition, the current intelligent inspection method faces the problem of sudden performance degradation when facing scenes such as blades of different shapes, different inspection angles, and different shooting lighting.
[0003] The above information disclosed in this Background section is only for enhancement of understanding of the background of the invention and therefore it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art. Summary of the invention
[0004] In view of the problems existing in the prior art, the present invention proposes a multi-scenario aviation engine blade borescope inspection method based on small sample anomaly detection, which gets rid of the current borescope technology's reliance on defect data and realizes automated blade damage detection in scenarios such as different engine models, different viewing angles, and different lighting.
[0005] The present invention is achieved through the following technical solutions:
[0006] A multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection includes:
[0007] In the first step, borescope image data of aircraft engine blades are collected as input image data, and the input image data are divided into a support set and a query set, wherein the support set includes at least one supporting normal blade image of the scene to be detected, and the query set includes a query blade image to be detected.
[0008] In the second step, a multi-level pixel-level feature map is extracted, and the supporting normal leaf image and the query leaf image to be tested are input into the feature extractor network, and the multi-level pixel-level feature maps supporting the normal leaf image and the query leaf image to be tested are extracted respectively, including a shallow pixel-level feature map and a deep pixel-level feature map, wherein the shallow pixel-level feature map represents the geometric structure information of the contour and texture of the target, and the deep pixel-level feature map represents the semantic information of the target.
[0009] In the third step, the downsampled abnormal segmentation maps of different layers of the leaf image to be tested are predicted and queried. The support feature map and the query feature map of each layer are transformed in dimension through the operator Φ to obtain the support pixel-level feature matrix and the query pixel-level feature matrix. The two matrices are multiplied to obtain the pixel-level similarity matrix between the query feature and the support normal feature. Take the maximum value of the pixel-level similarity matrix by column and re-arrange the dimensions to obtain the pixel-level abnormality degree of the downsampled leaf image to be tested, that is, the downsampled abnormal segmentation map of the leaf image to be tested, where downsampling means reducing the original resolution in proportion. Repeat the above process for feature maps of different layers to obtain downsampled abnormal segmentation maps of different layers of the leaf image to be tested;
[0010] In the fourth step, the downsampled abnormal segmentation maps of different layers of the leaf image to be tested are queried and post-processed, and each layer of the downsampled abnormal segmentation map is passed through a Gaussian filter to filter out the high-frequency noise information, and the abnormal segmentation map is upsampled and filtered out of the noise through bilinear interpolation to obtain an abnormal segmentation map with the same resolution as the input image, and the abnormal segmentation maps of different layers are summed as the final abnormal segmentation map of the image to be detected. The higher the value in the abnormal segmentation map, the more abnormal the corresponding area is.
[0011] In the multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection, in the first step, the support set is The query set is Q = {x q},in They represent the supporting normal leaf images and the query leaf images to be tested, h and w represent the height and width of the image respectively. The input image dimension is 3, and the input image is an RGB image. K represents the support set containing K supporting normal leaf images, i represents the i-th supporting normal leaf image in the support set, q represents the query sample, s represents the supporting sample, S represents the set corresponding to the supporting normal leaf images, and Q represents the set corresponding to the query leaf images to be tested.
[0012] In the multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection, in the second step, the input feature extractor network is Where h′, w′ represent the height and width of the low-dimensional features of the image, d represents the feature dimension, and fθ (·) represents the feature extractor, and θ represents the parameters of the network. The feature extractor network converts the original RGB space image into discriminative pixel-level features. After feature extraction, the pixel-level features corresponding to the support set and query set are in correspond The feature map of the lth layer obtained by the feature extractor network encoding, si represents the i-th supporting normal leaf image. Corresponding to xq is the feature map of the lth layer obtained by encoding the feature extractor network.
[0013] In the method for detecting aero-engine blade borescope in multiple scenarios based on small sample anomaly detection, in the third step, the pixel-level anomaly degree of the downsampled blade image to be detected is queried as follows:
[0014]
[0015] in, It means that the features are flattened according to the dimension of the spatial position, and the obtained features are L2 normalized by column. It means taking the maximum value of the obtained matrix by column and re-arranging the obtained vector. Represents the query of the leaf image xq to be tested and the i-th supporting normal leaf image in the support set The relevant l-th layer pixel-level abnormality degree, corresponding to all supporting normal leaf images Sum and get the abnormal segmentation map of the downsampled leaf image to be tested
[0016] In the multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection, in the fourth step, the abnormal segmentation map of the downsampled blade image to be tested is queried by Gaussian filtering. It is expressed as follows:
[0017]
[0018] in, express The pixel value corresponding to the mth row and nth column, u and v represent the sliding distance in the row and column directions respectively, r represents the size of the Gaussian filter convolution kernel, when r is 1, the corresponding convolution kernel is 3, represents the two-dimensional standard normal distribution, and we get Upsampled to is the abnormal segmentation map corresponding to each layer after upsampling, and finally the abnormal segmentation maps of multiple layers are summed up, which is expressed as follows:
[0019]
[0020] in, represents bilinear interpolation upsampling, Represents the abnormal segmentation map of the image to be detected. The higher the value in the abnormal segmentation map, the more abnormal the corresponding area is.
[0021] Compared with the prior art, the present invention has the following advantages:
[0022] The present invention can realize abnormal pattern discrimination under the condition of only normal samples, which can break through the limitations of existing intelligent boresight technology on abnormal defect samples. On this basis, small sample anomaly detection can adapt to changes in different scenarios by flexibly changing the support set, and realize highly accurate and highly adaptive blade anomaly detection. The present invention does not need to rely on defective samples of blades for model training, which greatly reduces the deployment cost; the method can adapt to changes in different scenarios by flexibly changing the support set, and realize highly accurate and highly adaptive blade anomaly detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] By reading the detailed description of the preferred specific embodiments below, various other advantages and benefits of the present invention will become clear to those of ordinary skill in the art. The drawings in the specification are only for the purpose of illustrating the preferred embodiments and are not considered to be limitations of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative work. Moreover, the same reference numerals are used to represent the same components throughout the drawings.
[0024] In the attached picture:
[0025] Figure 1 This is a flow chart of the method for detecting aero-engine blade borescope in multiple scenarios based on small sample anomaly detection according to the present invention;
[0026] Figure 2 This is a diagram of the borescope detection results of the blades under different engine models, different viewing angles, and different lighting scenes according to the present invention.
[0027] The present invention is further explained below in conjunction with the accompanying drawings and embodiments. DETAILED DESCRIPTION
[0028] The specific embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the specific embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0029] It should be noted that certain words are used in the specification and claims to refer to specific components. Those skilled in the art should understand that technicians may use different nouns to refer to the same component. This specification and claims do not use the difference in nouns as a way to distinguish components, but use the difference in the functions of the components as the criterion for distinction. As mentioned throughout the specification and claims, "including" or "comprising" is an open term, so it should be interpreted as "including but not limited to". The subsequent description of the specification is a preferred embodiment of the present invention, but the description is based on the general principles of the specification and is not intended to limit the scope of the present invention. The scope of protection of the present invention shall be determined by the attached claims.
[0030] To facilitate understanding of the embodiments of the present invention, further explanation will be given below by taking specific embodiments as examples in conjunction with the accompanying drawings, and each of the accompanying drawings does not constitute a limitation on the embodiments of the present invention.
[0031] like Figure 1 to Figure 2 As shown in FIG. 1 , the multi-scenario aero-engine blade borescope detection method based on small sample anomaly detection includes the following steps:
[0032] In the first step, image data of a borescope of an aircraft engine blade is collected as input image data, and the input image data is divided into a support set and a query set, wherein the support set includes at least one supporting normal blade image of a scene to be detected, and the query set includes a query blade image to be detected.
[0033] In the second step, a multi-level pixel-level feature map is extracted, and the supporting normal leaf image and the query leaf image to be tested are input into the feature extractor network, and the multi-level pixel-level feature maps supporting the normal leaf image and the query leaf image to be tested are extracted respectively, including a shallow pixel-level feature map and a deep pixel-level feature map, wherein the shallow pixel-level feature map represents the geometric structure information of the contour and texture of the target, and the deep pixel-level feature map represents the semantic information of the target.
[0034] In the third step, the downsampled abnormal segmentation maps of different layers of the leaf image to be tested are predicted and queried. The support feature map and the query feature map of each layer are transformed in dimension through the operator Φ to obtain the support pixel-level feature matrix and the query pixel-level feature matrix. The two matrices are multiplied to obtain the pixel-level similarity matrix between the query feature and the support normal feature. Take the maximum value of the pixel-level similarity matrix by column and re-arrange the dimensions to obtain the pixel-level abnormality degree of the downsampled leaf image to be tested, that is, the downsampled abnormal segmentation map of the leaf image to be tested, where downsampling means reducing the original resolution in proportion. Repeat the above process for feature maps of different layers to obtain downsampled abnormal segmentation maps of different layers of the leaf image to be tested;
[0035] In the fourth step, the downsampled anomaly segmentation maps of different layers of the leaf image to be tested are post-processed and queried. The high-frequency noise information is filtered out of each downsampled anomaly segmentation map through a Gaussian filter. The noise of the anomaly segmentation map is filtered out through bilinear interpolation upsampling to obtain an anomaly segmentation map with the same resolution as the input image. The anomaly segmentation maps of different layers are summed as the final anomaly segmentation map of the image to be tested. The higher the value in the anomaly segmentation map, the more abnormal the corresponding area is.
[0036] In a preferred implementation of the multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection, in the first step, the support set is The query set is Q = {x q},in They represent the supporting normal leaf images and the query leaf images to be tested, h and w represent the height and width of the image respectively. The input image dimension is 3, and the input image is an RGB image. K represents the support set containing K supporting normal leaf images, i represents the i-th supporting normal leaf image in the support set, q represents the query sample, s represents the supporting sample, S represents the set corresponding to the supporting normal leaf images, and Q represents the set corresponding to the query leaf images to be tested.
[0037] In the preferred implementation of the multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection, in the second step, the feature extractor network is Where h′ and w′ represent the height and width of the low-dimensional features of the image, respectively, and d represents the feature dimension. The feature extractor network converts the image in the original RGB space into discriminative pixel-level features. After feature extraction, the pixel-level features corresponding to the support set and the query set are in correspond The feature map of the lth layer obtained by the feature extractor network encoding, si represents the i-th supporting normal leaf image. Corresponding to xq is the feature map of the lth layer obtained by encoding the feature extractor network.
[0038] In the preferred implementation of the multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection, in the third step, the pixel-level anomaly degree of the downsampled blade image to be tested is queried as follows:
[0039]
[0040] in, It means that the features are flattened according to the dimension of the spatial position, and the obtained features are L2 normalized by column. It means taking the maximum value of the obtained matrix by column and re-arranging the obtained vector. Represents the query of the leaf image xq to be tested and the i-th supporting normal leaf image in the support set The relevant l-th layer pixel-level abnormality degree, corresponding to all supporting normal leaf images Sum and get the abnormal segmentation map of the downsampled leaf image to be tested
[0041] In the preferred implementation of the multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection, in the fourth step, the abnormal segmentation map of the downsampled blade image to be tested is queried by Gaussian filtering. It is expressed as follows:
[0042]
[0043] in, express The pixel value corresponding to the mth row and nth column, u and v represent the sliding distance in the row and column directions respectively, r represents the size of the Gaussian filter convolution kernel, when r is 1, the corresponding convolution kernel is 3, represents the two-dimensional standard normal distribution, and we get Upsampled to is the abnormal segmentation map corresponding to each layer after upsampling, and finally the abnormal segmentation maps of multiple layers are summed up, which is expressed as follows:
[0044]
[0045] in, represents bilinear interpolation upsampling, Represents the abnormal segmentation map of the image to be detected. The higher the value in the abnormal segmentation map, the more abnormal the corresponding area is.
[0046] In one embodiment, Figure 1 As shown, a multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection includes the following steps:
[0047] In the first step, the input image data is divided into a support set and a query set, wherein the support set contains at least one supporting normal leaf image of the scene to be detected, and the query set contains the query leaf image to be detected, and the supporting normal leaf image is specified by a person in the scene to be detected.
[0048] Specifically, the support set is The query set is Q = {x q},in They represent the supporting normal leaf images and the query leaf images to be tested respectively, h and w represent the height and width of the image respectively, the input image dimension is 3, that is, the input image is an RGB image, K represents the support set containing K supporting normal images, i represents the i-th supporting normal leaf image in the support set, q represents the query sample, s represents the supporting sample, S represents the set corresponding to the supporting normal leaf images, and Q represents the set corresponding to the query leaf images to be tested.
[0049] The second step is to extract multi-level pixel-level feature maps. The support normal leaf image and the query leaf image to be tested are input into the feature extractor network. Multi-level pixel-level feature maps supporting normal leaf image and query leaf image to be tested are extracted respectively, including shallow pixel-level feature maps and deep pixel-level feature maps. The shallow pixel-level feature map represents the geometric structure information of the contour and texture of the target, and the deep pixel-level feature map represents the semantic information of the target. Support normal leaf image to query the leaf image to be tested.
[0050] Specifically, the feature extractor network is Where h′ and w′ represent the height and width of the low-dimensional features of the image, respectively, and d represents the feature dimension. The feature extractor converts the original RGB space image into discriminative pixel-level features. After feature extraction, the pixel-level features corresponding to the support set and query set are in correspond The feature map of the lth layer obtained by the feature extractor network encoding, si represents the i-th supporting normal leaf image. Corresponding to xq is the feature map of the lth layer obtained by encoding the feature extractor network.
[0051] The third step is to predict and query the downsampled abnormal segmentation maps of different layers of the leaf image to be tested, and transform the support feature map and the query feature map of each layer through the operator Φ to obtain the support pixel-level feature matrix and the query pixel-level feature matrix. The two matrices are multiplied to obtain the pixel-level similarity matrix between the query feature and the support normal feature. Take the maximum value of the pixel-level similarity matrix by column and re-arrange the dimensions to obtain the pixel-level anomaly degree of the downsampled leaf image to be tested, that is, the downsampled anomaly segmentation map of the leaf image to be tested, where downsampling means reducing the original resolution in proportion. Repeat the above process for feature maps of different layers to obtain downsampled anomaly segmentation maps of different layers of the leaf image to be tested.
[0052] Specifically, the pixel-level abnormality degree of the downsampled leaf image to be tested is obtained, which is expressed as follows:
[0053]
[0054] in, It means that the features are flattened according to the dimension of the spatial position, and the obtained features are L2 normalized by column. It means taking the maximum value of the obtained matrix by column and re-arranging the obtained vector. Represents the query of the leaf image xq to be tested and the i-th support normal image in the support set The related pixel-level abnormality level of the lth layer. Further, all the corresponding normal images are supported. Sum and get the abnormal segmentation map of the downsampled leaf image to be tested
[0055] The fourth step is to post-process and query the abnormal segmentation maps of different layers of the blade image to be tested, so as to realize the intelligent boresight detection of aero-engine blades in multiple scenarios. The abnormal segmentation map downsampled in each layer is passed through a Gaussian filter to filter out the high-frequency noise information. The filtered abnormal segmentation map is processed by bilinear interpolation to obtain an abnormal segmentation map with the same resolution as the input image. The abnormal segmentation maps of multiple layers are summed up, and the corresponding one is the abnormal segmentation map of the image to be tested. The higher the value in the abnormal segmentation map, the more abnormal the corresponding area is.
[0056] Specifically, through Gaussian filtering It is expressed as follows:
[0057]
[0058] in, express The pixel value corresponding to the mth row and nth column, u and v represent the sliding distance in the row and column directions respectively, r represents the size of the Gaussian filter convolution kernel, when r is 1, the corresponding convolution kernel is 3, represents a two-dimensional standard normal distribution. Upsampled to is the abnormal segmentation map corresponding to each layer after upsampling, and finally the abnormal segmentation maps of multiple layers are summed up, which is expressed as follows:
[0059]
[0060] in, represents bilinear interpolation upsampling, Represents the abnormal segmentation map of the image to be detected. The higher the value in the abnormal segmentation map, the more abnormal the corresponding area is.
[0061] Figure 2 This is a diagram of the intelligent boresight detection results of the present invention for blades under different engine models, different viewing angles, and different lighting scenes. The red part in the prediction result represents the defect (abnormal) area of the blade to be detected.
[0062] In this embodiment, step one collects the boresight data of the blades at different viewing angles of certain engines, PT6 turboprop engines, RB211 turbofan engines, and V2500 turbofan engines. The blade defects to be detected include pits, tears, coating shedding, and notches. First, according to the requirements of step one, the input data is divided into a support set and a query set. In the figure, the support set only contains a normal blade image of one scene to be detected, and the query set contains the blade image to be detected. Then, step two is used to extract the pixel-level features of the support and query blade images to be tested, and then step three is used to calculate the downsampled anomaly segmentation map of the query blade image to be tested. Finally, step four is used to post-process the downsampled anomaly segmentation map, and the obtained anomaly segmentation map is converted into a heat map that is easy to visualize and attached to the query blade image to be tested, so as to obtain Figure 2 The prediction results in .
[0063] It can be found from the figure that the present invention has a good positioning effect (segmentation effect) for blade defects in different engine models, different viewing angles, and different lighting scenes, which proves the effectiveness of the method.
[0064] Although the embodiments of the present invention are described above in conjunction with the accompanying drawings, the present invention is not limited to the above specific embodiments and application fields, and the above specific embodiments are only illustrative and instructive, rather than restrictive. A person of ordinary skill in the art can also make many forms under the guidance of this specification and without departing from the scope of protection of the claims of the present invention, all of which belong to the protection of the present invention.
Claims
1. A multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection. It is characterized in that The steps include: In the first step, borescope image data of an aircraft engine blade is collected as input image data, and the input image data is divided into a support set and a query set, wherein the support set includes at least one supporting normal blade image of a scene to be detected, and the query set includes a query blade image to be detected; In the second step, a multi-level pixel-level feature map is extracted, and the supporting normal leaf image and the query leaf image to be tested are input into the feature extractor network, and multi-level pixel-level feature maps of the supporting normal leaf image and the query leaf image to be tested are extracted respectively, which include a shallow pixel-level feature map and a deep pixel-level feature map, wherein the shallow pixel-level feature map represents the geometric structure information of the contour and texture of the target, and the deep pixel-level feature map represents the semantic information of the target; In the third step, the downsampled abnormal segmentation maps of different layers of the leaf image to be tested are predicted and queried. The support feature map and the query feature map of each layer are transformed into dimensions through the operator Φ to obtain the support pixel-level feature matrix and the query pixel-level feature matrix. The two matrices are multiplied to obtain the pixel-level similarity matrix between the query feature and the support normal feature. Take the maximum value of the pixel-level similarity matrix by column and re-arrange the dimensions to obtain the pixel-level abnormality degree of the downsampled leaf image to be tested, that is, the downsampled abnormal segmentation map of the leaf image to be tested, where downsampling means reducing the original resolution in proportion. Repeat the above process for feature maps of different layers to obtain downsampled abnormal segmentation maps of different layers of the leaf image to be tested; In the fourth step, the downsampled anomaly segmentation maps of different layers of the leaf image to be tested are post-processed and queried. The high-frequency noise information is filtered out of each downsampled anomaly segmentation map through a Gaussian filter. The noise of the anomaly segmentation map is filtered out through bilinear interpolation upsampling to obtain an anomaly segmentation map with the same resolution as the input image. The anomaly segmentation maps of different layers are summed as the final anomaly segmentation map of the image to be tested. The higher the value in the map, the more abnormal the corresponding area is.
2. According to the method of claim 1, a multi-scenario aircraft engine blade borescope detection method based on small sample anomaly detection, It is characterized in that Preferably, in the first step, the support set is The query set is Q = {x q },in They represent the supporting normal leaf images and the query leaf images to be tested, h and w represent the height and width of the image respectively. The input image dimension is 3, and the input image is an RGB image. K represents the support set containing K supporting normal leaf images, i represents the i-th supporting normal leaf image in the support set, q represents the query sample, s represents the supporting sample, S represents the set corresponding to the supporting normal leaf images, and Q represents the set corresponding to the query leaf images to be tested.
3. According to the method of multi-scenario aircraft engine blade borescope detection based on small sample anomaly detection in claim 1, It is characterized in that In the second step, the feature extractor network is Where h′, w′ represent the height and width of the low-dimensional features of the image, d represents the feature dimension, and f θ (·) represents the feature extractor, θ represents the parameters of the network. The feature extractor network converts the original RGB space image into discriminative pixel-level features. After feature extraction, the pixel-level features corresponding to the support set and query set are in correspond The feature map of layer l obtained by the feature extractor network encoding, s i represents the i-th supporting normal leaf image, Corresponding to x q The feature map of layer l encoded by the feature extractor network.
4. According to the method of multi-scenario aircraft engine blade borescope detection based on small sample anomaly detection in claim 1, It is characterized in that In the third step, the pixel-level abnormality degree of the downsampled leaf image to be tested is queried as follows: in, It means flattening the features according to the dimension of the spatial position and performing L on the obtained features by column. 2 Normalization, It means taking the maximum value of the obtained matrix by column and re-arranging the obtained vector. Indicates querying the leaf image x to be tested q The i-th support normal leaf image in the support set The relevant l-th layer pixel-level abnormality degree, corresponding to all supporting normal leaf images Sum and get the abnormal segmentation map of the downsampled leaf image to be tested 5. According to the method of multi-scenario aircraft engine blade borescope detection based on small sample anomaly detection in claim 1, It is characterized in that In the fourth step, the abnormal segmentation map of the downsampled leaf image to be tested is queried by Gaussian filtering. It is expressed as follows: in, express The pixel value corresponding to the mth row and nth column, u and v represent the sliding distance in the row and column directions respectively, r represents the size of the Gaussian filter convolution kernel, when r is 1, the corresponding convolution kernel is 3, represents the two-dimensional standard normal distribution, and we get Upsampled to is the abnormal segmentation map corresponding to each layer after upsampling, and finally the abnormal segmentation maps of multiple layers are summed up, which is expressed as follows: in, represents bilinear interpolation upsampling, Represents the abnormal segmentation map of the image to be detected. The higher the value, the more abnormal the corresponding area is.
