The content of the invention
The present invention provides a kind of transmission line of electricity Geological Hazards Monitoring method of use unmanned plane tag images, existing to solve
The technical problem of monitoring effect difference in technology.
The present invention provides a kind of transmission line of electricity Geological Hazards Monitoring method of use unmanned plane tag images, methods described bag
Include:
Using unmanned plane collection is with reference to transmission line of electricity image and marks;
K-medoids cluster analyses are carried out to the reference transmission line of electricity image, training set is obtained;
Target transmission line of electricity image is gathered using unmanned plane and mark;
Classification and Detection is carried out according to the training set;
The scene of geological disaster is obtained according to the testing result of the classification and Detection.
Preferably, the utilization unmanned plane collection is with reference to transmission line of electricity image and mark includes:
All shaft tower coordinates of transmission line of electricity to be flown are imported from power system;
Used UAS desired parameters are obtained, the parameter includes unmanned plane during flying speed, camera pixel chi
Very little and imaging resolution;
According to transmission line of electricity coordinate and UAS parametric programming flight track and shooting style;
Unmanned plane during flying is carried out according to the flight track, unmanned plane positioning and orientation system is obtained while taking pictures every time
POS information, attitude and load attitude;
All images to obtaining are marked.
Preferably, k-medoids cluster analyses are carried out to the reference transmission line of electricity image, before obtaining training set, institute
Stating method also includes:
Gray scale stretching is carried out to the reference transmission line of electricity image;
The reference transmission line of electricity image after to gray scale stretching builds H-S color histograms and gradient orientation histogram;
Corresponding probability distribution is obtained respectively according to the H-S color histograms and gradient orientation histogram.
Preferably, the reference transmission line of electricity image carries out k-medoids cluster analyses, and obtaining training set includes:
Choose initial classes cluster central point;
Determine the number of initial classes cluster central point;
JSD calculating is carried out with reference to transmission line of electricity image to described each, training set is obtained.
The technical scheme that embodiments of the invention are provided can include following beneficial effect:
The present invention provides a kind of transmission line of electricity Geological Hazards Monitoring method of use unmanned plane tag images, including:Utilize
Unmanned plane collection is with reference to transmission line of electricity image and marks;To carrying out k-medoids cluster analyses with reference to transmission line of electricity image, obtain
Training set;Target transmission line of electricity image is gathered using unmanned plane and mark;Classification and Detection is carried out according to training set;According to classification inspection
The testing result of survey obtains the scene of geological disaster.Unmanned plane polling transmission line can fast and effectively cover transmission line of electricity
Neighboring area, and reach thing resolution ratio higher and can be while completing image mark, there is provided detect more excellent to geological disaster
Data source, such that it is able to improve the accuracy of geological disaster detection.Meanwhile, figure can be in real time completed during unmanned plane image collection
The labeling task of picture, with the analysis work after aiding in disaster to detect.Quickly transmission of electricity can be completed by the above step present invention
Circuit Geological Hazards Monitoring works.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The present invention can be limited.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.Conversely, they be only with it is such as appended
The example of the consistent device of some aspects described in detail in claims, the present invention.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiments.
Traditional Geological Hazards Monitoring work based on earth observation data depends on image visualization interpretation and on the spot
Investigation, the time-consuming serious, somewhat expensive of this traditional mode, and many areas are difficult to on-site inspection, affect fast after disaster
Speed response.And unmanned plane image has the advantages that high-resolution, large scale compared with satellite image, it is also particularly suitable for obtaining banding area
Aerial images, and unmanned plane for take photo by plane photography provide it is easy to operate, it is easy to the remote sensing platform of transition.And electric transmission line channel is proper
Just become band area, is especially suitable for the application of unmanned plane.The present invention combines power industry while using unmanned aerial vehicle remote sensing images
Feature, the quick response being beneficial to after calamity is marked to image data.Simultaneously the present invention adopts color of image, edge histogram
The probability distribution of form come carry out data analysis and geological disaster detection.First nobody is planned according to grid locational information etc.
Machine flying method, and image collection and data markers are synchronously completed in flight course, then to unmanned aerial vehicle remote sensing images one by one
Enter column hisgram structure, probability distribution distance is calculated using JSD (Jensen-Shannon Divergence), using improved
K-medoids methods complete to train storehouse to build, and finally remotely-sensed data new every time is classified and is detected and complete with completing disaster
Into the analysis work of disaster.
Fig. 1 is refer to, a kind of transmission line of electricity of the use unmanned plane tag images provided in the embodiment of the present invention is provided
The method flow diagram of Geological Hazards Monitoring method, methods described includes:
Step S100:Using unmanned plane collection is with reference to transmission line of electricity image and marks.
Fig. 2 is refer to, the method flow diagram of the step of providing in embodiment of the present invention S100 is provided, including:
Step S101:All shaft tower coordinates of transmission line of electricity to be flown are imported from power system;
Step S102:Used UAS desired parameters are obtained, the parameter includes unmanned plane during flying speed, phase
Machine pixel dimension and imaging resolution;
Step S103:According to transmission line of electricity coordinate and UAS parametric programming flight track and shooting style;
Step S104:Unmanned plane during flying is carried out according to the flight track, unmanned plane positioning is obtained while taking pictures every time
Attitude determination system POS information, attitude and load attitude;
Step S105:All images to obtaining are marked.
Step S200:K-medoids cluster analyses are carried out to the reference transmission line of electricity image, training set is obtained.
K-medoids is that K-means is a kind of to be improved, and different place is the selection of central point, in K-means,
Central point is taken as the mean value of all data points in current cluster (class) for we, and in K-medoids algorithms, we will
Such a point is chosen from current cluster, it is minimum apart from sum to other all points (in current cluster),
As central point.Overcome K-means algorithms and produce the shortcoming that the size of class is more or less the same, it is very sensitive for dirty data.
Before step S200, methods described also includes:
Gray scale stretching is carried out to the reference transmission line of electricity image.
Because light reason can cause image local excessively bright or excessively dark, need that image is carried out stretching to be allowed to cover larger
Interval.Make bright region brighter, dark region is darker, the contrast of image is improved, so that image border is obvious.Gray scale
Stretching is that gray level image is carried out into segmenting change, and it is [a, b] that the grey scale change of even original image f (x, y) is interval, is schemed after conversion
As the tonal range of g (x, y) expands to interval [c, d], can be become using following linear and bring realization:
The reference transmission line of electricity image after to gray scale stretching builds H-S color histograms and gradient orientation histogram.
Relative to rgb space, HSV space can intuitively express the light and shade of color, tone, and bright-coloured degree very much,
The contrast between color is conveniently carried out, the reception and registration of emotion is also convenient for.Conversion formula is as follows:
V=max
32 bin are used to hue (tone) passage, saturatoin (saturation degree) passages are built using 30 bin
H-S histograms;The H-S histograms of all images are calculated in the manner described above, and are normalized in order to contrast.
Gradient orientation histogram builds
HOG (Histogram of Oriented Gradient) gradient orientation histogram describe sub- dimensional images feature to
Amount generation step:1. image normalization;2. image gradient is calculated using first differential;3. thrown based on the direction weight of gradient magnitude
Shadow;4.HOG characteristic vectors are normalized;5. the final characteristic vectors of HOG are drawn.The main purpose of normalized image is to improve detection
Robustness of the device to illumination, because a variety of occasions that the identification target of reality is likely to occur, detector must be to illumination
The less sensitive effect just having.Gradient orientation histogram bin numbers are 36.
Corresponding probability distribution is obtained respectively according to the H-S color histograms and gradient orientation histogram.
Probability distribution corresponding with H-S color histograms and gradient orientation histogram is to fall into be divided according to bin numbers
The stack result of the number of pixels in each region.
Fig. 3 is refer to, the method flow diagram of the step of providing in embodiment of the present invention S200 is provided, including:
Step S201:Choose initial classes cluster central point.
The simplest method for determining initial classes cluster central point is to randomly choose K point as initial class cluster central point,
But the method is poor in effect in some cases.Batch distance K point as far as possible is selected in the present invention.It is random first
Select at one o'clock as first initial classes cluster central point, then that farthest o'clock of the chosen distance point is initial as second
Class cluster central point, then reselection apart from the first two point minimum distance it is maximum o'clock as the 3rd initial classes cluster center
Point, by that analogy, until selecting K initial classes cluster central point.
Step S202:Determine the number of initial classes cluster central point.
Give a suitable class cluster index, such as mean radius or diameter, as long as we assume that the number of class cluster etc.
In or higher than real class cluster number when, the index rises can be very slow, once and attempt to obtain less than true number
During class cluster, the index can steeply rise.The weighted average that class cluster index is the average centroid distance of K class cluster is selected herein.
Step S203:JSD calculating is carried out with reference to transmission line of electricity image to described each, training set is obtained.
JSD (Jensen-Shannon Divergence) is the improvement of KL distances, and calculation is as follows:
Wherein,
KLD (P | Q)=∑ [P (i) × ln (P (i))/Q (i)]
D (P | R) refers to KLD, P and Q and refers to what is obtained according to the H-S color histograms and gradient orientation histogram respectively
The probability distribution of probability distribution and arbitrary reference transmission line of electricity image.
Step S300:Target transmission line of electricity image is gathered using unmanned plane and mark.
Step S400:Classification and Detection is carried out according to the training set.
The unmanned aerial vehicle remote sensing images new for one are converted to a H-S-G according to histogram building mode presented hereinbefore
The probability distribution of (tone-saturation degree-gradient), by the distribution with so the central point of cluster result carries out JSD calculating, according to
Arrive k distance calculates the probability of classification, is directly proportional to the inverse of distance, when maximum probability is more than given threshold, completes point
Class, otherwise increases new class.
Step S500:The scene of geological disaster is obtained according to the testing result of the classification and Detection.
The image of geological disaster detection is completed, human assistance is combined by the image segmentation based on region growing and is marked geology
Disaster region, is then finally joined away from zoning barycenter according to geometry using the corresponding unmanned plane of the image and load attitude etc.
Number, calculates empty three and resolves, and obtains the scene of the geological disaster.Believed with reference to transmission line of electricity according to geological disaster place, image
Breath, terrain data etc. aid in transmission line of electricity disaster process work.
Invention described above embodiment, does not constitute limiting the scope of the present invention.It is any in the present invention
Spirit and principle within modification, equivalent and the improvement made etc., should be included within the scope of the present invention.
It should be noted that herein, the relational terms of such as " first " and " second " or the like are used merely to one
Individual entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operate it
Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to
Cover including for nonexcludability, so that a series of process, method, article or equipment including key elements not only includes those
Key element, but also including other key elements being not expressly set out, or also include for this process, method, article or set
Standby intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that
Also there is other identical element in the process including the key element, method, article or equipment.
The above is only the specific embodiment of the present invention, is made skilled artisans appreciate that or realizing this
It is bright.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, the present invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope for causing.