Aircraft surface feature segmentation method based on contour constraint optimization

Through the aircraft surface feature segmentation method based on contour constraint optimization, the problems of low feature detection versatility and insufficient segmentation accuracy in the existing technology are solved, efficient and accurate aircraft surface feature segmentation is achieved, and the segmentation effect at the feature edge is improved. and geometric measurement accuracy.

CN118537550AActive Publication Date: 2024-08-23CHENGDU AIRCRAFT INDUSTRY GROUP

Patent Information

Application Number
CN202410558484.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-08
Publication Date
2024-08-23
Estimated Expiration
2044-05-08

AI Technical Summary

Technical Problem

The existing technology has low versatility in aircraft surface feature detection and cannot meet the geometric measurement needs of multiple feature targets, especially the segmentation accuracy at feature edges is insufficient.

Method used

The aircraft surface feature segmentation method based on contour constraint optimization is used to learn image features through the feature extraction backbone network, generate target pre-selected boxes, and extract contour constraints through the contour iterative network. The detection branch and segmentation branch are combined to optimize the segmentation mask to achieve high-precision Target segmentation.

Benefits of technology

It significantly improves the accuracy and reliability of target segmentation, especially the segmentation effect at feature edges, improves the geometric measurement accuracy of aircraft surface features, and has strong robustness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537550A
    Figure CN118537550A
Patent Text Reader

Abstract

The invention belongs to the technical field of image processing, and particularly relates to an aircraft surface feature segmentation method based on contour constraint optimization, which comprises the following steps of: acquiring image data, learning feature information of an image by adopting a feature extraction backbone network, and outputting a feature information graph; the method comprises the following steps: firstly, generating a target preselection box by using a contour generation module CGM, and extracting a target contour constraint through multiple iterations by taking the preselection box as a contour blueprint; respectively predicting a classification value, a positioning value and a segmentation mask of the target by using a detection branch structure and a segmentation branch structure; and gradually optimizing the segmentation mask of the target by using the positioning value of the predicted target and the generated contour constraint to complete the target segmentation task. The target segmentation method is high in efficiency and high in segmentation precision, obviously optimizes the effect of a target segmentation result at the edge, improves the reliability of the segmentation result, further improves the precision of target geometric measurement, and has relatively high robustness in multiple complex target segmentation tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of image processing technology, and specifically relates to an aircraft surface feature segmentation method based on contour constraint optimization. Background Art

[0002] The surface quality of an aircraft has an important impact on the aerodynamic performance and safety performance of the aircraft. The surface of an aircraft contains a large number of fasteners such as rivets and screws. The installation quality of these fasteners, especially the amount of bumps and depressions, is an important performance indicator of the aircraft surface quality. In addition, after the aircraft is assembled, the assembly features between the aircraft skin and the fasteners, such as the seams and step differences between the skins, directly affect the aircraft assembly quality. In addition, during the aircraft manufacturing process, the aircraft surface may also have surface defects such as bumps and scratches. How to accurately detect and measure the above-mentioned aircraft surface features and surface defects has become a difficult problem in the field of aviation manufacturing.

[0003] Currently, the detection of the above-mentioned characteristic targets mainly adopts manual detection assisted by computer vision-based technical means.

[0004] For example, the Chinese invention patent with the name of "A method and system for detecting damage to aircraft skin surface based on deep learning" and the patent number of CN202210197322.4 discloses: a method and system for detecting damage to aircraft skin surface based on deep learning, which relates to the field of image processing technology, and mainly includes: obtaining the currently acquired aircraft skin surface image; inputting the currently acquired aircraft skin surface image into the trained aircraft skin surface damage detection model to perform damage category detection and damage area segmentation; the trained aircraft skin surface damage detection model is determined based on a deep learning neural network and a training data set; the deep learning neural network includes a feature extraction network, an attention module, a multi-path multi-scale feature fusion module, a multi-path multi-scale feature fusion module, a target detection network and a full convolution segmentation network; the attention module is used to re-encode the original feature map output by the feature extraction network to determine the multi-scale feature map. The above-mentioned patented visual technology has low versatility for various types of feature target data on the aircraft surface, and can usually only meet the screening of a certain type of specific features, and can only achieve the category of regional features and the position of positioning features in a two-dimensional image, and cannot meet the geometric measurement requirements for feature targets. Summary of the invention

[0005] The present application aims to solve the above problems existing in the prior art and now proposes an aircraft surface feature segmentation method based on contour constraint optimization.

[0006] In order to achieve the above object, the technical solution of the present invention is as follows:

[0007] A method for segmenting aircraft surface features based on contour constraint optimization comprises the following steps:

[0008] Step 1: Collect two-dimensional image data containing the target to be segmented, use the feature extraction backbone network to learn the feature information of the image, and output a feature information map rich in image features;

[0009] Step 2: Taking the feature information graph as input, using the contour generation module CGM, first generate a target pre-selection box, and then use the pre-selection box as the contour blueprint to extract the target contour constraints through multiple iterations;

[0010] Step 3: Use the detection branch and segmentation branch structures to take the generated target pre-selection box as input to predict the classification value, positioning value and segmentation mask of the target respectively;

[0011] Step 4: Use the predicted target positioning value and the generated contour constraint to gradually optimize the target segmentation mask, and combine the optimized segmentation mask and classification value to output to complete the target segmentation task.

[0012] Furthermore, in step 2, the target pre-selected box is used as the outline blueprint, and the outline iteration network CIN is used. After iterations, the outer contour constraints of the target to be segmented are extracted. In particular, The value is determined by humans.

[0013] Furthermore, the initial shape of the target pre-selection box in step 2 is a horizontal rectangular box. For each edge, the point that divides it (ω+1) equally is taken as the contour feature corner point cp i , forming a feature corner point set Cp = {cp i}, and the initial contour constraint Ct0 of the shape of a (4ω)-gon; where ω represents the number of equal parts of the contour; then the contour iteration network is used to predict the deviation of all feature corner points on the current contour constraint, and the deviation value is mapped back to the feature corner point to obtain the new contour feature corner point location, update the contour constraint fitting, and take the (ω+1) equal division point of each pair of adjacent feature corner points as the new contour feature corner point, update the feature corner point set, and complete a contour constraint iteration process. After iterations, the output contour constraints

[0014] Furthermore, the value i of the number of feature corner points in the feature corner point set should satisfy:

[0015]

[0016] Furthermore, the contour iteration network CIN uses cyclic convolution to predict the deviation value of each feature corner point:

[0017]

[0018] in:

[0019] d represents the contour constraint iteration index;

[0020] f represents the feature corner point set;

[0021] K represents the circular convolution kernel; k is the convolution kernel size; K t Indicates that the kernel size is t, corresponding to the circular convolution kernel;

[0022] * indicates convolution operation;

[0023] mod N represents a periodic operation, where N is the number of feature corner points.

[0024] Furthermore, in step 3, the detection branch takes the target pre-selection box as input, and uses finer classification and regression sub-branches to map the feature information to fixed dimensions respectively, and predicts the classification value and positioning value of the target. For P target pre-selection boxes, the classification sub-branch maps the feature information to a vector of dimension P×C, representing the probability that the target to be segmented in each pre-selection box is predicted to be C different categories, where C represents the number of classifiable features; the regression sub-branch maps the feature information to a vector of dimension P×4, representing the displacement deviation of each pre-selection box relative to the target to be segmented in the image.

[0025] Furthermore, in step 3, the segmentation branch takes the target pre-selection box as input to predict the segmentation mask of the target. The segmentation branch first maps the target pre-selection box back to the original image, obtains an image block by cropping, and then predicts the segmentation mask of the target pixel by pixel on the image block.

[0026] Furthermore, the step 4 is specifically as follows:

[0027] Based on the positioning information output by the regression sub-branch of the detection branch, a corrected bounding rectangular frame of the target to be segmented is obtained, and the bounding rectangular frame is used to constrain the target segmentation mask, and the mask outside the frame is cropped;

[0028] Based on the contour eight-way matching rule, the contour constraint is used to further optimize the target segmentation mask. First, the center point of the contour constraint is aligned with the center point of the segmentation mask to construct the offset direction set Dt:

[0029]

[0030] Among them, (0, 0) represents the center point of alignment. After alignment, the contour constraint and the segmentation mask are in the initial matching state. The area In0 of the area currently in the contour constraint but not belonging to the segmentation mask and the area Ex0 of the area currently belonging to the segmentation mask but outside the contour constraint are recorded. Then, the matching degree mt0 of the current contour constraint and the segmentation mask is calculated and added to the matching degree set Mt = {mt0}. Next, any offset direction in the offset direction set is selected, and the contour constraint is translated by the pixel amount. The area In of the area that is in the contour constraint but not belonging to the segmentation mask when the contour constraint matches the segmentation mask after translation is calculated. dti , the area Ex that belongs to the segmentation mask but exceeds the contour constraint dti And the matching degree mt dti , if mt dti >mt dti-1 , then update the matching degree set Mt = {mt0...mt dti}, and continue to translate the contour constraint along the current offset direction and repeat the matching process; otherwise, end the current offset direction, start again from the alignment point, select the next offset direction, and perform the matching process of the contour constraint and the segmentation mask.

[0031] Furthermore, the calculation formula of the matching degree is:

[0032]

[0033] Among them, dt represents the direction of the current matching contour constraint offset, i represents the offset index, and after traversing the contour matching process, the matching degree set Mt is obtained. The contour constraint corresponding to the maximum value in the set is selected as the optimal solution to match the segmentation mask, fill the segmentation mask, and obtain the final segmentation result.

[0034] The advantages of this application are:

[0035] 1. The target segmentation method of the present invention is highly efficient and has high segmentation accuracy. It can significantly optimize the effect of the target segmentation result at the edge, improve the reliability of the segmentation result, further improve the accuracy of the target geometry measurement, and has strong robustness in a variety of complex target segmentation tasks.

[0036] 2. The present invention is based on a deep learning algorithm and uses a two-dimensional image of the aircraft surface as input to achieve automatic segmentation of aircraft surface features (such as defects, rivets, screws, etc.). At the same time, in terms of segmentation accuracy, the contour of the feature to be measured is used for constraint, which greatly improves the accuracy of feature segmentation, especially the segmentation effect at the edge of the feature, and significantly improves the accuracy of geometric measurement of feature targets. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1It is a flow chart of the aircraft surface feature segmentation method based on contour constraint optimization of the present invention.

[0038] Figure 2 It is a network structure diagram of the aircraft surface feature segmentation method based on contour constraint optimization of the present invention.

[0039] Figure 3 It is a schematic diagram of calculating the matching degree between the contour constraint and the segmentation mask of the present invention.

[0040] Figure 4 It is a network structure diagram of the second embodiment of the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the invention clearer, the technical solutions in the embodiments of the invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the invention. Obviously, the described embodiments are part of the embodiments of the invention, not all of the embodiments. Generally, the components of the embodiments of the invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0042] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0044] In the description of the present invention, it should be noted that the terms "upper", "vertical", "inner", "outer", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the product of the invention is usually placed when in use, or the orientation or positional relationship commonly understood by those skilled in the art, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0045] The aircraft surface feature segmentation method based on contour constraint optimization of the present invention completes the segmentation task of the target in the image based on the deep learning network. The feature information in the image is learned through the feature extraction backbone network, and then the outer contour constraint of the target is fitted based on the feature information, and the target to be segmented in the image is preliminarily segmented. Finally, the target contour constraint is used to optimize the segmentation result, so as to achieve high-precision segmentation of each target instance in the image.

[0046] Example 1

[0047] A method for segmenting aircraft surface features based on contour constraint optimization comprises the following steps:

[0048] Step 1: Collect two-dimensional image data containing the target to be segmented, use the feature extraction backbone network to learn the feature information of the image, and output a feature information map rich in image features;

[0049] Step 2: Taking the feature information graph as input, using the contour generation module CGM (Contour Generation Module), first generate a target pre-selection box, and then use the pre-selection box as a contour blueprint to extract the target contour constraints through multiple iterations;

[0050] Step 3: Use the detection branch and segmentation branch structures, take the target pre-selection box generated in step 2 as input, and predict the classification value, positioning value and segmentation mask of the target respectively;

[0051] Step 4: Use the predicted target positioning value and the generated contour constraint to gradually optimize the target segmentation mask, and combine the optimized segmentation mask and classification value to output to complete the target segmentation task.

[0052] The target segmentation method of the present invention is highly efficient and has high segmentation accuracy. It can significantly optimize the effect of the target segmentation result at the edge, improve the reliability of the segmentation result, and further improve the accuracy of the target geometry measurement. It has strong robustness in a variety of complex target segmentation tasks. Based on a deep learning algorithm, the present invention uses a two-dimensional image of the aircraft surface as input to achieve automatic segmentation of aircraft surface features (such as defects, rivets, screws, etc.). At the same time, in terms of segmentation accuracy, the contour of the feature to be measured is used for constraint, which greatly improves the accuracy of feature segmentation, especially the segmentation effect at the feature edge, and significantly improves the accuracy of feature target geometry measurement.

[0053] Example 2

[0054] like Figure 1 As shown, a method for segmenting aircraft surface features based on contour constraint optimization of the present invention comprises the following steps:

[0055] Step 1: Collect two-dimensional image data containing the target to be segmented, use the feature extraction backbone network to learn the feature information of the image, and output a feature information map rich in image features;

[0056] Step 2: Taking the feature information graph as input, using the contour generation module CGM (Contour Generation Module) to first generate a target pre-selection box, and then using the pre-selection box as a contour blueprint, extracting the target contour constraints through multiple iterations;

[0057] Step 3: Use the detection branch and segmentation branch structures, take the target pre-selection box generated in step 2 as input, and predict the classification value, positioning value and segmentation mask of the target respectively;

[0058] Step 4: Use the predicted target positioning value and the generated contour constraint to gradually optimize the target segmentation mask, and combine the optimized segmentation mask and classification value to output to complete the target segmentation task.

[0059] Specifically, in the above step 2, the target pre-selected box is used as the outline blueprint, and the contour iteration network CIN (Contour Iteration Network) is used to extract the outer contour constraints of the target to be segmented after 4 iterations. In particular, The value is determined by humans.

[0060] The initial shape of the target pre-selection box is a horizontal rectangular box. For each edge, the point that divides it (ω+1) equally is taken as the contour feature corner point cp i , forming a feature corner point set Cp = {cpi}, and an initial contour constraint Ct0 of the shape of a (4ω)-gon. Among them, ω represents the number of equal divisions of the contour. Then use the contour iteration network to predict the deviation of all feature corner points on the current contour constraint, and map the deviation value back to the feature corner point to obtain the new contour feature corner point location, update the contour constraint fitting, and take the (ω+1) equal division point of each pair of adjacent feature corner points as the new contour feature corner point, update the feature corner point set, and complete a contour constraint iteration process. After After iterations, the output contour constraints

[0061] The value i of the number of feature corner points in the feature corner point set should satisfy:

[0062]

[0063] The contour iteration network uses cyclic convolution to predict the deviation value of each feature corner point:

[0064]

[0065] in:

[0066] d represents the contour constraint iteration index;

[0067] f represents the feature corner point set;

[0068] K represents the circular convolution kernel; k is the convolution kernel size; K t Indicates that the kernel size is t, corresponding to the circular convolution kernel;

[0069] * indicates convolution operation;

[0070] mod N represents a periodic operation, where N is the number of feature corner points.

[0071] Specifically, the detection branch in step 3 above takes the target pre-selected box as input, and uses finer classification and regression sub-branches to map the feature information to fixed dimensions, respectively, and predict the classification value and positioning value of the target. For P target pre-selected boxes, the classification sub-branch maps the feature information to a vector of dimension P×C, representing the probability that the target to be segmented in each pre-selected box is predicted to be C different categories, where C represents the number of classifiable features; the regression sub-branch maps the feature information to a vector of dimension P×4, representing the displacement deviation of each pre-selected box relative to the target to be segmented in the image.

[0072] Specifically, the segmentation branch in step 3 above takes the target pre-selected box as input and predicts the segmentation mask of the target. The segmentation branch first maps the target pre-selected box back to the original image, obtains an image block by cropping, and then predicts the segmentation mask of the target pixel by pixel on the image block.

[0073] Specifically, in the above step 4, the positioning value of the predicted target and the generated contour constraint are used to gradually optimize the segmentation mask of the target.

[0074] Based on the positioning information output by the regression sub-branch of the detection branch, a corrected bounding rectangular frame of the target to be segmented can be obtained. First, the bounding rectangular frame is used to constrain the target segmentation mask, and the mask outside the frame is cropped.

[0075] Next, based on the contour eight-way matching rule, the contour constraint is used to further optimize the target segmentation mask. First, the center of the contour constraint is aligned with the center of the segmentation mask to construct the offset direction set Dt:

[0076]

[0077] Among them, (0, 0) represents the center point of alignment. After alignment, the contour constraint and the segmentation mask are in the initial matching state. The area In0 of the area currently within the contour constraint but not belonging to the segmentation mask, and the area Ex0 of the area currently belonging to the segmentation mask but outside the contour constraint are recorded. Then, the matching degree mt0 of the current contour constraint and the segmentation mask is calculated and added to the matching degree set Mt = {mt0}. In particular, In0 and Ex0 can be obtained by calculating the number of pixels in the corresponding area.

[0078] Next, select any offset direction in the offset direction set, translate the contour constraint by pixel amount, and calculate the area In of the contour constraint but not belonging to the segmentation mask when the translated contour constraint matches the segmentation mask dti , the area Ex that belongs to the segmentation mask but exceeds the contour constraint dti And the matching degree mt dti , if mt dti >mt dti-1 , then update the matching degree set Mt = {mt o ...mt dti}, and continue to translate the contour constraint along the current offset direction and repeat the matching process; otherwise, end the current offset direction, start again from the alignment point, select the next offset direction, and perform the matching process of the contour constraint and the segmentation mask. The matching degree calculation formula is:

[0079]

[0080] Among them, dt represents the direction of the current matching contour constraint offset, and i represents the offset index. After traversing the contour matching process, the matching degree set Mt is obtained. The contour constraint corresponding to the maximum value in the set is selected as the optimal solution to match the segmentation mask, and the contour constraint is used as the target boundary to fill the segmentation mask to obtain the final segmentation result.

[0081] In the above formula dti 、Ex dti and mt ati The meanings are the same as In0, Ex0, and In0 in the previous text, but they correspond to the matching positions when different offsets occur. The subscript 0 indicates the initial position, that is, no offset occurs; the subscript dti indicates that an offset occurs in a direction in the offset direction set DT.

[0082] Example 3

[0083] Embodiment 1 and Embodiment 2 are only preferred implementations of the present invention. The protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. Figure 4As shown, the technical solution of using the target positioning frame after the offset error adjustment as the contour blueprint and then using the contour iteration network CIN to extract the contour constraints of the target to be segmented should still be regarded as belonging to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. A method for segmenting aircraft surface features based on contour constraint optimization, characterized in that: The steps include: Step 1: Collect two-dimensional image data containing the target to be segmented, use the feature extraction backbone network to learn the feature information of the image, and output a feature information map rich in image features; Step 2: Taking the feature information graph as input, using the contour generation module CGM, first generate a target pre-selection box, and then use the pre-selection box as the contour blueprint to extract the target contour constraints through multiple iterations; Step 3: Use the detection branch and segmentation branch structures to take the generated target pre-selection box as input to predict the classification value, positioning value and segmentation mask of the target respectively; Step 4: Use the predicted target positioning value and the generated contour constraint to gradually optimize the target segmentation mask, and combine the optimized segmentation mask and classification value to output to complete the target segmentation task.

2. The method for segmenting aircraft surface features based on contour constraint optimization according to claim 1, characterized in that: In step 2, the target pre-selected box is used as the outline blueprint, and the outline iteration network CIN is used to After iterations, the outer contour constraints of the target to be segmented are extracted.

3. The method for segmenting aircraft surface features based on contour constraint optimization according to claim 1, characterized in that: The initial shape of the target pre-selection box in step 2 is a horizontal rectangular box. For each edge, the point that divides it (ω+1) equally is taken as the contour feature corner point cp i , forming a feature corner point set Cp = {cp i }, and the initial contour constraint Ct0 of the shape of a (4ω)-gon; where ω represents the number of equal divisions of the contour; then the contour iteration network is used to predict the deviation of all feature corner points on the current contour constraint, and the deviation value is mapped back to the feature corner point to obtain the new contour feature corner point location, update the contour constraint fitting, and take the (ω+1) equal division point of each pair of adjacent feature corner points as the new contour feature corner point, update the feature corner point set, and complete a contour constraint iteration process. After iterations, the output contour constraints 4. The method for segmenting aircraft surface features based on contour constraint optimization according to claim 3, characterized in that: The value i of the number of feature corner points in the feature corner point set should satisfy:

5. The method for segmenting aircraft surface features based on contour constraint optimization according to claim 3, characterized in that: The contour iteration network CIN uses cyclic convolution to predict the deviation value of each feature corner point: in: d represents the contour constraint iteration index; f represents the feature corner point set; K represents the circular convolution kernel; k is the convolution kernel size; K t Indicates that the kernel size is t, corresponding to the circular convolution kernel; * indicates convolution operation; mod N represents a periodic operation, where N is the number of feature corner points.

6. The method for segmenting aircraft surface features based on contour constraint optimization according to claim 1, characterized in that: In step 3, the detection branch takes the target pre-selected box as input, and uses finer classification and regression sub-branches to map the feature information to fixed dimensions respectively, and predicts the classification value and positioning value of the target. For P target pre-selected boxes, the classification sub-branch maps the feature information to a vector of dimension P×C, representing the probability that the target to be segmented in each pre-selected box is predicted to be C different categories, where C represents the number of classifiable features; the regression sub-branch maps the feature information to a vector of dimension P×4, representing the displacement deviation of each pre-selected box relative to the target to be segmented in the image.

7. The method for segmenting aircraft surface features based on contour constraint optimization according to claim 1, characterized in that: In step 3, the segmentation branch takes the target pre-selection box as input and predicts the segmentation mask of the target. The segmentation branch first maps the target pre-selection box back to the original image, obtains an image block by cropping, and then predicts the segmentation mask of the target pixel by pixel on the image block.

8. The method for segmenting aircraft surface features based on contour constraint optimization according to claim 1, characterized in that: The step 4 is specifically as follows: Based on the positioning information output by the regression sub-branch of the detection branch, a corrected bounding rectangular frame of the target to be segmented is obtained, and the bounding rectangular frame is used to constrain the target segmentation mask, and the mask outside the frame is cropped; Based on the contour eight-way matching rule, the contour constraint is used to further optimize the target segmentation mask; first, the center point of the contour constraint is aligned with the center point of the segmentation mask to construct the offset direction set Dt: Among them, (0,0) represents the center point of alignment. After alignment, the contour constraint and the segmentation mask are in the initial matching state. The area In0 of the area currently in the contour constraint but not belonging to the segmentation mask and the area Ex0 of the area currently belonging to the segmentation mask but outside the contour constraint are recorded. Then, the matching degree mt0 of the current contour constraint and the segmentation mask is calculated and added to the matching degree set Mt={mt0}. Next, any offset direction in the offset direction set is selected, and the contour constraint is translated by the pixel amount. The area In of the area that is in the contour constraint but not belonging to the segmentation mask when the contour constraint matches the segmentation mask after translation is calculated. dti , the area Ex that belongs to the segmentation mask but exceeds the contour constraint dti And the matching degree mt dti , if mt dti >mt dti-1 , then update the matching degree set Mt = {mt0…mt dti }, and continue to translate the contour constraint along the current offset direction and repeat the matching process; otherwise, end the current offset direction, start again from the alignment point, select the next offset direction, and perform the matching process of the contour constraint and the segmentation mask.

9. The method for segmenting aircraft surface features based on contour constraint optimization according to claim 8, characterized in that: The calculation formula of the matching degree is: Among them, dt represents the direction of the current matching contour constraint offset, i represents the offset index, and after traversing the contour matching process, the matching degree set Mt is obtained. The contour constraint corresponding to the maximum value in the set is selected as the optimal solution to match the segmentation mask, fill the segmentation mask, and obtain the final segmentation result.

Citation Information

Patent Citations

  • Video moving target classification and identification method based on outline constraint

    CN103218831A

  • Aircraft fine-grained identification method based on target segmentation and graph classification

    CN116486265A

Cited By

  • Multi-modal aircraft target segmentation method based on improved loss

    CN120198666A