A method and related device for identifying illegal buildings on power transmission lines
Through the color space domain layer and hierarchical fusion layer of the multi-channel semantic segmentation model, the color features of the remote sensing images are extracted and fused, and finally the illegal buildings on the transmission lines are identified through the classification layer, which solves the problem of low recognition accuracy in the existing technology. Improved recognition effect.
Patent Information
- Application Number
- CN202011519692.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-21
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-12-21
AI Technical Summary
It is difficult to quickly collect multiple data parameters with existing technology, and the identification of illegal buildings is easily affected by the environment, and the identification accuracy is low.
A multi-channel semantic segmentation model is used to extract multiple color features through the color space domain layer, and generate features to be classified through the hierarchical fusion layer, and finally identify the location of illegal buildings on transmission lines through the classification layer.
It improves the identification accuracy of illegal buildings, reduces the impact on the environment, and achieves a more effective identification effect.
Smart Images

Figure CN112633142B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of illegal building identification, and in particular to a method for identifying illegal buildings on a power transmission line and a related device. Background Art
[0002] Electricity is an important guarantee for the normal life and safe production of the people. Once it cannot operate safely, it will cause great losses to the people and enterprises. Therefore, the power department usually conducts safety inspections on the transmission lines regularly or irregularly to timely discover defects in the transmission lines and eliminate safety hazards in time.
[0003] With the continuous maturity of artificial intelligence and big data technology, the inspection of power transmission lines has brought new directions. The deep convolutional neural network that uses a large amount of historical data to train a specific detection and recognition system has the characteristics of being able to extract deep features of images, fast recognition speed, and high recognition accuracy. It is currently the mainstream application technology in the field of artificial intelligence recognition. Remote sensing monitoring obtains images and data of the measured targets through video and other means, providing conditions for the transformation and development of regional geographical environment research from qualitative to quantitative, from static to dynamic, and from process to model, greatly improving the breadth and quality of monitoring work, and saving manpower and financial resources. Buildings, as common satellite image targets, have an important impact on the safety of power infrastructure in the transmission line corridor. Therefore, the automatic identification of illegal buildings in the transmission line corridor is of great significance.
[0004] Traditional methods for identifying illegal buildings on transmission lines usually require multiple types of data to locate illegal buildings. The data collection process is relatively cumbersome, and it is difficult to quickly obtain multiple data sources for the same target. At the same time, the features that need to be extracted are relatively superficial and easily affected by the environment. The applicable scenarios are limited, resulting in poor recognition accuracy. Summary of the invention
[0005] The present invention provides a method for identifying illegal buildings on a power transmission line and related devices, which solve the technical problems that the prior art is difficult to quickly collect multiple data parameters, the identification of illegal buildings is easily affected by the environment, and the identification accuracy is low.
[0006] A first aspect of the present invention provides a method for identifying illegal buildings on a power transmission line, comprising:
[0007] Acquire a remote sensing image to be identified;
[0008] Inputting the remote sensing images to be identified into a preset multi-channel semantic segmentation model respectively; the multi-channel semantic segmentation model includes a color space domain layer, a hierarchical fusion layer and a classification layer;
[0009] Extracting a plurality of color features from the remote sensing image to be identified respectively through the color space domain layer;
[0010] Fusion of the plurality of color features through the hierarchical fusion layer to generate a feature to be classified;
[0011] The features to be classified are classified through the classification layer to identify the locations of illegal buildings on the power transmission lines.
[0012] Optionally, it also includes:
[0013] Get training images;
[0014] The training image is used to train a preset semantic segmentation model to generate the multi-channel semantic segmentation model.
[0015] Optionally, the color space domain layer includes an RGB color space domain, an HSV color space domain, and a YCbCr color space domain, the color feature includes a first color feature, a second color feature, and a third color feature, and the step of extracting a plurality of color features from the remote sensing image to be identified through the color space domain layer includes:
[0016] Extracting the first color feature from the remote sensing image to be identified by using the RGB color space domain;
[0017] Convert the remote sensing image to be identified from the RGB color space domain to the HSV color space domain, and extract the second color feature corresponding to the remote sensing image to be identified;
[0018] The remote sensing image to be identified is converted from the RGB color space domain to the YCbCr color space domain, and the third color feature corresponding to the remote sensing image to be identified is extracted.
[0019] Optionally, the first color feature includes a first shallow feature and a first middle feature, the second color feature includes a second shallow feature and a second middle feature, the third color feature includes a third shallow feature and a third middle feature, and the step of fusing the plurality of color features through the hierarchical fusion layer to generate a feature to be classified includes:
[0020] fusing the first shallow feature, the second shallow feature and the third shallow feature to generate a first high-level feature;
[0021] The first middle-level feature, the second middle-level feature and the third middle-level feature are integrated, and an image upsampling operation is performed to generate a second high-level feature;
[0022] The feature to be classified is generated after fusing the first high-level feature and the second high-level feature and performing the image upsampling operation.
[0023] A second aspect of the present invention provides a device for identifying illegal buildings on a power transmission line, comprising:
[0024] An image acquisition module, used for acquiring remote sensing images to be identified;
[0025] An input module, used to input the remote sensing images to be identified into a preset multi-channel semantic segmentation model respectively; the multi-channel semantic segmentation model includes a color space domain layer, a hierarchical fusion layer and a classification layer;
[0026] A color feature extraction module, used for extracting a plurality of color features from the remote sensing image to be identified through the color space domain layer;
[0027] A fusion module, used for fusing the plurality of color features through the hierarchical fusion layer to generate a feature to be classified;
[0028] The classification module is used to classify the features to be classified through the classification layer to identify the locations of illegal buildings on the power transmission lines.
[0029] Optionally, it also includes:
[0030] A training image acquisition module, used for acquiring training images;
[0031] The training module is used to train a preset semantic segmentation model using the training image to generate the multi-channel semantic segmentation model.
[0032] Optionally, the color space domain layer includes an RGB color space domain, an HSV color space domain, and a YCbCr color space domain, the color feature includes a first color feature, a second color feature, and a third color feature, and the color feature extraction module includes:
[0033] A first color feature extraction submodule, configured to extract the first color feature from the remote sensing image to be identified through the RGB color space domain;
[0034] A second color feature extraction submodule is used to convert the remote sensing image to be identified from the RGB color space domain to the HSV color space domain, and extract the second color feature corresponding to the remote sensing image to be identified;
[0035] The third color feature extraction submodule is used to convert the remote sensing image to be identified from the RGB color space domain to the YCbCr color space domain, and extract the third color feature corresponding to the remote sensing image to be identified.
[0036] Optionally, the first color feature includes a first shallow feature and a first middle feature, the second color feature includes a second shallow feature and a second middle feature, the third color feature includes a third shallow feature and a third middle feature, and the fusion module includes:
[0037] A first fusion submodule, configured to fuse the first shallow feature, the second shallow feature and the third shallow feature to generate a first high-level feature;
[0038] A second fusion submodule, used for fusing the first middle-level feature, the second middle-level feature and the third middle-level feature, and performing an image upsampling operation to generate a second high-level feature;
[0039] The feature-to-be-classified generating submodule is used to fuse the first high-level feature and the second high-level feature and perform the image upsampling operation to generate the feature-to-be-classified.
[0040] The third aspect of the present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for identifying illegal buildings on transmission lines as described in the first aspect of the present invention.
[0041] The fourth aspect of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by the processor, the method for identifying illegal buildings on a power transmission line as described in the first aspect of the present invention is implemented.
[0042] It can be seen from the above technical solutions that the present invention has the following advantages:
[0043] The present invention obtains a remote sensing image to be identified including multiple transmission line buildings, inputs the remote sensing image to be identified into a multi-channel semantic segmentation model, extracts multiple color features from the remote sensing image to be identified through the color space domain layer, fuses the multiple color features through the hierarchical fusion layer, generates features to be classified, and finally classifies the features to be classified through classification clusters to identify the location of illegal buildings on the transmission line. This solves the technical problems in the prior art that it is difficult to quickly collect multiple data parameters, the identification of illegal buildings is easily affected by the environment, and the identification accuracy is low, and the location of illegal buildings is more effectively identified, and the identification accuracy 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 labor.
[0045] Figure 1 A flowchart of a method for identifying illegal buildings on a power transmission line provided in Embodiment 1 of the present invention;
[0046] Figure 2 A flowchart of a method for identifying illegal buildings on a power transmission line provided in Embodiment 2 of the present invention;
[0047] Figure 3 This is a schematic diagram of a hollow space pyramid structure in Embodiment 2 of the present invention;
[0048] Figure 4 Schematic diagram of a residual block structure in Embodiment 2 of the present invention;
[0049] Figure 5 is a structural block diagram of a multi-channel semantic segmentation model in an embodiment of the present invention;
[0050] Figure 6 A structural block diagram of a transmission line illegal building identification device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The embodiment of the present invention provides a method and related device for identifying illegal buildings on a power transmission line, which are used to solve the technical problems that the prior art is difficult to quickly collect multiple data parameters, the identification of illegal buildings is easily affected by the environment, and the identification accuracy is low.
[0052] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be described clearly and completely in combination with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only one layer of embodiments of the present invention, not all embodiments. 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.
[0053] See also Figure 1 , Figure 1 A flowchart of the steps of a method for identifying illegal buildings on a power transmission line provided in Embodiment 1 of the present invention.
[0054] The present invention provides a method for identifying illegal buildings on a power transmission line, comprising:
[0055] Step 101, obtaining a remote sensing image to be identified;
[0056] Remote sensing images to be identified refer to the acquisition of characteristic information of target objects through sensors mounted on a certain platform without direct contact with the target objects, and then the acquired information is extracted, judged, processed and applied for analysis to record the electromagnetic wave size of various ground objects on film or photos, mainly divided into aerial photos and satellite photos. The image truly and clearly shows the position, shape, size, color and other information of objects on the earth's surface; secondly, the ground objects in remote sensing images show different characteristics in these different spectral ranges. By analyzing the spectral information of the image, quantitative earth information such as vegetation information, surface moisture, water quality parameters, surface temperature, sea water temperature, etc. can be obtained.
[0057] In the embodiment of the present invention, the acquired remote sensing image to be identified includes a plurality of power transmission line buildings.
[0058] Step 102, inputting the remote sensing images to be identified into a preset multi-channel semantic segmentation model respectively;
[0059] Among them, the multi-channel semantic segmentation model includes a color space domain layer, a hierarchical fusion layer and a classification layer. In an embodiment of the present invention, a preset multi-channel semantic segmentation model is used to perform further semantic segmentation on the remote sensing image to be identified to determine the location of illegal buildings on the transmission lines.
[0060] Step 103, extracting a plurality of color features from the remote sensing image to be identified through the color space domain layer;
[0061] Step 104, fusing the plurality of color features through the hierarchical fusion layer to generate a feature to be classified;
[0062] Step 105, classifying the features to be classified through the classification layer to identify the locations of illegal buildings on the power transmission lines.
[0063] In this embodiment, color features of various color space domains are extracted from the remote sensing image to be identified through the color space domain layer in the multi-channel semantic segmentation model, and then the extracted color features are further fused at different scales and levels through the hierarchical fusion layer to obtain features to be classified; finally, the classification layer is used to classify the features to be classified to determine the location of illegal buildings on the transmission line.
[0064] In the embodiment of the present invention, by acquiring a remote sensing image to be identified including multiple transmission line buildings, the remote sensing image to be identified is input into a multi-channel semantic segmentation model, multiple color features are extracted from the remote sensing image to be identified through the color space domain layer, multiple color features are fused through the hierarchical fusion layer to generate features to be classified, and finally the features to be classified are classified through the classification cluster to identify the location of the illegal buildings on the transmission line. This solves the technical problems in the prior art that it is difficult to quickly collect multiple data parameters, the identification of illegal buildings is easily affected by the environment, and the identification accuracy is low, and the location of illegal buildings is more effectively identified, and the identification accuracy is improved.
[0065] See also Figure 2 , Figure 2 A flowchart of the steps of a method for identifying illegal buildings on a power transmission line provided in the second embodiment of the present invention.
[0066] The present invention provides a method for identifying illegal buildings on a power transmission line, comprising:
[0067] Step 201, obtaining a training image;
[0068] In the embodiment of the present invention, the training images may be a plurality of satellite remote sensing images, including a plurality of building images on the transmission line.
[0069] Furthermore, in addition to the training images, satellite remote sensing images including identified illegal buildings on power transmission lines can also be set as verification images to perform performance testing on the trained semantic segmentation model.
[0070] Step 202: Use the training image to train a preset semantic segmentation model to generate a multi-channel semantic segmentation model.
[0071] After obtaining the training image, the training image can be used to train the preset semantic segmentation model, and the color features of the training image in multiple color space domains are extracted respectively, where the color space domains may include but are not limited to RGB, HSV, YCbCr, etc., and then the multiple extracted color features are fused at different scales and levels, and the fused features are classified to determine the illegal buildings on the power transmission lines in the training image, and the recognition results are compared with the verification image to determine the recognition accuracy of the semantic segmentation model; when the recognition accuracy of the semantic segmentation model reaches a predetermined threshold, it means that the semantic segmentation model has been trained successfully and a multi-channel semantic segmentation model can be generated.
[0072] Optionally, the predetermined threshold may be set to 80%, 95%, etc., or may be set by a technician based on business requirements.
[0073] After the multi-channel semantic segmentation model is generated, it can also be modified by increasing or decreasing the corresponding color space domain and training again to build a more accurate multi-channel semantic segmentation model.
[0074] Step 203, obtaining a remote sensing image to be identified;
[0075] Step 204, inputting the remote sensing images to be identified into the multi-channel semantic segmentation model respectively;
[0076] Wherein, the multi-channel semantic segmentation model includes a color space domain layer, a hierarchical fusion layer and a classification layer;
[0077] In the embodiment of the present invention, the specific implementation process of steps 203-204 is similar to the above steps 101-102, and will not be repeated here.
[0078] Step 205, extracting a plurality of color features from the remote sensing image to be identified through the color space domain layer;
[0079] In the embodiment of the present invention, the color space domain layer includes an RGB color space domain, an HSV color space domain, and a YCbCr color space domain, the color feature includes a first color feature, a second color feature, and a third color feature, and step 205 may include the following sub-steps:
[0080] Extracting the first color feature from the remote sensing image to be identified by using the RGB color space domain;
[0081] Convert the remote sensing image to be identified from the RGB color space domain to the HSV color space domain, and extract the second color feature corresponding to the remote sensing image to be identified;
[0082] The remote sensing image to be identified is converted from the RGB color space domain to the YCbCr color space domain, and the third color feature corresponding to the remote sensing image to be identified is extracted.
[0083] In an example of the present invention, the first color feature may be firstly extracted from the remote sensing image to be identified in the RGB color space domain, that is, the RGB value of the remote sensing image to be identified is obtained.
[0084] Among them, HSV (Hue, Saturation, Value) is a color space created based on the intuitive characteristics of color.
[0085] The conversion calculation formula from RGB to HSV color space domain is as follows:
[0086]
[0087]
[0088] V=Cmax
[0089] Where: R′=R / 255, G′=G / 255, B′=B / 255, which represent the normalized values of the RGB values of the image to be identified in the RGB color space domain; Cmax=max(R′,G′,B′), Cmin=min(R′,G′,B′), where max and min represent maximum and minimum value operations respectively.
[0090] YCbCr is a color space that is usually used in continuous image processing in movies or digital photography systems. Y is the brightness component of the color, while Cb and Cr are the concentration offset components of blue and red.
[0091] The conversion calculation formula from RGB to YCbCr color space domain is as follows
[0092] Y=0.257*R+0.564*G+0.098*B+16
[0093] Cb=-0.148*R-0.291*G+0.439*B+128
[0094] Cr=0.439*R-0.368*G-0.071*B+128
[0095] Through the above process, the second color feature of the remote sensing image to be identified in the HSV color space domain and the third color feature of the remote sensing image to be identified in the YCbCr color space domain can be obtained, so as to facilitate the subsequent fusion of color features.
[0096] Step 206, fusing the plurality of color features through the hierarchical fusion layer to generate a feature to be classified;
[0097] Optionally, the first color feature includes a first shallow feature and a first middle feature, the second color feature includes a second shallow feature and a second middle feature, the third color feature includes a third shallow feature and a third middle feature, and step 206 may include the following sub-steps:
[0098] fusing the first shallow feature, the second shallow feature and the third shallow feature to generate a first high-level feature;
[0099] The first middle-level feature, the second middle-level feature and the third middle-level feature are integrated, and an image upsampling operation is performed to generate a second high-level feature;
[0100] The feature to be classified is generated after fusing the first high-level feature and the second high-level feature and performing the image upsampling operation.
[0101] In an embodiment of the present invention, the first color feature includes a first shallow feature and a first middle feature. To further improve the accuracy of the feature, when the first color feature is extracted in the RGB color space domain, it can be directly output as the first shallow feature, and then based on the extracted first shallow feature, a hollow space pyramid structure and a residual block structure are used to enhance the feature extraction capability of the network to obtain a deeper first middle feature. The operations on the second color feature and the third color feature are similar to the above steps and will not be repeated here.
[0102] After obtaining the corresponding shallow features and middle-level features, all shallow features can be fused according to the scale at which they were extracted, and all middle-level features can be fused at the same time, and image upsampling operations can be performed to achieve scale transformation to obtain two high-level features of the same scale. Finally, the two high-level features are fused, and image upsampling is performed again to generate features to be classified.
[0103] See also Figure 3 , Figure 3 A schematic diagram of a dilated spatial pyramid structure in Embodiment 2 of the present invention is shown, which includes a plurality of convolution sampling modules of different scales, such as 1×1 and 3×3, and each 3×3 has a different dilated span rate.
[0104] Atrous spatial pyramid pooling (ASPP) refers to the parallel sampling of a given input with atrous convolutions at different sampling rates, which is equivalent to capturing the context of the image at multiple scales, thereby obtaining multi-scale features.
[0105] See also Figure 4 , Figure 4 A schematic diagram of a residual block structure in the second embodiment of the present invention is shown, which includes a two-dimensional convolution module Conv2D and a linear rectification function (Rectified Linear Unit, ReLU).
[0106] The residual block structure (Resnet block) refers to a structure used to alleviate the gradient vanishing problem in deep structures.
[0107] Step 207, classifying the features to be classified through the classification layer to identify the locations of illegal buildings on the power transmission lines.
[0108] In an example of the present invention, after the features to be classified are obtained, they can also be classified through the classification layer, and the illegal buildings on the power transmission lines in the features to be classified are identified to determine the illegal buildings on the power transmission lines in the features to be classified.
[0109] In the embodiment of the present invention, by acquiring a remote sensing image to be identified including multiple transmission line buildings, the remote sensing image to be identified is input into a multi-channel semantic segmentation model, multiple color features are extracted from the remote sensing image to be identified through the color space domain layer, multiple color features are fused through the hierarchical fusion layer to generate features to be classified, and finally the features to be classified are classified through the classification cluster to identify the location of the illegal buildings on the transmission line. This solves the technical problems in the prior art that it is difficult to quickly collect multiple data parameters, the identification of illegal buildings is easily affected by the environment, and the identification accuracy is low, and the location of illegal buildings is more effectively identified, and the identification accuracy is improved.
[0110] See also Figure 5 , Figure 5 A structural block diagram of a multi-channel semantic segmentation model in an embodiment of the present invention is shown.
[0111] In an embodiment of the present invention, after the remote sensing image to be identified is obtained, it is input into the RGB color space domain, the HSV color space domain and the YCbCr color space domain respectively, and the corresponding shallow features are extracted respectively through the two-dimensional convolution layer, the residual block structure and the two-dimensional convolution layer; a plurality of shallow features are fused and then passed through the two-dimensional convolution layer to obtain the first high-level feature; the corresponding middle-level features are extracted respectively through the two-dimensional convolution layer, the residual block structure, the residual block structure and the void space pyramid structure; a plurality of middle-level features are fused and then passed through the image upsampling and the two-dimensional convolution layer to obtain the second high-level feature; the first high-level feature and the second high-level feature are fused, and after image upsampling and the two-dimensional convolution layer, the feature to be classified is obtained, and finally the feature to be classified is passed through the classification layer softmax, and the location of the illegal buildings on the transmission line is output.
[0112] See also Figure 6 , Figure 6 A structural block diagram of a transmission line illegal building identification device in an embodiment of the present invention is shown.
[0113] The present invention provides a device for identifying illegal buildings on power transmission lines, comprising:
[0114] An image acquisition module 601 is used to acquire a remote sensing image to be identified;
[0115] An input module 602 is used to input the remote sensing images to be identified into a preset multi-channel semantic segmentation model respectively; the multi-channel semantic segmentation model includes a color space domain layer, a hierarchical fusion layer and a classification layer;
[0116] A color feature extraction module 603 is used to extract a plurality of color features from the remote sensing image to be identified through the color space domain layer;
[0117] A fusion module 604, configured to fuse the plurality of color features through the hierarchical fusion layer to generate a feature to be classified;
[0118] The classification module 605 is used to classify the features to be classified through the classification layer to identify the locations of illegal buildings on the power transmission lines.
[0119] Optionally, it also includes:
[0120] A training image acquisition module, used for acquiring training images;
[0121] The training module is used to train a preset semantic segmentation model using the training image to generate the multi-channel semantic segmentation model.
[0122] Optionally, the color space domain layer includes an RGB color space domain, an HSV color space domain, and a YCbCr color space domain, the color feature includes a first color feature, a second color feature, and a third color feature, and the color feature extraction module 603 includes:
[0123] A first color feature extraction submodule, configured to extract the first color feature from the remote sensing image to be identified through the RGB color space domain;
[0124] A second color feature extraction submodule is used to convert the remote sensing image to be identified from the RGB color space domain to the HSV color space domain, and extract the second color feature corresponding to the remote sensing image to be identified;
[0125] The third color feature extraction submodule is used to convert the remote sensing image to be identified from the RGB color space domain to the YCbCr color space domain, and extract the third color feature corresponding to the remote sensing image to be identified.
[0126] Optionally, the first color feature includes a first shallow feature and a first middle feature, the second color feature includes a second shallow feature and a second middle feature, the third color feature includes a third shallow feature and a third middle feature, and the fusion module 604 includes:
[0127] A first fusion submodule, configured to fuse the first shallow feature, the second shallow feature and the third shallow feature to generate a first high-level feature;
[0128] A second fusion submodule, used for fusing the first middle-level feature, the second middle-level feature and the third middle-level feature, and performing an image upsampling operation to generate a second high-level feature;
[0129] The feature-to-be-classified generating submodule is used to fuse the first high-level feature and the second high-level feature and perform the image upsampling operation to generate the feature-to-be-classified.
[0130] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for identifying illegal buildings on transmission lines as described in any embodiment of the present invention.
[0131] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by the processor, the method for identifying illegal buildings on a power transmission line as described in any embodiment of the present invention is implemented.
[0132] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0133] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0134] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. The purpose of the embodiment can be achieved by selecting the layers or all the units according to actual needs.
[0135] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0136] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the layer that contributes to the prior art, or all or the layers of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0137] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or the underlying technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for identifying illegal buildings on power transmission lines, characterized in that: include: Acquire a remote sensing image to be identified; Inputting the remote sensing images to be identified into a preset multi-channel semantic segmentation model respectively; the multi-channel semantic segmentation model includes a color space domain layer, a hierarchical fusion layer and a classification layer; Extracting a plurality of color features from the remote sensing image to be identified respectively through the color space domain layer; Fusion of the plurality of color features through the hierarchical fusion layer to generate a feature to be classified; Classifying the features to be classified through the classification layer to identify the locations of illegal buildings on the power transmission lines; The color space domain layer includes an RGB color space domain, an HSV color space domain, and a YCbCr color space domain, the color feature includes a first color feature, a second color feature, and a third color feature, and the step of extracting a plurality of color features from the remote sensing image to be identified through the color space domain layer includes: Extracting the first color feature from the remote sensing image to be identified by using the RGB color space domain; Convert the remote sensing image to be identified from the RGB color space domain to the HSV color space domain, and extract the second color feature corresponding to the remote sensing image to be identified; Converting the remote sensing image to be identified from the RGB color space domain to the YCbCr color space domain, and extracting the third color feature corresponding to the remote sensing image to be identified; The conversion calculation formula from the RGB color space domain to the HSV color space domain is as follows: V=Cmax Where: R′=R / 255, G′=G / 255, B′=B / 255, which represent the normalized values of the RGB values of the image to be identified in the RGB color space domain; Cmax=max(R′,G′,B′), Cmin=min(R′,G′,B′), where max and min represent maximum and minimum value operations respectively.
2. The method for identifying illegal buildings on power transmission lines according to claim 1, characterized in that: Also includes: Get training images; The training images are used to train a preset semantic segmentation model to generate the multi-channel semantic segmentation model.
3. The method for identifying illegal buildings on power transmission lines according to claim 1, characterized in that: The first color feature includes a first shallow feature and a first middle feature, the second color feature includes a second shallow feature and a second middle feature, the third color feature includes a third shallow feature and a third middle feature, and the step of fusing the plurality of color features through the hierarchical fusion layer to generate a feature to be classified includes: fusing the first shallow feature, the second shallow feature and the third shallow feature to generate a first high-level feature; The first middle-level feature, the second middle-level feature and the third middle-level feature are integrated, and an image upsampling operation is performed to generate a second high-level feature; The feature to be classified is generated after fusing the first high-level feature and the second high-level feature and performing the image upsampling operation.
4. A device for identifying illegal buildings on power transmission lines, characterized in that: include: An image acquisition module, used for acquiring remote sensing images to be identified; An input module, used to input the remote sensing images to be identified into a preset multi-channel semantic segmentation model respectively; the multi-channel semantic segmentation model includes a color space domain layer, a hierarchical fusion layer and a classification layer; A color feature extraction module, used for extracting a plurality of color features from the remote sensing image to be identified through the color space domain layer; A fusion module, used for fusing a plurality of the color features through the hierarchical fusion layer to generate a feature to be classified; A classification module, used to classify the features to be classified through the classification layer to identify the locations of illegal buildings on the power transmission line; The color space domain layer includes an RGB color space domain, an HSV color space domain, and a YCbCr color space domain, the color feature includes a first color feature, a second color feature, and a third color feature, and the color feature extraction module includes: A first color feature extraction submodule, configured to extract the first color feature from the remote sensing image to be identified through the RGB color space domain; A second color feature extraction submodule is used to convert the remote sensing image to be identified from the RGB color space domain to the HSV color space domain, and extract the second color feature corresponding to the remote sensing image to be identified; A third color feature extraction submodule is used to convert the remote sensing image to be identified from the RGB color space domain to the YCbCr color space domain, and extract the third color feature corresponding to the remote sensing image to be identified; The conversion calculation formula from the RGB color space domain to the HSV color space domain is as follows: VCmaX Where: R′=R / 255, G′=G / 255, B′=B / 255, which represent the normalized values of the RGB values of the image to be identified in the RGB color space domain; Cmax=max(R′,G′,B′), Cmin=min(R′,G′,B′), where max and min represent maximum and minimum value operations respectively.
5. The device for identifying illegal buildings on power transmission lines according to claim 4, characterized in that: Also includes: A training image acquisition module, used for acquiring training images; The training module is used to train a preset semantic segmentation model using the training image to generate the multi-channel semantic segmentation model.
6. The device for identifying illegal buildings on power transmission lines according to claim 4, characterized in that: The first color feature includes a first shallow feature and a first middle feature, the second color feature includes a second shallow feature and a second middle feature, the third color feature includes a third shallow feature and a third middle feature, and the fusion module includes: A first fusion submodule, configured to fuse the first shallow feature, the second shallow feature and the third shallow feature to generate a first high-level feature; A second fusion submodule, used for fusing the first middle-level feature, the second middle-level feature and the third middle-level feature, and performing an image upsampling operation to generate a second high-level feature; The feature-to-be-classified generating submodule is used to fuse the first high-level feature and the second high-level feature and perform the image upsampling operation to generate the feature-to-be-classified.
7. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for identifying illegal buildings on a transmission line as described in any one of claims 1-3.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for identifying illegal buildings on power transmission lines as described in any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Remote sensing image classification method based on multi-feature fusion
CN102622607A
Multi-mode-characteristic-fusion-based remote-sensing image classification method
CN105512661A
Drone's low-altitude remote-sensing image high-resolution landform classifying method based on characteristic fusion
CN107292339A
Building recognition method based on multi-feature fusion
CN109034066A
A virtual hair dyeing method based on image semantic segmentation
CN109903257A
