An intelligent measurement method for aero-engine blade size
By analyzing the edge changes and grayscale distribution of the aero-engine blade surface, the blade areas are identified and merged, which solves the problem that traditional algorithms cannot distinguish between concave and convex textures, achieves more accurate blade size measurement and improves measurement efficiency.
Patent Information
- Application Number
- CN202410713275.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-04
AI Technical Summary
The traditional opening algorithm cannot effectively distinguish the closed textures with different degrees of concavity and convexity on the surface of the aero-engine blade, causing the blade area to be divided into multiple separate areas, making it impossible to perform accurate dimensional measurements and reducing measurement efficiency.
By analyzing the direction of edge change between adjacent pixels, we obtain the leaf smooth contour index, and combine it with the regularity of grayscale distribution to calculate the membership degree of the leaf area, identify the initial leaf area, analyze the edge consistency and area merging degree, and merge different initial Blade area to obtain the complete blade area for dimensional measurements.
The accuracy of blade edge recognition is improved, the loss of image information is reduced, the obtained blade area is more complete, the measurement results are more accurate, and the measurement efficiency is improved.
Smart Images

Figure CN118279336B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of size measurement, and in particular to an intelligent measurement method for the size of an aero-engine blade. Background Art
[0002] In the manufacturing process of aircraft engines, aircraft engine blades are one of the important components for stabilizing aircraft engines. The different sizes of the components have a great impact on the air flow compression during the operation of the aircraft engine. In order to stabilize the working state of the aircraft engine during operation, it is necessary to measure the size of the aircraft engine blades to ensure that all aircraft engine blades used in actual work meet the standards and there are no safety hazards. However, since aircraft engine blades are connected through other components, there is adhesion between some key areas. In order to accurately measure the aircraft engine, it is necessary to separate the blade area in the collected aircraft engine blade image.
[0003] The existing technology usually uses an opening operation algorithm to separate the blade objects in the image of an aircraft engine blade; however, since the surface of the aircraft engine blade is distributed with closed textures of different degrees of concavity and convexity, the traditional opening operation algorithm will divide the blade area into multiple separated areas, which cannot effectively measure the size of the aircraft engine blade as a whole, reducing the measurement efficiency. Summary of the invention
[0004] The present invention provides an intelligent measurement method for the size of aircraft engine blades to solve the existing problem that the traditional open operation algorithm cannot effectively distinguish closed textures with different concave-convex degrees on the surface of aircraft engine blades, and will divide the blade area into multiple separate areas, making it impossible to effectively perform intelligent measurement of the blade size.
[0005] The intelligent measurement method for the size of aeroengine blades of the present invention adopts the following technical scheme:
[0006] The following steps are involved:
[0007] Acquire an aircraft engine blade opening operation diagram, wherein the aircraft engine blade opening operation diagram includes a plurality of blade regions to be detected;
[0008] Analyze the edge change direction between adjacent pixels to obtain the leaf smoothing contour index of the pixel; analyze the leaf morphology distribution trend in the same area based on the regularity of the grayscale distribution in the area around the pixel, and combine the leaf smoothing contour index to obtain the leaf area membership of each leaf area to be detected; according to the leaf area membership, select several initial leaf areas from all leaf areas to be detected;
[0009] The leaf morphology differences between different initial leaf regions are analyzed to obtain the leaf edge consistency between different initial leaf regions; based on the leaf edge consistency, the differences in leaf region membership between different initial leaf regions are combined with the region interval to obtain the region merging degree between different initial leaf regions;
[0010] According to the degree of regional merging between different initial blade regions, different initial blade regions are merged to obtain several aero-engine blade regions, and their sizes are measured.
[0011] Preferably, the method for obtaining the blade smoothness profile index is:
[0012] Each pixel point on the edge of each leaf region to be detected is recorded as a leaf edge pixel point to be identified;
[0013] Any leaf edge pixel to be identified is recorded as a target pixel; the angle between the target pixel and the left and right adjacent leaf edge pixels to be identified is used as the leaf smooth contour index of the target pixel; the leaf smooth contour index is negatively correlated with the angle.
[0014] Preferably, the method for obtaining the leaf region membership is:
[0015] By analyzing the regularity of grayscale distribution in the area around the pixel point, the leaf belonging degree of the pixel point is obtained;
[0016] For any leaf region to be detected, the leaf morphology distribution trend of the leaf region to be detected is obtained according to the leaf attribution degree of the pixel points in the leaf region to be detected;
[0017] According to the grayscale distribution in the leaf area to be detected and the leaf smoothness index, the leaf belonging degree of the regional contour of the leaf area to be detected is obtained;
[0018] According to the leaf morphology distribution trend and the regional contour leaf attribution degree, the leaf region attribution degree of the leaf region to be detected is obtained; the leaf region attribution degree is positively correlated with the leaf morphology distribution trend and negatively correlated with the regional contour leaf attribution degree.
[0019] Preferably, the method for obtaining the leaf attribution degree is:
[0020] For any pixel point in any leaf area to be detected, a window area of a preset window size is used as the local analysis leaf area of the pixel point, with the pixel point as the center;
[0021] Obtain the variance of the grayscale values of all pixels in the local analysis leaf area of the pixel points;
[0022] Get the internal grayscale difference mean of the local distribution leaf area of the pixel points;
[0023] According to the variance and the mean of the internal grayscale difference, the leaf attribution degree of the pixel point is obtained; the leaf attribution degree is negatively correlated with the variance and negatively correlated with the mean of the internal grayscale difference.
[0024] Preferably, the method for obtaining the leaf morphology distribution trend is:
[0025] Obtaining a regional morphology value according to the difference between the length-width ratio of the minimum circumscribed rectangle of the leaf region to be detected and a preset standard length-width ratio;
[0026] According to the regional morphology value and the leaf attribution degree, the leaf morphology distribution trend of the leaf region to be detected is obtained; the leaf morphology distribution trend is positively correlated with the regional morphology value and positively correlated with the leaf attribution degree.
[0027] Preferably, the method for obtaining the regional contour leaf attribution degree is:
[0028] Obtain the internal grayscale mean value of the region within the leaf region to be detected;
[0029] According to the internal grayscale mean of the region and the leaf smooth contour index, the regional contour leaf attribution degree of the leaf region to be detected is obtained; the regional contour leaf attribution degree is positively correlated with the internal grayscale mean of the region and positively correlated with the leaf smooth contour index.
[0030] Preferably, the method for obtaining the degree of consistency of the blade edges is:
[0031] For any two initial leaf regions, feature matching is performed on the leaf outline size pixel points on the two initial leaf regions to obtain a number of matching point pairs;
[0032] Get the curvature difference value between different pixels in the matching point pair;
[0033] Get the grayscale difference value between different pixels in the matching point pair;
[0034] The blade edge consistency is obtained according to the curvature difference value and the grayscale difference value; the blade edge consistency is negatively correlated with the curvature difference value and negatively correlated with the grayscale difference value.
[0035] Preferably, the method for obtaining the region merging degree further includes:
[0036] For any two initial leaf regions, the neighborhood leaf mismatch degree between the two initial leaf regions is obtained according to the leaf region membership and the matching region distance;
[0037] The degree of regional merging is obtained according to the degree of mismatch between neighboring leaves and the degree of consistency between leaf edges; the degree of regional merging is negatively correlated with the degree of mismatch between neighboring leaves and positively correlated with the degree of consistency between leaf edges.
[0038] Preferably, the method for obtaining the neighborhood leaf mismatch degree includes:
[0039] For any two initial leaf regions, the minimum distance between the pixels in all matching point pairs of the two initial leaf regions is taken as the matching region distance.
[0040] Preferably, the method for obtaining the mismatch degree of the neighborhood leaves is:
[0041] Obtaining a leaf region membership difference value between the two initial leaf regions;
[0042] According to the leaf region membership difference value and the matching region distance, the neighborhood leaf mismatch degree is obtained; the neighborhood leaf mismatch degree is positively correlated with the leaf region membership difference value and the matching region distance.
[0043] The beneficial effects of the technical solution of the present invention are: first, the edge change direction between adjacent pixel points is analyzed to obtain the blade smooth contour index of the pixel point; wherein the blade smooth contour index is used to describe the possibility that the pixel point belongs to the blade edge, thereby improving the accuracy of obtaining the blade edge; then, based on the grayscale distribution in the area around the pixel point, the leaf morphology distribution trend is combined with the blade smooth contour index to obtain the leaf area membership; wherein the leaf area membership is used to describe the possibility that the blade area to be detected belongs to the overall blade of the aircraft engine, thereby making the obtained aircraft engine blade area more complete; then, the blade morphology differences between different initial blade areas are analyzed to obtain the blade edge consistency; wherein the blade edge consistency is used to describe the distribution direction and distribution morphology between the edges of different initial blade areas. The similarity of the images is determined, which makes it easier to identify the initial blade areas belonging to the same blade area; then, the area merging degree is obtained according to the consistency of the blade edges, the membership of the blade areas and the area interval; the area merging degree is used to describe the probability that different initial blade areas belong to the same blade area, which reduces the loss of image information in a single blade of an aero-engine; finally, different initial blade areas are merged according to the area merging degree; the present invention analyzes closed textures with different concave-convex degrees on the surface of the aero-engine blade, and adaptively identifies and merges image areas belonging to the same blade area in a plurality of separated image areas, so that the finally acquired blade area is more complete, the loss of image information in the blade area is reduced, the size measurement result is more accurate, and the measurement efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 A flowchart of the steps of an intelligent measurement method for the size of aeroengine blades according to the present invention;
[0046] Figure 2 A schematic diagram of a grayscale image of an aero-engine blade according to the present invention;
[0047] Figure 3 A schematic diagram of a segmented diagram of an aero-engine blade according to the present invention;
[0048] Figure 4 It is a schematic diagram of the aero-engine blade opening operation diagram of the present invention. DETAILED DESCRIPTION
[0049] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of an intelligent measurement method for the size of aircraft engine blades proposed according to the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0050] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0051] The specific scheme of the intelligent measurement method for the size of aero-engine blades provided by the present invention is described in detail below with reference to the accompanying drawings.
[0052] See also Figure 1 , which shows a flowchart of a method for intelligently measuring the size of an aircraft engine blade provided by an embodiment of the present invention, the method comprising the following steps:
[0053] Step S001: Obtaining an aircraft engine blade opening operation diagram.
[0054] It should be noted that the existing technology usually uses an opening operation algorithm to separate the blade objects in the image of an aircraft engine blade; however, since the surface of the aircraft engine blade is distributed with closed textures of different degrees of concavity and convexity, the traditional opening operation algorithm will divide the blade area into multiple separated areas, which cannot effectively measure the size of the aircraft engine blade as a whole, thereby reducing the measurement efficiency.
[0055] In a specific implementation of an embodiment of the present invention, an aircraft engine blade is horizontally placed on a detection platform, and an industrial camera is used to capture an image of the aircraft engine blade. The captured image is grayed to obtain a grayscale image of the aircraft engine blade. The aircraft engine blade grayscale image is adaptively thresholded to obtain an aircraft engine blade segmentation map of the aircraft engine blade grayscale image. The aircraft engine blade segmentation map is open-processed to obtain an aircraft engine blade open-processing map. Each closed area in the aircraft engine blade open-processing map is recorded as a blade area to be detected. Graying, adaptive thresholding, and opening are well-known techniques and will not be described in detail in this embodiment. Please refer to Figure 2 , which shows a schematic diagram of a grayscale image of an aircraft engine blade; see Figure 3 , which shows a schematic diagram of the segmentation diagram of an aircraft engine blade; see Figure 4 , which shows a schematic diagram of an aircraft engine blade opening operation diagram.
[0056] So far, the aero-engine blade opening operation diagram is obtained through the above method.
[0057] Step S002: Analyze the edge change direction between adjacent pixel points to obtain the leaf smooth contour index of the pixel point; based on the regularity of the grayscale distribution in the area around the pixel point, analyze the leaf morphology distribution trend in the same area, and combine the leaf smooth contour index to obtain the leaf area membership of each leaf area to be detected; according to the leaf area membership, select a number of initial leaf areas from all leaf areas to be detected.
[0058] It should be noted that for the same aircraft engine, the dimensional quality requirements between the corresponding aircraft engine blades are basically the same to ensure the stable operation of the aircraft engine; and the shape of each blade is basically drop-shaped, and the corresponding blade edge changes smoothly, so the blade smoothness profile index can be obtained by analyzing the change direction between the edges of different areas in the aircraft engine blade opening operation diagram to characterize the degree of the edge profile that may belong to the aircraft engine blade, thereby preliminarily determining the blade edge.
[0059] The edge change direction between adjacent pixels is analyzed to obtain the leaf smoothness contour index of the pixel.
[0060] Preferably, in some implementations of the embodiments of the present invention, the method for obtaining the blade smooth profile index includes:
[0061] Each pixel point on the edge of each leaf region to be detected is recorded as a leaf edge pixel point to be identified; The leaf edge pixel to be identified is recorded as the target pixel; taking the target pixel as the starting point, the The edge pixel of the leaf to be identified and the The angle formed by the two rays is recorded as the leaf smooth contour degree of the target pixel; the inverse normalized value of the leaf smooth contour degree of the target pixel is used as the leaf smooth contour index of the target pixel; and the leaf smooth contour indexes of several leaf edge pixels to be identified are obtained. In this embodiment, the leaf smooth contour degrees of the first pixel and the last pixel are not considered by default, and there is a certain overlap between different leaf areas to be detected.
[0062] Furthermore, a blade smoothness index threshold is preset , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation; the blade smooth profile index is less than The edge pixel points of the leaf to be identified are recorded as the initial leaf contour pixel points.
[0063] It is particularly noted that in the process of obtaining the blade smoothness profile index, this embodiment adopts Model to present inverse proportional relationship and normalization, As the input of the model, the implementer can choose the inverse proportional function and the normalization function according to the actual situation.
[0064] It should be further explained that, usually, texture engraving is performed at a certain depth on the surface of aircraft engine blades to achieve different degrees of air flow characteristics around the blades; and these engraved textures are generally distributed in a relatively regular form, so the blade attribution of the pixel points inside the region can be obtained through the regularity of the grayscale distribution in different regions; and by combining the blade smoothing contour index for the edge of the region, the blade region membership is obtained to initially determine the image region that may belong to the blade.
[0065] Preferably, in some implementations of the embodiments of the present invention, based on the regularity of the grayscale distribution in the area around the pixel point, the leaf morphology distribution trend in the same area is analyzed, and combined with the leaf smooth contour index, the leaf area membership of each leaf area to be detected is obtained; wherein the method for obtaining the leaf area membership is:
[0066] It should be noted that, usually, the air flow characteristics around the blades are realized by engraving the texture at a certain depth on the surface of the aircraft engine blades; and these engraved textures are generally distributed in a relatively regular form, so the leaf attribution degree of the pixel point can be obtained by analyzing the regularity of the grayscale distribution in the area around the pixel point. The specific process of obtaining the leaf attribution degree is:
[0067] Preset a window size , take any pixel point in the leaf area to be detected as an example, take the pixel point as the center, and get the window size as The window area is recorded as the local analysis leaf area of the pixel point. This example is described as an example, and this embodiment is not specifically limited. It may depend on the specific implementation situation.
[0068] It is particularly noted that if the number of pixels actually existing around the pixel point in the leaf area to be detected does not meet the preset , then the local analysis leaf area of the pixel point is obtained based on the actual number of pixels around it.
[0069] It should be noted that the pixel points inside the leaf region to be detected do not include the edge pixel points of the leaf to be identified that are located on the edge of the leaf region to be detected.
[0070] Furthermore, the variance of the grayscale values of all pixels in the local analysis leaf area of the pixel is obtained; the mean of the internal grayscale difference of the local distribution leaf area of the pixel is obtained; the leaf attribution degree of the pixel is obtained according to the variance and the mean of the internal grayscale difference; the leaf attribution degree is negatively correlated with the variance and negatively correlated with the mean of the internal grayscale difference. As an example, the leaf attribution degree of the pixel can be calculated by the following formula:
[0071]
[0072] In the formula, Indicates the leaf belonging degree of the pixel point; The variance of the grayscale values of all pixels in the local analysis leaf area representing the pixel; Represents the number of all pixels in the local analysis leaf area of the pixel; Indicates that in the local analysis leaf area of this pixel, The absolute value of the difference between the grayscale value of a pixel and this pixel; represents an exponential function with a natural constant as the base, and the embodiment adopts Model to present inverse proportional relationship and normalization, As the input of the model, the implementer can choose the inverse proportional function and normalization function according to the actual situation. Obtain the leaf attribution degree of all pixels.
[0073] It should be noted that It represents the internal grayscale difference mean of the local analysis leaf area of the pixel point. The larger the internal grayscale difference mean, the more irregular the grayscale distribution in the local leaf area. If the leaf belonging degree of the pixel point is larger, the grayscale distribution in the neighborhood of the pixel point is more regular, which reflects that the pixel point is more likely to be in the real leaf area.
[0074] Furthermore, taking any leaf area to be detected as an example, according to the leaf attribution degree of the pixel points in the leaf area to be detected, the leaf morphology distribution trend of the leaf area to be detected is obtained. The specific process of obtaining the leaf morphology distribution trend is as follows: the difference between the aspect ratio of the minimum circumscribed rectangle of the leaf area to be detected and the preset parameter is used as the regional morphology value; according to the regional morphology value and the leaf attribution degree, the leaf morphology distribution trend of the leaf area to be detected is obtained; the leaf morphology distribution trend is positively correlated with the regional morphology value and the leaf attribution degree. As an example, the circumscribed rectangle of the actual aircraft engine blade is usually a rectangular distribution, so the leaf morphology distribution trend of the leaf area to be detected can be calculated by the following formula:
[0075]
[0076] In the formula, Indicates the leaf morphology distribution trend of the leaf area to be detected; Represents the length of the minimum circumscribed rectangle of the leaf area to be detected; Indicates the width of the minimum circumscribed rectangle of the leaf area to be detected; Represents the cumulative sum of leaf attribution degrees of all pixels in the leaf area to be detected; Indicates taking the absolute value.
[0077] It should be noted that Indicates the preset standard aspect ratio of the leaf area to be detected; It represents the regional morphology value of the blade area to be detected. The larger the regional morphology value is, the more the regional morphology distribution of the blade area to be detected tends to be rectangular. If the blade morphology distribution of the blade area to be detected tends to be larger, it means that the regional morphology of the blade area to be detected is more similar to the actual aircraft engine blade surface.
[0078] It should be additionally noted that, in other embodiments, the preset standard aspect ratio may be limited according to a specific implementation scenario.
[0079] Furthermore, the regional contour leaf attribution degree of the leaf area to be detected is obtained according to the grayscale change in the leaf area to be detected and the leaf smooth contour index. The specific process of obtaining the regional contour leaf attribution degree is as follows: obtaining the regional internal grayscale mean value in the leaf area to be detected; obtaining the regional contour leaf attribution degree of the leaf area to be detected according to the regional internal grayscale mean value and the leaf smooth contour index; the regional contour leaf attribution degree is positively correlated with the regional internal grayscale mean value and positively correlated with the leaf smooth contour index. As an example, the regional contour leaf attribution degree of the leaf area to be detected can be calculated by the following formula:
[0080]
[0081] In the formula, Indicates the leaf belonging degree of the regional contour of the leaf region to be detected; Represents the mean grayscale value of all pixels in the leaf area to be detected, that is, the grayscale mean value inside the area; Represents the mean value of the leaf smoothing contour index of all initial leaf contour pixels in the leaf area to be detected.
[0082] It should be noted that, if the blade belonging degree of the regional contour of the blade region to be detected is greater, it means that the texture change of the blade region to be detected is less similar to the surface contour of the actual aircraft engine blade.
[0083] Furthermore, according to the leaf shape distribution trend and the leaf belonging degree of the regional contour, the leaf region belonging degree of the leaf region to be detected is obtained; the leaf region belonging degree is positively correlated with the leaf shape distribution trend and negatively correlated with the leaf belonging degree of the regional contour. As an example, the leaf region belonging degree of the leaf region to be detected can be calculated by the following formula:
[0084]
[0085] In the formula, Indicates the leaf region membership of the leaf region to be detected; Indicates the leaf morphology distribution trend of the leaf area to be detected; Indicates the leaf belongingness of the area contour of the leaf area to be detected.
[0086] It should be noted that, if the blade area membership of the blade area to be detected is larger, it means that the structural characteristics of the blade area to be detected are more similar to those of the actual aircraft engine blades, and the surface texture changes are more similar, which reflects that the blade area to be detected is more likely to belong to a real aircraft engine blade.
[0087] According to the leaf region membership, several initial leaf regions are screened out from all the leaf regions to be detected.
[0088] In some implementations of the embodiments of the present invention, the method for obtaining the initial leaf area is:
[0089] Specifically, a leaf region membership threshold is preset , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation; all leaf areas with a membership greater than The leaf area to be detected is recorded as the initial leaf area.
[0090] So far, several initial leaf regions are obtained through the above method.
[0091] Step S003: Analyze the differences in leaf morphology between different initial leaf regions to obtain the degree of consistency of leaf edges between different initial leaf regions; based on the degree of consistency of leaf edges, combine the differences in leaf region membership between different initial leaf regions with the region interval to obtain the degree of region merging between different initial leaf regions.
[0092] It should be noted that since the blades of aircraft engines are surrounded and distributed at a certain spacing, there are large differences in the distribution positions and directions between different blades; and since the blades used in the same aircraft engine are of the same model, the texture distribution between different blades is relatively similar; and the initial leaf area obtained based on the regularity of the texture distribution in the area around the pixel point and the smoothness of the regional edge, although it can represent the image area belonging to the leaf area to a certain extent, does not consider the distribution position and direction between different leaves, so it can only determine the image area belonging to the leaf area, but cannot further determine whether these image areas belong to the same leaf, so it is impossible to accurately measure the size of a single leaf. Therefore, it is necessary to analyze the distribution of the distribution position and direction between different leaves on the basis of the initial leaf area, determine the degree of regional merging between different initial leaf areas, and merge the initial leaf areas belonging to the same leaf area to obtain a complete single leaf area.
[0093] It should be further explained that, for the same leaf, the texture change form inside it is fixed, and the texture change form corresponding to the different placement directions and positions of the leaf will also show corresponding morphological changes in the image. For example, there is a leaf whose texture change form is a rectangle extending longitudinally. After the leaf is rotated 90 degrees, its texture change form is a rectangle extending transversely. Therefore, by analyzing the consistency of the edge distribution between the two initial leaf regions, the difference in distribution direction between different leaves can be characterized, and the consistency of the leaf edges between different initial leaf regions can be determined; at the same time, because the distance between different image regions in the same leaf region is relatively close, the image region that is finally merged is usually an image region with a relatively close distance, so the degree of regional merging can be further determined by combining the distance interval between the distribution positions of different leaves.
[0094] The differences in leaf morphology between different initial leaf regions were analyzed to obtain the consistency of leaf edges between different initial leaf regions.
[0095] Preferably, in some implementations of the embodiments of the present invention, the method for obtaining the degree of consistency of the blade edges is:
[0096] Specifically, each pixel point on the edge of each initial leaf region is recorded as a leaf contour size pixel point; taking any two initial leaf regions as an example, feature matching is performed on the leaf contour size pixel points on the two initial leaf regions to obtain a number of matching point pairs. Each matching point pair corresponds to a leaf contour size pixel point in each of the two initial leaf regions; in addition, the process of performing feature matching on two different image regions to obtain matching point pairs is a well-known content of the SIFT (Scale Invariant Feature Transform) scale invariant feature transformation algorithm, which will not be repeated in this embodiment.
[0097] Further, the curvature difference value between different pixel points in the matching point pair is obtained; the grayscale difference value between different pixel points in the matching point pair is obtained; the leaf edge consistency is obtained according to the curvature difference value and the grayscale difference value; the leaf edge consistency is negatively correlated with the curvature difference value and negatively correlated with the grayscale difference value. As an example, the leaf edge consistency between the two initial leaf regions can be calculated by the following formula:
[0098]
[0099] In the formula, Indicates the consistency of the leaf edges between the two initial leaf regions, and is used to reflect the consistency of the leaf morphology between the two initial leaf regions; represents the number of all matching point pairs of these two initial leaf regions; Indicates The absolute value of the difference in curvature between the two leaf contour size pixel points in the matching point pair; Indicates The absolute value of the difference in grayscale values between the two leaf contour size pixels in a matching point pair.
[0100] It should be noted that, if the blade edge consistency between the two initial blade areas is greater, it means that the morphological distribution and texture layout of the two initial blade areas are more consistent, which reflects that the two initial blade areas are more likely to belong to the same aircraft engine blade area.
[0101] According to the consistency of leaf edges, the difference in leaf region membership between different initial leaf regions is combined with the region interval to obtain the region merging degree between different initial leaf regions.
[0102] Preferably, in some implementations of the embodiments of the present invention, the method for obtaining the region merging degree is:
[0103] Furthermore, taking any matching point pair of the two initial leaf areas as an example, the Euclidean distance between the two leaf contour size pixel points in the matching point pair is recorded as the control matching area distance of the matching point pair, and the control matching area distances of all matching point pairs of the two initial leaf areas are obtained, and the minimum control matching area distance is recorded as the area distance value of the two initial leaf areas; the area distance values of all any two initial leaf areas are obtained, all area distance values are linearly normalized, and each normalized area distance value is recorded as the matching area distance.
[0104] Furthermore, the neighborhood leaf mismatch degree between the two initial leaf regions is obtained according to the leaf region membership and the matching region distance. The specific process of obtaining the neighborhood leaf mismatch degree is as follows: obtaining the leaf region membership difference value between the two initial leaf regions; obtaining the neighborhood leaf mismatch degree according to the leaf region membership difference value and the matching region distance; the neighborhood leaf mismatch degree is positively correlated with the leaf region membership difference value and is positively correlated with the matching region distance. As an example, the neighborhood leaf mismatch degree between the two initial leaf regions can be calculated by the following formula:
[0105]
[0106] In the formula, represents the degree of neighborhood leaf mismatch between the two initial leaf regions; represents the absolute value of the difference in the leaf region membership between the two initial leaf regions, that is, the leaf region membership difference value; Represents the matching area distance of these two initial leaf regions.
[0107] It should be noted that, if the mismatch degree of the neighborhood leaves between the two initial leaf regions is greater, it means that the matching degree of the adjacent leaf regions between the two initial leaf regions is lower.
[0108] Further, the region merging degree is obtained according to the matching degree and the consistency degree of the leaf edges; the region merging degree is negatively correlated with the mismatch degree of the neighboring leaves and positively correlated with the consistency degree of the leaf edges. As an example, the region merging degree between the two initial leaf regions can be calculated by the following formula:
[0109]
[0110] In the formula, represents the degree of regional merging between these two initial leaf regions; represents the degree of leaf edge consistency between these two initial leaf regions; represents the degree of neighborhood leaf mismatch between the two initial leaf regions; Indicates the preset hyperparameters. In this embodiment, , which is used to prevent the denominator from being 0, is not described in detail in this embodiment. The region merging degree of all arbitrary two initial leaf regions is obtained.
[0111] It should be noted that, if the degree of regional merging of the two initial blade regions is greater, it means that the two initial blade regions are more likely to belong to the same blade of the same aircraft engine blade, reflecting that the two initial blade regions need to be merged more.
[0112] So far, the region merging degree of all arbitrary two initial leaf regions is obtained through the above method.
[0113] Step S004: According to the degree of region merging between different initial blade regions, different initial blade regions are merged to obtain a number of aircraft engine blade regions, and the sizes of the regions are measured.
[0114] According to the degree of regional merging between different initial blade regions, different initial blade regions are merged to obtain several aero-engine blade regions, and their sizes are measured.
[0115] Preferably, in some implementations of the embodiments of the present invention, the method for acquiring the aero-engine blade region is:
[0116] Specifically, a region merging threshold is preset , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation; the sequence after all initial leaf regions are arranged in descending order according to the leaf region membership is recorded as the initial leaf region sequence. The first initial leaf region in the initial leaf region sequence is taken as the starting point; among the initial leaf regions other than the first initial leaf region, the regions with a degree of merging greater than that of the first initial leaf region are merged. The initial blade region of the first initial blade region is recorded as the initial blade region to be merged; the region after all the initial blade regions to be merged in the first initial blade region are merged with the first initial blade region is recorded as the first aircraft engine blade region; the first initial blade region among the remaining unmerged initial blade regions in the initial blade region sequence is recorded as the target initial blade region, and among the initial blade regions other than the target initial blade region, the regions with a merging degree greater than the target initial blade region are recorded as the first aircraft engine blade region. The initial blade region of the target initial blade region is recorded as the to-be-merged initial blade region of the target initial blade region; the region after all the to-be-merged initial blade regions of the target initial blade region are merged with the target initial blade region is recorded as the second aircraft engine blade region; the first initial blade region among the remaining unmerged initial blade regions in the initial blade region sequence is recorded as the first target initial blade region, and among the other unmerged initial blade regions except the first target initial blade region, the regions with a merger degree greater than that of the first target initial blade region are recorded as the second aircraft engine blade region. The initial blade region of the first target initial blade region is recorded as the to-be-merged initial blade region of the first target initial blade region; the region after all the to-be-merged initial blade regions of the first target initial blade region are merged with the first target initial blade region is recorded as the third aircraft engine blade region; and so on, the traversal is stopped until all the initial blade regions in the initial blade region sequence are merged, and a number of aircraft engine blade regions are obtained. The merging process is a well-known content of the region growing algorithm, and will not be repeated in this embodiment.
[0117] The specific process of size measurement is as follows:
[0118] The average of the minimum circumscribed rectangular areas of all aircraft engine blades is used as the aircraft engine blade size threshold ; Set the minimum enclosing rectangle area to be smaller than The area of aircraft engine blades is recorded as aircraft engine blades that do not meet the size standards.
[0119] At this point, this embodiment is completed.
[0120] 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 principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent measurement method for the size of aircraft engine blades, characterized in that: The method comprises the following steps: Acquire an aircraft engine blade opening operation diagram, wherein the aircraft engine blade opening operation diagram includes a plurality of blade regions to be detected; Analyze the edge change direction between adjacent pixels to obtain the leaf smoothing contour index of the pixel; analyze the leaf morphology distribution trend in the same area based on the regularity of the grayscale distribution in the area around the pixel, and combine the leaf smoothing contour index to obtain the leaf area membership of each leaf area to be detected; according to the leaf area membership, select several initial leaf areas from all leaf areas to be detected; The leaf morphology differences between different initial leaf regions are analyzed to obtain the leaf edge consistency between different initial leaf regions; based on the leaf edge consistency, the differences in leaf region membership between different initial leaf regions are combined with the region interval to obtain the region merging degree between different initial leaf regions; According to the degree of regional merging between different initial blade regions, different initial blade regions are merged to obtain several aero-engine blade regions, and the dimensions are measured; The method for obtaining the leaf region membership is: By analyzing the regularity of grayscale distribution in the area around the pixel point, the leaf belonging degree of the pixel point is obtained; For any leaf region to be detected, the leaf morphology distribution trend of the leaf region to be detected is obtained according to the leaf attribution degree of the pixel points in the leaf region to be detected; According to the grayscale distribution in the leaf area to be detected and the leaf smoothness index, the leaf belonging degree of the regional contour of the leaf area to be detected is obtained; According to the leaf morphology distribution trend and the regional contour leaf attribution degree, the leaf region attribution degree of the leaf region to be detected is obtained; the leaf region attribution degree is positively correlated with the leaf morphology distribution trend and negatively correlated with the regional contour leaf attribution degree, and the corresponding calculation formula includes: In the formula, represents the leaf region membership of the leaf region to be detected; Indicates the leaf morphology distribution trend of the leaf area to be detected; Indicates the leaf belonging degree of the regional contour of the leaf region to be detected; The method for obtaining the degree of regional merging further includes: For any two initial leaf regions, the neighborhood leaf mismatch degree between the two initial leaf regions is obtained according to the leaf region membership and the matching region distance; The degree of regional merging is obtained according to the degree of mismatch of neighboring leaves and the degree of consistency of leaf edges; the degree of regional merging is negatively correlated with the degree of mismatch of neighboring leaves and positively correlated with the degree of consistency of leaf edges. The corresponding calculation formula includes: In the formula, represents the degree of region merging between two initial leaf regions; Indicates the degree of leaf edge consistency between two initial leaf regions; Indicates the degree of neighborhood leaf mismatch between two initial leaf regions; represents the preset hyperparameters, .
2. The intelligent measurement method for the size of aeroengine blades according to claim 1, characterized in that: The method for obtaining the blade smooth profile index is: Each pixel point on the edge of each leaf region to be detected is recorded as a leaf edge pixel point to be identified; Any leaf edge pixel to be identified is recorded as a target pixel; the angle between the target pixel and the left and right adjacent leaf edge pixels to be identified is used as the leaf smooth contour index of the target pixel; the leaf smooth contour index is negatively correlated with the angle.
3. The intelligent measurement method for the size of aeroengine blades according to claim 1, characterized in that: The method for obtaining the leaf attribution degree is: For any pixel point in any leaf area to be detected, a window area of a preset window size is used as the local analysis leaf area of the pixel point, with the pixel point as the center; Obtain the variance of the grayscale values of all pixels in the local analysis leaf area of the pixel points; Get the internal grayscale difference mean of the local distribution leaf area of the pixel points; According to the variance and the mean of internal grayscale difference, the leaf belonging degree of the pixel point is obtained; The leaf attribution is negatively correlated with the variance and negatively correlated with the mean of the internal grayscale difference. The corresponding calculation formula is include: In the formula, Indicates the leaf belonging degree of the pixel point; The variance of the grayscale values of all pixels in the local analysis leaf area representing the pixel; Represents the number of all pixels in the local analysis leaf area of the pixel; Indicates that in the local analysis leaf area of this pixel, The absolute value of the difference between the grayscale value of a pixel and this pixel; Represents an exponential function with a natural constant as its base.
4. The intelligent measurement method for the size of aeroengine blades according to claim 1, characterized in that: The method for obtaining the leaf morphology distribution trend is: Obtaining a regional morphology value according to the difference between the length-width ratio of the minimum circumscribed rectangle of the leaf region to be detected and a preset standard length-width ratio; According to the regional morphological value and the leaf attribution degree, the leaf morphological distribution trend of the leaf area to be detected is obtained; The leaf morphology distribution trend is positively correlated with the regional morphology value and the leaf attribution degree. The corresponding calculation formula is include: In the formula, Indicates the leaf morphology distribution trend of the leaf area to be detected; Represents the length of the minimum circumscribed rectangle of the leaf area to be detected; Indicates the width of the minimum circumscribed rectangle of the leaf area to be detected; Represents the cumulative sum of leaf attribution degrees of all pixels in the leaf area to be detected; Indicates taking the absolute value.
5. The intelligent measurement method for the size of aeroengine blades according to claim 1, characterized in that: The method for obtaining the leaf attribution degree of the regional contour is: Obtain the internal grayscale mean value of the region within the leaf region to be detected; According to the grayscale mean value inside the region and the leaf smoothing contour index, the leaf belonging degree of the regional contour of the leaf region to be detected is obtained; The leaf attribute degree of the regional contour is positively correlated with the grayscale mean value inside the region and positively correlated with the leaf smooth contour index. The corresponding calculation formula is include: In the formula, Indicates the leaf belonging degree of the regional contour of the leaf region to be detected; Represents the mean grayscale value of all pixels in the leaf area to be detected, that is, the grayscale mean value inside the area; Represents the mean value of the leaf smoothing contour index of all initial leaf contour pixel points in the leaf area to be detected.
6. The intelligent measurement method for the size of aeroengine blades according to claim 1, characterized in that: The method for obtaining the degree of consistency of the blade edges is as follows: For any two initial leaf regions, feature matching is performed on the leaf outline size pixel points on the two initial leaf regions to obtain a number of matching point pairs; Get the curvature difference value between different pixels in the matching point pair; Get the grayscale difference value between different pixels in the matching point pair; According to the curvature difference value and the grayscale difference value, the consistency of the leaf edge is obtained; The blade edge consistency is negatively correlated with the curvature difference value and negatively correlated with the grayscale difference value.
7. The intelligent measurement method for the size of aeroengine blades according to claim 1, characterized in that: The method for obtaining the mismatch degree of the neighborhood leaves includes: For any two initial leaf regions, the minimum distance between the pixels in all matching point pairs of the two initial leaf regions is taken as the matching region distance.
8. The intelligent measurement method for the size of aeroengine blades according to claim 1, characterized in that: The method for obtaining the mismatch degree of the neighborhood leaves is: Obtaining a leaf region membership difference value between the two initial leaf regions; According to the difference value of leaf region membership and the distance of matching region, the mismatch degree of neighboring leaves is obtained; The mismatch degree of the neighborhood leaves is positively correlated with the difference value of the leaf region membership, and is positively correlated with the distance of the matching region.
