A cascade-based semantic segmentation method, system, terminal and storage medium

By dividing pixels into two stages for processing in semantic segmentation and dynamically modifying labels, the problem of large calculations and insufficient label learning in the existing technology is solved, and the accuracy and efficiency of semantic segmentation are improved.

CN109002840BInactive Publication Date: 2024-10-08ZONGMU TECH SHANGHAI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810665463.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-06-26
Publication Date
2024-10-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the existing LC algorithm deals with parking and picking up problems in large parking lots, it requires a huge amount of calculations and fails to fully learn labels, resulting in changes without sufficient learning, which affects the accuracy of semantic segmentation.

Method used

Using a cascade-based semantic segmentation method, the pixels are divided into two stages for processing. The first stage confirms the category according to the threshold of the feature point, and the second stage processes the remaining feature points, and by dynamically modifying the label, the division of labor is clear to ensure the accuracy of learning. The objective function does not change contextual information.

Benefits of technology

It improves the accuracy and efficiency of semantic segmentation, ensures a clearer target division of labor, reduces the amount of calculation, and enhances the accuracy of classification results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109002840B_ABST
    Figure CN109002840B_ABST
Patent Text Reader

Abstract

The present invention provides a cascade-based semantic segmentation method, system, terminal and storage medium, which mainly divides the image into two stages for processing. In the first stage, when a feature point is greater than a threshold, it is considered that the feature point has been able to confirm its category, and the next stage of processing is no longer performed. In the second stage, the remaining feature points are passed to the next stage for processing, and the target division of labor is clearer and the accuracy is higher. The algorithm dynamically modifies the label without changing the context information, only changes the objective function of the learning, and gives sufficient time for learning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle-mounted electronic technology, and in particular to a cascade-based semantic segmentation method, system, terminal and storage medium. Background Art

[0002] The increase in the number of cars has promoted the development of large parking lots. Since the beginning of the 21st century, we have more and more large parking lots. The ever-expanding scale of parking lots has brought about a series of parking and picking up problems, which has become a common social problem faced by every large and medium-sized city in the world.

[0003] The existing LC algorithm (Layer Conscade) has the following disadvantages: First, the consistency processing of pixels with different semantics requires huge computational effort. Second, when cascading, the labels are not learned sufficiently, and changes may occur before they are fully learned. Summary of the invention

[0004] In order to solve the above and other potential technical problems, the present invention provides a cascade-based semantic segmentation method, system, terminal and storage medium. First, the pixels are mainly divided into two stages for processing. In the first stage, when a feature point exceeds the threshold, it is considered that the feature point has been able to confirm its category, and the next stage of processing will not be carried out. The remaining feature points are passed to the next stage for processing, and the target division of labor is clearer and the accuracy is higher. Second, the approach of this algorithm is to dynamically modify the label, record all the labels of all feature maps together, and update the label of each feature map in a fixed epoch after learning for a period of time, put the easy label in this stage, and put the hard label in the next stage. The context information is not changed, only the learning objective function is changed. Third, this algorithm will give sufficient time for learning.

[0005] A cascade-based semantic segmentation method comprises the following steps:

[0006] S01: Acquire a captured image, and process the captured image through front-end compilation to obtain a feature map I;

[0007] S02: processing the feature points of the feature graph I so that each feature point has a color representation element, the color representation element is based on the basic color and represents the ratio of the feature point to each basic color;

[0008] S03: set a threshold, marked as threshold ρ;

[0009] S04: Classify the feature points of feature map I

[0010] If the color representation element of the feature point is greater than the threshold, the feature point is entered into the simple label set;

[0011] If the color representation element of the feature point is less than the threshold, the feature point is entered into the difficult label set;

[0012] S05: The simple label set directly outputs the classification result; the mask method is used to perform regional convolution on only the input difficult label set and output the classification result;

[0013] S06: The output classification results of the simple label set and the difficult label set are integrated into a complete output classification result.

[0014] Furthermore, the method further includes step S07, in which the classification result is decoded and restored into a semantic segmentation map.

[0015] Furthermore, the front-end compilation process in step S01 includes convolution and linear correction, and also includes one or more of pooling, upsampling, and fusion.

[0016] Furthermore, the number of convolutions in the front-end compilation process in step S01 is at least one, and the convolution network structure is a full convolution network structure or an expanded convolution network structure.

[0017] Furthermore, in step S02, the color representation element is a vector, each basic color is regarded as a dimension, and the sum of the ratios of the color representation element vector to each basic color is a constant 1.

[0018] Furthermore, the basic colors in step S02 are three colors: R, G, and B.

[0019] Assume that in the color representation element of a feature point, the proportion of basic color R is 0.7, the proportion of basic color G is 0.2, and the proportion of basic color B is 0.1. With basic color R as the first dimension, basic color G as the second dimension, and basic color B as the third dimension, the color representation element vector of this feature point can be represented by the first dimension, the second dimension, and the third dimension.

[0020] Furthermore, the threshold value ρ in step S03 is used to determine the difficulty of the color representation element vector of the feature point in the feature map; if it exceeds the threshold value ρ, it means that the amplitude of the feature point tending to the basic color of a certain dimension is greater than the critical value, then it means that the feature point can be directly classified; if it does not exceed the threshold value ρ, it means that the feature point does not obviously tend to the basic color of any dimension, then it means that it is difficult to classify this feature point.

[0021] Furthermore, the threshold value p in step S03 is in the range of 0.8 to 0.9, and preferably, the threshold value p is 0.9. In another preferred embodiment, the threshold value p is 0.95.

[0022] Furthermore, in step S04, the process of classifying the feature graph I label is dynamically changed, and the frequency of the dynamic change is the frequency of iteration of the sample training result.

[0023] Furthermore, in step S04, each time the training result iteration is completed, when the feature map I label needs to be reclassified, all feature points of the feature map I need to be classified before step S05 is performed.

[0024] Furthermore, there are three ways to initialize the feature map I label classification:

[0025] a. Pixels with scores greater than the threshold in the first stage are treated as simple labels;

[0026] b Treat the original label as a simple label;

[0027] c sets all feature values ​​of simple labels to special values ​​that will be ignored during training.

[0028] Furthermore, the algorithm flow of the feature map I label generation classification is as follows:

[0029] d Initialization: Initialize the labels storing simple labels and difficult labels to the same space as the original labels;

[0030] eWhen running the first round of sample training epoch, the label corresponding to each feature map I is passed into the simple label and difficult label;

[0031] f. When the color representation factor is greater than the preset threshold ρ and the sample training epoch is not the first epoch, the simple label is passed into the label position, and when the color representation factor is less than the preset threshold ρ, the difficult label is passed into the label position;

[0032] gWhen the above conditions are not met, the labels corresponding to the initial simple labels and difficult labels are passed in;

[0033] h passes the simple labels and difficult labels to the next stage of operation.

[0034] Furthermore, after the completion of step h, if the feature extraction results after regional convolution of the pixels in the difficult label set cannot meet the classification requirements, the label reclassification of the labels in the difficult label set will be initiated. The specific steps of label reclassification are the same as step S04, and the reclassified label categories are subjected to regional convolution to extract features.

[0035] Furthermore, in step S04, when classifying all feature points of feature graph I, one or more of the following parameters are also considered: I the relationship between pixels; J the relationship between pixel observation values ​​and pixel actual values; k the frequency of simultaneous occurrence of two pixels; l the color value and the actual relative distance.

[0036] Furthermore, in step S04, the specific steps of the label dynamic change process are:

[0037] S041: The positions of the easy and difficult labels will be assigned to the same Figure 1 Such labels;

[0038] S042: sample training;

[0039] S043: Feature graph I learns the trained classifier. In simple labels, labels with a threshold greater than the threshold ρ are retained, and labels with a threshold less than the threshold ρ are ignored. In difficult labels, labels with a threshold less than the threshold ρ are retained, and labels with a threshold greater than the threshold ρ are ignored.

[0040] S044: Sample training iteration;

[0041] S045: Reset the labels in the simple label and the difficult label to the labels of the original image and start learning.

[0042] Furthermore, in step S04: when the first round of training epoch is run, the label corresponding to each feature map I is passed into the simple label and the difficult label; thereafter, the label is refreshed at each training iteration interval.

[0043] Furthermore, the specific steps of the mask method in step S05 are:

[0044] S051: pre-prepare a mask matrix of the region of interest;

[0045] S052: Multiply the mask matrix by the pixel point of the region of interest on the feature map I, and place the product at the original pixel point;

[0046] S053: Obtain an image of the region of interest, where the image values ​​within the region of interest remain unchanged, while the image values ​​outside the region of interest are all zero.

[0047] Furthermore, in step S05, the mask matrix is ​​a binary matrix composed of 0 and 1, and the area in the mask matrix assigned a value of 1 is multiplied by the corresponding feature point of feature map I, and the feature point of feature map I is still obtained, that is, the feature point of feature map I is retained; the area in the mask matrix assigned a value of 0 is multiplied by the corresponding feature point of feature map I, and the feature point is replaced by the value 0.

[0048] Furthermore, the mask method can also define image masks by specifying data values, data ranges, finite or infinite values, regions of interest, and annotation files, and can also apply any combination of the above options as input to create a mask.

[0049] A cascade-based semantic segmentation system includes a front-end compilation module, a sample set, and a classifier, and is characterized in that it also includes a label classifier, a regional convolution module, a mask module, and a fusion module;

[0050] The front-end compilation module obtains a captured image, and processes the captured image through the front-end compilation to obtain a feature map I;

[0051] The label classifier classifies all feature points of the feature graph I: feature points whose color representation elements are greater than a threshold are entered into a simple label set; feature points whose color representation elements are less than a threshold are entered into a difficult label set;

[0052] The simple label set is directly classified by the classifier and the difficult label set is directly classified by the classifier. The mask module and the regional convolution module are used to extract the regional features of interest and the classifier outputs the classification result.

[0053] The fusion module fuses the output classification results of the simple label set and the difficult label set.

[0054] Furthermore, it also includes a back-end decoding module, which performs back-end decoding on the output classification result and restores it into a semantic segmentation map.

[0055] Furthermore, it also includes a label generator, which includes but is not limited to an initialization module, a training interval sensing module, a training result receiving module, and a threshold comparison module; the initialization module is used to initialize the labels storing simple labels and difficult labels to the same space as the original labels; the training interval sensing module is used to sense the nodes at which a round of sample set training has been completed, and the training result receiving module is used to receive the training results and pass in simple labels when the color representation element is greater than a preset threshold ρ and the sample training cycle is not the first round of training cycle; when the color representation element is less than a preset threshold ρ, pass in difficult labels.

[0056] A cascade-based semantic segmentation terminal includes a processor and a memory, wherein the memory stores program instructions, and the processor executes the program instructions to implement the steps in the above method.

[0057] A computer-readable storage medium stores a computer program, which implements the steps in the above method when executed by a processor.

[0058] As described above, the present invention has the following beneficial effects:

[0059] First, this paper mainly divides pixels into two stages for processing. In the first stage, when the maximum score of a feature point exceeds the threshold, it is considered that the feature point has been able to confirm its category and will not be processed in the next stage. The remaining feature points are passed to the next stage for processing, with a clearer division of labor and higher accuracy.

[0060] Second, this algorithm dynamically modifies labels by recording all labels of all feature maps together. After learning for a period of time, at a fixed epoch, the label of each feature map is updated, and the easy label is placed in this stage and the hard label is placed in the next stage. The context information is not changed, and only the objective function of learning is changed.

[0061] Third, the algorithm will be given sufficient time to learn. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.

[0063] Figure 1 Shown is a cascade-based semantic segmentation flowchart of the present invention.

[0064] Figure 2 A flow chart showing the label classification of the present invention is shown. DETAILED DESCRIPTION

[0065] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0066] It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no substantial technical significance. Any modification of the structure, change of the proportion relationship or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the effects and purposes that can be achieved by the present invention. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are only for the convenience of description, and are not used to limit the scope of the implementation of the present invention. The change or adjustment of their relative relationship should also be regarded as the scope of the implementation of the present invention without substantially changing the technical content.

[0067] See also Figure 1-2 ,

[0068] A cascade-based semantic segmentation method comprises the following steps:

[0069] S01: Acquire a captured image, and process the captured image through front-end compilation to obtain a feature map I;

[0070] S02: processing each feature point of the feature graph I so that each feature point has a color representation element, the color representation element is based on the basic color and represents the ratio of the feature point to each basic color;

[0071] S03: set a threshold, marked as threshold ρ;

[0072] S04: Classify all feature points of feature map I

[0073] If the color representation element of the feature point is greater than the threshold, the feature point is entered into the simple label set;

[0074] If the color representation element of the feature point is less than the threshold, the feature point is entered into the difficult label set;

[0075] S05: The simple label set directly outputs the classification result; the mask method is used to perform regional convolution on only the input difficult label set and output the classification result;

[0076] S06: The output classification results of the simple label set and the difficult label set are integrated into a complete output classification result.

[0077] In another embodiment, step S07 is further included, in which the classification result is decoded and restored into a semantic segmentation map.

[0078] As a preferred embodiment, the front-end compilation process in step S01 includes convolution and linear correction, and also includes one or more of pooling, upsampling, and fusion.

[0079] As a preferred embodiment, the number of convolutions in the front-end compilation process in step S01 is at least one, and the convolution network structure is a full convolution network structure or an expanded convolution network structure.

[0080] As a preferred embodiment, in step S02, the color representation element is a vector, each basic color is regarded as a dimension, and the sum of the ratios of the color representation element vector to each basic color is a constant 1.

[0081] As a preferred embodiment, the basic colors in step S02 are three colors: R, G, and B.

[0082] Assume that in the color representation element of a feature point, the proportion of basic color R is 0.7, the proportion of basic color G is 0.2, and the proportion of basic color B is 0.1. With basic color R as the first dimension, basic color G as the second dimension, and basic color B as the third dimension, the color representation element vector of this feature point can be represented by the first dimension, the second dimension, and the third dimension.

[0083] As a preferred embodiment, the threshold value ρ in step S03 is used to determine the difficulty of the color representation element vector of the feature point in the feature map; if it exceeds the threshold value ρ, it means that the amplitude of the feature point tending to the basic color of a certain dimension is greater than the critical value, then it means that the feature point can be directly classified; if it does not exceed the threshold value ρ, it means that the feature point does not obviously tend to the basic color of any dimension, then it means that it is difficult to classify this feature point.

[0084] As a preferred embodiment, the threshold value p in step S03 is in the range of 0.8 to 0.9, preferably, the threshold value p is 0.9. In another preferred embodiment, the threshold value p is 0.95.

[0085] As a preferred embodiment, in step S04, the process of classifying the feature map I label is dynamically changed, and the frequency of the dynamic change is the frequency of iteration of the sample training results.

[0086] As a preferred embodiment, in step S04, each time the training result iteration is completed and the feature map I label needs to be reclassified, all feature points of the feature map I need to be classified before step S05 is performed.

[0087] As a preferred embodiment, there are three initialization methods for the feature map I label classification:

[0088] a. Pixels with scores greater than the threshold in the first stage are treated as simple labels;

[0089] b Treat the original label as a simple label;

[0090] c sets all feature values ​​of simple labels to special values ​​that will be ignored during training.

[0091] As a preferred embodiment, the algorithm flow of the feature map I label generation classification is as follows:

[0092] d Initialization: Initialize the labels storing simple labels and difficult labels to the same space as the original labels;

[0093] eWhen running the first round of sample training epoch, the label corresponding to each feature map I is passed into the simple label and difficult label;

[0094] f. When the color representation factor is greater than the preset threshold ρ and the sample training epoch is not the first epoch, the simple label is passed into the label position, and when the color representation factor is less than the preset threshold ρ, the difficult label is passed into the label position;

[0095] gWhen the above conditions are not met, the labels corresponding to the initial simple labels and difficult labels are passed in;

[0096] h passes the simple labels and difficult labels to the next stage of operation.

[0097] As a preferred embodiment, after the completion of step h, if the feature extraction results after regional convolution of pixels in the difficult label set cannot meet the classification requirements, label reclassification of the labels in the difficult label set will be initiated. The specific steps of label reclassification are the same as step S04, and the reclassified label categories are subjected to regional convolution to extract features.

[0098] As a preferred embodiment, in step S04, when classifying all feature points of feature graph I, one or more of the following parameters are also taken into consideration: I the relationship between pixel points; J the relationship between pixel point observation values ​​and pixel point actual values; k the frequency of simultaneous occurrence of two pixels; l the color value and the actual relative distance.

[0099] As a preferred embodiment, in step S04, the specific steps of the label dynamic change process are:

[0100] S041: The positions of the easy and difficult labels will be assigned to the same Figure 1 Such labels;

[0101] S042: sample training;

[0102] S043: Feature graph I learns the trained classifier. In simple labels, labels with a threshold greater than the threshold ρ are retained, and labels with a threshold less than the threshold ρ are ignored. In difficult labels, labels with a threshold less than the threshold ρ are retained, and labels with a threshold greater than the threshold ρ are ignored.

[0103] S044: Sample training iteration;

[0104] S045: Reset the labels in the simple label and the difficult label to the labels of the original image and start learning.

[0105] As a preferred embodiment, in step S04: when running the first round of training epoch, the label corresponding to each feature map I is passed into the simple label and the difficult label; thereafter, the label is refreshed at each training iteration interval.

[0106] As a preferred embodiment, the specific steps of the mask method in step S05 are:

[0107] S051: pre-prepare a mask matrix of the region of interest;

[0108] S052: Multiply the mask matrix by the pixel point of the region of interest on the feature map I, and place the product at the original pixel point;

[0109] S053: Obtain an image of the region of interest, where the image values ​​within the region of interest remain unchanged, while the image values ​​outside the region of interest are all zero.

[0110] As a preferred embodiment, in step S05, the mask matrix is ​​a binary matrix composed of 0 and 1, and the area in the mask matrix assigned a value of 1 is multiplied by the corresponding feature point of feature map I, and the feature point of feature map I is still obtained, that is, the feature point of feature map I is retained; the area in the mask matrix assigned a value of 0 is multiplied by the corresponding feature point of feature map I, and the feature point is replaced by the value 0.

[0111] As a preferred embodiment, the mask method can also define image masks by specifying data values, data ranges, finite or infinite values, regions of interest and annotation files, and can also use any combination of the above options as input to create a mask.

[0112] A cascade-based semantic segmentation system includes a front-end compilation module, a sample set, and a classifier, and is characterized in that it also includes a label classifier, a regional convolution module, a mask module, and a fusion module;

[0113] The front-end compilation module obtains a captured image, and processes the captured image through the front-end compilation to obtain a feature map I;

[0114] The label classifier classifies all feature points of the feature graph I: feature points whose color representation elements are greater than a threshold are entered into a simple label set; feature points whose color representation elements are less than a threshold are entered into a difficult label set;

[0115] The simple label set is directly classified by the classifier and the difficult label set is directly classified by the classifier. The mask module and the regional convolution module are used to extract the regional features of interest and the classifier outputs the classification result.

[0116] The fusion module fuses the output classification results of the simple label set and the difficult label set.

[0117] As a preferred embodiment, it also includes a back-end decoding module, which performs back-end decoding on the output classification result and restores it into a semantic segmentation map.

[0118] As a preferred embodiment, it also includes a label generator, which includes but is not limited to an initialization module, a training interval sensing module, a training result receiving module, and a threshold comparison module; the initialization module is used to initialize the labels storing simple labels and difficult labels to the same space as the original labels; the training interval sensing module is used to sense the nodes where a round of sample set training has been completed, and the training result receiving module is used to receive the training results and pass in simple labels when the color representation factor is greater than a preset threshold ρ and the sample training cycle is not the first round of training cycle; when the color representation factor is less than the preset threshold ρ, pass in difficult labels.

[0119] A cascade-based semantic segmentation terminal includes a processor and a memory, wherein the memory stores program instructions, and the processor executes the program instructions to implement the steps in the above method.

[0120] A computer-readable storage medium stores a computer program, which implements the steps in the above method when executed by a processor.

[0121] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A cascade-based semantic segmentation method, It is characterized in that The following steps are involved: S01: Acquire a captured image, and process the captured image through a front-end compilation process to obtain a feature map I. The number of convolutions in the front-end compilation process in step S01 is at least one, and the convolution network structure is a full convolution network structure or an expanded convolution network structure; S02: processing the feature points of the feature graph I so that each feature point has a color representation element, the color representation element is based on the basic color and represents the ratio of the feature point to each basic color; S03: set a threshold, marked as threshold ρ; S04: Classify the feature points of feature map I If the color representation element of the feature point is greater than the threshold, the feature point is entered into the simple label set; If the color representation element of the feature point is less than the threshold, the feature point is entered into the difficult label set; The process of classifying the feature map I label is dynamic, and the frequency of dynamic change is the frequency of iteration of sample training results; The specific steps of the label dynamic change process are as follows: the positions of the simple label and the difficult label will be assigned the same labels as the original image; Sample training; feature map I learns the trained classifier, the labels with a threshold greater than the threshold ρ in the simple labels are retained, and the labels with a threshold less than the threshold ρ are ignored; the labels with a threshold less than the threshold ρ in the difficult labels are retained, and the labels with a threshold greater than the threshold ρ are ignored; Sample training iteration; reset the labels in the simple label and the difficult label to the labels of the original image to start learning; In step S04, when classifying all feature points of the feature graph I, one or more of the following parameters are also considered: I. The relationship between pixels; J. The relationship between the observed value of a pixel and the actual value of a pixel; k. The frequency of two pixels appearing at the same time; l. The color value and the actual relative distance; There are three initialization methods for the feature map I label classification: a. treating pixels with scores greater than a threshold in the first stage as simple labels; b. treating the original labels as simple labels; c. setting all feature values ​​of simple labels to special values ​​that will be ignored during training; S05: Simple label set directly outputs classification results; The mask method is used to perform regional convolution on only the difficult label set and output the classification result. The specific steps of masking are: pre-prepare the mask matrix of the region of interest; Multiply the mask matrix by the pixel points of the region of interest on the feature map I, and put the product into the original pixel point; get the image of the region of interest, the image value in the region of interest remains unchanged, and the image values ​​outside the region of interest are all 0; S06: The output classification results of the simple label set and the difficult label set are integrated into a complete output classification result.

2. The cascade-based semantic segmentation method according to claim 1, It is characterized in that The method further includes step S07, in which the classification result is decoded and restored into a semantic segmentation map.

3. The cascade-based semantic segmentation method according to claim 1, It is characterized in that The front-end compilation process in step S01 includes convolution and linear correction, and also includes one or more of pooling, sampling, and fusion.

4. The cascade-based semantic segmentation method according to claim 1, It is characterized in that In step S02, the color representation element is a vector, each basic color is used as a dimension, and the sum of the ratios of the color representation element vector to each basic color is a constant.

5. The cascade-based semantic segmentation method according to claim 4, It is characterized in that The threshold value ρ in step S03 is used to determine the difficulty of the color representation element vector of the feature point in the feature map.

6. The cascade-based semantic segmentation method according to claim 5, It is characterized in that After the step S04 is completed, if the feature extraction result after the regional convolution of the pixels in the difficult label set cannot meet the classification requirements, the label reclassification of the labels in the difficult label set will be initiated. The specific steps of label reclassification are the same as step S04, and the reclassified label categories are subjected to regional convolution to extract features.

7. A cascade-based semantic segmentation system, including a front-end compilation module, a sample set, and a classifier. It is characterized in that It also includes label classifier, regional convolution module, mask module and fusion module; The front-end compilation module obtains a captured image, and processes the captured image through the front-end compilation to obtain a feature map I, wherein the number of convolutions in the front-end compilation process is at least one, and the convolution network structure is a full convolution network structure or an expanded convolution network structure; The label classifier classifies all feature points of feature graph I: the feature points whose color representation elements are greater than the threshold are recorded in the simple label set; the feature points whose color representation elements are less than the threshold are recorded in the difficult label set; the process of label classification of feature graph I is dynamic, and the frequency of dynamic change is the frequency of iteration of sample training results; the specific steps of the label dynamic change process are: the positions of simple labels and difficult labels will be assigned the same labels as the original image; Sample training; feature graph I learns the trained classifier, in simple labels, labels with a threshold greater than the threshold ρ are retained, labels with a threshold less than the threshold ρ are ignored, and in difficult labels, labels with a threshold less than the threshold ρ are retained, and labels with a threshold greater than the threshold ρ are ignored; sample training iteration; labels in simple labels and difficult labels are reset to the labels of the original image to start learning; When classifying all feature points of feature map I, one or more of the following parameters are also considered: I the relationship between pixels; J the relationship between the observed value of a pixel and the actual value of a pixel; k the frequency of two pixels appearing at the same time; l the color value and the actual relative distance; the label classification of feature map I has three initialization methods: a. taking pixels with scores greater than the threshold in the first stage as simple labels; b. taking the original labels as simple labels; c. setting all the feature values ​​of simple labels to special values ​​that will be ignored during training; The simple label set is directly classified by the classifier, and the difficult label set is extracted by the mask module and the regional convolution module to extract the features of the region of interest and then the classifier outputs the classification result. The specific steps of masking are: pre-making a mask matrix of the region of interest; Multiply the mask matrix by the pixel points of the region of interest on the feature map I, and put the product into the original pixel point; get the image of the region of interest, the image value in the region of interest remains unchanged, and the image values ​​outside the region of interest are all 0; The fusion module fuses the output classification results of the simple label set and the difficult label set.

8. A cascade-based semantic segmentation terminal, It is characterized in that The method comprises a processor and a memory, wherein the memory stores program instructions, and the processor executes the program instructions to implement the steps in the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, Features: When the program is executed by a processor, the steps in the method according to any one of claims 1 to 6 are implemented.